From d4a89787971277660a74fb4dd14ef5faaed4ddff Mon Sep 17 00:00:00 2001 From: thurendous Date: Thu, 12 Sep 2024 16:03:01 +0900 Subject: [PATCH] add tests and cover the test 100% and add readme --- .vscode/settings.json | 7 +- README.md | 134 + coverage.txt | 2636 ++++++++++---------- lcov.info | 263 +- src/AmbassadorNft.sol | 7 +- test/fuzz/FuzzVotingPowerExchange.t.sol | 9 +- test/integration/VotingPowerExchange.t.sol | 7 +- test/readme.md | 162 +- test/unit/AmbassadorNft.t.sol | 6 +- test/unit/ERC20UpgradeableTokenV1.t.sol | 35 +- test/unit/GovToken.t.sol | 88 + 11 files changed, 1919 insertions(+), 1435 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index a5c08f7..76ea775 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -20,5 +20,10 @@ }, "peacock.color": "#7db3df", "solidity.packageDefaultDependenciesDirectory": "lib", - "solidity.packageDefaultDependenciesContractsDirectory": "src" + "solidity.packageDefaultDependenciesContractsDirectory": "src", + "editor.formatOnSave": true, + "[solidity]": { + "editor.defaultFormatter": "JuanBlanco.solidity" + }, + "solidity.formatter": "forge" } diff --git a/README.md b/README.md index 88b6643..01ce4a0 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,140 @@ This is a repository for the smart contracts of the DAO community. The smart con 5. Run the test using `make test`. 6. Run the coverage using `make coverage`. +# Reference + +## voting power calculation table + +These are the values we used in the fuzz tests for voting power <-> burned token calculation. + +- Function: + +``` +x = (2 \* sqrt(306.25 + 30y) - 5) / 30 - 1 +y = (15*x^2+35*x)/2 + +x: mintedToken +y: burnedToken +``` + +- Table: + +| Minted Token (lvl) | Level | Burned Token | +| ------------------ | ----- | ------------ | +| 0 | 1 | 0 | +| 1 | 2 | 25 | +| 2 | 3 | 65 | +| 3 | 4 | 120 | +| 4 | 5 | 190 | +| 5 | 6 | 275 | +| 6 | 7 | 375 | +| 7 | 8 | 490 | +| 8 | 9 | 620 | +| 9 | 10 | 765 | +| 10 | 11 | 925 | +| 11 | 12 | 1100 | +| 12 | 13 | 1290 | +| 13 | 14 | 1495 | +| 14 | 15 | 1715 | +| 15 | 16 | 1950 | +| 16 | 17 | 2200 | +| 17 | 18 | 2465 | +| 18 | 19 | 2745 | +| 19 | 20 | 3040 | +| 20 | 21 | 3350 | +| 21 | 22 | 3675 | +| 22 | 23 | 4015 | +| 23 | 24 | 4370 | +| 24 | 25 | 4740 | +| 25 | 26 | 5125 | +| 26 | 27 | 5525 | +| 27 | 28 | 5940 | +| 28 | 29 | 6370 | +| 29 | 30 | 6815 | +| 30 | 31 | 7275 | +| 31 | 32 | 7750 | +| 32 | 33 | 8240 | +| 33 | 34 | 8745 | +| 34 | 35 | 9265 | +| 35 | 36 | 9800 | +| 36 | 37 | 10350 | +| 37 | 38 | 10915 | +| 38 | 39 | 11495 | +| 39 | 40 | 12090 | +| 40 | 41 | 12700 | +| 41 | 42 | 13325 | +| 42 | 43 | 13965 | +| 43 | 44 | 14620 | +| 44 | 45 | 15290 | +| 45 | 46 | 15975 | +| 46 | 47 | 16675 | +| 47 | 48 | 17390 | +| 48 | 49 | 18120 | +| 49 | 50 | 18865 | +| 50 | 51 | 19625 | +| 51 | 52 | 20400 | +| 52 | 53 | 21190 | +| 53 | 54 | 21995 | +| 54 | 55 | 22815 | +| 55 | 56 | 23650 | +| 56 | 57 | 24500 | +| 57 | 58 | 25365 | +| 58 | 59 | 26245 | +| 59 | 60 | 27140 | +| 60 | 61 | 28050 | +| 61 | 62 | 28975 | +| 62 | 63 | 29915 | +| 63 | 64 | 30870 | +| 64 | 65 | 31840 | +| 65 | 66 | 32825 | +| 66 | 67 | 33825 | +| 67 | 68 | 34840 | +| 68 | 69 | 35870 | +| 69 | 70 | 36915 | +| 70 | 71 | 37975 | +| 71 | 72 | 39050 | +| 72 | 73 | 40140 | +| 73 | 74 | 41245 | +| 74 | 75 | 42365 | +| 75 | 76 | 43500 | +| 76 | 77 | 44650 | +| 77 | 78 | 45815 | +| 78 | 79 | 46995 | +| 79 | 80 | 48190 | +| 80 | 81 | 49400 | +| 81 | 82 | 50625 | +| 82 | 83 | 51865 | +| 83 | 84 | 53120 | +| 84 | 85 | 54390 | +| 85 | 86 | 55675 | +| 86 | 87 | 56975 | +| 87 | 88 | 58290 | +| 88 | 89 | 59620 | +| 89 | 90 | 60965 | +| 90 | 91 | 62325 | +| 91 | 92 | 63700 | +| 92 | 93 | 65090 | +| 93 | 94 | 66495 | +| 94 | 95 | 67915 | +| 95 | 96 | 69350 | +| 96 | 97 | 70800 | +| 97 | 98 | 72265 | +| 98 | 99 | 73745 | +| 99 | 100 | 75240 | +| 100 | 101 | 76750 | +| 101 | 102 | 78275 | +| 102 | 103 | 79815 | +| 103 | 104 | 81370 | +| 104 | 105 | 82940 | +| 105 | 106 | 84525 | +| 106 | 107 | 86125 | +| 107 | 108 | 87740 | +| 108 | 109 | 89370 | +| 109 | 110 | 91015 | +| 110 | 111 | 92675 | + +.... + ## Foundry **Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.** diff --git a/coverage.txt b/coverage.txt index 3cecf05..cf65916 100644 --- a/coverage.txt +++ b/coverage.txt @@ -1,5 +1,5 @@ -Compiling 126 files with Solc 0.8.24 -Solc 0.8.24 finished in 6.59s +Compiling 127 files with Solc 0.8.24 +Solc 0.8.24 finished in 6.36s Compiler run successful! Analysing contracts... Running tests... @@ -12,94 +12,166 @@ Ran 10 tests for test/unit/VotingPowerExchange.t.sol:VotingPowerExchangeUnitTest [PASS] testCalculateVotingPowerFromBurnedAmountRareCases() (gas: 51011) [PASS] testCalculationOfVotingPowerMintingWhenMintedSeparately() (gas: 26269) [PASS] testCalculationOfVotingPowerMintingWhenMintedSeparately2() (gas: 26421) -[PASS] testConstructorValidation() (gas: 119833) +[PASS] testConstructorValidation() (gas: 119847) [PASS] testSomeMoreSpecialCasesForCalculateVotingPowerFromBurnedAmount() (gas: 22437) [PASS] testSpecialCasesForCalculateVotingPowerFromBurnedAmount() (gas: 22115) -Suite result: ok. 10 passed; 0 failed; 0 skipped; finished in 184.42ms (172.05ms CPU time) +Suite result: ok. 10 passed; 0 failed; 0 skipped; finished in 188.41ms (184.76ms CPU time) -Ran 12 tests for test/unit/ERC20UpgradeableTokenV1.t.sol:ERC20UpgradeableTokenV1Test +Ran 13 tests for test/unit/ERC20UpgradeableTokenV1.t.sol:ERC20UpgradeableTokenV1Test [PASS] testApprovingAllAndTransferFromAll() (gas: 67864) -[PASS] testApprovingAllAndTrasnferFromHalf() (gas: 90139) +[PASS] testApprovingAllAndTransferFromHalf() (gas: 90094) [PASS] testApprovingAndTransferFrom() (gas: 70217) [PASS] testApprovingSpending() (gas: 47204) +[PASS] testDefaultAdminCannotBeZero() (gas: 3404094) [PASS] testFailingToBurnTokens() (gas: 35179) -[PASS] testGrantRoles() (gas: 63167) +[PASS] testGrantRoles() (gas: 63145) [PASS] testGrantingAndRevokingRoles() (gas: 49891) [PASS] testRolesAreSetCorrectly() (gas: 45900) [PASS] testSendingTokens() (gas: 89772) [PASS] testShowingBasicTokenInfo() (gas: 31607) [PASS] testSucceedingToBurnTokens() (gas: 39063) [PASS] testUpgradeabilityOfToken() (gas: 3680933) -Suite result: ok. 12 passed; 0 failed; 0 skipped; finished in 517.66ms (32.31ms CPU time) - -Ran 12 tests for test/unit/GovToken.t.sol:GovTokenTest -[PASS] testBurningCanBeDoneByBurner() (gas: 71425) -[PASS] testBurningCanBeDoneByNewBurner() (gas: 104698) -[PASS] testBurningCannotBeDoneByNonBurner() (gas: 31423) -[PASS] testMintingCanBeDoneByMinter() (gas: 95561) -[PASS] testMintingCanBeDoneByNewMinter() (gas: 126833) -[PASS] testMintingCannotBeDoneByNonMinter() (gas: 41757) -[PASS] testNonRoleCannnotCallSetBurnedAmountOfUtilToken() (gas: 31075) -[PASS] testSetBurnedAmountOfUtilTokenEvent() (gas: 77722) -[PASS] testTheRolesOfTheGovToken() (gas: 31013) -[PASS] testTheTokenInfos() (gas: 21406) -[PASS] testTokensAreNotTransferrable() (gas: 48987) -[PASS] testVotingPowerExchangeCanCallSetBurnedAmountOfUtilToken() (gas: 73374) -Suite result: ok. 12 passed; 0 failed; 0 skipped; finished in 574.25ms (13.26ms CPU time) - -Ran 12 tests for test/unit/AmbassadorNft.t.sol:AmbassadorTest -[PASS] testBalanceOfBatchWorks() (gas: 26032) -[PASS] testBalanceOfWorks() (gas: 31158) -[PASS] testBurningTokenSuccessfully() (gas: 115461) +Suite result: ok. 13 passed; 0 failed; 0 skipped; finished in 590.45ms (39.71ms CPU time) + +Ran 17 tests for test/unit/AmbassadorNft.t.sol:AmbassadorTest +[PASS] testBalanceOfBatchWorks() (gas: 26010) +[PASS] testBalanceOfWorks() (gas: 31180) +[PASS] testBurnBatchCanBeCalledByBurner() (gas: 75954) +[PASS] testBurnBatchWillFailByNonBurner() (gas: 85060) +[PASS] testBurningTokenSuccessfully() (gas: 115515) [PASS] testBurningTokenWillFailByNonBurner() (gas: 127990) -[PASS] testBurningTokenWillSucceedByNewBurner() (gas: 140043) -[PASS] testMintingTokenWillFailByNonMinter() (gas: 29694) +[PASS] testBurningTokenWillSucceedByNewBurner() (gas: 140025) +[PASS] testConstructorWillRevertIfAdminIsZero() (gas: 49376) +[PASS] testMintBatchWillWork() (gas: 81972) +[PASS] testMintingTokenWillFailByNonMinter() (gas: 29783) [PASS] testMintingTokenWillSucceedByNewMinter() (gas: 165748) -[PASS] testMintingTokensSuccessfully() (gas: 123323) -[PASS] testSetURI() (gas: 51183) +[PASS] testMintingTokensSuccessfully() (gas: 123301) +[PASS] testSetURI() (gas: 51205) [PASS] testSetURIByNonUriSetter() (gas: 12128) +[PASS] testSupportsInterface() (gas: 16538) [PASS] testTokenRoles() (gas: 39075) -[PASS] testTransferWillWork() (gas: 61435) -Suite result: ok. 12 passed; 0 failed; 0 skipped; finished in 641.61ms (13.47ms CPU time) +[PASS] testTransferWillWork() (gas: 61413) +Suite result: ok. 17 passed; 0 failed; 0 skipped; finished in 885.65ms (35.15ms CPU time) -Ran 34 tests for test/integration/VotingPowerExchange.t.sol:VotingPwoerExchangeTest +Ran 34 tests for test/integration/VotingPowerExchange.t.sol:VotingPowerExchangeTest [PASS] testBasicVotingPowerExchangeInfo() (gas: 14590) -[PASS] testCalculateIncrementedBurningAmountWhenCurrentIsNotZero() (gas: 48574) -[PASS] testCalculateIncrementedBurningAmountWhenCurrentIsZero() (gas: 41921) +[PASS] testCalculateIncrementedBurningAmountWhenCurrentIsNotZero() (gas: 48619) +[PASS] testCalculateIncrementedBurningAmountWhenCurrentIsZero() (gas: 41986) [PASS] testCalculationOfIncreasedVotingPowerWhenCurrentIsNotZero() (gas: 70426) -[PASS] testCalculationOfIncreasedVotingPowerWhenCurrentIsZero() (gas: 50946) +[PASS] testCalculationOfIncreasedVotingPowerWhenCurrentIsZero() (gas: 50901) [PASS] testConstantValues() (gas: 11697) -[PASS] testConstructorOfVotingPowerExchange() (gas: 2236525) -[PASS] testExchangeFailCaseWhenAmountIsTooSmall() (gas: 41000) -[PASS] testExchangeFailCaseWhenNonceIsUsed() (gas: 202426) -[PASS] testExchangeFailCaseWhenSenderIsNotSigner() (gas: 67304) -[PASS] testExchangeFailCaseWhenSginatureExpired() (gas: 44076) -[PASS] testExchangeFailCaseWhenSignatureIsInvalid() (gas: 66984) -[PASS] testExchangeFailCaseWhenUserGotMoreThanVotingPowerCap() (gas: 133204) -[PASS] testExchangeFailsWhenSenderIsZeroAddress() (gas: 38797) -[PASS] testExchangeLargeAmountSuccessCase() (gas: 210220) +[PASS] testConstructorOfVotingPowerExchange() (gas: 2236713) +[PASS] testExchangeFailCaseWhenAmountIsTooSmall() (gas: 41022) +[PASS] testExchangeFailCaseWhenNonceIsUsed() (gas: 202448) +[PASS] testExchangeFailCaseWhenSenderIsNotSigner() (gas: 67348) +[PASS] testExchangeFailCaseWhenSignatureExpired() (gas: 44099) +[PASS] testExchangeFailCaseWhenSignatureIsInvalid() (gas: 67050) +[PASS] testExchangeFailCaseWhenUserGotMoreThanVotingPowerCap() (gas: 133248) +[PASS] testExchangeFailsWhenSenderIsZeroAddress() (gas: 38841) +[PASS] testExchangeLargeAmountSuccessCase() (gas: 210242) [PASS] testExchangeMediumAmountSuccessCase() (gas: 215165) -[PASS] testExchangeSmallAmountSuccessCase() (gas: 210482) -[PASS] testExchangeTwiceToCrossVotingPowerCapFailureCase() (gas: 249753) -[PASS] testExchangeTwiceToGetToVotingPowerCapSuccessCase() (gas: 304962) -[PASS] testExchangeVotingPowerCapSuccessCase() (gas: 221257) -[PASS] testGovTokenBasicInfo() (gas: 25256) +[PASS] testExchangeSmallAmountSuccessCase() (gas: 210504) +[PASS] testExchangeTwiceToCrossVotingPowerCapFailureCase() (gas: 249775) +[PASS] testExchangeTwiceToGetToVotingPowerCapSuccessCase() (gas: 304984) +[PASS] testExchangeVotingPowerCapSuccessCase() (gas: 221279) +[PASS] testGovTokenBasicInfo() (gas: 25278) [PASS] testGovTokenNotBeingTransferrable() (gas: 68747) -[PASS] testReturnedSetupValues() (gas: 63226) +[PASS] testReturnedSetupValues() (gas: 63204) [PASS] testSettingVotingPowerCap() (gas: 25153) -[PASS] testSettingVotingPowerCapFails() (gas: 14227) +[PASS] testSettingVotingPowerCapFails() (gas: 14249) [PASS] testSettingVotingPowerCapFailsCase2() (gas: 23198) -[PASS] testTokensAccessRoles() (gas: 70463) -[PASS] testTokensBalanceOf() (gas: 27856) -[PASS] testTokensBurning() (gas: 86280) +[PASS] testTokensAccessRoles() (gas: 70485) +[PASS] testTokensBalanceOf() (gas: 27834) +[PASS] testTokensBurning() (gas: 86324) [PASS] testUtilityTokenBasicInfo() (gas: 31675) -[PASS] testUtilityTokenCanBeTrasnferred() (gas: 88339) +[PASS] testUtilityTokenCanBeTransferred() (gas: 88383) [PASS] testUtilityTokensPausability() (gas: 76194) -[PASS] testVotingPowerCap() (gas: 11038) -[PASS] testVotingPowerExchangesRole() (gas: 57561) -Suite result: ok. 34 passed; 0 failed; 0 skipped; finished in 800.16ms (145.54ms CPU time) +[PASS] testVotingPowerCap() (gas: 11060) +[PASS] testVotingPowerExchangesRoles() (gas: 57604) +Suite result: ok. 34 passed; 0 failed; 0 skipped; finished in 1.05s (160.86ms CPU time) -Ran 5 test suites in 809.78ms (2.72s CPU time): 80 tests passed, 0 failed, 0 skipped (80 total tests) +Ran 16 tests for test/unit/GovToken.t.sol:GovTokenTest +[PASS] testBurningCanBeDoneByBurner() (gas: 71447) +[PASS] testBurningCanBeDoneByNewBurner() (gas: 104720) +[PASS] testBurningCannotBeDoneByNonBurner() (gas: 31423) +[PASS] testClock() (gas: 14380) +[PASS] testClockMode() (gas: 11372) +[PASS] testGovTokenDefaultAdminCannotBeZero() (gas: 98814) +[PASS] testMintingCanBeDoneByMinter() (gas: 95628) +[PASS] testMintingCanBeDoneByNewMinter() (gas: 126811) +[PASS] testMintingCannotBeDoneByNonMinter() (gas: 41757) +[PASS] testNonRoleCannotCallSetBurnedAmountOfUtilToken() (gas: 31097) +[PASS] testNonces() (gas: 81008) +[PASS] testSetBurnedAmountOfUtilTokenEvent() (gas: 77722) +[PASS] testTheRolesOfTheGovToken() (gas: 31013) +[PASS] testTheTokenInfos() (gas: 21406) +[PASS] testTokensAreNotTransferrable() (gas: 49053) +[PASS] testVotingPowerExchangeCanCallSetBurnedAmountOfUtilToken() (gas: 73374) +Suite result: ok. 16 passed; 0 failed; 0 skipped; finished in 26.82s (111.25ms CPU time) + +Ran 59 tests for test/fuzz/FuzzVotingPowerExchange.t.sol:VotingPwoerExchangeTest +[PASS] testCalculateIncrementedVotingPower(uint256) (runs: 4104, μ: 20723, ~: 20079) +[PASS] testCalculateIncrementedVotingPower_0_to_10(uint256) (runs: 4104, μ: 20698, ~: 20033) +[PASS] testCalculateIncrementedVotingPower_100_to_110(uint256) (runs: 4104, μ: 20642, ~: 19997) +[PASS] testCalculateIncrementedVotingPower_10_to_110(uint256) (runs: 4104, μ: 21431, ~: 21491) +[PASS] testCalculateIncrementedVotingPower_10_to_20(uint256) (runs: 4104, μ: 20714, ~: 20060) +[PASS] testCalculateIncrementedVotingPower_20_to_30(uint256) (runs: 4104, μ: 20733, ~: 20082) +[PASS] testCalculateIncrementedVotingPower_30_to_40(uint256) (runs: 4104, μ: 20828, ~: 20178) +[PASS] testCalculateIncrementedVotingPower_40_to_50(uint256) (runs: 4104, μ: 20767, ~: 20122) +[PASS] testCalculateIncrementedVotingPower_50_to_60(uint256) (runs: 4104, μ: 20887, ~: 20238) +[PASS] testCalculateIncrementedVotingPower_60_to_70(uint256) (runs: 4104, μ: 20851, ~: 20215) +[PASS] testCalculateIncrementedVotingPower_70_to_80(uint256) (runs: 4104, μ: 20712, ~: 20065) +[PASS] testCalculateIncrementedVotingPower_80_to_90(uint256) (runs: 4104, μ: 20662, ~: 20021) +[PASS] testCalculateIncrementedVotingPower_90_to_100(uint256) (runs: 4104, μ: 20664, ~: 20024) +[PASS] testExchangeWithAnyAmountLessThan1e18WillRevert(uint256) (runs: 4100, μ: 41692, ~: 41692) +[PASS] testExchangeWithAnyAmountWhichIsInRangeWillSucceed(uint256) (runs: 4104, μ: 218340, ~: 218466) +[PASS] testExchangeWithAnyAmountWithinNewCapWillSucceed(uint256) (runs: 4104, μ: 229223, ~: 229377) +[PASS] testExchangeWithAnyExpirationWhichIsExpiredWillRevert(uint256) (runs: 4104, μ: 46556, ~: 47250) +[PASS] testExchangeWithAnyExpirationWhichIsNotExpiredWillSucceed(uint256) (runs: 4103, μ: 228136, ~: 228136) +[PASS] testExchangeWithAnyNonceWhichIsUsedWillRevert(bytes32) (runs: 4104, μ: 202877, ~: 202877) +[PASS] testExchangeWithAnyRoleWhoIsNotExchangerWillRevert(address) (runs: 4104, μ: 44206, ~: 44206) +[PASS] testExchangeWithAnySenderWhoIsNotTheSignerWillRevert(address) (runs: 4104, μ: 70231, ~: 70233) +[PASS] testFuzzCalculateBurningAmountFromVotingPower_0_10(uint256) (runs: 4104, μ: 17868, ~: 17187) +[PASS] testFuzzCalculateBurningAmountFromVotingPower_0_110(uint256) (runs: 4104, μ: 17855, ~: 17186) +[PASS] testFuzzCalculateBurningAmountFromVotingPower_100_110(uint256) (runs: 4104, μ: 18594, ~: 18639) +[PASS] testFuzzCalculateBurningAmountFromVotingPower_10_20(uint256) (runs: 4104, μ: 18569, ~: 18615) +[PASS] testFuzzCalculateBurningAmountFromVotingPower_20_30(uint256) (runs: 4104, μ: 18548, ~: 18595) +[PASS] testFuzzCalculateBurningAmountFromVotingPower_30_40(uint256) (runs: 4104, μ: 18618, ~: 18663) +[PASS] testFuzzCalculateBurningAmountFromVotingPower_40_50(uint256) (runs: 4104, μ: 18638, ~: 18683) +[PASS] testFuzzCalculateBurningAmountFromVotingPower_50_60(uint256) (runs: 4104, μ: 18639, ~: 18684) +[PASS] testFuzzCalculateBurningAmountFromVotingPower_60_70(uint256) (runs: 4104, μ: 18616, ~: 18662) +[PASS] testFuzzCalculateBurningAmountFromVotingPower_70_80(uint256) (runs: 4104, μ: 18574, ~: 18618) +[PASS] testFuzzCalculateBurningAmountFromVotingPower_80_90(uint256) (runs: 4104, μ: 18617, ~: 18662) +[PASS] testFuzzCalculateBurningAmountFromVotingPower_90_100(uint256) (runs: 4104, μ: 18618, ~: 18663) +[PASS] testFuzzCalculateIncrementedBurningAmount_0_to_110(uint256) (runs: 4104, μ: 17927, ~: 17258) +[PASS] testFuzzCalculateIncrementedBurningAmount_100_to_110(uint256) (runs: 4104, μ: 17969, ~: 17288) +[PASS] testFuzzCalculateIncrementedBurningAmount_10_to_110(uint256) (runs: 4104, μ: 17998, ~: 17329) +[PASS] testFuzzCalculateIncrementedBurningAmount_20_to_110(uint256) (runs: 4104, μ: 17958, ~: 17288) +[PASS] testFuzzCalculateIncrementedBurningAmount_30_to_110(uint256) (runs: 4104, μ: 17936, ~: 17266) +[PASS] testFuzzCalculateIncrementedBurningAmount_40_to_110(uint256) (runs: 4104, μ: 18002, ~: 17332) +[PASS] testFuzzCalculateIncrementedBurningAmount_50_to_110(uint256) (runs: 4104, μ: 17937, ~: 17265) +[PASS] testFuzzCalculateIncrementedBurningAmount_60_to_110(uint256) (runs: 4104, μ: 17980, ~: 17308) +[PASS] testFuzzCalculateIncrementedBurningAmount_70_to_110(uint256) (runs: 4104, μ: 17960, ~: 17287) +[PASS] testFuzzCalculateIncrementedBurningAmount_80_to_110(uint256) (runs: 4104, μ: 17918, ~: 17244) +[PASS] testFuzzCalculateIncrementedBurningAmount_90_to_110(uint256) (runs: 4104, μ: 17987, ~: 17310) +[PASS] testFuzzCalculateVotingPowerFromBurnedAmount(uint256) (runs: 4104, μ: 20406, ~: 19752) +[PASS] testFuzzCalculateVotingPowerFromBurnedAmount_0_925(uint256) (runs: 4104, μ: 20403, ~: 19731) +[PASS] testFuzzCalculateVotingPowerFromBurnedAmount_12700_19625(uint256) (runs: 4104, μ: 21358, ~: 21399) +[PASS] testFuzzCalculateVotingPowerFromBurnedAmount_19625_28050(uint256) (runs: 4104, μ: 21350, ~: 21402) +[PASS] testFuzzCalculateVotingPowerFromBurnedAmount_28050_37975(uint256) (runs: 4104, μ: 21352, ~: 21401) +[PASS] testFuzzCalculateVotingPowerFromBurnedAmount_3350_7275(uint256) (runs: 4104, μ: 21235, ~: 21270) +[PASS] testFuzzCalculateVotingPowerFromBurnedAmount_37975_49400(uint256) (runs: 4104, μ: 21218, ~: 21251) +[PASS] testFuzzCalculateVotingPowerFromBurnedAmount_49400_62325(uint256) (runs: 4104, μ: 21222, ~: 21271) +[PASS] testFuzzCalculateVotingPowerFromBurnedAmount_62325_76750(uint256) (runs: 4104, μ: 21212, ~: 21252) +[PASS] testFuzzCalculateVotingPowerFromBurnedAmount_7275_12700(uint256) (runs: 4104, μ: 21270, ~: 21330) +[PASS] testFuzzCalculateVotingPowerFromBurnedAmount_76750_92675(uint256) (runs: 4104, μ: 21246, ~: 21275) +[PASS] testFuzzCalculateVotingPowerFromBurnedAmount_925_3350(uint256) (runs: 4104, μ: 21297, ~: 21361) +[PASS] testSetVotingPowerCap(uint256) (runs: 4100, μ: 25451, ~: 25451) +[PASS] testSetVotingPowerCap_revertWhenLowerThanExisting(uint256) (runs: 4100, μ: 18046, ~: 18046) +[PASS] testSetVotingPowerCap_revertWhenNonManagerCalled(address) (runs: 4104, μ: 17759, ~: 17759) +Suite result: ok. 59 passed; 0 failed; 0 skipped; finished in 27.18s (203.05s CPU time) + +Ran 6 test suites in 27.19s (56.71s CPU time): 149 tests passed, 0 failed, 0 skipped (149 total tests) Uncovered for script/DeployContracts.s.sol: - Branch (branch: 0, path: 1) (location: source ID 111, line 50, chars 1622-3019, hits: 0) - Line (location: source ID 111, line 53, chars 1790-1812, hits: 0) @@ -120,31 +192,10 @@ Uncovered for script/DeployContracts.s.sol: - Function "deploymentsOnLocalNetwork" (location: source ID 111, line 91, chars 3144-5598, hits: 0) Uncovered for src/AmbassadorNft.sol: -- Branch (branch: 0, path: 0) (location: source ID 112, line 20, chars 1085-1118, hits: 0) -- Statement (location: source ID 112, line 20, chars 1085-1118, hits: 0) -- Function "mintBatch" (location: source ID 112, line 35, chars 1586-1784, hits: 0) -- Line (location: source ID 112, line 39, chars 1743-1777, hits: 0) -- Statement (location: source ID 112, line 39, chars 1743-1777, hits: 0) -- Function "supportsInterface" (location: source ID 112, line 54, chars 2338-2505, hits: 0) -- Line (location: source ID 112, line 55, chars 2455-2498, hits: 0) -- Statement (location: source ID 112, line 55, chars 2455-2498, hits: 0) -- Statement (location: source ID 112, line 55, chars 2462-2498, hits: 0) Uncovered for src/ERC20UpgradeableTokenV1.sol: -- Branch (branch: 0, path: 0) (location: source ID 113, line 47, chars 1889-1922, hits: 0) -- Statement (location: source ID 113, line 47, chars 1889-1922, hits: 0) Uncovered for src/GovToken.sol: -- Branch (branch: 0, path: 0) (location: source ID 114, line 35, chars 1668-1701, hits: 0) -- Statement (location: source ID 114, line 35, chars 1668-1701, hits: 0) -- Function "clock" (location: source ID 114, line 87, chars 3697-3799, hits: 0) -- Function "CLOCK_MODE" (location: source ID 114, line 92, chars 3858-3965, hits: 0) -- Line (location: source ID 114, line 93, chars 3935-3958, hits: 0) -- Statement (location: source ID 114, line 93, chars 3935-3958, hits: 0) -- Function "nonces" (location: source ID 114, line 96, chars 3971-4105, hits: 0) -- Line (location: source ID 114, line 97, chars 4072-4098, hits: 0) -- Statement (location: source ID 114, line 97, chars 4072-4098, hits: 0) -- Statement (location: source ID 114, line 97, chars 4079-4098, hits: 0) Uncovered for src/MyGovernor.sol: - Function "" (location: source ID 116, line 26, chars 957-1209, hits: 0) @@ -196,1668 +247,1709 @@ Uncovered for src/VotingPowerExchange.sol: Uncovered for test/integration/utils/VotingPowerExchangeTestHelper.t.sol: Uncovered for test/mocks/ERC20UpgradeableTokenV2.sol: -- Function "setTreasury" (location: source ID 121, line 27, chars 900-1013, hits: 0) -- Line (location: source ID 121, line 28, chars 983-1006, hits: 0) -- Statement (location: source ID 121, line 28, chars 983-1006, hits: 0) +- Function "setTreasury" (location: source ID 122, line 27, chars 900-1013, hits: 0) +- Line (location: source ID 122, line 28, chars 983-1006, hits: 0) +- Statement (location: source ID 122, line 28, chars 983-1006, hits: 0) -Anchors for Contract "ERC1967Utils" (solc 0.8.24, source ID 59): +Anchors for Contract "ITransparentUpgradeableProxy" (solc 0.8.24, source ID 65): -Anchors for Contract "VotingPowerExchange" (solc 0.8.24, source ID 118): -- IC 6 -> Item 62 -- Runtime code - - Refers to item: Function "" (location: source ID 118, line 66, chars 3140-3837, hits: 49) -- IC 341 -> Item 63 -- Runtime code - - Refers to item: Line (location: source ID 118, line 69, chars 3313-3339, hits: 49) -- IC 341 -> Item 64 -- Runtime code - - Refers to item: Statement (location: source ID 118, line 69, chars 3313-3339, hits: 49) -- IC 394 -> Item 65 -- Runtime code - - Refers to item: Branch (branch: 0, path: 0) (location: source ID 118, line 69, chars 3341-3395, hits: 2) -- IC 394 -> Item 66 -- Runtime code - - Refers to item: Statement (location: source ID 118, line 69, chars 3341-3395, hits: 2) -- IC 444 -> Item 67 -- Runtime code - - Refers to item: Line (location: source ID 118, line 70, chars 3409-3463, hits: 47) -- IC 444 -> Item 68 -- Runtime code - - Refers to item: Statement (location: source ID 118, line 70, chars 3409-3463, hits: 47) -- IC 444 -> Item 69 -- Runtime code - - Refers to item: Statement (location: source ID 118, line 70, chars 3409-3432, hits: 47) -- IC 499 -> Item 70 -- Runtime code - - Refers to item: Statement (location: source ID 118, line 70, chars 3436-3463, hits: 46) -- IC 554 -> Item 71 -- Runtime code - - Refers to item: Branch (branch: 1, path: 0) (location: source ID 118, line 70, chars 3465-3542, hits: 2) -- IC 554 -> Item 72 -- Runtime code - - Refers to item: Line (location: source ID 118, line 71, chars 3479-3531, hits: 2) -- IC 554 -> Item 73 -- Runtime code - - Refers to item: Statement (location: source ID 118, line 71, chars 3479-3531, hits: 2) -- IC 604 -> Item 74 -- Runtime code - - Refers to item: Line (location: source ID 118, line 74, chars 3552-3583, hits: 45) -- IC 604 -> Item 75 -- Runtime code - - Refers to item: Statement (location: source ID 118, line 74, chars 3552-3583, hits: 45) -- IC 657 -> Item 76 -- Runtime code - - Refers to item: Line (location: source ID 118, line 75, chars 3593-3647, hits: 45) -- IC 657 -> Item 77 -- Runtime code - - Refers to item: Statement (location: source ID 118, line 75, chars 3593-3647, hits: 45) -- IC 710 -> Item 78 +Anchors for Contract "Address" (solc 0.8.24, source ID 81): + +Anchors for Contract "VotingPowerExchangeTestHelper" (solc 0.8.24, source ID 121): +- IC 448 -> Item 276 +- Creation code + - Refers to item: Function "generateSignatureFromPrivateKey" (location: source ID 121, line 15, chars 564-1559, hits: 36946) +- IC 2271 -> Item 277 +- Creation code + - Refers to item: Line (location: source ID 121, line 22, chars 798-834, hits: 36946) +- IC 2271 -> Item 278 +- Creation code + - Refers to item: Statement (location: source ID 121, line 22, chars 798-834, hits: 36946) +- IC 2308 -> Item 279 +- Creation code + - Refers to item: Statement (location: source ID 121, line 22, chars 815-834, hits: 36946) +- IC 2431 -> Item 280 +- Creation code + - Refers to item: Line (location: source ID 121, line 23, chars 844-873, hits: 36946) +- IC 2431 -> Item 281 +- Creation code + - Refers to item: Statement (location: source ID 121, line 23, chars 844-873, hits: 36946) +- IC 2494 -> Item 282 +- Creation code + - Refers to item: Line (location: source ID 121, line 24, chars 883-980, hits: 36946) +- IC 2494 -> Item 283 +- Creation code + - Refers to item: Statement (location: source ID 121, line 24, chars 883-980, hits: 36946) +- IC 2529 -> Item 284 +- Creation code + - Refers to item: Statement (location: source ID 121, line 24, chars 904-980, hits: 36946) +- IC 2577 -> Item 285 +- Creation code + - Refers to item: Line (location: source ID 121, line 26, chars 991-1344, hits: 36946) +- IC 2577 -> Item 286 +- Creation code + - Refers to item: Statement (location: source ID 121, line 26, chars 991-1344, hits: 36946) +- IC 2579 -> Item 287 +- Creation code + - Refers to item: Statement (location: source ID 121, line 26, chars 1017-1344, hits: 36946) +- IC 2780 -> Item 288 +- Creation code + - Refers to item: Line (location: source ID 121, line 36, chars 1355-1431, hits: 36946) +- IC 2780 -> Item 289 +- Creation code + - Refers to item: Statement (location: source ID 121, line 36, chars 1355-1431, hits: 36946) +- IC 2782 -> Item 290 +- Creation code + - Refers to item: Statement (location: source ID 121, line 36, chars 1370-1431, hits: 36946) +- IC 2794 -> Item 291 +- Creation code + - Refers to item: Line (location: source ID 121, line 38, chars 1442-1501, hits: 36946) +- IC 2794 -> Item 292 +- Creation code + - Refers to item: Statement (location: source ID 121, line 38, chars 1442-1501, hits: 36946) +- IC 2835 -> Item 293 +- Creation code + - Refers to item: Statement (location: source ID 121, line 38, chars 1476-1501, hits: 36946) +- IC 2964 -> Item 294 +- Creation code + - Refers to item: Line (location: source ID 121, line 40, chars 1512-1552, hits: 36946) +- IC 2964 -> Item 295 +- Creation code + - Refers to item: Statement (location: source ID 121, line 40, chars 1512-1552, hits: 36946) +- IC 250 -> Item 296 +- Creation code + - Refers to item: Function "createDigest" (location: source ID 121, line 51, chars 1900-2624, hits: 4104) +- IC 740 -> Item 297 +- Creation code + - Refers to item: Line (location: source ID 121, line 56, chars 2079-2176, hits: 4104) +- IC 740 -> Item 298 +- Creation code + - Refers to item: Statement (location: source ID 121, line 56, chars 2079-2176, hits: 4104) +- IC 774 -> Item 299 +- Creation code + - Refers to item: Statement (location: source ID 121, line 56, chars 2100-2176, hits: 4104) +- IC 822 -> Item 300 +- Creation code + - Refers to item: Line (location: source ID 121, line 57, chars 2186-2539, hits: 4104) +- IC 822 -> Item 301 +- Creation code + - Refers to item: Statement (location: source ID 121, line 57, chars 2186-2539, hits: 4104) +- IC 824 -> Item 302 +- Creation code + - Refers to item: Statement (location: source ID 121, line 57, chars 2212-2539, hits: 4104) +- IC 1025 -> Item 303 +- Creation code + - Refers to item: Line (location: source ID 121, line 66, chars 2549-2617, hits: 4104) +- IC 1025 -> Item 304 +- Creation code + - Refers to item: Statement (location: source ID 121, line 66, chars 2549-2617, hits: 4104) +- IC 1025 -> Item 305 +- Creation code + - Refers to item: Statement (location: source ID 121, line 66, chars 2556-2617, hits: 4104) + +Anchors for Contract "AmbassadorNft" (solc 0.8.24, source ID 112): +- IC 5 -> Item 393 - Runtime code - - Refers to item: Line (location: source ID 118, line 76, chars 3657-3701, hits: 45) -- IC 710 -> Item 79 + - Refers to item: Function "" (location: source ID 112, line 23, chars 1162-1525, hits: 18) +- IC 90 -> Item 394 - Runtime code - - Refers to item: Statement (location: source ID 118, line 76, chars 3657-3701, hits: 45) -- IC 732 -> Item 80 + - Refers to item: Line (location: source ID 112, line 24, chars 1273-1299, hits: 18) +- IC 90 -> Item 395 - Runtime code - - Refers to item: Line (location: source ID 118, line 77, chars 3711-3744, hits: 45) -- IC 732 -> Item 81 + - Refers to item: Statement (location: source ID 112, line 24, chars 1273-1299, hits: 18) +- IC 143 -> Item 396 - Runtime code - - Refers to item: Statement (location: source ID 118, line 77, chars 3711-3744, hits: 45) -- IC 783 -> Item 82 + - Refers to item: Branch (branch: 0, path: 0) (location: source ID 112, line 24, chars 1301-1334, hits: 1) +- IC 143 -> Item 397 - Runtime code - - Refers to item: Line (location: source ID 118, line 78, chars 3754-3791, hits: 45) -- IC 783 -> Item 83 + - Refers to item: Statement (location: source ID 112, line 24, chars 1301-1334, hits: 1) +- IC 193 -> Item 398 - Runtime code - - Refers to item: Statement (location: source ID 118, line 78, chars 3754-3791, hits: 45) -- IC 834 -> Item 84 + - Refers to item: Line (location: source ID 112, line 25, chars 1344-1388, hits: 17) +- IC 193 -> Item 399 - Runtime code - - Refers to item: Line (location: source ID 118, line 79, chars 3801-3830, hits: 45) -- IC 834 -> Item 85 + - Refers to item: Statement (location: source ID 112, line 25, chars 1344-1388, hits: 17) +- IC 215 -> Item 400 - Runtime code - - Refers to item: Statement (location: source ID 118, line 79, chars 3801-3830, hits: 45) -- IC 1310 -> Item 155 + - Refers to item: Line (location: source ID 112, line 26, chars 1398-1429, hits: 17) +- IC 215 -> Item 401 - Runtime code - - Refers to item: Function "_setVotingPowerCap" (location: source ID 118, line 172, chars 8972-9132, hits: 46) -- IC 1311 -> Item 156 + - Refers to item: Statement (location: source ID 112, line 26, chars 1398-1429, hits: 17) +- IC 266 -> Item 402 - Runtime code - - Refers to item: Line (location: source ID 118, line 173, chars 9044-9076, hits: 46) -- IC 1311 -> Item 157 + - Refers to item: Line (location: source ID 112, line 27, chars 1439-1470, hits: 17) +- IC 266 -> Item 403 - Runtime code - - Refers to item: Statement (location: source ID 118, line 173, chars 9044-9076, hits: 46) -- IC 1318 -> Item 158 + - Refers to item: Statement (location: source ID 112, line 27, chars 1439-1470, hits: 17) +- IC 317 -> Item 404 - Runtime code - - Refers to item: Line (location: source ID 118, line 174, chars 9086-9125, hits: 46) -- IC 1318 -> Item 159 + - Refers to item: Line (location: source ID 112, line 28, chars 1480-1518, hits: 17) +- IC 317 -> Item 405 - Runtime code - - Refers to item: Statement (location: source ID 118, line 174, chars 9086-9125, hits: 46) -- IC 613 -> Item 86 -- Creation code - - Refers to item: Function "exchange" (location: source ID 118, line 98, chars 5073-7863, hits: 16) -- IC 1595 -> Item 87 -- Creation code - - Refers to item: Line (location: source ID 118, line 102, chars 5252-5272, hits: 16) -- IC 1595 -> Item 88 -- Creation code - - Refers to item: Statement (location: source ID 118, line 102, chars 5252-5272, hits: 16) -- IC 1647 -> Item 89 -- Creation code - - Refers to item: Branch (branch: 2, path: 0) (location: source ID 118, line 102, chars 5274-5317, hits: 1) -- IC 1647 -> Item 90 -- Creation code - - Refers to item: Statement (location: source ID 118, line 102, chars 5274-5317, hits: 1) -- IC 1697 -> Item 91 -- Creation code - - Refers to item: Line (location: source ID 118, line 103, chars 5331-5344, hits: 15) -- IC 1697 -> Item 92 + - Refers to item: Statement (location: source ID 112, line 28, chars 1480-1518, hits: 17) +- IC 422 -> Item 406 - Creation code - - Refers to item: Statement (location: source ID 118, line 103, chars 5331-5344, hits: 15) -- IC 1712 -> Item 93 + - Refers to item: Function "setURI" (location: source ID 112, line 34, chars 1699-1802, hits: 2) +- IC 1241 -> Item 407 - Creation code - - Refers to item: Branch (branch: 3, path: 0) (location: source ID 118, line 103, chars 5346-5392, hits: 1) -- IC 1712 -> Item 94 + - Refers to item: Line (location: source ID 112, line 35, chars 1780-1795, hits: 1) +- IC 1241 -> Item 408 - Creation code - - Refers to item: Statement (location: source ID 118, line 103, chars 5346-5392, hits: 1) -- IC 1762 -> Item 95 + - Refers to item: Statement (location: source ID 112, line 35, chars 1780-1795, hits: 1) +- IC 764 -> Item 409 - Creation code - - Refers to item: Line (location: source ID 118, line 104, chars 5460-5493, hits: 14) -- IC 1762 -> Item 96 + - Refers to item: Function "mint" (location: source ID 112, line 44, chars 2166-2322, hits: 53) +- IC 2222 -> Item 410 - Creation code - - Refers to item: Statement (location: source ID 118, line 104, chars 5460-5493, hits: 14) -- IC 1777 -> Item 97 + - Refers to item: Line (location: source ID 112, line 45, chars 2283-2315, hits: 49) +- IC 2222 -> Item 411 - Creation code - - Refers to item: Branch (branch: 4, path: 0) (location: source ID 118, line 104, chars 5495-5537, hits: 1) -- IC 1777 -> Item 98 + - Refers to item: Statement (location: source ID 112, line 45, chars 2283-2315, hits: 49) +- IC 498 -> Item 412 - Creation code - - Refers to item: Statement (location: source ID 118, line 104, chars 5495-5537, hits: 1) -- IC 1827 -> Item 99 + - Refers to item: Function "mintBatch" (location: source ID 112, line 54, chars 2685-2883, hits: 3) +- IC 1444 -> Item 413 - Creation code - - Refers to item: Line (location: source ID 118, line 105, chars 5551-5579, hits: 13) -- IC 1827 -> Item 100 + - Refers to item: Line (location: source ID 112, line 58, chars 2842-2876, hits: 3) +- IC 1444 -> Item 414 - Creation code - - Refers to item: Statement (location: source ID 118, line 105, chars 5551-5579, hits: 13) -- IC 1835 -> Item 101 + - Refers to item: Statement (location: source ID 112, line 58, chars 2842-2876, hits: 3) +- IC 1062 -> Item 415 - Creation code - - Refers to item: Branch (branch: 5, path: 0) (location: source ID 118, line 105, chars 5581-5627, hits: 1) -- IC 1835 -> Item 102 + - Refers to item: Function "burn" (location: source ID 112, line 68, chars 3224-3364, hits: 9) +- IC 2841 -> Item 416 - Creation code - - Refers to item: Statement (location: source ID 118, line 105, chars 5581-5627, hits: 1) -- IC 1885 -> Item 103 + - Refers to item: Line (location: source ID 112, line 69, chars 3331-3357, hits: 6) +- IC 2841 -> Item 417 - Creation code - - Refers to item: Line (location: source ID 118, line 107, chars 5699-5754, hits: 12) -- IC 1885 -> Item 104 + - Refers to item: Statement (location: source ID 112, line 69, chars 3331-3357, hits: 6) +- IC 736 -> Item 418 - Creation code - - Refers to item: Statement (location: source ID 118, line 107, chars 5699-5754, hits: 12) -- IC 1887 -> Item 105 + - Refers to item: Function "burnBatch" (location: source ID 112, line 73, chars 3418-3632, hits: 2) +- IC 2163 -> Item 419 - Creation code - - Refers to item: Statement (location: source ID 118, line 107, chars 5728-5754, hits: 12) -- IC 2043 -> Item 106 + - Refers to item: Line (location: source ID 112, line 79, chars 3593-3625, hits: 1) +- IC 2163 -> Item 420 - Creation code - - Refers to item: Line (location: source ID 118, line 108, chars 5768-5804, hits: 12) -- IC 2043 -> Item 107 + - Refers to item: Statement (location: source ID 112, line 79, chars 3593-3625, hits: 1) +- IC 374 -> Item 421 - Creation code - - Refers to item: Statement (location: source ID 118, line 108, chars 5768-5804, hits: 12) -- IC 2052 -> Item 108 + - Refers to item: Function "supportsInterface" (location: source ID 112, line 86, chars 3875-4042, hits: 4) +- IC 1183 -> Item 422 - Creation code - - Refers to item: Branch (branch: 6, path: 0) (location: source ID 118, line 108, chars 5806-5905, hits: 2) -- IC 2052 -> Item 109 + - Refers to item: Line (location: source ID 112, line 87, chars 3992-4035, hits: 4) +- IC 1183 -> Item 423 - Creation code - - Refers to item: Line (location: source ID 118, line 109, chars 5820-5894, hits: 2) -- IC 2052 -> Item 110 + - Refers to item: Statement (location: source ID 112, line 87, chars 3992-4035, hits: 4) +- IC 1183 -> Item 424 - Creation code - - Refers to item: Statement (location: source ID 118, line 109, chars 5820-5894, hits: 2) -- IC 2113 -> Item 111 -- Creation code - - Refers to item: Line (location: source ID 118, line 113, chars 5999-6110, hits: 10) -- IC 2113 -> Item 112 + - Refers to item: Statement (location: source ID 112, line 87, chars 3999-4035, hits: 4) + +Anchors for Contract "Script" (solc 0.8.24, source ID 1): + +Anchors for Contract "strings" (solc 0.8.24, source ID 100): + +Anchors for Contract "StdAssertions" (solc 0.8.24, source ID 2): + +Anchors for Contract "ERC20" (solc 0.8.24, source ID 72): + +Anchors for Contract "ContextUpgradeable" (solc 0.8.24, source ID 31): + +Anchors for Contract "ScriptBase" (solc 0.8.24, source ID 0): + +Anchors for Contract "ERC20PausableUpgradeable" (solc 0.8.24, source ID 29): + +Anchors for Contract "SafeCast" (solc 0.8.24, source ID 95): + +Anchors for Contract "ECDSA" (solc 0.8.24, source ID 88): + +Anchors for Contract "GovernorCountingSimple" (solc 0.8.24, source ID 43): + +Anchors for Contract "PausableUpgradeable" (solc 0.8.24, source ID 33): + +Anchors for Contract "GovernorVotesQuorumFraction" (solc 0.8.24, source ID 47): + +Anchors for Contract "Nonces" (solc 0.8.24, source ID 84): + +Anchors for Contract "Context" (solc 0.8.24, source ID 83): + +Anchors for Contract "TimelockController" (solc 0.8.24, source ID 42): + +Anchors for Contract "DeployContracts" (solc 0.8.24, source ID 111): +- IC 703 -> Item 0 - Creation code - - Refers to item: Statement (location: source ID 118, line 113, chars 5999-6110, hits: 10) -- IC 2115 -> Item 113 + - Refers to item: Function "run" (location: source ID 111, line 48, chars 1531-3077, hits: 93) +- IC 5235 -> Item 1 - Creation code - - Refers to item: Statement (location: source ID 118, line 113, chars 6016-6110, hits: 10) -- IC 2204 -> Item 114 + - Refers to item: Line (location: source ID 111, line 50, chars 1626-1648, hits: 93) +- IC 5235 -> Item 2 - Creation code - - Refers to item: Line (location: source ID 118, line 114, chars 6124-6170, hits: 10) -- IC 2204 -> Item 115 + - Refers to item: Statement (location: source ID 111, line 50, chars 1626-1648, hits: 93) +- IC 5245 -> Item 3 - Creation code - - Refers to item: Statement (location: source ID 118, line 114, chars 6124-6170, hits: 10) -- IC 2319 -> Item 116 + - Refers to item: Branch (branch: 0, path: 0) (location: source ID 111, line 50, chars 1650-1780, hits: 93) +- IC 8205 -> Item 4 - Creation code - - Refers to item: Branch (branch: 7, path: 0) (location: source ID 118, line 114, chars 6172-6260, hits: 2) -- IC 2319 -> Item 117 + - Refers to item: Branch (branch: 0, path: 1) (location: source ID 111, line 50, chars 1622-3019, hits: 0) +- IC 5245 -> Item 5 - Creation code - - Refers to item: Line (location: source ID 118, line 115, chars 6186-6249, hits: 2) -- IC 2319 -> Item 118 + - Refers to item: Line (location: source ID 111, line 51, chars 1664-1719, hits: 93) +- IC 5245 -> Item 6 - Creation code - - Refers to item: Statement (location: source ID 118, line 115, chars 6186-6249, hits: 2) -- IC 2384 -> Item 119 + - Refers to item: Statement (location: source ID 111, line 51, chars 1664-1719, hits: 93) +- IC 5281 -> Item 7 - Creation code - - Refers to item: Line (location: source ID 118, line 119, chars 6334-6376, hits: 8) -- IC 2384 -> Item 120 + - Refers to item: Line (location: source ID 111, line 52, chars 1733-1769, hits: 93) +- IC 5281 -> Item 8 - Creation code - - Refers to item: Statement (location: source ID 118, line 119, chars 6334-6376, hits: 8) -- IC 2489 -> Item 121 + - Refers to item: Statement (location: source ID 111, line 52, chars 1733-1769, hits: 93) +- IC 5964 -> Item 9 - Creation code - - Refers to item: Line (location: source ID 118, line 121, chars 6444-6514, hits: 8) -- IC 2489 -> Item 122 + - Refers to item: Line (location: source ID 111, line 53, chars 1790-1812, hits: 0) +- IC 5964 -> Item 10 - Creation code - - Refers to item: Statement (location: source ID 118, line 121, chars 6444-6514, hits: 8) -- IC 2491 -> Item 123 + - Refers to item: Statement (location: source ID 111, line 53, chars 1790-1812, hits: 0) +- IC 5975 -> Item 11 - Creation code - - Refers to item: Statement (location: source ID 118, line 121, chars 6474-6514, hits: 8) -- IC 2647 -> Item 124 + - Refers to item: Branch (branch: 1, path: 0) (location: source ID 111, line 53, chars 1814-2414, hits: 0) +- IC 8205 -> Item 12 - Creation code - - Refers to item: Line (location: source ID 118, line 125, chars 6685-6778, hits: 8) -- IC 2647 -> Item 125 + - Refers to item: Branch (branch: 1, path: 1) (location: source ID 111, line 53, chars 1786-3019, hits: 0) +- IC 5975 -> Item 13 - Creation code - - Refers to item: Statement (location: source ID 118, line 125, chars 6685-6778, hits: 8) -- IC 2649 -> Item 126 + - Refers to item: Line (location: source ID 111, line 54, chars 1828-1882, hits: 0) +- IC 5975 -> Item 14 - Creation code - - Refers to item: Statement (location: source ID 118, line 125, chars 6718-6778, hits: 8) -- IC 2661 -> Item 127 + - Refers to item: Statement (location: source ID 111, line 54, chars 1828-1882, hits: 0) +- IC 6011 -> Item 15 - Creation code - - Refers to item: Line (location: source ID 118, line 127, chars 6789-6824, hits: 8) -- IC 2661 -> Item 128 + - Refers to item: Line (location: source ID 111, line 56, chars 1897-2403, hits: 0) +- IC 6011 -> Item 16 - Creation code - - Refers to item: Statement (location: source ID 118, line 127, chars 6789-6824, hits: 8) -- IC 2666 -> Item 129 + - Refers to item: Statement (location: source ID 111, line 56, chars 1897-2403, hits: 0) +- IC 7446 -> Item 17 - Creation code - - Refers to item: Line (location: source ID 118, line 129, chars 6930-6990, hits: 8) -- IC 2666 -> Item 130 + - Refers to item: Line (location: source ID 111, line 69, chars 2424-2445, hits: 0) +- IC 7446 -> Item 18 - Creation code - - Refers to item: Statement (location: source ID 118, line 129, chars 6930-6990, hits: 8) -- IC 2669 -> Item 131 + - Refers to item: Statement (location: source ID 111, line 69, chars 2424-2445, hits: 0) +- IC 7456 -> Item 19 - Creation code - - Refers to item: Statement (location: source ID 118, line 129, chars 6930-6973, hits: 8) -- IC 2687 -> Item 132 + - Refers to item: Branch (branch: 2, path: 0) (location: source ID 111, line 69, chars 2447-3047, hits: 0) +- IC 7456 -> Item 20 - Creation code - - Refers to item: Branch (branch: 8, path: 0) (location: source ID 118, line 129, chars 6992-7404, hits: 1) -- IC 2687 -> Item 133 + - Refers to item: Line (location: source ID 111, line 70, chars 2461-2515, hits: 0) +- IC 7456 -> Item 21 - Creation code - - Refers to item: Line (location: source ID 118, line 131, chars 7133-7193, hits: 1) -- IC 2687 -> Item 134 + - Refers to item: Statement (location: source ID 111, line 70, chars 2461-2515, hits: 0) +- IC 7492 -> Item 22 - Creation code - - Refers to item: Statement (location: source ID 118, line 131, chars 7133-7193, hits: 1) -- IC 2703 -> Item 135 + - Refers to item: Line (location: source ID 111, line 72, chars 2530-3036, hits: 0) +- IC 7492 -> Item 23 - Creation code - - Refers to item: Line (location: source ID 118, line 133, chars 7295-7393, hits: 1) -- IC 2703 -> Item 136 + - Refers to item: Statement (location: source ID 111, line 72, chars 2530-3036, hits: 0) +- IC 8924 -> Item 24 - Creation code - - Refers to item: Statement (location: source ID 118, line 133, chars 7295-7393, hits: 1) -- IC 2716 -> Item 137 + - Refers to item: Line (location: source ID 111, line 87, chars 3057-3070, hits: 93) +- IC 8924 -> Item 25 - Creation code - - Refers to item: Line (location: source ID 118, line 137, chars 7461-7514, hits: 8) -- IC 2716 -> Item 138 + - Refers to item: Statement (location: source ID 111, line 87, chars 3057-3070, hits: 93) +- IC 567 -> Item 26 - Creation code - - Refers to item: Statement (location: source ID 118, line 137, chars 7461-7514, hits: 8) -- IC 2857 -> Item 139 + - Refers to item: Function "deploymentsOnLocalNetwork" (location: source ID 111, line 91, chars 3144-5598, hits: 0) +- IC 1441 -> Item 27 - Creation code - - Refers to item: Line (location: source ID 118, line 140, chars 7577-7662, hits: 8) -- IC 2857 -> Item 140 + - Refers to item: Line (location: source ID 111, line 92, chars 3232-3257, hits: 93) +- IC 1441 -> Item 28 - Creation code - - Refers to item: Statement (location: source ID 118, line 140, chars 7577-7662, hits: 8) -- IC 3009 -> Item 141 + - Refers to item: Statement (location: source ID 111, line 92, chars 3232-3257, hits: 93) +- IC 1569 -> Item 29 - Creation code - - Refers to item: Line (location: source ID 118, line 143, chars 7725-7770, hits: 8) -- IC 3009 -> Item 142 + - Refers to item: Line (location: source ID 111, line 93, chars 3267-3294, hits: 93) +- IC 1569 -> Item 30 - Creation code - - Refers to item: Statement (location: source ID 118, line 143, chars 7725-7770, hits: 8) -- IC 3150 -> Item 143 + - Refers to item: Statement (location: source ID 111, line 93, chars 3267-3294, hits: 93) +- IC 1697 -> Item 31 - Creation code - - Refers to item: Line (location: source ID 118, line 144, chars 7780-7856, hits: 8) -- IC 3150 -> Item 144 + - Refers to item: Line (location: source ID 111, line 94, chars 3304-3331, hits: 93) +- IC 1697 -> Item 32 - Creation code - - Refers to item: Statement (location: source ID 118, line 144, chars 7780-7856, hits: 8) -- IC 884 -> Item 145 + - Refers to item: Statement (location: source ID 111, line 94, chars 3304-3331, hits: 93) +- IC 1825 -> Item 33 - Creation code - - Refers to item: Function "setVotingPowerCap" (location: source ID 118, line 152, chars 8053-8292, hits: 4) -- IC 3843 -> Item 146 + - Refers to item: Line (location: source ID 111, line 95, chars 3341-3368, hits: 93) +- IC 1825 -> Item 34 - Creation code - - Refers to item: Line (location: source ID 118, line 153, chars 8151-8184, hits: 3) -- IC 3843 -> Item 147 + - Refers to item: Statement (location: source ID 111, line 95, chars 3341-3368, hits: 93) +- IC 1953 -> Item 35 - Creation code - - Refers to item: Statement (location: source ID 118, line 153, chars 8151-8184, hits: 3) -- IC 3852 -> Item 148 + - Refers to item: Line (location: source ID 111, line 96, chars 3378-3407, hits: 93) +- IC 1953 -> Item 36 - Creation code - - Refers to item: Branch (branch: 9, path: 0) (location: source ID 118, line 153, chars 8186-8240, hits: 2) -- IC 3852 -> Item 149 + - Refers to item: Statement (location: source ID 111, line 96, chars 3378-3407, hits: 93) +- IC 2081 -> Item 37 - Creation code - - Refers to item: Statement (location: source ID 118, line 153, chars 8186-8240, hits: 2) -- IC 3902 -> Item 150 + - Refers to item: Line (location: source ID 111, line 97, chars 3417-3450, hits: 93) +- IC 2081 -> Item 38 - Creation code - - Refers to item: Line (location: source ID 118, line 154, chars 8250-8285, hits: 1) -- IC 3902 -> Item 151 + - Refers to item: Statement (location: source ID 111, line 97, chars 3417-3450, hits: 93) +- IC 2209 -> Item 39 - Creation code - - Refers to item: Statement (location: source ID 118, line 154, chars 8250-8285, hits: 1) -- IC 940 -> Item 152 + - Refers to item: Line (location: source ID 111, line 108, chars 3964-4027, hits: 93) +- IC 2209 -> Item 40 - Creation code - - Refers to item: Function "authorizationState" (location: source ID 118, line 160, chars 8481-8634, hits: 8) -- IC 3951 -> Item 153 + - Refers to item: Statement (location: source ID 111, line 108, chars 3964-4027, hits: 93) +- IC 2257 -> Item 41 - Creation code - - Refers to item: Line (location: source ID 118, line 161, chars 8581-8627, hits: 22) -- IC 3951 -> Item 154 + - Refers to item: Line (location: source ID 111, line 109, chars 4037-4274, hits: 93) +- IC 2257 -> Item 42 - Creation code - - Refers to item: Statement (location: source ID 118, line 161, chars 8581-8627, hits: 22) -- IC 5319 -> Item 155 + - Refers to item: Statement (location: source ID 111, line 109, chars 4037-4274, hits: 93) +- IC 2259 -> Item 43 - Creation code - - Refers to item: Function "_setVotingPowerCap" (location: source ID 118, line 172, chars 8972-9132, hits: 46) -- IC 5320 -> Item 156 + - Refers to item: Statement (location: source ID 111, line 109, chars 4053-4274, hits: 93) +- IC 2538 -> Item 44 - Creation code - - Refers to item: Line (location: source ID 118, line 173, chars 9044-9076, hits: 46) -- IC 5320 -> Item 157 + - Refers to item: Line (location: source ID 111, line 116, chars 4285-4330, hits: 93) +- IC 2538 -> Item 45 - Creation code - - Refers to item: Statement (location: source ID 118, line 173, chars 9044-9076, hits: 46) -- IC 5327 -> Item 158 + - Refers to item: Statement (location: source ID 111, line 116, chars 4285-4330, hits: 93) +- IC 2603 -> Item 46 - Creation code - - Refers to item: Line (location: source ID 118, line 174, chars 9086-9125, hits: 46) -- IC 5327 -> Item 159 + - Refers to item: Line (location: source ID 111, line 119, chars 4373-4457, hits: 93) +- IC 2603 -> Item 47 - Creation code - - Refers to item: Statement (location: source ID 118, line 174, chars 9086-9125, hits: 46) -- IC 401 -> Item 160 + - Refers to item: Statement (location: source ID 111, line 119, chars 4373-4457, hits: 93) +- IC 2866 -> Item 48 - Creation code - - Refers to item: Function "calculateIncrementedVotingPower" (location: source ID 118, line 187, chars 9708-10036, hits: 26) -- IC 1272 -> Item 161 + - Refers to item: Line (location: source ID 111, line 122, chars 4512-4638, hits: 93) +- IC 2866 -> Item 49 - Creation code - - Refers to item: Line (location: source ID 118, line 192, chars 9873-10029, hits: 34) -- IC 1272 -> Item 162 + - Refers to item: Statement (location: source ID 111, line 122, chars 4512-4638, hits: 93) +- IC 3201 -> Item 50 - Creation code - - Refers to item: Statement (location: source ID 118, line 192, chars 9873-10029, hits: 34) -- IC 1272 -> Item 163 + - Refers to item: Line (location: source ID 111, line 125, chars 4649-4669, hits: 93) +- IC 3201 -> Item 51 - Creation code - - Refers to item: Statement (location: source ID 118, line 192, chars 9880-10029, hits: 34) -- IC 1281 -> Item 164 + - Refers to item: Statement (location: source ID 111, line 125, chars 4649-4669, hits: 93) +- IC 3345 -> Item 52 - Creation code - - Refers to item: Statement (location: source ID 118, line 192, chars 9880-9957, hits: 34) -- IC 1272 -> Item 165 + - Refers to item: Line (location: source ID 111, line 127, chars 4732-4804, hits: 93) +- IC 3345 -> Item 53 - Creation code - - Refers to item: Line (location: source ID 118, line 193, chars 9972-10029, hits: 34) -- IC 1272 -> Item 166 + - Refers to item: Statement (location: source ID 111, line 127, chars 4732-4804, hits: 93) +- IC 3673 -> Item 54 - Creation code - - Refers to item: Statement (location: source ID 118, line 193, chars 9972-10029, hits: 34) -- IC 641 -> Item 167 + - Refers to item: Line (location: source ID 111, line 129, chars 4871-4951, hits: 93) +- IC 3673 -> Item 55 - Creation code - - Refers to item: Function "calculateVotingPowerFromBurnedAmount" (location: source ID 118, line 204, chars 10577-11037, hits: 117) -- IC 3246 -> Item 168 + - Refers to item: Statement (location: source ID 111, line 129, chars 4871-4951, hits: 93) +- IC 4001 -> Item 56 - Creation code - - Refers to item: Line (location: source ID 118, line 206, chars 10714-10763, hits: 185) -- IC 3246 -> Item 169 + - Refers to item: Line (location: source ID 111, line 131, chars 5029-5116, hits: 93) +- IC 4001 -> Item 57 - Creation code - - Refers to item: Statement (location: source ID 118, line 206, chars 10714-10763, hits: 185) -- IC 3282 -> Item 170 + - Refers to item: Statement (location: source ID 111, line 131, chars 5029-5116, hits: 93) +- IC 4365 -> Item 58 - Creation code - - Refers to item: Line (location: source ID 118, line 208, chars 10816-10876, hits: 185) -- IC 3282 -> Item 171 + - Refers to item: Line (location: source ID 111, line 132, chars 5126-5140, hits: 93) +- IC 4365 -> Item 59 - Creation code - - Refers to item: Statement (location: source ID 118, line 208, chars 10816-10876, hits: 185) -- IC 3289 -> Item 172 + - Refers to item: Statement (location: source ID 111, line 132, chars 5126-5140, hits: 93) +- IC 4462 -> Item 60 - Creation code - - Refers to item: Statement (location: source ID 118, line 208, chars 10835-10876, hits: 185) -- IC 3289 -> Item 173 + - Refers to item: Line (location: source ID 111, line 134, chars 5151-5591, hits: 93) +- IC 4462 -> Item 61 - Creation code - - Refers to item: Statement (location: source ID 118, line 208, chars 10835-10860, hits: 185) -- IC 3289 -> Item 174 + - Refers to item: Statement (location: source ID 111, line 134, chars 5151-5591, hits: 93) + +Anchors for Contract "BeaconProxy" (solc 0.8.24, source ID 61): + +Anchors for Contract "IERC1155Errors" (solc 0.8.24, source ID 57): + +Anchors for Contract "ERC1155" (solc 0.8.24, source ID 66): + +Anchors for Contract "IERC1155Receiver" (solc 0.8.24, source ID 68): + +Anchors for Contract "stdStorage" (solc 0.8.24, source ID 9): + +Anchors for Contract "ERC165Upgradeable" (solc 0.8.24, source ID 35): + +Anchors for Contract "SignedMath" (solc 0.8.24, source ID 96): + +Anchors for Contract "Votes" (solc 0.8.24, source ID 49): + +Anchors for Contract "ShortStrings" (solc 0.8.24, source ID 85): + +Anchors for Contract "IVotes" (solc 0.8.24, source ID 48): + +Anchors for Contract "Utils" (solc 0.8.24, source ID 106): + +Anchors for Contract "VmSafe" (solc 0.8.24, source ID 14): + +Anchors for Contract "ERC1967Utils" (solc 0.8.24, source ID 59): + +Anchors for Contract "VotingPowerExchangeTest" (solc 0.8.24, source ID 120): + +Anchors for Contract "IERC1967" (solc 0.8.24, source ID 52): + +Anchors for Contract "IERC721Errors" (solc 0.8.24, source ID 57): + +Anchors for Contract "TestBase" (solc 0.8.24, source ID 0): + +Anchors for Contract "ERC20UpgradeableTokenV1" (solc 0.8.24, source ID 113): +- IC 56 -> Item 307 +- Runtime code + - Refers to item: Function "" (location: source ID 113, line 34, chars 1557-1610, hits: 108) +- IC 70 -> Item 308 +- Runtime code + - Refers to item: Line (location: source ID 113, line 35, chars 1581-1603, hits: 108) +- IC 70 -> Item 309 +- Runtime code + - Refers to item: Statement (location: source ID 113, line 35, chars 1581-1603, hits: 108) +- IC 1808 -> Item 310 - Creation code - - Refers to item: Statement (location: source ID 118, line 208, chars 10839-10860, hits: 185) -- IC 3322 -> Item 175 + - Refers to item: Function "initialize" (location: source ID 113, line 38, chars 1616-2352, hits: 107) +- IC 4215 -> Item 311 - Creation code - - Refers to item: Line (location: source ID 118, line 210, chars 10938-11007, hits: 185) -- IC 3322 -> Item 176 + - Refers to item: Line (location: source ID 113, line 47, chars 1861-1887, hits: 107) +- IC 4215 -> Item 312 - Creation code - - Refers to item: Statement (location: source ID 118, line 210, chars 10938-11007, hits: 185) -- IC 3333 -> Item 177 + - Refers to item: Statement (location: source ID 113, line 47, chars 1861-1887, hits: 107) +- IC 4267 -> Item 313 - Creation code - - Refers to item: Statement (location: source ID 118, line 210, chars 10955-11007, hits: 185) -- IC 3333 -> Item 178 + - Refers to item: Branch (branch: 0, path: 0) (location: source ID 113, line 47, chars 1889-1922, hits: 1) +- IC 4267 -> Item 314 - Creation code - - Refers to item: Statement (location: source ID 118, line 210, chars 10955-10995, hits: 185) -- IC 3389 -> Item 179 + - Refers to item: Statement (location: source ID 113, line 47, chars 1889-1922, hits: 1) +- IC 4317 -> Item 315 - Creation code - - Refers to item: Line (location: source ID 118, line 211, chars 11017-11030, hits: 185) -- IC 3389 -> Item 180 + - Refers to item: Line (location: source ID 113, line 48, chars 1932-1958, hits: 106) +- IC 4317 -> Item 316 - Creation code - - Refers to item: Statement (location: source ID 118, line 211, chars 11017-11030, hits: 185) -- IC 836 -> Item 181 + - Refers to item: Statement (location: source ID 113, line 48, chars 1932-1958, hits: 106) +- IC 4327 -> Item 317 - Creation code - - Refers to item: Function "calculateIncrementedBurningAmount" (location: source ID 118, line 221, chars 11454-11793, hits: 26) -- IC 3754 -> Item 182 + - Refers to item: Line (location: source ID 113, line 49, chars 1968-1990, hits: 106) +- IC 4327 -> Item 318 - Creation code - - Refers to item: Line (location: source ID 118, line 226, chars 11625-11786, hits: 27) -- IC 3754 -> Item 183 + - Refers to item: Statement (location: source ID 113, line 49, chars 1968-1990, hits: 106) +- IC 4335 -> Item 319 - Creation code - - Refers to item: Statement (location: source ID 118, line 226, chars 11625-11786, hits: 27) -- IC 3754 -> Item 184 + - Refers to item: Line (location: source ID 113, line 50, chars 2000-2022, hits: 106) +- IC 4335 -> Item 320 - Creation code - - Refers to item: Statement (location: source ID 118, line 226, chars 11632-11786, hits: 27) -- IC 3763 -> Item 185 + - Refers to item: Statement (location: source ID 113, line 50, chars 2000-2022, hits: 106) +- IC 4343 -> Item 321 - Creation code - - Refers to item: Statement (location: source ID 118, line 226, chars 11632-11714, hits: 27) -- IC 3754 -> Item 186 + - Refers to item: Line (location: source ID 113, line 51, chars 2032-2054, hits: 106) +- IC 4343 -> Item 322 - Creation code - - Refers to item: Line (location: source ID 118, line 227, chars 11729-11786, hits: 27) -- IC 3754 -> Item 187 + - Refers to item: Statement (location: source ID 113, line 51, chars 2032-2054, hits: 106) +- IC 4351 -> Item 323 - Creation code - - Refers to item: Statement (location: source ID 118, line 227, chars 11729-11786, hits: 27) -- IC 353 -> Item 188 + - Refers to item: Line (location: source ID 113, line 52, chars 2064-2088, hits: 106) +- IC 4351 -> Item 324 - Creation code - - Refers to item: Function "calculateBurningAmountFromVotingPower" (location: source ID 118, line 236, chars 12074-12396, hits: 100) -- IC 1174 -> Item 189 + - Refers to item: Statement (location: source ID 113, line 52, chars 2064-2088, hits: 106) +- IC 4360 -> Item 325 - Creation code - - Refers to item: Line (location: source ID 118, line 238, chars 12235-12331, hits: 154) -- IC 1174 -> Item 190 + - Refers to item: Line (location: source ID 113, line 53, chars 2098-2122, hits: 106) +- IC 4360 -> Item 326 - Creation code - - Refers to item: Statement (location: source ID 118, line 238, chars 12235-12331, hits: 154) -- IC 1175 -> Item 191 + - Refers to item: Statement (location: source ID 113, line 53, chars 2098-2122, hits: 106) +- IC 4368 -> Item 327 - Creation code - - Refers to item: Statement (location: source ID 118, line 238, chars 12250-12331, hits: 154) -- IC 1197 -> Item 192 + - Refers to item: Line (location: source ID 113, line 55, chars 2133-2177, hits: 106) +- IC 4368 -> Item 328 - Creation code - - Refers to item: Statement (location: source ID 118, line 238, chars 12250-12306, hits: 154) -- IC 1197 -> Item 193 + - Refers to item: Statement (location: source ID 113, line 55, chars 2133-2177, hits: 106) +- IC 4382 -> Item 329 - Creation code - - Refers to item: Statement (location: source ID 118, line 238, chars 12250-12294, hits: 154) -- IC 1175 -> Item 194 + - Refers to item: Line (location: source ID 113, line 56, chars 2187-2218, hits: 106) +- IC 4382 -> Item 330 - Creation code - - Refers to item: Statement (location: source ID 118, line 238, chars 12309-12331, hits: 154) -- IC 1243 -> Item 195 + - Refers to item: Statement (location: source ID 113, line 56, chars 2187-2218, hits: 106) +- IC 4425 -> Item 331 - Creation code - - Refers to item: Line (location: source ID 118, line 239, chars 12341-12366, hits: 154) -- IC 1243 -> Item 196 + - Refers to item: Line (location: source ID 113, line 57, chars 2228-2259, hits: 106) +- IC 4425 -> Item 332 - Creation code - - Refers to item: Statement (location: source ID 118, line 239, chars 12341-12366, hits: 154) -- IC 1245 -> Item 197 + - Refers to item: Statement (location: source ID 113, line 57, chars 2228-2259, hits: 106) +- IC 4468 -> Item 333 - Creation code - - Refers to item: Statement (location: source ID 118, line 239, chars 12358-12366, hits: 154) -- IC 1260 -> Item 198 + - Refers to item: Line (location: source ID 113, line 58, chars 2269-2300, hits: 106) +- IC 4468 -> Item 334 - Creation code - - Refers to item: Line (location: source ID 118, line 240, chars 12376-12389, hits: 154) -- IC 1260 -> Item 199 + - Refers to item: Statement (location: source ID 113, line 58, chars 2269-2300, hits: 106) +- IC 4511 -> Item 335 - Creation code - - Refers to item: Statement (location: source ID 118, line 240, chars 12376-12389, hits: 154) -- IC 449 -> Item 200 + - Refers to item: Line (location: source ID 113, line 59, chars 2310-2345, hits: 106) +- IC 4511 -> Item 336 - Creation code - - Refers to item: Function "getVotingPowerCap" (location: source ID 118, line 247, chars 12553-12652, hits: 4) -- IC 1321 -> Item 201 + - Refers to item: Statement (location: source ID 113, line 59, chars 2310-2345, hits: 106) +- IC 1485 -> Item 337 - Creation code - - Refers to item: Line (location: source ID 118, line 248, chars 12624-12645, hits: 4) -- IC 1321 -> Item 202 + - Refers to item: Function "pause" (location: source ID 113, line 62, chars 2358-2429, hits: 1) +- IC 3259 -> Item 338 - Creation code - - Refers to item: Statement (location: source ID 118, line 248, chars 12624-12645, hits: 4) -- IC 773 -> Item 203 + - Refers to item: Line (location: source ID 113, line 63, chars 2414-2422, hits: 1) +- IC 3259 -> Item 339 - Creation code - - Refers to item: Function "getConstants" (location: source ID 118, line 255, chars 12828-13178, hits: 1) -- IC 3715 -> Item 204 + - Refers to item: Statement (location: source ID 113, line 63, chars 2414-2422, hits: 1) +- IC 1103 -> Item 340 - Creation code - - Refers to item: Line (location: source ID 118, line 260, chars 13013-13053, hits: 1) -- IC 3715 -> Item 205 + - Refers to item: Function "unpause" (location: source ID 113, line 66, chars 2435-2510, hits: 1) +- IC 2873 -> Item 341 - Creation code - - Refers to item: Statement (location: source ID 118, line 260, chars 13013-13053, hits: 1) -- IC 3722 -> Item 206 + - Refers to item: Line (location: source ID 113, line 67, chars 2493-2503, hits: 1) +- IC 2873 -> Item 342 - Creation code - - Refers to item: Line (location: source ID 118, line 261, chars 13063-13093, hits: 1) -- IC 3722 -> Item 207 + - Refers to item: Statement (location: source ID 113, line 67, chars 2493-2503, hits: 1) +- IC 1126 -> Item 343 - Creation code - - Refers to item: Statement (location: source ID 118, line 261, chars 13063-13093, hits: 1) -- IC 3726 -> Item 208 + - Refers to item: Function "mint" (location: source ID 113, line 70, chars 2516-2621, hits: 8506) +- IC 2926 -> Item 344 - Creation code - - Refers to item: Line (location: source ID 118, line 262, chars 13103-13139, hits: 1) -- IC 3726 -> Item 209 + - Refers to item: Line (location: source ID 113, line 71, chars 2597-2614, hits: 8506) +- IC 2926 -> Item 345 - Creation code - - Refers to item: Statement (location: source ID 118, line 262, chars 13103-13139, hits: 1) -- IC 3737 -> Item 210 + - Refers to item: Statement (location: source ID 113, line 71, chars 2597-2614, hits: 8506) +- IC 935 -> Item 346 - Creation code - - Refers to item: Line (location: source ID 118, line 263, chars 13149-13171, hits: 1) -- IC 3737 -> Item 211 + - Refers to item: Function "burnByBurner" (location: source ID 113, line 79, chars 2854-2977, hits: 16428) +- IC 2669 -> Item 347 - Creation code - - Refers to item: Statement (location: source ID 118, line 263, chars 13149-13171, hits: 1) -- IC 1018 -> Item 212 + - Refers to item: Line (location: source ID 113, line 80, chars 2948-2970, hits: 16426) +- IC 2669 -> Item 348 - Creation code - - Refers to item: Function "getTokenAddresses" (location: source ID 118, line 270, chars 13352-13539, hits: 1) -- IC 4092 -> Item 213 + - Refers to item: Statement (location: source ID 113, line 80, chars 2948-2970, hits: 16426) +- IC 7036 -> Item 349 - Creation code - - Refers to item: Line (location: source ID 118, line 271, chars 13456-13493, hits: 1) -- IC 4092 -> Item 214 + - Refers to item: Function "_authorizeUpgrade" (location: source ID 113, line 83, chars 2983-3081, hits: 1) +- IC 8952 -> Item 350 - Creation code - - Refers to item: Statement (location: source ID 118, line 271, chars 13456-13493, hits: 1) -- IC 4127 -> Item 215 + - Refers to item: Function "_update" (location: source ID 113, line 86, chars 3154-3341, hits: 24939) +- IC 8953 -> Item 351 - Creation code - - Refers to item: Line (location: source ID 118, line 272, chars 13503-13532, hits: 1) -- IC 4127 -> Item 216 + - Refers to item: Line (location: source ID 113, line 90, chars 3304-3334, hits: 24939) +- IC 8953 -> Item 352 - Creation code - - Refers to item: Statement (location: source ID 118, line 272, chars 13503-13532, hits: 1) + - Refers to item: Statement (location: source ID 113, line 90, chars 3304-3334, hits: 24939) -Anchors for Contract "ShortStrings" (solc 0.8.24, source ID 85): +Anchors for Contract "stdToml" (solc 0.8.24, source ID 11): -Anchors for Contract "DoubleEndedQueue" (solc 0.8.24, source ID 98): +Anchors for Contract "IERC165" (solc 0.8.24, source ID 17): -Anchors for Contract "ERC20PermitUpgradeable" (solc 0.8.24, source ID 30): +Anchors for Contract "ERC20Upgradeable" (solc 0.8.24, source ID 27): -Anchors for Contract "stdJson" (solc 0.8.24, source ID 7): +Anchors for Contract "Arrays" (solc 0.8.24, source ID 82): -Anchors for Contract "ERC20" (solc 0.8.24, source ID 72): +Anchors for Contract "UnsafeUpgrades" (solc 0.8.24, source ID 103): -Anchors for Contract "MockERC20" (solc 0.8.24, source ID 21): +Anchors for Contract "Checkpoints" (solc 0.8.24, source ID 97): -Anchors for Contract "stdToml" (solc 0.8.24, source ID 11): +Anchors for Contract "Versions" (solc 0.8.24, source ID 107): -Anchors for Contract "BeaconProxy" (solc 0.8.24, source ID 61): +Anchors for Contract "ERC1967Proxy" (solc 0.8.24, source ID 58): -Anchors for Contract "stdStorageSafe" (solc 0.8.24, source ID 9): +Anchors for Contract "IERC20UpgradeableTokenV1" (solc 0.8.24, source ID 115): -Anchors for Contract "GovernorVotesQuorumFraction" (solc 0.8.24, source ID 47): - -Anchors for Contract "IERC165" (solc 0.8.24, source ID 17): - -Anchors for Contract "TransparentUpgradeableProxy" (solc 0.8.24, source ID 65): - -Anchors for Contract "StdCheats" (solc 0.8.24, source ID 4): - -Anchors for Contract "ERC1967Proxy" (solc 0.8.24, source ID 58): - -Anchors for Contract "StdAssertions" (solc 0.8.24, source ID 2): - -Anchors for Contract "IERC1822Proxiable" (solc 0.8.24, source ID 56): - -Anchors for Contract "ECDSA" (solc 0.8.24, source ID 88): - -Anchors for Contract "Test" (solc 0.8.24, source ID 13): - -Anchors for Contract "AmbassadorTest" (solc 0.8.24, source ID 122): - -Anchors for Contract "Proxy" (solc 0.8.24, source ID 60): - -Anchors for Contract "IERC721Errors" (solc 0.8.24, source ID 57): - -Anchors for Contract "IERC1155Receiver" (solc 0.8.24, source ID 68): +Anchors for Contract "Vm" (solc 0.8.24, source ID 14): -Anchors for Contract "Votes" (solc 0.8.24, source ID 49): +Anchors for Contract "console" (solc 0.8.24, source ID 15): -Anchors for Contract "ERC20Burnable" (solc 0.8.24, source ID 74): +Anchors for Contract "Core" (solc 0.8.24, source ID 104): -Anchors for Contract "StorageSlot" (solc 0.8.24, source ID 86): +Anchors for Contract "ERC20Votes" (solc 0.8.24, source ID 76): -Anchors for Contract "IERC5267" (solc 0.8.24, source ID 53): +Anchors for Contract "EIP712" (solc 0.8.24, source ID 89): -Anchors for Contract "IERC165" (solc 0.8.24, source ID 93): +Anchors for Contract "MockERC20" (solc 0.8.24, source ID 21): -Anchors for Contract "AccessControl" (solc 0.8.24, source ID 37): +Anchors for Contract "safeconsole" (solc 0.8.24, source ID 23): -Anchors for Contract "AmbassadorNft" (solc 0.8.24, source ID 112): -- IC 5 -> Item 383 -- Runtime code - - Refers to item: Function "" (location: source ID 112, line 19, chars 946-1309, hits: 12) -- IC 90 -> Item 384 -- Runtime code - - Refers to item: Line (location: source ID 112, line 20, chars 1057-1083, hits: 12) -- IC 90 -> Item 385 -- Runtime code - - Refers to item: Statement (location: source ID 112, line 20, chars 1057-1083, hits: 12) -- IC 143 -> Item 386 -- Runtime code - - Refers to item: Branch (branch: 0, path: 0) (location: source ID 112, line 20, chars 1085-1118, hits: 0) -- IC 143 -> Item 387 -- Runtime code - - Refers to item: Statement (location: source ID 112, line 20, chars 1085-1118, hits: 0) -- IC 193 -> Item 388 -- Runtime code - - Refers to item: Line (location: source ID 112, line 21, chars 1128-1172, hits: 12) -- IC 193 -> Item 389 -- Runtime code - - Refers to item: Statement (location: source ID 112, line 21, chars 1128-1172, hits: 12) -- IC 215 -> Item 390 -- Runtime code - - Refers to item: Line (location: source ID 112, line 22, chars 1182-1213, hits: 12) -- IC 215 -> Item 391 -- Runtime code - - Refers to item: Statement (location: source ID 112, line 22, chars 1182-1213, hits: 12) -- IC 266 -> Item 392 -- Runtime code - - Refers to item: Line (location: source ID 112, line 23, chars 1223-1254, hits: 12) -- IC 266 -> Item 393 -- Runtime code - - Refers to item: Statement (location: source ID 112, line 23, chars 1223-1254, hits: 12) -- IC 317 -> Item 394 -- Runtime code - - Refers to item: Line (location: source ID 112, line 24, chars 1264-1302, hits: 12) -- IC 317 -> Item 395 +Anchors for Contract "MyGovernor" (solc 0.8.24, source ID 116): +- IC 6 -> Item 353 - Runtime code - - Refers to item: Statement (location: source ID 112, line 24, chars 1264-1302, hits: 12) -- IC 422 -> Item 396 + - Refers to item: Function "" (location: source ID 116, line 26, chars 957-1209, hits: 0) +- IC 1306 -> Item 354 +- Creation code + - Refers to item: Function "votingDelay" (location: source ID 116, line 36, chars 1283-1416, hits: 0) +- IC 4745 -> Item 355 +- Creation code + - Refers to item: Line (location: source ID 116, line 37, chars 1383-1409, hits: 0) +- IC 4745 -> Item 356 +- Creation code + - Refers to item: Statement (location: source ID 116, line 37, chars 1383-1409, hits: 0) +- IC 4745 -> Item 357 +- Creation code + - Refers to item: Statement (location: source ID 116, line 37, chars 1390-1409, hits: 0) +- IC 844 -> Item 358 +- Creation code + - Refers to item: Function "votingPeriod" (location: source ID 116, line 40, chars 1422-1557, hits: 0) +- IC 3547 -> Item 359 +- Creation code + - Refers to item: Line (location: source ID 116, line 41, chars 1523-1550, hits: 0) +- IC 3547 -> Item 360 +- Creation code + - Refers to item: Statement (location: source ID 116, line 41, chars 1523-1550, hits: 0) +- IC 3547 -> Item 361 +- Creation code + - Refers to item: Statement (location: source ID 116, line 41, chars 1530-1550, hits: 0) +- IC 3199 -> Item 362 +- Creation code + - Refers to item: Function "quorum" (location: source ID 116, line 44, chars 1563-1763, hits: 0) +- IC 8034 -> Item 363 +- Creation code + - Refers to item: Line (location: source ID 116, line 50, chars 1724-1756, hits: 0) +- IC 8034 -> Item 364 +- Creation code + - Refers to item: Statement (location: source ID 116, line 50, chars 1724-1756, hits: 0) +- IC 8034 -> Item 365 +- Creation code + - Refers to item: Statement (location: source ID 116, line 50, chars 1731-1756, hits: 0) +- IC 1349 -> Item 366 +- Creation code + - Refers to item: Function "state" (location: source ID 116, line 53, chars 1769-1967, hits: 0) +- IC 4760 -> Item 367 +- Creation code + - Refers to item: Line (location: source ID 116, line 59, chars 1930-1960, hits: 0) +- IC 4760 -> Item 368 +- Creation code + - Refers to item: Statement (location: source ID 116, line 59, chars 1930-1960, hits: 0) +- IC 4760 -> Item 369 +- Creation code + - Refers to item: Statement (location: source ID 116, line 59, chars 1937-1960, hits: 0) +- IC 2490 -> Item 370 +- Creation code + - Refers to item: Function "proposalNeedsQueuing" (location: source ID 116, line 62, chars 1973-2192, hits: 0) +- IC 7164 -> Item 371 +- Creation code + - Refers to item: Line (location: source ID 116, line 68, chars 2140-2185, hits: 0) +- IC 7164 -> Item 372 +- Creation code + - Refers to item: Statement (location: source ID 116, line 68, chars 2140-2185, hits: 0) +- IC 7164 -> Item 373 +- Creation code + - Refers to item: Statement (location: source ID 116, line 68, chars 2147-2185, hits: 0) +- IC 2612 -> Item 374 +- Creation code + - Refers to item: Function "proposalThreshold" (location: source ID 116, line 71, chars 2198-2343, hits: 0) +- IC 7240 -> Item 375 +- Creation code + - Refers to item: Line (location: source ID 116, line 72, chars 2304-2336, hits: 0) +- IC 7240 -> Item 376 - Creation code - - Refers to item: Function "setURI" (location: source ID 112, line 27, chars 1315-1418, hits: 2) -- IC 1241 -> Item 397 + - Refers to item: Statement (location: source ID 116, line 72, chars 2304-2336, hits: 0) +- IC 7240 -> Item 377 - Creation code - - Refers to item: Line (location: source ID 112, line 28, chars 1396-1411, hits: 1) -- IC 1241 -> Item 398 + - Refers to item: Statement (location: source ID 116, line 72, chars 2311-2336, hits: 0) +- IC 8858 -> Item 378 - Creation code - - Refers to item: Statement (location: source ID 112, line 28, chars 1396-1411, hits: 1) -- IC 764 -> Item 399 + - Refers to item: Function "_queueOperations" (location: source ID 116, line 75, chars 2349-2716, hits: 0) +- IC 8861 -> Item 379 +- Creation code + - Refers to item: Line (location: source ID 116, line 82, chars 2623-2709, hits: 0) +- IC 8861 -> Item 380 - Creation code - - Refers to item: Function "mint" (location: source ID 112, line 31, chars 1424-1580, hits: 43) -- IC 2335 -> Item 400 + - Refers to item: Statement (location: source ID 116, line 82, chars 2623-2709, hits: 0) +- IC 8861 -> Item 381 - Creation code - - Refers to item: Line (location: source ID 112, line 32, chars 1541-1573, hits: 39) -- IC 2335 -> Item 401 + - Refers to item: Statement (location: source ID 116, line 82, chars 2630-2709, hits: 0) +- IC 9178 -> Item 382 - Creation code - - Refers to item: Statement (location: source ID 112, line 32, chars 1541-1573, hits: 39) -- IC 498 -> Item 402 + - Refers to item: Function "_executeOperations" (location: source ID 116, line 85, chars 2722-3069, hits: 0) +- IC 9179 -> Item 383 - Creation code - - Refers to item: Function "mintBatch" (location: source ID 112, line 35, chars 1586-1784, hits: 0) -- IC 1444 -> Item 403 + - Refers to item: Line (location: source ID 116, line 92, chars 2981-3062, hits: 0) +- IC 9179 -> Item 384 - Creation code - - Refers to item: Line (location: source ID 112, line 39, chars 1743-1777, hits: 0) -- IC 1444 -> Item 404 + - Refers to item: Statement (location: source ID 116, line 92, chars 2981-3062, hits: 0) +- IC 9924 -> Item 385 - Creation code - - Refers to item: Statement (location: source ID 112, line 39, chars 1743-1777, hits: 0) -- IC 1062 -> Item 405 + - Refers to item: Function "_cancel" (location: source ID 116, line 95, chars 3075-3385, hits: 0) +- IC 9927 -> Item 386 - Creation code - - Refers to item: Function "burn" (location: source ID 112, line 49, chars 2125-2265, hits: 9) -- IC 2954 -> Item 406 + - Refers to item: Line (location: source ID 116, line 101, chars 3313-3378, hits: 0) +- IC 9927 -> Item 387 - Creation code - - Refers to item: Line (location: source ID 112, line 50, chars 2232-2258, hits: 6) -- IC 2954 -> Item 407 + - Refers to item: Statement (location: source ID 116, line 101, chars 3313-3378, hits: 0) +- IC 9927 -> Item 388 - Creation code - - Refers to item: Statement (location: source ID 112, line 50, chars 2232-2258, hits: 6) -- IC 374 -> Item 408 + - Refers to item: Statement (location: source ID 116, line 101, chars 3320-3378, hits: 0) +- IC 3303 -> Item 389 - Creation code - - Refers to item: Function "supportsInterface" (location: source ID 112, line 54, chars 2338-2505, hits: 0) -- IC 1183 -> Item 409 + - Refers to item: Function "_executor" (location: source ID 116, line 104, chars 3391-3568, hits: 0) +- IC 3306 -> Item 390 - Creation code - - Refers to item: Line (location: source ID 112, line 55, chars 2455-2498, hits: 0) -- IC 1183 -> Item 410 + - Refers to item: Line (location: source ID 116, line 105, chars 3498-3522, hits: 0) +- IC 3306 -> Item 391 - Creation code - - Refers to item: Statement (location: source ID 112, line 55, chars 2455-2498, hits: 0) -- IC 1183 -> Item 411 + - Refers to item: Statement (location: source ID 116, line 105, chars 3498-3522, hits: 0) +- IC 3306 -> Item 392 - Creation code - - Refers to item: Statement (location: source ID 112, line 55, chars 2462-2498, hits: 0) + - Refers to item: Statement (location: source ID 116, line 105, chars 3505-3522, hits: 0) -Anchors for Contract "IERC6372" (solc 0.8.24, source ID 55): +Anchors for Contract "UpgradeableBeacon" (solc 0.8.24, source ID 63): -Anchors for Contract "IGovToken" (solc 0.8.24, source ID 115): +Anchors for Contract "IERC721Metadata" (solc 0.8.24, source ID 19): -Anchors for Contract "NoncesUpgradeable" (solc 0.8.24, source ID 32): +Anchors for Contract "IERC721Enumerable" (solc 0.8.24, source ID 19): -Anchors for Contract "IERC1155MetadataURI" (solc 0.8.24, source ID 70): +Anchors for Contract "stdError" (solc 0.8.24, source ID 5): -Anchors for Contract "SafeCast" (solc 0.8.24, source ID 95): +Anchors for Contract "IBeacon" (solc 0.8.24, source ID 62): -Anchors for Contract "SignedMath" (solc 0.8.24, source ID 96): +Anchors for Contract "ERC20UpgradeableTokenV1Test" (solc 0.8.24, source ID 124): -Anchors for Contract "Math" (solc 0.8.24, source ID 94): +Anchors for Contract "ERC721Holder" (solc 0.8.24, source ID 80): -Anchors for Contract "EIP712Upgradeable" (solc 0.8.24, source ID 34): +Anchors for Contract "StorageSlot" (solc 0.8.24, source ID 86): -Anchors for Contract "Address" (solc 0.8.24, source ID 81): +Anchors for Contract "StdCheats" (solc 0.8.24, source ID 4): -Anchors for Contract "Script" (solc 0.8.24, source ID 1): +Anchors for Contract "AmbassadorTest" (solc 0.8.24, source ID 123): -Anchors for Contract "EIP712" (solc 0.8.24, source ID 89): +Anchors for Contract "GovernorVotes" (solc 0.8.24, source ID 46): -Anchors for Contract "Core" (solc 0.8.24, source ID 104): +Anchors for Contract "Upgrades" (solc 0.8.24, source ID 103): -Anchors for Contract "StdCheatsSafe" (solc 0.8.24, source ID 4): +Anchors for Contract "IMulticall3" (solc 0.8.24, source ID 20): -Anchors for Contract "IERC20Permit" (solc 0.8.24, source ID 78): +Anchors for Contract "Governor" (solc 0.8.24, source ID 40): -Anchors for Contract "ScriptBase" (solc 0.8.24, source ID 0): +Anchors for Contract "IUpgradeableProxy" (solc 0.8.24, source ID 110): -Anchors for Contract "UUPSUpgradeable" (solc 0.8.24, source ID 26): +Anchors for Contract "IERC1822Proxiable" (solc 0.8.24, source ID 56): -Anchors for Contract "IERC20Metadata" (solc 0.8.24, source ID 77): +Anchors for Contract "VotingPowerExchangeUnitTest" (solc 0.8.24, source ID 126): -Anchors for Contract "IERC20Errors" (solc 0.8.24, source ID 57): +Anchors for Contract "StdInvariant" (solc 0.8.24, source ID 6): -Anchors for Contract "IERC20UpgradeableTokenV1" (solc 0.8.24, source ID 115): +Anchors for Contract "Initializable" (solc 0.8.24, source ID 25): -Anchors for Contract "ERC1155Burnable" (solc 0.8.24, source ID 69): +Anchors for Contract "IAccessControl" (solc 0.8.24, source ID 38): -Anchors for Contract "TestBase" (solc 0.8.24, source ID 0): +Anchors for Contract "ProxyAdmin" (solc 0.8.24, source ID 64): -Anchors for Contract "ERC1155Holder" (solc 0.8.24, source ID 71): +Anchors for Contract "IERC20Permit" (solc 0.8.24, source ID 78): -Anchors for Contract "GovernorTimelockControl" (solc 0.8.24, source ID 45): +Anchors for Contract "MessageHashUtils" (solc 0.8.24, source ID 90): -Anchors for Contract "UnsafeUpgrades" (solc 0.8.24, source ID 103): +Anchors for Contract "Timelock" (solc 0.8.24, source ID 117): +- IC 5 -> Item 306 +- Runtime code + - Refers to item: Function "" (location: source ID 117, line 13, chars 428-601, hits: 0) -Anchors for Contract "IUpgradeableProxy" (solc 0.8.24, source ID 110): +Anchors for Contract "StdUtils" (solc 0.8.24, source ID 12): -Anchors for Contract "IProxyAdmin" (solc 0.8.24, source ID 108): +Anchors for Contract "CommonBase" (solc 0.8.24, source ID 0): -Anchors for Contract "IERC1271" (solc 0.8.24, source ID 50): +Anchors for Contract "IGovToken" (solc 0.8.24, source ID 115): -Anchors for Contract "Vm" (solc 0.8.24, source ID 14): +Anchors for Contract "ERC165" (solc 0.8.24, source ID 92): -Anchors for Contract "stdStorage" (solc 0.8.24, source ID 9): +Anchors for Contract "IERC20Metadata" (solc 0.8.24, source ID 77): -Anchors for Contract "ERC20UpgradeableTokenV1" (solc 0.8.24, source ID 113): -- IC 56 -> Item 277 +Anchors for Contract "IERC6372" (solc 0.8.24, source ID 55): + +Anchors for Contract "TransparentUpgradeableProxy" (solc 0.8.24, source ID 65): + +Anchors for Contract "VotingPowerExchange" (solc 0.8.24, source ID 118): +- IC 6 -> Item 75 - Runtime code - - Refers to item: Function "" (location: source ID 113, line 34, chars 1557-1610, hits: 47) -- IC 70 -> Item 278 + - Refers to item: Function "" (location: source ID 118, line 66, chars 3140-3837, hits: 108) +- IC 341 -> Item 76 - Runtime code - - Refers to item: Line (location: source ID 113, line 35, chars 1581-1603, hits: 47) -- IC 70 -> Item 279 + - Refers to item: Line (location: source ID 118, line 69, chars 3313-3339, hits: 108) +- IC 341 -> Item 77 - Runtime code - - Refers to item: Statement (location: source ID 113, line 35, chars 1581-1603, hits: 47) -- IC 1808 -> Item 280 -- Creation code - - Refers to item: Function "initialize" (location: source ID 113, line 38, chars 1616-2352, hits: 46) -- IC 4215 -> Item 281 -- Creation code - - Refers to item: Line (location: source ID 113, line 47, chars 1861-1887, hits: 46) -- IC 4215 -> Item 282 -- Creation code - - Refers to item: Statement (location: source ID 113, line 47, chars 1861-1887, hits: 46) -- IC 4267 -> Item 283 -- Creation code - - Refers to item: Branch (branch: 0, path: 0) (location: source ID 113, line 47, chars 1889-1922, hits: 0) -- IC 4267 -> Item 284 -- Creation code - - Refers to item: Statement (location: source ID 113, line 47, chars 1889-1922, hits: 0) -- IC 4317 -> Item 285 -- Creation code - - Refers to item: Line (location: source ID 113, line 48, chars 1932-1958, hits: 46) -- IC 4317 -> Item 286 -- Creation code - - Refers to item: Statement (location: source ID 113, line 48, chars 1932-1958, hits: 46) -- IC 4327 -> Item 287 -- Creation code - - Refers to item: Line (location: source ID 113, line 49, chars 1968-1990, hits: 46) -- IC 4327 -> Item 288 -- Creation code - - Refers to item: Statement (location: source ID 113, line 49, chars 1968-1990, hits: 46) -- IC 4335 -> Item 289 -- Creation code - - Refers to item: Line (location: source ID 113, line 50, chars 2000-2022, hits: 46) -- IC 4335 -> Item 290 -- Creation code - - Refers to item: Statement (location: source ID 113, line 50, chars 2000-2022, hits: 46) -- IC 4343 -> Item 291 -- Creation code - - Refers to item: Line (location: source ID 113, line 51, chars 2032-2054, hits: 46) -- IC 4343 -> Item 292 -- Creation code - - Refers to item: Statement (location: source ID 113, line 51, chars 2032-2054, hits: 46) -- IC 4351 -> Item 293 -- Creation code - - Refers to item: Line (location: source ID 113, line 52, chars 2064-2088, hits: 46) -- IC 4351 -> Item 294 -- Creation code - - Refers to item: Statement (location: source ID 113, line 52, chars 2064-2088, hits: 46) -- IC 4360 -> Item 295 -- Creation code - - Refers to item: Line (location: source ID 113, line 53, chars 2098-2122, hits: 46) -- IC 4360 -> Item 296 -- Creation code - - Refers to item: Statement (location: source ID 113, line 53, chars 2098-2122, hits: 46) -- IC 4368 -> Item 297 -- Creation code - - Refers to item: Line (location: source ID 113, line 55, chars 2133-2177, hits: 46) -- IC 4368 -> Item 298 -- Creation code - - Refers to item: Statement (location: source ID 113, line 55, chars 2133-2177, hits: 46) -- IC 4382 -> Item 299 -- Creation code - - Refers to item: Line (location: source ID 113, line 56, chars 2187-2218, hits: 46) -- IC 4382 -> Item 300 -- Creation code - - Refers to item: Statement (location: source ID 113, line 56, chars 2187-2218, hits: 46) -- IC 4425 -> Item 301 -- Creation code - - Refers to item: Line (location: source ID 113, line 57, chars 2228-2259, hits: 46) -- IC 4425 -> Item 302 -- Creation code - - Refers to item: Statement (location: source ID 113, line 57, chars 2228-2259, hits: 46) -- IC 4468 -> Item 303 -- Creation code - - Refers to item: Line (location: source ID 113, line 58, chars 2269-2300, hits: 46) -- IC 4468 -> Item 304 -- Creation code - - Refers to item: Statement (location: source ID 113, line 58, chars 2269-2300, hits: 46) -- IC 4511 -> Item 305 -- Creation code - - Refers to item: Line (location: source ID 113, line 59, chars 2310-2345, hits: 46) -- IC 4511 -> Item 306 + - Refers to item: Statement (location: source ID 118, line 69, chars 3313-3339, hits: 108) +- IC 394 -> Item 78 +- Runtime code + - Refers to item: Branch (branch: 0, path: 0) (location: source ID 118, line 69, chars 3341-3395, hits: 2) +- IC 394 -> Item 79 +- Runtime code + - Refers to item: Statement (location: source ID 118, line 69, chars 3341-3395, hits: 2) +- IC 444 -> Item 80 +- Runtime code + - Refers to item: Line (location: source ID 118, line 70, chars 3409-3463, hits: 106) +- IC 444 -> Item 81 +- Runtime code + - Refers to item: Statement (location: source ID 118, line 70, chars 3409-3463, hits: 106) +- IC 444 -> Item 82 +- Runtime code + - Refers to item: Statement (location: source ID 118, line 70, chars 3409-3432, hits: 106) +- IC 499 -> Item 83 +- Runtime code + - Refers to item: Statement (location: source ID 118, line 70, chars 3436-3463, hits: 105) +- IC 554 -> Item 84 +- Runtime code + - Refers to item: Branch (branch: 1, path: 0) (location: source ID 118, line 70, chars 3465-3542, hits: 2) +- IC 554 -> Item 85 +- Runtime code + - Refers to item: Line (location: source ID 118, line 71, chars 3479-3531, hits: 2) +- IC 554 -> Item 86 +- Runtime code + - Refers to item: Statement (location: source ID 118, line 71, chars 3479-3531, hits: 2) +- IC 604 -> Item 87 +- Runtime code + - Refers to item: Line (location: source ID 118, line 74, chars 3552-3583, hits: 104) +- IC 604 -> Item 88 +- Runtime code + - Refers to item: Statement (location: source ID 118, line 74, chars 3552-3583, hits: 104) +- IC 657 -> Item 89 +- Runtime code + - Refers to item: Line (location: source ID 118, line 75, chars 3593-3647, hits: 104) +- IC 657 -> Item 90 +- Runtime code + - Refers to item: Statement (location: source ID 118, line 75, chars 3593-3647, hits: 104) +- IC 710 -> Item 91 +- Runtime code + - Refers to item: Line (location: source ID 118, line 76, chars 3657-3701, hits: 104) +- IC 710 -> Item 92 +- Runtime code + - Refers to item: Statement (location: source ID 118, line 76, chars 3657-3701, hits: 104) +- IC 732 -> Item 93 +- Runtime code + - Refers to item: Line (location: source ID 118, line 77, chars 3711-3744, hits: 104) +- IC 732 -> Item 94 +- Runtime code + - Refers to item: Statement (location: source ID 118, line 77, chars 3711-3744, hits: 104) +- IC 783 -> Item 95 +- Runtime code + - Refers to item: Line (location: source ID 118, line 78, chars 3754-3791, hits: 104) +- IC 783 -> Item 96 +- Runtime code + - Refers to item: Statement (location: source ID 118, line 78, chars 3754-3791, hits: 104) +- IC 834 -> Item 97 +- Runtime code + - Refers to item: Line (location: source ID 118, line 79, chars 3801-3830, hits: 104) +- IC 834 -> Item 98 +- Runtime code + - Refers to item: Statement (location: source ID 118, line 79, chars 3801-3830, hits: 104) +- IC 1310 -> Item 168 +- Runtime code + - Refers to item: Function "_setVotingPowerCap" (location: source ID 118, line 172, chars 8969-9129, hits: 8309) +- IC 1311 -> Item 169 +- Runtime code + - Refers to item: Line (location: source ID 118, line 173, chars 9041-9073, hits: 8309) +- IC 1311 -> Item 170 +- Runtime code + - Refers to item: Statement (location: source ID 118, line 173, chars 9041-9073, hits: 8309) +- IC 1318 -> Item 171 +- Runtime code + - Refers to item: Line (location: source ID 118, line 174, chars 9083-9122, hits: 8309) +- IC 1318 -> Item 172 +- Runtime code + - Refers to item: Statement (location: source ID 118, line 174, chars 9083-9122, hits: 8309) +- IC 613 -> Item 99 - Creation code - - Refers to item: Statement (location: source ID 113, line 59, chars 2310-2345, hits: 46) -- IC 1485 -> Item 307 + - Refers to item: Function "exchange" (location: source ID 118, line 98, chars 5073-7860, hits: 36947) +- IC 1595 -> Item 100 - Creation code - - Refers to item: Function "pause" (location: source ID 113, line 62, chars 2358-2429, hits: 1) -- IC 3259 -> Item 308 + - Refers to item: Line (location: source ID 118, line 102, chars 5252-5272, hits: 32843) +- IC 1595 -> Item 101 - Creation code - - Refers to item: Line (location: source ID 113, line 63, chars 2414-2422, hits: 1) -- IC 3259 -> Item 309 + - Refers to item: Statement (location: source ID 118, line 102, chars 5252-5272, hits: 32843) +- IC 1647 -> Item 102 - Creation code - - Refers to item: Statement (location: source ID 113, line 63, chars 2414-2422, hits: 1) -- IC 1103 -> Item 310 + - Refers to item: Branch (branch: 2, path: 0) (location: source ID 118, line 102, chars 5274-5317, hits: 1) +- IC 1647 -> Item 103 - Creation code - - Refers to item: Function "unpause" (location: source ID 113, line 66, chars 2435-2510, hits: 1) -- IC 2873 -> Item 311 + - Refers to item: Statement (location: source ID 118, line 102, chars 5274-5317, hits: 1) +- IC 1697 -> Item 104 - Creation code - - Refers to item: Line (location: source ID 113, line 67, chars 2493-2503, hits: 1) -- IC 2873 -> Item 312 + - Refers to item: Line (location: source ID 118, line 103, chars 5331-5344, hits: 32842) +- IC 1697 -> Item 105 - Creation code - - Refers to item: Statement (location: source ID 113, line 67, chars 2493-2503, hits: 1) -- IC 1126 -> Item 313 + - Refers to item: Statement (location: source ID 118, line 103, chars 5331-5344, hits: 32842) +- IC 1713 -> Item 106 - Creation code - - Refers to item: Function "mint" (location: source ID 113, line 70, chars 2516-2621, hits: 120) -- IC 2926 -> Item 314 + - Refers to item: Branch (branch: 3, path: 0) (location: source ID 118, line 103, chars 5346-5392, hits: 4101) +- IC 1713 -> Item 107 - Creation code - - Refers to item: Line (location: source ID 113, line 71, chars 2597-2614, hits: 120) -- IC 2926 -> Item 315 + - Refers to item: Statement (location: source ID 118, line 103, chars 5346-5392, hits: 4101) +- IC 1763 -> Item 108 - Creation code - - Refers to item: Statement (location: source ID 113, line 71, chars 2597-2614, hits: 120) -- IC 935 -> Item 316 + - Refers to item: Line (location: source ID 118, line 104, chars 5457-5490, hits: 28741) +- IC 1763 -> Item 109 - Creation code - - Refers to item: Function "burnByBurner" (location: source ID 113, line 79, chars 2854-2977, hits: 13) -- IC 2669 -> Item 317 + - Refers to item: Statement (location: source ID 118, line 104, chars 5457-5490, hits: 28741) +- IC 1778 -> Item 110 - Creation code - - Refers to item: Line (location: source ID 113, line 80, chars 2948-2970, hits: 11) -- IC 2669 -> Item 318 + - Refers to item: Branch (branch: 4, path: 0) (location: source ID 118, line 104, chars 5492-5534, hits: 4105) +- IC 1778 -> Item 111 - Creation code - - Refers to item: Statement (location: source ID 113, line 80, chars 2948-2970, hits: 11) -- IC 7036 -> Item 319 + - Refers to item: Statement (location: source ID 118, line 104, chars 5492-5534, hits: 4105) +- IC 1828 -> Item 112 - Creation code - - Refers to item: Function "_authorizeUpgrade" (location: source ID 113, line 83, chars 2983-3081, hits: 1) -- IC 8952 -> Item 320 + - Refers to item: Line (location: source ID 118, line 105, chars 5548-5576, hits: 24636) +- IC 1828 -> Item 113 - Creation code - - Refers to item: Function "_update" (location: source ID 113, line 86, chars 3154-3341, hits: 138) -- IC 8953 -> Item 321 + - Refers to item: Statement (location: source ID 118, line 105, chars 5548-5576, hits: 24636) +- IC 1836 -> Item 114 - Creation code - - Refers to item: Line (location: source ID 113, line 90, chars 3304-3334, hits: 138) -- IC 8953 -> Item 322 + - Refers to item: Branch (branch: 5, path: 0) (location: source ID 118, line 105, chars 5578-5624, hits: 4105) +- IC 1836 -> Item 115 - Creation code - - Refers to item: Statement (location: source ID 113, line 90, chars 3304-3334, hits: 138) - -Anchors for Contract "stdMath" (solc 0.8.24, source ID 8): - -Anchors for Contract "VotingPowerExchangeTestHelper" (solc 0.8.24, source ID 120): -- IC 389 -> Item 323 + - Refers to item: Statement (location: source ID 118, line 105, chars 5578-5624, hits: 4105) +- IC 1886 -> Item 116 - Creation code - - Refers to item: Function "generateSignatureFromPrivateKey" (location: source ID 120, line 15, chars 564-1559, hits: 15) -- IC 1902 -> Item 324 + - Refers to item: Line (location: source ID 118, line 107, chars 5696-5751, hits: 20531) +- IC 1886 -> Item 117 - Creation code - - Refers to item: Line (location: source ID 120, line 22, chars 798-834, hits: 15) -- IC 1902 -> Item 325 + - Refers to item: Statement (location: source ID 118, line 107, chars 5696-5751, hits: 20531) +- IC 1888 -> Item 118 - Creation code - - Refers to item: Statement (location: source ID 120, line 22, chars 798-834, hits: 15) -- IC 1939 -> Item 326 + - Refers to item: Statement (location: source ID 118, line 107, chars 5725-5751, hits: 20531) +- IC 2044 -> Item 119 - Creation code - - Refers to item: Statement (location: source ID 120, line 22, chars 815-834, hits: 15) -- IC 2062 -> Item 327 + - Refers to item: Line (location: source ID 118, line 108, chars 5765-5801, hits: 20531) +- IC 2044 -> Item 120 - Creation code - - Refers to item: Line (location: source ID 120, line 23, chars 844-873, hits: 15) -- IC 2062 -> Item 328 + - Refers to item: Statement (location: source ID 118, line 108, chars 5765-5801, hits: 20531) +- IC 2053 -> Item 121 - Creation code - - Refers to item: Statement (location: source ID 120, line 23, chars 844-873, hits: 15) -- IC 2125 -> Item 329 + - Refers to item: Branch (branch: 6, path: 0) (location: source ID 118, line 108, chars 5803-5902, hits: 2) +- IC 2053 -> Item 122 - Creation code - - Refers to item: Line (location: source ID 120, line 24, chars 883-980, hits: 15) -- IC 2125 -> Item 330 + - Refers to item: Line (location: source ID 118, line 109, chars 5817-5891, hits: 2) +- IC 2053 -> Item 123 - Creation code - - Refers to item: Statement (location: source ID 120, line 24, chars 883-980, hits: 15) -- IC 2160 -> Item 331 + - Refers to item: Statement (location: source ID 118, line 109, chars 5817-5891, hits: 2) +- IC 2114 -> Item 124 - Creation code - - Refers to item: Statement (location: source ID 120, line 24, chars 904-980, hits: 15) -- IC 2208 -> Item 332 + - Refers to item: Line (location: source ID 118, line 113, chars 5996-6107, hits: 20529) +- IC 2114 -> Item 125 - Creation code - - Refers to item: Line (location: source ID 120, line 26, chars 991-1344, hits: 15) -- IC 2208 -> Item 333 + - Refers to item: Statement (location: source ID 118, line 113, chars 5996-6107, hits: 20529) +- IC 2116 -> Item 126 - Creation code - - Refers to item: Statement (location: source ID 120, line 26, chars 991-1344, hits: 15) -- IC 2210 -> Item 334 + - Refers to item: Statement (location: source ID 118, line 113, chars 6013-6107, hits: 20529) +- IC 2205 -> Item 127 - Creation code - - Refers to item: Statement (location: source ID 120, line 26, chars 1017-1344, hits: 15) -- IC 2411 -> Item 335 + - Refers to item: Line (location: source ID 118, line 114, chars 6121-6167, hits: 20529) +- IC 2205 -> Item 128 - Creation code - - Refers to item: Line (location: source ID 120, line 36, chars 1355-1431, hits: 15) -- IC 2411 -> Item 336 + - Refers to item: Statement (location: source ID 118, line 114, chars 6121-6167, hits: 20529) +- IC 2320 -> Item 129 - Creation code - - Refers to item: Statement (location: source ID 120, line 36, chars 1355-1431, hits: 15) -- IC 2413 -> Item 337 + - Refers to item: Branch (branch: 7, path: 0) (location: source ID 118, line 114, chars 6169-6257, hits: 4106) +- IC 2320 -> Item 130 - Creation code - - Refers to item: Statement (location: source ID 120, line 36, chars 1370-1431, hits: 15) -- IC 2425 -> Item 338 + - Refers to item: Line (location: source ID 118, line 115, chars 6183-6246, hits: 4106) +- IC 2320 -> Item 131 - Creation code - - Refers to item: Line (location: source ID 120, line 38, chars 1442-1501, hits: 15) -- IC 2425 -> Item 339 + - Refers to item: Statement (location: source ID 118, line 115, chars 6183-6246, hits: 4106) +- IC 2385 -> Item 132 - Creation code - - Refers to item: Statement (location: source ID 120, line 38, chars 1442-1501, hits: 15) -- IC 2466 -> Item 340 + - Refers to item: Line (location: source ID 118, line 119, chars 6331-6373, hits: 16423) +- IC 2385 -> Item 133 - Creation code - - Refers to item: Statement (location: source ID 120, line 38, chars 1476-1501, hits: 15) -- IC 2595 -> Item 341 + - Refers to item: Statement (location: source ID 118, line 119, chars 6331-6373, hits: 16423) +- IC 2490 -> Item 134 - Creation code - - Refers to item: Line (location: source ID 120, line 40, chars 1512-1552, hits: 15) -- IC 2595 -> Item 342 + - Refers to item: Line (location: source ID 118, line 121, chars 6441-6511, hits: 16423) +- IC 2490 -> Item 135 - Creation code - - Refers to item: Statement (location: source ID 120, line 40, chars 1512-1552, hits: 15) - -Anchors for Contract "GovToken" (solc 0.8.24, source ID 114): -- IC 6 -> Item 217 -- Runtime code - - Refers to item: Function "" (location: source ID 114, line 27, chars 1397-1955, hits: 46) -- IC 330 -> Item 218 -- Runtime code - - Refers to item: Line (location: source ID 114, line 35, chars 1640-1666, hits: 46) -- IC 330 -> Item 219 -- Runtime code - - Refers to item: Statement (location: source ID 114, line 35, chars 1640-1666, hits: 46) -- IC 383 -> Item 220 -- Runtime code - - Refers to item: Branch (branch: 0, path: 0) (location: source ID 114, line 35, chars 1668-1701, hits: 0) -- IC 383 -> Item 221 -- Runtime code - - Refers to item: Statement (location: source ID 114, line 35, chars 1668-1701, hits: 0) -- IC 433 -> Item 222 -- Runtime code - - Refers to item: Line (location: source ID 114, line 37, chars 1712-1756, hits: 46) -- IC 433 -> Item 223 -- Runtime code - - Refers to item: Statement (location: source ID 114, line 37, chars 1712-1756, hits: 46) -- IC 455 -> Item 224 -- Runtime code - - Refers to item: Line (location: source ID 114, line 38, chars 1766-1797, hits: 46) -- IC 455 -> Item 225 -- Runtime code - - Refers to item: Statement (location: source ID 114, line 38, chars 1766-1797, hits: 46) -- IC 506 -> Item 226 -- Runtime code - - Refers to item: Line (location: source ID 114, line 39, chars 1807-1838, hits: 46) -- IC 506 -> Item 227 -- Runtime code - - Refers to item: Statement (location: source ID 114, line 39, chars 1807-1838, hits: 46) -- IC 557 -> Item 228 -- Runtime code - - Refers to item: Line (location: source ID 114, line 40, chars 1848-1879, hits: 46) -- IC 557 -> Item 229 -- Runtime code - - Refers to item: Statement (location: source ID 114, line 40, chars 1848-1879, hits: 46) -- IC 608 -> Item 230 -- Runtime code - - Refers to item: Line (location: source ID 114, line 41, chars 1889-1948, hits: 46) -- IC 608 -> Item 231 -- Runtime code - - Refers to item: Statement (location: source ID 114, line 41, chars 1889-1948, hits: 46) -- IC 8291 -> Item 232 + - Refers to item: Statement (location: source ID 118, line 121, chars 6441-6511, hits: 16423) +- IC 2492 -> Item 136 - Creation code - - Refers to item: Function "_update" (location: source ID 114, line 49, chars 2232-2564, hits: 81) -- IC 8292 -> Item 233 + - Refers to item: Statement (location: source ID 118, line 121, chars 6471-6511, hits: 16423) +- IC 2648 -> Item 137 - Creation code - - Refers to item: Line (location: source ID 114, line 52, chars 2421-2459, hits: 81) -- IC 8292 -> Item 234 + - Refers to item: Line (location: source ID 118, line 125, chars 6682-6775, hits: 16423) +- IC 2648 -> Item 138 - Creation code - - Refers to item: Statement (location: source ID 114, line 52, chars 2421-2459, hits: 81) -- IC 8292 -> Item 235 + - Refers to item: Statement (location: source ID 118, line 125, chars 6682-6775, hits: 16423) +- IC 2650 -> Item 139 - Creation code - - Refers to item: Statement (location: source ID 114, line 52, chars 2421-2439, hits: 81) -- IC 8348 -> Item 236 + - Refers to item: Statement (location: source ID 118, line 125, chars 6715-6775, hits: 16423) +- IC 2662 -> Item 140 - Creation code - - Refers to item: Statement (location: source ID 114, line 52, chars 2443-2459, hits: 9) -- IC 8403 -> Item 237 + - Refers to item: Line (location: source ID 118, line 127, chars 6786-6821, hits: 16423) +- IC 2662 -> Item 141 - Creation code - - Refers to item: Branch (branch: 1, path: 0) (location: source ID 114, line 52, chars 2461-2518, hits: 4) -- IC 8403 -> Item 238 + - Refers to item: Statement (location: source ID 118, line 127, chars 6786-6821, hits: 16423) +- IC 2667 -> Item 142 - Creation code - - Refers to item: Line (location: source ID 114, line 53, chars 2475-2507, hits: 4) -- IC 8403 -> Item 239 + - Refers to item: Line (location: source ID 118, line 129, chars 6927-6987, hits: 16423) +- IC 2667 -> Item 143 - Creation code - - Refers to item: Statement (location: source ID 114, line 53, chars 2475-2507, hits: 4) -- IC 8453 -> Item 240 + - Refers to item: Statement (location: source ID 118, line 129, chars 6927-6987, hits: 16423) +- IC 2670 -> Item 144 - Creation code - - Refers to item: Line (location: source ID 114, line 55, chars 2527-2557, hits: 77) -- IC 8453 -> Item 241 + - Refers to item: Statement (location: source ID 118, line 129, chars 6927-6970, hits: 16423) +- IC 2688 -> Item 145 - Creation code - - Refers to item: Statement (location: source ID 114, line 55, chars 2527-2557, hits: 77) -- IC 936 -> Item 242 + - Refers to item: Branch (branch: 8, path: 0) (location: source ID 118, line 129, chars 6989-7401, hits: 1) +- IC 2688 -> Item 146 - Creation code - - Refers to item: Function "burnByBurner" (location: source ID 114, line 65, chars 2920-3043, hits: 7) -- IC 2549 -> Item 243 + - Refers to item: Line (location: source ID 118, line 131, chars 7130-7190, hits: 1) +- IC 2688 -> Item 147 - Creation code - - Refers to item: Line (location: source ID 114, line 66, chars 3014-3036, hits: 5) -- IC 2549 -> Item 244 + - Refers to item: Statement (location: source ID 118, line 131, chars 7130-7190, hits: 1) +- IC 2704 -> Item 148 - Creation code - - Refers to item: Statement (location: source ID 114, line 66, chars 3014-3036, hits: 5) -- IC 1100 -> Item 245 + - Refers to item: Line (location: source ID 118, line 133, chars 7292-7390, hits: 1) +- IC 2704 -> Item 149 - Creation code - - Refers to item: Function "mint" (location: source ID 114, line 69, chars 3049-3154, hits: 74) -- IC 2970 -> Item 246 + - Refers to item: Statement (location: source ID 118, line 133, chars 7292-7390, hits: 1) +- IC 2717 -> Item 150 - Creation code - - Refers to item: Line (location: source ID 114, line 70, chars 3130-3147, hits: 72) -- IC 2970 -> Item 247 + - Refers to item: Line (location: source ID 118, line 137, chars 7458-7511, hits: 16423) +- IC 2717 -> Item 151 - Creation code - - Refers to item: Statement (location: source ID 114, line 70, chars 3130-3147, hits: 72) -- IC 1752 -> Item 248 + - Refers to item: Statement (location: source ID 118, line 137, chars 7458-7511, hits: 16423) +- IC 2858 -> Item 152 - Creation code - - Refers to item: Function "setBurnedAmountOfUtilToken" (location: source ID 114, line 79, chars 3440-3691, hits: 14) -- IC 4115 -> Item 249 + - Refers to item: Line (location: source ID 118, line 140, chars 7574-7659, hits: 16423) +- IC 2858 -> Item 153 - Creation code - - Refers to item: Line (location: source ID 114, line 83, chars 3585-3626, hits: 12) -- IC 4115 -> Item 250 + - Refers to item: Statement (location: source ID 118, line 140, chars 7574-7659, hits: 16423) +- IC 3010 -> Item 154 - Creation code - - Refers to item: Statement (location: source ID 114, line 83, chars 3585-3626, hits: 12) -- IC 4183 -> Item 251 + - Refers to item: Line (location: source ID 118, line 143, chars 7722-7767, hits: 16423) +- IC 3010 -> Item 155 - Creation code - - Refers to item: Line (location: source ID 114, line 84, chars 3636-3684, hits: 12) -- IC 4183 -> Item 252 + - Refers to item: Statement (location: source ID 118, line 143, chars 7722-7767, hits: 16423) +- IC 3151 -> Item 156 - Creation code - - Refers to item: Statement (location: source ID 114, line 84, chars 3636-3684, hits: 12) -- IC 1566 -> Item 253 + - Refers to item: Line (location: source ID 118, line 144, chars 7777-7853, hits: 16423) +- IC 3151 -> Item 157 - Creation code - - Refers to item: Function "clock" (location: source ID 114, line 87, chars 3697-3799, hits: 0) -- IC 3771 -> Item 254 + - Refers to item: Statement (location: source ID 118, line 144, chars 7777-7853, hits: 16423) +- IC 884 -> Item 158 - Creation code - - Refers to item: Line (location: source ID 114, line 88, chars 3762-3792, hits: 77) -- IC 3771 -> Item 255 + - Refers to item: Function "setVotingPowerCap" (location: source ID 118, line 152, chars 8050-8289, hits: 16412) +- IC 3844 -> Item 159 - Creation code - - Refers to item: Statement (location: source ID 114, line 88, chars 3762-3792, hits: 77) -- IC 1156 -> Item 256 + - Refers to item: Line (location: source ID 118, line 153, chars 8148-8181, hits: 12307) +- IC 3844 -> Item 160 - Creation code - - Refers to item: Function "CLOCK_MODE" (location: source ID 114, line 92, chars 3858-3965, hits: 0) -- IC 3007 -> Item 257 + - Refers to item: Statement (location: source ID 118, line 153, chars 8148-8181, hits: 12307) +- IC 3853 -> Item 161 - Creation code - - Refers to item: Line (location: source ID 114, line 93, chars 3935-3958, hits: 0) -- IC 3007 -> Item 258 + - Refers to item: Branch (branch: 9, path: 0) (location: source ID 118, line 153, chars 8183-8237, hits: 4102) +- IC 3853 -> Item 162 - Creation code - - Refers to item: Statement (location: source ID 114, line 93, chars 3935-3958, hits: 0) -- IC 1386 -> Item 259 + - Refers to item: Statement (location: source ID 118, line 153, chars 8183-8237, hits: 4102) +- IC 3903 -> Item 163 - Creation code - - Refers to item: Function "nonces" (location: source ID 114, line 96, chars 3971-4105, hits: 0) -- IC 3321 -> Item 260 + - Refers to item: Line (location: source ID 118, line 154, chars 8247-8282, hits: 8205) +- IC 3903 -> Item 164 - Creation code - - Refers to item: Line (location: source ID 114, line 97, chars 4072-4098, hits: 0) -- IC 3321 -> Item 261 + - Refers to item: Statement (location: source ID 118, line 154, chars 8247-8282, hits: 8205) +- IC 940 -> Item 165 - Creation code - - Refers to item: Statement (location: source ID 114, line 97, chars 4072-4098, hits: 0) -- IC 3321 -> Item 262 + - Refers to item: Function "authorizationState" (location: source ID 118, line 160, chars 8478-8631, hits: 8) +- IC 3952 -> Item 166 - Creation code - - Refers to item: Statement (location: source ID 114, line 97, chars 4079-4098, hits: 0) - -Anchors for Contract "IERC1967" (solc 0.8.24, source ID 52): - -Anchors for Contract "SignatureChecker" (solc 0.8.24, source ID 91): - -Anchors for Contract "IGovernor" (solc 0.8.24, source ID 41): - -Anchors for Contract "StdChains" (solc 0.8.24, source ID 3): - -Anchors for Contract "GovernorVotes" (solc 0.8.24, source ID 46): - -Anchors for Contract "stdError" (solc 0.8.24, source ID 5): - -Anchors for Contract "Versions" (solc 0.8.24, source ID 107): - -Anchors for Contract "StdStyle" (solc 0.8.24, source ID 10): - -Anchors for Contract "IAccessControl" (solc 0.8.24, source ID 38): - -Anchors for Contract "DeployContracts" (solc 0.8.24, source ID 111): -- IC 703 -> Item 0 + - Refers to item: Line (location: source ID 118, line 161, chars 8578-8624, hits: 28749) +- IC 3952 -> Item 167 - Creation code - - Refers to item: Function "run" (location: source ID 111, line 48, chars 1531-3077, hits: 34) -- IC 5235 -> Item 1 + - Refers to item: Statement (location: source ID 118, line 161, chars 8578-8624, hits: 28749) +- IC 5320 -> Item 168 - Creation code - - Refers to item: Line (location: source ID 111, line 50, chars 1626-1648, hits: 34) -- IC 5235 -> Item 2 + - Refers to item: Function "_setVotingPowerCap" (location: source ID 118, line 172, chars 8969-9129, hits: 8309) +- IC 5321 -> Item 169 - Creation code - - Refers to item: Statement (location: source ID 111, line 50, chars 1626-1648, hits: 34) -- IC 5245 -> Item 3 + - Refers to item: Line (location: source ID 118, line 173, chars 9041-9073, hits: 8309) +- IC 5321 -> Item 170 - Creation code - - Refers to item: Branch (branch: 0, path: 0) (location: source ID 111, line 50, chars 1650-1780, hits: 34) -- IC 8205 -> Item 4 + - Refers to item: Statement (location: source ID 118, line 173, chars 9041-9073, hits: 8309) +- IC 5328 -> Item 171 - Creation code - - Refers to item: Branch (branch: 0, path: 1) (location: source ID 111, line 50, chars 1622-3019, hits: 0) -- IC 5245 -> Item 5 + - Refers to item: Line (location: source ID 118, line 174, chars 9083-9122, hits: 8309) +- IC 5328 -> Item 172 - Creation code - - Refers to item: Line (location: source ID 111, line 51, chars 1664-1719, hits: 34) -- IC 5245 -> Item 6 + - Refers to item: Statement (location: source ID 118, line 174, chars 9083-9122, hits: 8309) +- IC 401 -> Item 173 - Creation code - - Refers to item: Statement (location: source ID 111, line 51, chars 1664-1719, hits: 34) -- IC 5281 -> Item 7 + - Refers to item: Function "calculateIncrementedVotingPower" (location: source ID 118, line 187, chars 9705-10033, hits: 65689) +- IC 1272 -> Item 174 - Creation code - - Refers to item: Line (location: source ID 111, line 52, chars 1733-1769, hits: 34) -- IC 5281 -> Item 8 + - Refers to item: Line (location: source ID 118, line 192, chars 9870-10026, hits: 82112) +- IC 1272 -> Item 175 - Creation code - - Refers to item: Statement (location: source ID 111, line 52, chars 1733-1769, hits: 34) -- IC 5964 -> Item 9 + - Refers to item: Statement (location: source ID 118, line 192, chars 9870-10026, hits: 82112) +- IC 1272 -> Item 176 - Creation code - - Refers to item: Line (location: source ID 111, line 53, chars 1790-1812, hits: 0) -- IC 5964 -> Item 10 + - Refers to item: Statement (location: source ID 118, line 192, chars 9877-10026, hits: 82112) +- IC 1281 -> Item 177 - Creation code - - Refers to item: Statement (location: source ID 111, line 53, chars 1790-1812, hits: 0) -- IC 5975 -> Item 11 + - Refers to item: Statement (location: source ID 118, line 192, chars 9877-9954, hits: 82112) +- IC 1272 -> Item 178 - Creation code - - Refers to item: Branch (branch: 1, path: 0) (location: source ID 111, line 53, chars 1814-2414, hits: 0) -- IC 8205 -> Item 12 + - Refers to item: Line (location: source ID 118, line 193, chars 9969-10026, hits: 82112) +- IC 1272 -> Item 179 - Creation code - - Refers to item: Branch (branch: 1, path: 1) (location: source ID 111, line 53, chars 1786-3019, hits: 0) -- IC 5975 -> Item 13 + - Refers to item: Statement (location: source ID 118, line 193, chars 9969-10026, hits: 82112) +- IC 641 -> Item 180 - Creation code - - Refers to item: Line (location: source ID 111, line 54, chars 1828-1882, hits: 0) -- IC 5975 -> Item 14 + - Refers to item: Function "calculateVotingPowerFromBurnedAmount" (location: source ID 118, line 204, chars 10574-11034, hits: 49365) +- IC 3247 -> Item 181 - Creation code - - Refers to item: Statement (location: source ID 111, line 54, chars 1828-1882, hits: 0) -- IC 6011 -> Item 15 + - Refers to item: Line (location: source ID 118, line 206, chars 10711-10760, hits: 213589) +- IC 3247 -> Item 182 - Creation code - - Refers to item: Line (location: source ID 111, line 56, chars 1897-2403, hits: 0) -- IC 6011 -> Item 16 + - Refers to item: Statement (location: source ID 118, line 206, chars 10711-10760, hits: 213589) +- IC 3283 -> Item 183 - Creation code - - Refers to item: Statement (location: source ID 111, line 56, chars 1897-2403, hits: 0) -- IC 7446 -> Item 17 + - Refers to item: Line (location: source ID 118, line 208, chars 10813-10873, hits: 213589) +- IC 3283 -> Item 184 - Creation code - - Refers to item: Line (location: source ID 111, line 69, chars 2424-2445, hits: 0) -- IC 7446 -> Item 18 + - Refers to item: Statement (location: source ID 118, line 208, chars 10813-10873, hits: 213589) +- IC 3290 -> Item 185 - Creation code - - Refers to item: Statement (location: source ID 111, line 69, chars 2424-2445, hits: 0) -- IC 7456 -> Item 19 + - Refers to item: Statement (location: source ID 118, line 208, chars 10832-10873, hits: 213589) +- IC 3290 -> Item 186 - Creation code - - Refers to item: Branch (branch: 2, path: 0) (location: source ID 111, line 69, chars 2447-3047, hits: 0) -- IC 7456 -> Item 20 + - Refers to item: Statement (location: source ID 118, line 208, chars 10832-10857, hits: 213589) +- IC 3290 -> Item 187 - Creation code - - Refers to item: Line (location: source ID 111, line 70, chars 2461-2515, hits: 0) -- IC 7456 -> Item 21 + - Refers to item: Statement (location: source ID 118, line 208, chars 10836-10857, hits: 213589) +- IC 3323 -> Item 188 - Creation code - - Refers to item: Statement (location: source ID 111, line 70, chars 2461-2515, hits: 0) -- IC 7492 -> Item 22 + - Refers to item: Line (location: source ID 118, line 210, chars 10935-11004, hits: 213589) +- IC 3323 -> Item 189 - Creation code - - Refers to item: Line (location: source ID 111, line 72, chars 2530-3036, hits: 0) -- IC 7492 -> Item 23 + - Refers to item: Statement (location: source ID 118, line 210, chars 10935-11004, hits: 213589) +- IC 3334 -> Item 190 - Creation code - - Refers to item: Statement (location: source ID 111, line 72, chars 2530-3036, hits: 0) -- IC 8924 -> Item 24 + - Refers to item: Statement (location: source ID 118, line 210, chars 10952-11004, hits: 213589) +- IC 3334 -> Item 191 - Creation code - - Refers to item: Line (location: source ID 111, line 87, chars 3057-3070, hits: 34) -- IC 8924 -> Item 25 + - Refers to item: Statement (location: source ID 118, line 210, chars 10952-10992, hits: 213589) +- IC 3390 -> Item 192 - Creation code - - Refers to item: Statement (location: source ID 111, line 87, chars 3057-3070, hits: 34) -- IC 567 -> Item 26 + - Refers to item: Line (location: source ID 118, line 211, chars 11014-11027, hits: 213589) +- IC 3390 -> Item 193 - Creation code - - Refers to item: Function "deploymentsOnLocalNetwork" (location: source ID 111, line 91, chars 3144-5598, hits: 0) -- IC 1441 -> Item 27 + - Refers to item: Statement (location: source ID 118, line 211, chars 11014-11027, hits: 213589) +- IC 836 -> Item 194 - Creation code - - Refers to item: Line (location: source ID 111, line 92, chars 3232-3257, hits: 34) -- IC 1441 -> Item 28 + - Refers to item: Function "calculateIncrementedBurningAmount" (location: source ID 118, line 221, chars 11451-11790, hits: 45170) +- IC 3755 -> Item 195 - Creation code - - Refers to item: Statement (location: source ID 111, line 92, chars 3232-3257, hits: 34) -- IC 1569 -> Item 29 + - Refers to item: Line (location: source ID 118, line 226, chars 11622-11783, hits: 45171) +- IC 3755 -> Item 196 - Creation code - - Refers to item: Line (location: source ID 111, line 93, chars 3267-3294, hits: 34) -- IC 1569 -> Item 30 + - Refers to item: Statement (location: source ID 118, line 226, chars 11622-11783, hits: 45171) +- IC 3755 -> Item 197 - Creation code - - Refers to item: Statement (location: source ID 111, line 93, chars 3267-3294, hits: 34) -- IC 1697 -> Item 31 + - Refers to item: Statement (location: source ID 118, line 226, chars 11629-11783, hits: 45171) +- IC 3764 -> Item 198 - Creation code - - Refers to item: Line (location: source ID 111, line 94, chars 3304-3331, hits: 34) -- IC 1697 -> Item 32 + - Refers to item: Statement (location: source ID 118, line 226, chars 11629-11711, hits: 45171) +- IC 3755 -> Item 199 - Creation code - - Refers to item: Statement (location: source ID 111, line 94, chars 3304-3331, hits: 34) -- IC 1825 -> Item 33 + - Refers to item: Line (location: source ID 118, line 227, chars 11726-11783, hits: 45171) +- IC 3755 -> Item 200 - Creation code - - Refers to item: Line (location: source ID 111, line 95, chars 3341-3368, hits: 34) -- IC 1825 -> Item 34 + - Refers to item: Statement (location: source ID 118, line 227, chars 11726-11783, hits: 45171) +- IC 353 -> Item 201 - Creation code - - Refers to item: Statement (location: source ID 111, line 95, chars 3341-3368, hits: 34) -- IC 1953 -> Item 35 + - Refers to item: Function "calculateBurningAmountFromVotingPower" (location: source ID 118, line 236, chars 12071-12393, hits: 49348) +- IC 1174 -> Item 202 - Creation code - - Refers to item: Line (location: source ID 111, line 96, chars 3378-3407, hits: 34) -- IC 1953 -> Item 36 + - Refers to item: Line (location: source ID 118, line 238, chars 12232-12328, hits: 139690) +- IC 1174 -> Item 203 - Creation code - - Refers to item: Statement (location: source ID 111, line 96, chars 3378-3407, hits: 34) -- IC 2081 -> Item 37 + - Refers to item: Statement (location: source ID 118, line 238, chars 12232-12328, hits: 139690) +- IC 1175 -> Item 204 - Creation code - - Refers to item: Line (location: source ID 111, line 97, chars 3417-3450, hits: 34) -- IC 2081 -> Item 38 + - Refers to item: Statement (location: source ID 118, line 238, chars 12247-12328, hits: 139690) +- IC 1197 -> Item 205 - Creation code - - Refers to item: Statement (location: source ID 111, line 97, chars 3417-3450, hits: 34) -- IC 2209 -> Item 39 + - Refers to item: Statement (location: source ID 118, line 238, chars 12247-12303, hits: 139690) +- IC 1197 -> Item 206 - Creation code - - Refers to item: Line (location: source ID 111, line 108, chars 3964-4027, hits: 34) -- IC 2209 -> Item 40 + - Refers to item: Statement (location: source ID 118, line 238, chars 12247-12291, hits: 139690) +- IC 1175 -> Item 207 - Creation code - - Refers to item: Statement (location: source ID 111, line 108, chars 3964-4027, hits: 34) -- IC 2257 -> Item 41 + - Refers to item: Statement (location: source ID 118, line 238, chars 12306-12328, hits: 139690) +- IC 1243 -> Item 208 - Creation code - - Refers to item: Line (location: source ID 111, line 109, chars 4037-4274, hits: 34) -- IC 2257 -> Item 42 + - Refers to item: Line (location: source ID 118, line 239, chars 12338-12363, hits: 139690) +- IC 1243 -> Item 209 - Creation code - - Refers to item: Statement (location: source ID 111, line 109, chars 4037-4274, hits: 34) -- IC 2259 -> Item 43 + - Refers to item: Statement (location: source ID 118, line 239, chars 12338-12363, hits: 139690) +- IC 1245 -> Item 210 - Creation code - - Refers to item: Statement (location: source ID 111, line 109, chars 4053-4274, hits: 34) -- IC 2538 -> Item 44 + - Refers to item: Statement (location: source ID 118, line 239, chars 12355-12363, hits: 139690) +- IC 1260 -> Item 211 - Creation code - - Refers to item: Line (location: source ID 111, line 116, chars 4285-4330, hits: 34) -- IC 2538 -> Item 45 + - Refers to item: Line (location: source ID 118, line 240, chars 12373-12386, hits: 139690) +- IC 1260 -> Item 212 - Creation code - - Refers to item: Statement (location: source ID 111, line 116, chars 4285-4330, hits: 34) -- IC 2603 -> Item 46 + - Refers to item: Statement (location: source ID 118, line 240, chars 12373-12386, hits: 139690) +- IC 449 -> Item 213 - Creation code - - Refers to item: Line (location: source ID 111, line 119, chars 4373-4457, hits: 34) -- IC 2603 -> Item 47 + - Refers to item: Function "getVotingPowerCap" (location: source ID 118, line 247, chars 12550-12649, hits: 12304) +- IC 1321 -> Item 214 - Creation code - - Refers to item: Statement (location: source ID 111, line 119, chars 4373-4457, hits: 34) -- IC 2866 -> Item 48 + - Refers to item: Line (location: source ID 118, line 248, chars 12621-12642, hits: 12304) +- IC 1321 -> Item 215 - Creation code - - Refers to item: Line (location: source ID 111, line 122, chars 4512-4638, hits: 34) -- IC 2866 -> Item 49 + - Refers to item: Statement (location: source ID 118, line 248, chars 12621-12642, hits: 12304) +- IC 773 -> Item 216 - Creation code - - Refers to item: Statement (location: source ID 111, line 122, chars 4512-4638, hits: 34) -- IC 3201 -> Item 50 + - Refers to item: Function "getConstants" (location: source ID 118, line 255, chars 12825-13175, hits: 1) +- IC 3716 -> Item 217 - Creation code - - Refers to item: Line (location: source ID 111, line 125, chars 4649-4669, hits: 34) -- IC 3201 -> Item 51 + - Refers to item: Line (location: source ID 118, line 260, chars 13010-13050, hits: 1) +- IC 3716 -> Item 218 - Creation code - - Refers to item: Statement (location: source ID 111, line 125, chars 4649-4669, hits: 34) -- IC 3345 -> Item 52 + - Refers to item: Statement (location: source ID 118, line 260, chars 13010-13050, hits: 1) +- IC 3723 -> Item 219 - Creation code - - Refers to item: Line (location: source ID 111, line 127, chars 4732-4804, hits: 34) -- IC 3345 -> Item 53 + - Refers to item: Line (location: source ID 118, line 261, chars 13060-13090, hits: 1) +- IC 3723 -> Item 220 - Creation code - - Refers to item: Statement (location: source ID 111, line 127, chars 4732-4804, hits: 34) -- IC 3673 -> Item 54 + - Refers to item: Statement (location: source ID 118, line 261, chars 13060-13090, hits: 1) +- IC 3727 -> Item 221 - Creation code - - Refers to item: Line (location: source ID 111, line 129, chars 4871-4951, hits: 34) -- IC 3673 -> Item 55 + - Refers to item: Line (location: source ID 118, line 262, chars 13100-13136, hits: 1) +- IC 3727 -> Item 222 - Creation code - - Refers to item: Statement (location: source ID 111, line 129, chars 4871-4951, hits: 34) -- IC 4001 -> Item 56 + - Refers to item: Statement (location: source ID 118, line 262, chars 13100-13136, hits: 1) +- IC 3738 -> Item 223 - Creation code - - Refers to item: Line (location: source ID 111, line 131, chars 5029-5116, hits: 34) -- IC 4001 -> Item 57 + - Refers to item: Line (location: source ID 118, line 263, chars 13146-13168, hits: 1) +- IC 3738 -> Item 224 - Creation code - - Refers to item: Statement (location: source ID 111, line 131, chars 5029-5116, hits: 34) -- IC 4365 -> Item 58 + - Refers to item: Statement (location: source ID 118, line 263, chars 13146-13168, hits: 1) +- IC 1018 -> Item 225 - Creation code - - Refers to item: Line (location: source ID 111, line 132, chars 5126-5140, hits: 34) -- IC 4365 -> Item 59 + - Refers to item: Function "getTokenAddresses" (location: source ID 118, line 270, chars 13349-13536, hits: 1) +- IC 4093 -> Item 226 - Creation code - - Refers to item: Statement (location: source ID 111, line 132, chars 5126-5140, hits: 34) -- IC 4462 -> Item 60 + - Refers to item: Line (location: source ID 118, line 271, chars 13453-13490, hits: 1) +- IC 4093 -> Item 227 - Creation code - - Refers to item: Line (location: source ID 111, line 134, chars 5151-5591, hits: 34) -- IC 4462 -> Item 61 + - Refers to item: Statement (location: source ID 118, line 271, chars 13453-13490, hits: 1) +- IC 4128 -> Item 228 - Creation code - - Refers to item: Statement (location: source ID 111, line 134, chars 5151-5591, hits: 34) - -Anchors for Contract "AccessControlUpgradeable" (solc 0.8.24, source ID 24): + - Refers to item: Line (location: source ID 118, line 272, chars 13500-13529, hits: 1) +- IC 4128 -> Item 229 +- Creation code + - Refers to item: Statement (location: source ID 118, line 272, chars 13500-13529, hits: 1) -Anchors for Contract "Upgrades" (solc 0.8.24, source ID 103): +Anchors for Contract "Ownable" (solc 0.8.24, source ID 39): -Anchors for Contract "ERC20PausableUpgradeable" (solc 0.8.24, source ID 29): +Anchors for Contract "stdMath" (solc 0.8.24, source ID 8): -Anchors for Contract "MessageHashUtils" (solc 0.8.24, source ID 90): +Anchors for Contract "stdStorageSafe" (solc 0.8.24, source ID 9): -Anchors for Contract "Strings" (solc 0.8.24, source ID 87): +Anchors for Contract "IERC1155MetadataURI" (solc 0.8.24, source ID 70): -Anchors for Contract "ERC20Permit" (solc 0.8.24, source ID 75): +Anchors for Contract "Test" (solc 0.8.24, source ID 13): -Anchors for Contract "IERC5805" (solc 0.8.24, source ID 54): +Anchors for Contract "IERC5267" (solc 0.8.24, source ID 53): -Anchors for Contract "IERC1155" (solc 0.8.24, source ID 67): +Anchors for Contract "ERC20Burnable" (solc 0.8.24, source ID 74): -Anchors for Contract "safeconsole" (solc 0.8.24, source ID 23): +Anchors for Contract "StdCheatsSafe" (solc 0.8.24, source ID 4): -Anchors for Contract "Nonces" (solc 0.8.24, source ID 84): +Anchors for Contract "NoncesUpgradeable" (solc 0.8.24, source ID 32): -Anchors for Contract "Timelock" (solc 0.8.24, source ID 117): -- IC 5 -> Item 276 -- Runtime code - - Refers to item: Function "" (location: source ID 117, line 13, chars 428-601, hits: 0) +Anchors for Contract "IERC1271" (solc 0.8.24, source ID 50): -Anchors for Contract "UpgradeableBeacon" (solc 0.8.24, source ID 63): +Anchors for Contract "DefenderDeploy" (solc 0.8.24, source ID 105): -Anchors for Contract "VmSafe" (solc 0.8.24, source ID 14): +Anchors for Contract "DoubleEndedQueue" (solc 0.8.24, source ID 98): -Anchors for Contract "IERC20" (solc 0.8.24, source ID 18): +Anchors for Contract "IERC20" (solc 0.8.24, source ID 73): -Anchors for Contract "IERC721" (solc 0.8.24, source ID 19): +Anchors for Contract "IGovernor" (solc 0.8.24, source ID 41): -Anchors for Contract "VotingPowerExchangeUnitTest" (solc 0.8.24, source ID 125): +Anchors for Contract "IERC5805" (solc 0.8.24, source ID 54): -Anchors for Contract "strings" (solc 0.8.24, source ID 100): +Anchors for Contract "stdJson" (solc 0.8.24, source ID 7): -Anchors for Contract "PausableUpgradeable" (solc 0.8.24, source ID 33): +Anchors for Contract "GovernorSettings" (solc 0.8.24, source ID 44): -Anchors for Contract "IERC721Enumerable" (solc 0.8.24, source ID 19): +Anchors for Contract "Strings" (solc 0.8.24, source ID 87): -Anchors for Contract "ERC721Holder" (solc 0.8.24, source ID 80): +Anchors for Contract "StdStyle" (solc 0.8.24, source ID 10): -Anchors for Contract "console" (solc 0.8.24, source ID 15): +Anchors for Contract "SignatureChecker" (solc 0.8.24, source ID 91): -Anchors for Contract "IUpgradeableBeacon" (solc 0.8.24, source ID 109): +Anchors for Contract "IERC721" (solc 0.8.24, source ID 19): -Anchors for Contract "ProxyAdmin" (solc 0.8.24, source ID 64): +Anchors for Contract "Proxy" (solc 0.8.24, source ID 60): -Anchors for Contract "CommonBase" (solc 0.8.24, source ID 0): +Anchors for Contract "Defender" (solc 0.8.24, source ID 101): -Anchors for Contract "StdInvariant" (solc 0.8.24, source ID 6): +Anchors for Contract "VotingPwoerExchangeTest" (solc 0.8.24, source ID 119): -Anchors for Contract "ERC20BurnableUpgradeable" (solc 0.8.24, source ID 28): +Anchors for Contract "ERC1155Holder" (solc 0.8.24, source ID 71): -Anchors for Contract "DefenderDeploy" (solc 0.8.24, source ID 105): +Anchors for Contract "IAccessControl" (solc 0.8.24, source ID 36): -Anchors for Contract "Initializable" (solc 0.8.24, source ID 25): +Anchors for Contract "StdChains" (solc 0.8.24, source ID 3): -Anchors for Contract "GovernorCountingSimple" (solc 0.8.24, source ID 43): +Anchors for Contract "UUPSUpgradeable" (solc 0.8.24, source ID 26): -Anchors for Contract "ERC165" (solc 0.8.24, source ID 92): +Anchors for Contract "AccessControl" (solc 0.8.24, source ID 37): Anchors for Contract "Time" (solc 0.8.24, source ID 99): -Anchors for Contract "Utils" (solc 0.8.24, source ID 106): - -Anchors for Contract "TimelockController" (solc 0.8.24, source ID 42): - -Anchors for Contract "ContextUpgradeable" (solc 0.8.24, source ID 31): - -Anchors for Contract "IERC1155Errors" (solc 0.8.24, source ID 57): - -Anchors for Contract "ERC20UpgradeableTokenV1Test" (solc 0.8.24, source ID 123): - -Anchors for Contract "GovTokenTest" (solc 0.8.24, source ID 124): - -Anchors for Contract "ERC20Upgradeable" (solc 0.8.24, source ID 27): - -Anchors for Contract "IERC20" (solc 0.8.24, source ID 73): - -Anchors for Contract "GovernorSettings" (solc 0.8.24, source ID 44): - -Anchors for Contract "Defender" (solc 0.8.24, source ID 101): - -Anchors for Contract "Ownable" (solc 0.8.24, source ID 39): +Anchors for Contract "IERC721TokenReceiver" (solc 0.8.24, source ID 19): -Anchors for Contract "IERC721Metadata" (solc 0.8.24, source ID 19): +Anchors for Contract "IERC721Receiver" (solc 0.8.24, source ID 79): -Anchors for Contract "Arrays" (solc 0.8.24, source ID 82): +Anchors for Contract "ERC20Permit" (solc 0.8.24, source ID 75): -Anchors for Contract "Context" (solc 0.8.24, source ID 83): +Anchors for Contract "GovernorTimelockControl" (solc 0.8.24, source ID 45): -Anchors for Contract "IMulticall3" (solc 0.8.24, source ID 20): +Anchors for Contract "GovTokenTest" (solc 0.8.24, source ID 125): -Anchors for Contract "ITransparentUpgradeableProxy" (solc 0.8.24, source ID 65): +Anchors for Contract "IProxyAdmin" (solc 0.8.24, source ID 108): -Anchors for Contract "VotingPwoerExchangeTest" (solc 0.8.24, source ID 119): +Anchors for Contract "IERC165" (solc 0.8.24, source ID 93): -Anchors for Contract "ERC20UpgradeableTokenV2" (solc 0.8.24, source ID 121): -- IC 70 -> Item 277 +Anchors for Contract "ERC20UpgradeableTokenV2" (solc 0.8.24, source ID 122): +- IC 70 -> Item 307 - Runtime code - - Refers to item: Function "" (location: source ID 113, line 34, chars 1557-1610, hits: 47) -- IC 70 -> Item 278 + - Refers to item: Function "" (location: source ID 113, line 34, chars 1557-1610, hits: 108) +- IC 70 -> Item 308 - Runtime code - - Refers to item: Line (location: source ID 113, line 35, chars 1581-1603, hits: 47) -- IC 70 -> Item 279 + - Refers to item: Line (location: source ID 113, line 35, chars 1581-1603, hits: 108) +- IC 70 -> Item 309 - Runtime code - - Refers to item: Statement (location: source ID 113, line 35, chars 1581-1603, hits: 47) -- IC 669 -> Item 263 + - Refers to item: Statement (location: source ID 113, line 35, chars 1581-1603, hits: 108) +- IC 669 -> Item 62 - Creation code - - Refers to item: Function "initializeV2" (location: source ID 121, line 14, chars 435-701, hits: 1) -- IC 2831 -> Item 264 + - Refers to item: Function "initializeV2" (location: source ID 122, line 14, chars 435-701, hits: 1) +- IC 2831 -> Item 63 - Creation code - - Refers to item: Line (location: source ID 121, line 15, chars 527-562, hits: 1) -- IC 2831 -> Item 265 + - Refers to item: Line (location: source ID 122, line 15, chars 527-562, hits: 1) +- IC 2831 -> Item 64 - Creation code - - Refers to item: Statement (location: source ID 121, line 15, chars 527-562, hits: 1) -- IC 2874 -> Item 266 + - Refers to item: Statement (location: source ID 122, line 15, chars 527-562, hits: 1) +- IC 2874 -> Item 65 - Creation code - - Refers to item: Line (location: source ID 121, line 16, chars 572-592, hits: 1) -- IC 2874 -> Item 267 + - Refers to item: Line (location: source ID 122, line 16, chars 572-592, hits: 1) +- IC 2874 -> Item 66 - Creation code - - Refers to item: Statement (location: source ID 121, line 16, chars 572-592, hits: 1) -- IC 2938 -> Item 268 + - Refers to item: Statement (location: source ID 122, line 16, chars 572-592, hits: 1) +- IC 2938 -> Item 67 - Creation code - - Refers to item: Line (location: source ID 121, line 19, chars 654-694, hits: 1) -- IC 2938 -> Item 269 + - Refers to item: Line (location: source ID 122, line 19, chars 654-694, hits: 1) +- IC 2938 -> Item 68 - Creation code - - Refers to item: Statement (location: source ID 121, line 19, chars 654-694, hits: 1) -- IC 2249 -> Item 270 + - Refers to item: Statement (location: source ID 122, line 19, chars 654-694, hits: 1) +- IC 2249 -> Item 69 - Creation code - - Refers to item: Function "setTreasury" (location: source ID 121, line 27, chars 900-1013, hits: 0) -- IC 5999 -> Item 271 + - Refers to item: Function "setTreasury" (location: source ID 122, line 27, chars 900-1013, hits: 0) +- IC 5999 -> Item 70 - Creation code - - Refers to item: Line (location: source ID 121, line 28, chars 983-1006, hits: 0) -- IC 5999 -> Item 272 + - Refers to item: Line (location: source ID 122, line 28, chars 983-1006, hits: 0) +- IC 5999 -> Item 71 - Creation code - - Refers to item: Statement (location: source ID 121, line 28, chars 983-1006, hits: 0) -- IC 1188 -> Item 273 + - Refers to item: Statement (location: source ID 122, line 28, chars 983-1006, hits: 0) +- IC 1188 -> Item 72 - Creation code - - Refers to item: Function "getTreasury" (location: source ID 121, line 35, chars 1135-1221, hits: 1) -- IC 3470 -> Item 274 + - Refers to item: Function "getTreasury" (location: source ID 122, line 35, chars 1135-1221, hits: 1) +- IC 3470 -> Item 73 - Creation code - - Refers to item: Line (location: source ID 121, line 36, chars 1198-1214, hits: 1) -- IC 3470 -> Item 275 + - Refers to item: Line (location: source ID 122, line 36, chars 1198-1214, hits: 1) +- IC 3470 -> Item 74 - Creation code - - Refers to item: Statement (location: source ID 121, line 36, chars 1198-1214, hits: 1) -- IC 1936 -> Item 280 + - Refers to item: Statement (location: source ID 122, line 36, chars 1198-1214, hits: 1) +- IC 1936 -> Item 310 - Creation code - - Refers to item: Function "initialize" (location: source ID 113, line 38, chars 1616-2352, hits: 46) -- IC 4893 -> Item 281 + - Refers to item: Function "initialize" (location: source ID 113, line 38, chars 1616-2352, hits: 107) +- IC 4893 -> Item 311 - Creation code - - Refers to item: Line (location: source ID 113, line 47, chars 1861-1887, hits: 46) -- IC 4893 -> Item 282 + - Refers to item: Line (location: source ID 113, line 47, chars 1861-1887, hits: 107) +- IC 4893 -> Item 312 - Creation code - - Refers to item: Statement (location: source ID 113, line 47, chars 1861-1887, hits: 46) -- IC 4945 -> Item 283 + - Refers to item: Statement (location: source ID 113, line 47, chars 1861-1887, hits: 107) +- IC 4945 -> Item 313 - Creation code - - Refers to item: Branch (branch: 0, path: 0) (location: source ID 113, line 47, chars 1889-1922, hits: 0) -- IC 4945 -> Item 284 + - Refers to item: Branch (branch: 0, path: 0) (location: source ID 113, line 47, chars 1889-1922, hits: 1) +- IC 4945 -> Item 314 - Creation code - - Refers to item: Statement (location: source ID 113, line 47, chars 1889-1922, hits: 0) -- IC 4995 -> Item 285 + - Refers to item: Statement (location: source ID 113, line 47, chars 1889-1922, hits: 1) +- IC 4995 -> Item 315 - Creation code - - Refers to item: Line (location: source ID 113, line 48, chars 1932-1958, hits: 46) -- IC 4995 -> Item 286 + - Refers to item: Line (location: source ID 113, line 48, chars 1932-1958, hits: 106) +- IC 4995 -> Item 316 - Creation code - - Refers to item: Statement (location: source ID 113, line 48, chars 1932-1958, hits: 46) -- IC 5005 -> Item 287 + - Refers to item: Statement (location: source ID 113, line 48, chars 1932-1958, hits: 106) +- IC 5005 -> Item 317 - Creation code - - Refers to item: Line (location: source ID 113, line 49, chars 1968-1990, hits: 46) -- IC 5005 -> Item 288 + - Refers to item: Line (location: source ID 113, line 49, chars 1968-1990, hits: 106) +- IC 5005 -> Item 318 - Creation code - - Refers to item: Statement (location: source ID 113, line 49, chars 1968-1990, hits: 46) -- IC 5013 -> Item 289 + - Refers to item: Statement (location: source ID 113, line 49, chars 1968-1990, hits: 106) +- IC 5013 -> Item 319 - Creation code - - Refers to item: Line (location: source ID 113, line 50, chars 2000-2022, hits: 46) -- IC 5013 -> Item 290 + - Refers to item: Line (location: source ID 113, line 50, chars 2000-2022, hits: 106) +- IC 5013 -> Item 320 - Creation code - - Refers to item: Statement (location: source ID 113, line 50, chars 2000-2022, hits: 46) -- IC 5021 -> Item 291 + - Refers to item: Statement (location: source ID 113, line 50, chars 2000-2022, hits: 106) +- IC 5021 -> Item 321 - Creation code - - Refers to item: Line (location: source ID 113, line 51, chars 2032-2054, hits: 46) -- IC 5021 -> Item 292 + - Refers to item: Line (location: source ID 113, line 51, chars 2032-2054, hits: 106) +- IC 5021 -> Item 322 - Creation code - - Refers to item: Statement (location: source ID 113, line 51, chars 2032-2054, hits: 46) -- IC 5029 -> Item 293 + - Refers to item: Statement (location: source ID 113, line 51, chars 2032-2054, hits: 106) +- IC 5029 -> Item 323 - Creation code - - Refers to item: Line (location: source ID 113, line 52, chars 2064-2088, hits: 46) -- IC 5029 -> Item 294 + - Refers to item: Line (location: source ID 113, line 52, chars 2064-2088, hits: 106) +- IC 5029 -> Item 324 - Creation code - - Refers to item: Statement (location: source ID 113, line 52, chars 2064-2088, hits: 46) -- IC 5038 -> Item 295 + - Refers to item: Statement (location: source ID 113, line 52, chars 2064-2088, hits: 106) +- IC 5038 -> Item 325 - Creation code - - Refers to item: Line (location: source ID 113, line 53, chars 2098-2122, hits: 46) -- IC 5038 -> Item 296 + - Refers to item: Line (location: source ID 113, line 53, chars 2098-2122, hits: 106) +- IC 5038 -> Item 326 - Creation code - - Refers to item: Statement (location: source ID 113, line 53, chars 2098-2122, hits: 46) -- IC 5046 -> Item 297 + - Refers to item: Statement (location: source ID 113, line 53, chars 2098-2122, hits: 106) +- IC 5046 -> Item 327 - Creation code - - Refers to item: Line (location: source ID 113, line 55, chars 2133-2177, hits: 46) -- IC 5046 -> Item 298 + - Refers to item: Line (location: source ID 113, line 55, chars 2133-2177, hits: 106) +- IC 5046 -> Item 328 - Creation code - - Refers to item: Statement (location: source ID 113, line 55, chars 2133-2177, hits: 46) -- IC 5060 -> Item 299 + - Refers to item: Statement (location: source ID 113, line 55, chars 2133-2177, hits: 106) +- IC 5060 -> Item 329 - Creation code - - Refers to item: Line (location: source ID 113, line 56, chars 2187-2218, hits: 46) -- IC 5060 -> Item 300 + - Refers to item: Line (location: source ID 113, line 56, chars 2187-2218, hits: 106) +- IC 5060 -> Item 330 - Creation code - - Refers to item: Statement (location: source ID 113, line 56, chars 2187-2218, hits: 46) -- IC 5103 -> Item 301 + - Refers to item: Statement (location: source ID 113, line 56, chars 2187-2218, hits: 106) +- IC 5103 -> Item 331 - Creation code - - Refers to item: Line (location: source ID 113, line 57, chars 2228-2259, hits: 46) -- IC 5103 -> Item 302 + - Refers to item: Line (location: source ID 113, line 57, chars 2228-2259, hits: 106) +- IC 5103 -> Item 332 - Creation code - - Refers to item: Statement (location: source ID 113, line 57, chars 2228-2259, hits: 46) -- IC 5146 -> Item 303 + - Refers to item: Statement (location: source ID 113, line 57, chars 2228-2259, hits: 106) +- IC 5146 -> Item 333 - Creation code - - Refers to item: Line (location: source ID 113, line 58, chars 2269-2300, hits: 46) -- IC 5146 -> Item 304 + - Refers to item: Line (location: source ID 113, line 58, chars 2269-2300, hits: 106) +- IC 5146 -> Item 334 - Creation code - - Refers to item: Statement (location: source ID 113, line 58, chars 2269-2300, hits: 46) -- IC 5189 -> Item 305 + - Refers to item: Statement (location: source ID 113, line 58, chars 2269-2300, hits: 106) +- IC 5189 -> Item 335 - Creation code - - Refers to item: Line (location: source ID 113, line 59, chars 2310-2345, hits: 46) -- IC 5189 -> Item 306 + - Refers to item: Line (location: source ID 113, line 59, chars 2310-2345, hits: 106) +- IC 5189 -> Item 336 - Creation code - - Refers to item: Statement (location: source ID 113, line 59, chars 2310-2345, hits: 46) -- IC 1613 -> Item 307 + - Refers to item: Statement (location: source ID 113, line 59, chars 2310-2345, hits: 106) +- IC 1613 -> Item 337 - Creation code - Refers to item: Function "pause" (location: source ID 113, line 62, chars 2358-2429, hits: 1) -- IC 3937 -> Item 308 +- IC 3937 -> Item 338 - Creation code - Refers to item: Line (location: source ID 113, line 63, chars 2414-2422, hits: 1) -- IC 3937 -> Item 309 +- IC 3937 -> Item 339 - Creation code - Refers to item: Statement (location: source ID 113, line 63, chars 2414-2422, hits: 1) -- IC 1231 -> Item 310 +- IC 1231 -> Item 340 - Creation code - Refers to item: Function "unpause" (location: source ID 113, line 66, chars 2435-2510, hits: 1) -- IC 3551 -> Item 311 +- IC 3551 -> Item 341 - Creation code - Refers to item: Line (location: source ID 113, line 67, chars 2493-2503, hits: 1) -- IC 3551 -> Item 312 +- IC 3551 -> Item 342 - Creation code - Refers to item: Statement (location: source ID 113, line 67, chars 2493-2503, hits: 1) -- IC 1254 -> Item 313 +- IC 1254 -> Item 343 - Creation code - - Refers to item: Function "mint" (location: source ID 113, line 70, chars 2516-2621, hits: 120) -- IC 3604 -> Item 314 + - Refers to item: Function "mint" (location: source ID 113, line 70, chars 2516-2621, hits: 8506) +- IC 3604 -> Item 344 - Creation code - - Refers to item: Line (location: source ID 113, line 71, chars 2597-2614, hits: 120) -- IC 3604 -> Item 315 + - Refers to item: Line (location: source ID 113, line 71, chars 2597-2614, hits: 8506) +- IC 3604 -> Item 345 - Creation code - - Refers to item: Statement (location: source ID 113, line 71, chars 2597-2614, hits: 120) -- IC 1020 -> Item 316 + - Refers to item: Statement (location: source ID 113, line 71, chars 2597-2614, hits: 8506) +- IC 1020 -> Item 346 - Creation code - - Refers to item: Function "burnByBurner" (location: source ID 113, line 79, chars 2854-2977, hits: 13) -- IC 3306 -> Item 317 + - Refers to item: Function "burnByBurner" (location: source ID 113, line 79, chars 2854-2977, hits: 16428) +- IC 3306 -> Item 347 - Creation code - - Refers to item: Line (location: source ID 113, line 80, chars 2948-2970, hits: 11) -- IC 3306 -> Item 318 + - Refers to item: Line (location: source ID 113, line 80, chars 2948-2970, hits: 16426) +- IC 3306 -> Item 348 - Creation code - - Refers to item: Statement (location: source ID 113, line 80, chars 2948-2970, hits: 11) -- IC 7900 -> Item 319 + - Refers to item: Statement (location: source ID 113, line 80, chars 2948-2970, hits: 16426) +- IC 7900 -> Item 349 - Creation code - Refers to item: Function "_authorizeUpgrade" (location: source ID 113, line 83, chars 2983-3081, hits: 1) -- IC 9776 -> Item 320 +- IC 9776 -> Item 350 - Creation code - - Refers to item: Function "_update" (location: source ID 113, line 86, chars 3154-3341, hits: 138) -- IC 9777 -> Item 321 + - Refers to item: Function "_update" (location: source ID 113, line 86, chars 3154-3341, hits: 24939) +- IC 9777 -> Item 351 - Creation code - - Refers to item: Line (location: source ID 113, line 90, chars 3304-3334, hits: 138) -- IC 9777 -> Item 322 + - Refers to item: Line (location: source ID 113, line 90, chars 3304-3334, hits: 24939) +- IC 9777 -> Item 352 - Creation code - - Refers to item: Statement (location: source ID 113, line 90, chars 3304-3334, hits: 138) + - Refers to item: Statement (location: source ID 113, line 90, chars 3304-3334, hits: 24939) -Anchors for Contract "MyGovernor" (solc 0.8.24, source ID 116): -- IC 6 -> Item 343 +Anchors for Contract "ERC20BurnableUpgradeable" (solc 0.8.24, source ID 28): + +Anchors for Contract "IERC1155" (solc 0.8.24, source ID 67): + +Anchors for Contract "ERC1155Burnable" (solc 0.8.24, source ID 69): + +Anchors for Contract "AccessControlUpgradeable" (solc 0.8.24, source ID 24): + +Anchors for Contract "EIP712Upgradeable" (solc 0.8.24, source ID 34): + +Anchors for Contract "MockERC721" (solc 0.8.24, source ID 22): + +Anchors for Contract "ERC20PermitUpgradeable" (solc 0.8.24, source ID 30): + +Anchors for Contract "Math" (solc 0.8.24, source ID 94): + +Anchors for Contract "IERC20" (solc 0.8.24, source ID 18): + +Anchors for Contract "IUpgradeableBeacon" (solc 0.8.24, source ID 109): + +Anchors for Contract "GovToken" (solc 0.8.24, source ID 114): +- IC 6 -> Item 230 - Runtime code - - Refers to item: Function "" (location: source ID 116, line 26, chars 957-1209, hits: 0) -- IC 1306 -> Item 344 -- Creation code - - Refers to item: Function "votingDelay" (location: source ID 116, line 36, chars 1283-1416, hits: 0) -- IC 4745 -> Item 345 -- Creation code - - Refers to item: Line (location: source ID 116, line 37, chars 1383-1409, hits: 0) -- IC 4745 -> Item 346 -- Creation code - - Refers to item: Statement (location: source ID 116, line 37, chars 1383-1409, hits: 0) -- IC 4745 -> Item 347 -- Creation code - - Refers to item: Statement (location: source ID 116, line 37, chars 1390-1409, hits: 0) -- IC 844 -> Item 348 -- Creation code - - Refers to item: Function "votingPeriod" (location: source ID 116, line 40, chars 1422-1557, hits: 0) -- IC 3547 -> Item 349 -- Creation code - - Refers to item: Line (location: source ID 116, line 41, chars 1523-1550, hits: 0) -- IC 3547 -> Item 350 -- Creation code - - Refers to item: Statement (location: source ID 116, line 41, chars 1523-1550, hits: 0) -- IC 3547 -> Item 351 -- Creation code - - Refers to item: Statement (location: source ID 116, line 41, chars 1530-1550, hits: 0) -- IC 3199 -> Item 352 + - Refers to item: Function "" (location: source ID 114, line 27, chars 1397-1955, hits: 110) +- IC 330 -> Item 231 +- Runtime code + - Refers to item: Line (location: source ID 114, line 35, chars 1640-1666, hits: 110) +- IC 330 -> Item 232 +- Runtime code + - Refers to item: Statement (location: source ID 114, line 35, chars 1640-1666, hits: 110) +- IC 383 -> Item 233 +- Runtime code + - Refers to item: Branch (branch: 0, path: 0) (location: source ID 114, line 35, chars 1668-1701, hits: 1) +- IC 383 -> Item 234 +- Runtime code + - Refers to item: Statement (location: source ID 114, line 35, chars 1668-1701, hits: 1) +- IC 433 -> Item 235 +- Runtime code + - Refers to item: Line (location: source ID 114, line 37, chars 1712-1756, hits: 109) +- IC 433 -> Item 236 +- Runtime code + - Refers to item: Statement (location: source ID 114, line 37, chars 1712-1756, hits: 109) +- IC 455 -> Item 237 +- Runtime code + - Refers to item: Line (location: source ID 114, line 38, chars 1766-1797, hits: 109) +- IC 455 -> Item 238 +- Runtime code + - Refers to item: Statement (location: source ID 114, line 38, chars 1766-1797, hits: 109) +- IC 506 -> Item 239 +- Runtime code + - Refers to item: Line (location: source ID 114, line 39, chars 1807-1838, hits: 109) +- IC 506 -> Item 240 +- Runtime code + - Refers to item: Statement (location: source ID 114, line 39, chars 1807-1838, hits: 109) +- IC 557 -> Item 241 +- Runtime code + - Refers to item: Line (location: source ID 114, line 40, chars 1848-1879, hits: 109) +- IC 557 -> Item 242 +- Runtime code + - Refers to item: Statement (location: source ID 114, line 40, chars 1848-1879, hits: 109) +- IC 608 -> Item 243 +- Runtime code + - Refers to item: Line (location: source ID 114, line 41, chars 1889-1948, hits: 109) +- IC 608 -> Item 244 +- Runtime code + - Refers to item: Statement (location: source ID 114, line 41, chars 1889-1948, hits: 109) +- IC 8291 -> Item 245 - Creation code - - Refers to item: Function "quorum" (location: source ID 116, line 44, chars 1563-1763, hits: 0) -- IC 8034 -> Item 353 + - Refers to item: Function "_update" (location: source ID 114, line 49, chars 2232-2564, hits: 16563) +- IC 8292 -> Item 246 - Creation code - - Refers to item: Line (location: source ID 116, line 50, chars 1724-1756, hits: 0) -- IC 8034 -> Item 354 + - Refers to item: Line (location: source ID 114, line 52, chars 2421-2459, hits: 16563) +- IC 8292 -> Item 247 - Creation code - - Refers to item: Statement (location: source ID 116, line 50, chars 1724-1756, hits: 0) -- IC 8034 -> Item 355 + - Refers to item: Statement (location: source ID 114, line 52, chars 2421-2459, hits: 16563) +- IC 8292 -> Item 248 - Creation code - - Refers to item: Statement (location: source ID 116, line 50, chars 1731-1756, hits: 0) -- IC 1349 -> Item 356 + - Refers to item: Statement (location: source ID 114, line 52, chars 2421-2439, hits: 16563) +- IC 8348 -> Item 249 - Creation code - - Refers to item: Function "state" (location: source ID 116, line 53, chars 1769-1967, hits: 0) -- IC 4760 -> Item 357 + - Refers to item: Statement (location: source ID 114, line 52, chars 2443-2459, hits: 9) +- IC 8403 -> Item 250 - Creation code - - Refers to item: Line (location: source ID 116, line 59, chars 1930-1960, hits: 0) -- IC 4760 -> Item 358 + - Refers to item: Branch (branch: 1, path: 0) (location: source ID 114, line 52, chars 2461-2518, hits: 4) +- IC 8403 -> Item 251 - Creation code - - Refers to item: Statement (location: source ID 116, line 59, chars 1930-1960, hits: 0) -- IC 4760 -> Item 359 + - Refers to item: Line (location: source ID 114, line 53, chars 2475-2507, hits: 4) +- IC 8403 -> Item 252 - Creation code - - Refers to item: Statement (location: source ID 116, line 59, chars 1937-1960, hits: 0) -- IC 2490 -> Item 360 + - Refers to item: Statement (location: source ID 114, line 53, chars 2475-2507, hits: 4) +- IC 8453 -> Item 253 - Creation code - - Refers to item: Function "proposalNeedsQueuing" (location: source ID 116, line 62, chars 1973-2192, hits: 0) -- IC 7164 -> Item 361 + - Refers to item: Line (location: source ID 114, line 55, chars 2527-2557, hits: 16559) +- IC 8453 -> Item 254 - Creation code - - Refers to item: Line (location: source ID 116, line 68, chars 2140-2185, hits: 0) -- IC 7164 -> Item 362 + - Refers to item: Statement (location: source ID 114, line 55, chars 2527-2557, hits: 16559) +- IC 936 -> Item 255 - Creation code - - Refers to item: Statement (location: source ID 116, line 68, chars 2140-2185, hits: 0) -- IC 7164 -> Item 363 + - Refers to item: Function "burnByBurner" (location: source ID 114, line 65, chars 2920-3043, hits: 7) +- IC 2549 -> Item 256 - Creation code - - Refers to item: Statement (location: source ID 116, line 68, chars 2147-2185, hits: 0) -- IC 2612 -> Item 364 + - Refers to item: Line (location: source ID 114, line 66, chars 3014-3036, hits: 5) +- IC 2549 -> Item 257 - Creation code - - Refers to item: Function "proposalThreshold" (location: source ID 116, line 71, chars 2198-2343, hits: 0) -- IC 7240 -> Item 365 + - Refers to item: Statement (location: source ID 114, line 66, chars 3014-3036, hits: 5) +- IC 1100 -> Item 258 - Creation code - - Refers to item: Line (location: source ID 116, line 72, chars 2304-2336, hits: 0) -- IC 7240 -> Item 366 + - Refers to item: Function "mint" (location: source ID 114, line 69, chars 3049-3154, hits: 16556) +- IC 2970 -> Item 259 - Creation code - - Refers to item: Statement (location: source ID 116, line 72, chars 2304-2336, hits: 0) -- IC 7240 -> Item 367 + - Refers to item: Line (location: source ID 114, line 70, chars 3130-3147, hits: 16554) +- IC 2970 -> Item 260 - Creation code - - Refers to item: Statement (location: source ID 116, line 72, chars 2311-2336, hits: 0) -- IC 8858 -> Item 368 + - Refers to item: Statement (location: source ID 114, line 70, chars 3130-3147, hits: 16554) +- IC 1752 -> Item 261 - Creation code - - Refers to item: Function "_queueOperations" (location: source ID 116, line 75, chars 2349-2716, hits: 0) -- IC 8861 -> Item 369 + - Refers to item: Function "setBurnedAmountOfUtilToken" (location: source ID 114, line 79, chars 3440-3691, hits: 16429) +- IC 4115 -> Item 262 - Creation code - - Refers to item: Line (location: source ID 116, line 82, chars 2623-2709, hits: 0) -- IC 8861 -> Item 370 + - Refers to item: Line (location: source ID 114, line 83, chars 3585-3626, hits: 16427) +- IC 4115 -> Item 263 - Creation code - - Refers to item: Statement (location: source ID 116, line 82, chars 2623-2709, hits: 0) -- IC 8861 -> Item 371 + - Refers to item: Statement (location: source ID 114, line 83, chars 3585-3626, hits: 16427) +- IC 4183 -> Item 264 - Creation code - - Refers to item: Statement (location: source ID 116, line 82, chars 2630-2709, hits: 0) -- IC 9178 -> Item 372 + - Refers to item: Line (location: source ID 114, line 84, chars 3636-3684, hits: 16427) +- IC 4183 -> Item 265 - Creation code - - Refers to item: Function "_executeOperations" (location: source ID 116, line 85, chars 2722-3069, hits: 0) -- IC 9179 -> Item 373 + - Refers to item: Statement (location: source ID 114, line 84, chars 3636-3684, hits: 16427) +- IC 1566 -> Item 266 - Creation code - - Refers to item: Line (location: source ID 116, line 92, chars 2981-3062, hits: 0) -- IC 9179 -> Item 374 + - Refers to item: Function "clock" (location: source ID 114, line 87, chars 3697-3799, hits: 2) +- IC 3771 -> Item 267 - Creation code - - Refers to item: Statement (location: source ID 116, line 92, chars 2981-3062, hits: 0) -- IC 9924 -> Item 375 + - Refers to item: Line (location: source ID 114, line 88, chars 3762-3792, hits: 16561) +- IC 3771 -> Item 268 - Creation code - - Refers to item: Function "_cancel" (location: source ID 116, line 95, chars 3075-3385, hits: 0) -- IC 9927 -> Item 376 + - Refers to item: Statement (location: source ID 114, line 88, chars 3762-3792, hits: 16561) +- IC 1156 -> Item 269 - Creation code - - Refers to item: Line (location: source ID 116, line 101, chars 3313-3378, hits: 0) -- IC 9927 -> Item 377 + - Refers to item: Function "CLOCK_MODE" (location: source ID 114, line 92, chars 3858-3965, hits: 1) +- IC 3007 -> Item 270 - Creation code - - Refers to item: Statement (location: source ID 116, line 101, chars 3313-3378, hits: 0) -- IC 9927 -> Item 378 + - Refers to item: Line (location: source ID 114, line 93, chars 3935-3958, hits: 1) +- IC 3007 -> Item 271 - Creation code - - Refers to item: Statement (location: source ID 116, line 101, chars 3320-3378, hits: 0) -- IC 3303 -> Item 379 + - Refers to item: Statement (location: source ID 114, line 93, chars 3935-3958, hits: 1) +- IC 1386 -> Item 272 - Creation code - - Refers to item: Function "_executor" (location: source ID 116, line 104, chars 3391-3568, hits: 0) -- IC 3306 -> Item 380 + - Refers to item: Function "nonces" (location: source ID 114, line 96, chars 3971-4105, hits: 3) +- IC 3321 -> Item 273 - Creation code - - Refers to item: Line (location: source ID 116, line 105, chars 3498-3522, hits: 0) -- IC 3306 -> Item 381 + - Refers to item: Line (location: source ID 114, line 97, chars 4072-4098, hits: 3) +- IC 3321 -> Item 274 - Creation code - - Refers to item: Statement (location: source ID 116, line 105, chars 3498-3522, hits: 0) -- IC 3306 -> Item 382 + - Refers to item: Statement (location: source ID 114, line 97, chars 4072-4098, hits: 3) +- IC 3321 -> Item 275 - Creation code - - Refers to item: Statement (location: source ID 116, line 105, chars 3505-3522, hits: 0) - -Anchors for Contract "IBeacon" (solc 0.8.24, source ID 62): - -Anchors for Contract "ERC20Votes" (solc 0.8.24, source ID 76): - -Anchors for Contract "IAccessControl" (solc 0.8.24, source ID 36): - -Anchors for Contract "ERC1155" (solc 0.8.24, source ID 66): + - Refers to item: Statement (location: source ID 114, line 97, chars 4079-4098, hits: 3) -Anchors for Contract "IVotes" (solc 0.8.24, source ID 48): - -Anchors for Contract "IERC721Receiver" (solc 0.8.24, source ID 79): - -Anchors for Contract "IERC721TokenReceiver" (solc 0.8.24, source ID 19): - -Anchors for Contract "Checkpoints" (solc 0.8.24, source ID 97): - -Anchors for Contract "MockERC721" (solc 0.8.24, source ID 22): - -Anchors for Contract "StdUtils" (solc 0.8.24, source ID 12): - -Anchors for Contract "Governor" (solc 0.8.24, source ID 40): - -Anchors for Contract "ERC165Upgradeable" (solc 0.8.24, source ID 35): +Anchors for Contract "IERC20Errors" (solc 0.8.24, source ID 57): diff --git a/lcov.info b/lcov.info index 3b09204..0c9325e 100644 --- a/lcov.info +++ b/lcov.info @@ -1,12 +1,12 @@ TN: SF:script/DeployContracts.s.sol FN:48,DeployContracts.run -FNDA:34,DeployContracts.run -DA:50,34 -BRDA:50,0,0,34 +FNDA:93,DeployContracts.run +DA:50,93 +BRDA:50,0,0,93 BRDA:50,0,1,- -DA:51,34 -DA:52,34 +DA:51,93 +DA:52,93 DA:53,0 BRDA:53,1,0,- BRDA:53,1,1,- @@ -16,26 +16,26 @@ DA:69,0 BRDA:69,2,0,- DA:70,0 DA:72,0 -DA:87,34 +DA:87,93 FN:91,DeployContracts.deploymentsOnLocalNetwork FNDA:0,DeployContracts.deploymentsOnLocalNetwork -DA:92,34 -DA:93,34 -DA:94,34 -DA:95,34 -DA:96,34 -DA:97,34 -DA:108,34 -DA:109,34 -DA:116,34 -DA:119,34 -DA:122,34 -DA:125,34 -DA:127,34 -DA:129,34 -DA:131,34 -DA:132,34 -DA:134,34 +DA:92,93 +DA:93,93 +DA:94,93 +DA:95,93 +DA:96,93 +DA:97,93 +DA:108,93 +DA:109,93 +DA:116,93 +DA:119,93 +DA:122,93 +DA:125,93 +DA:127,93 +DA:129,93 +DA:131,93 +DA:132,93 +DA:134,93 FNF:2 FNH:1 LF:27 @@ -78,23 +78,23 @@ end_of_record TN: SF:src/ERC20UpgradeableTokenV1.sol FN:34,ERC20UpgradeableTokenV1. -FNDA:47,ERC20UpgradeableTokenV1. -DA:35,47 +FNDA:106,ERC20UpgradeableTokenV1. +DA:35,106 FN:38,ERC20UpgradeableTokenV1.initialize -FNDA:46,ERC20UpgradeableTokenV1.initialize -DA:47,46 +FNDA:105,ERC20UpgradeableTokenV1.initialize +DA:47,105 BRDA:47,0,0,- -DA:48,46 -DA:49,46 -DA:50,46 -DA:51,46 -DA:52,46 -DA:53,46 -DA:55,46 -DA:56,46 -DA:57,46 -DA:58,46 -DA:59,46 +DA:48,105 +DA:49,105 +DA:50,105 +DA:51,105 +DA:52,105 +DA:53,105 +DA:55,105 +DA:56,105 +DA:57,105 +DA:58,105 +DA:59,105 FN:62,ERC20UpgradeableTokenV1.pause FNDA:1,ERC20UpgradeableTokenV1.pause DA:63,1 @@ -102,16 +102,16 @@ FN:66,ERC20UpgradeableTokenV1.unpause FNDA:1,ERC20UpgradeableTokenV1.unpause DA:67,1 FN:70,ERC20UpgradeableTokenV1.mint -FNDA:120,ERC20UpgradeableTokenV1.mint -DA:71,120 +FNDA:8505,ERC20UpgradeableTokenV1.mint +DA:71,8505 FN:79,ERC20UpgradeableTokenV1.burnByBurner -FNDA:13,ERC20UpgradeableTokenV1.burnByBurner -DA:80,11 +FNDA:16428,ERC20UpgradeableTokenV1.burnByBurner +DA:80,16426 FN:83,ERC20UpgradeableTokenV1._authorizeUpgrade FNDA:1,ERC20UpgradeableTokenV1._authorizeUpgrade FN:86,ERC20UpgradeableTokenV1._update -FNDA:138,ERC20UpgradeableTokenV1._update -DA:90,138 +FNDA:24938,ERC20UpgradeableTokenV1._update +DA:90,24938 FNF:8 FNH:8 LF:18 @@ -122,33 +122,33 @@ end_of_record TN: SF:src/GovToken.sol FN:27,GovToken. -FNDA:46,GovToken. -DA:35,46 +FNDA:105,GovToken. +DA:35,105 BRDA:35,0,0,- -DA:37,46 -DA:38,46 -DA:39,46 -DA:40,46 -DA:41,46 +DA:37,105 +DA:38,105 +DA:39,105 +DA:40,105 +DA:41,105 FN:49,GovToken._update -FNDA:81,GovToken._update -DA:52,81 +FNDA:16555,GovToken._update +DA:52,16555 BRDA:52,1,0,4 DA:53,4 -DA:55,77 +DA:55,16551 FN:65,GovToken.burnByBurner FNDA:7,GovToken.burnByBurner DA:66,5 FN:69,GovToken.mint -FNDA:74,GovToken.mint -DA:70,72 +FNDA:16548,GovToken.mint +DA:70,16546 FN:79,GovToken.setBurnedAmountOfUtilToken -FNDA:14,GovToken.setBurnedAmountOfUtilToken -DA:83,12 -DA:84,12 +FNDA:16429,GovToken.setBurnedAmountOfUtilToken +DA:83,16427 +DA:84,16427 FN:87,GovToken.clock FNDA:0,GovToken.clock -DA:88,77 +DA:88,16551 FN:92,GovToken.CLOCK_MODE FNDA:0,GovToken.CLOCK_MODE DA:93,0 @@ -217,82 +217,82 @@ end_of_record TN: SF:src/VotingPowerExchange.sol FN:66,VotingPowerExchange. -FNDA:49,VotingPowerExchange. -DA:69,49 +FNDA:108,VotingPowerExchange. +DA:69,108 BRDA:69,0,0,2 -DA:70,47 +DA:70,106 BRDA:70,1,0,2 DA:71,2 -DA:74,45 -DA:75,45 -DA:76,45 -DA:77,45 -DA:78,45 -DA:79,45 +DA:74,104 +DA:75,104 +DA:76,104 +DA:77,104 +DA:78,104 +DA:79,104 FN:98,VotingPowerExchange.exchange -FNDA:16,VotingPowerExchange.exchange -DA:102,16 +FNDA:36947,VotingPowerExchange.exchange +DA:102,32843 BRDA:102,2,0,1 -DA:103,15 -BRDA:103,3,0,1 -DA:104,14 -BRDA:104,4,0,1 -DA:105,13 -BRDA:105,5,0,1 -DA:107,12 -DA:108,12 +DA:103,32842 +BRDA:103,3,0,4101 +DA:104,28741 +BRDA:104,4,0,4105 +DA:105,24636 +BRDA:105,5,0,4105 +DA:107,20531 +DA:108,20531 BRDA:108,6,0,2 DA:109,2 -DA:113,10 -DA:114,10 -BRDA:114,7,0,2 -DA:115,2 -DA:119,8 -DA:121,8 -DA:125,8 -DA:127,8 -DA:129,8 +DA:113,20529 +DA:114,20529 +BRDA:114,7,0,4106 +DA:115,4106 +DA:119,16423 +DA:121,16423 +DA:125,16423 +DA:127,16423 +DA:129,16423 BRDA:129,8,0,1 DA:131,1 DA:133,1 -DA:137,8 -DA:140,8 -DA:143,8 -DA:144,8 +DA:137,16423 +DA:140,16423 +DA:143,16423 +DA:144,16423 FN:152,VotingPowerExchange.setVotingPowerCap -FNDA:4,VotingPowerExchange.setVotingPowerCap -DA:153,3 -BRDA:153,9,0,2 -DA:154,1 +FNDA:16412,VotingPowerExchange.setVotingPowerCap +DA:153,12307 +BRDA:153,9,0,4102 +DA:154,8205 FN:160,VotingPowerExchange.authorizationState FNDA:8,VotingPowerExchange.authorizationState -DA:161,22 +DA:161,28749 FN:172,VotingPowerExchange._setVotingPowerCap -FNDA:46,VotingPowerExchange._setVotingPowerCap -DA:173,46 -DA:174,46 +FNDA:8309,VotingPowerExchange._setVotingPowerCap +DA:173,8309 +DA:174,8309 FN:187,VotingPowerExchange.calculateIncrementedVotingPower -FNDA:26,VotingPowerExchange.calculateIncrementedVotingPower -DA:192,34 -DA:193,34 +FNDA:65689,VotingPowerExchange.calculateIncrementedVotingPower +DA:192,82112 +DA:193,82112 FN:204,VotingPowerExchange.calculateVotingPowerFromBurnedAmount -FNDA:117,VotingPowerExchange.calculateVotingPowerFromBurnedAmount -DA:206,185 -DA:208,185 -DA:210,185 -DA:211,185 +FNDA:49365,VotingPowerExchange.calculateVotingPowerFromBurnedAmount +DA:206,213589 +DA:208,213589 +DA:210,213589 +DA:211,213589 FN:221,VotingPowerExchange.calculateIncrementedBurningAmount -FNDA:26,VotingPowerExchange.calculateIncrementedBurningAmount -DA:226,27 -DA:227,27 +FNDA:45170,VotingPowerExchange.calculateIncrementedBurningAmount +DA:226,45171 +DA:227,45171 FN:236,VotingPowerExchange.calculateBurningAmountFromVotingPower -FNDA:100,VotingPowerExchange.calculateBurningAmountFromVotingPower -DA:238,154 -DA:239,154 -DA:240,154 +FNDA:49348,VotingPowerExchange.calculateBurningAmountFromVotingPower +DA:238,139690 +DA:239,139690 +DA:240,139690 FN:247,VotingPowerExchange.getVotingPowerCap -FNDA:4,VotingPowerExchange.getVotingPowerCap -DA:248,4 +FNDA:12304,VotingPowerExchange.getVotingPowerCap +DA:248,12304 FN:255,VotingPowerExchange.getConstants FNDA:1,VotingPowerExchange.getConstants DA:260,1 @@ -313,18 +313,23 @@ end_of_record TN: SF:test/integration/utils/VotingPowerExchangeTestHelper.t.sol FN:15,VotingPowerExchangeTestHelper.generateSignatureFromPrivateKey -FNDA:15,VotingPowerExchangeTestHelper.generateSignatureFromPrivateKey -DA:22,15 -DA:23,15 -DA:24,15 -DA:26,15 -DA:36,15 -DA:38,15 -DA:40,15 -FNF:1 -FNH:1 -LF:7 -LH:7 +FNDA:36946,VotingPowerExchangeTestHelper.generateSignatureFromPrivateKey +DA:22,36946 +DA:23,36946 +DA:24,36946 +DA:26,36946 +DA:36,36946 +DA:38,36946 +DA:40,36946 +FN:51,VotingPowerExchangeTestHelper.createDigest +FNDA:4104,VotingPowerExchangeTestHelper.createDigest +DA:56,4104 +DA:57,4104 +DA:66,4104 +FNF:2 +FNH:2 +LF:10 +LH:10 BRF:0 BRH:0 end_of_record diff --git a/src/AmbassadorNft.sol b/src/AmbassadorNft.sol index 3c26702..0e2d341 100644 --- a/src/AmbassadorNft.sol +++ b/src/AmbassadorNft.sol @@ -70,7 +70,12 @@ contract AmbassadorNft is ERC1155, AccessControl, ERC1155Burnable { } /// @notice Batch burning is not supported. - function burnBatch(address account, uint256[] memory ids, uint256[] memory values) public virtual override onlyRole(BURNER_ROLE) { + function burnBatch(address account, uint256[] memory ids, uint256[] memory values) + public + virtual + override + onlyRole(BURNER_ROLE) + { _burnBatch(account, ids, values); } diff --git a/test/fuzz/FuzzVotingPowerExchange.t.sol b/test/fuzz/FuzzVotingPowerExchange.t.sol index bd1dcd7..0979201 100644 --- a/test/fuzz/FuzzVotingPowerExchange.t.sol +++ b/test/fuzz/FuzzVotingPowerExchange.t.sol @@ -77,9 +77,9 @@ contract VotingPwoerExchangeTest is Test { vm.label(user2, "user2"); } - ////////////////////////////// - ///// exchange functions ///// - ////////////////////////////// + ///////////////////////////// + ///// exchange function ///// + ///////////////////////////// function testExchangeWithAnySenderWhoIsNotTheSignerWillRevert(address anySender) public { vm.assume(anySender != participant2); vm.assume(anySender != address(0)); @@ -848,6 +848,9 @@ contract VotingPwoerExchangeTest is Test { assertTrue(burningAmount <= 925e18); } + //////////////////////////////////////// + /// Preparation internal functions ///// + //////////////////////////////////////// function calculateExpectedBurningAmount(uint256 votingPowerAmount) internal pure returns (uint256) { uint256 term = 15 * (votingPowerAmount * votingPowerAmount) / 1e18 + 35 * votingPowerAmount; return term / 2; diff --git a/test/integration/VotingPowerExchange.t.sol b/test/integration/VotingPowerExchange.t.sol index 4eb694a..98141af 100644 --- a/test/integration/VotingPowerExchange.t.sol +++ b/test/integration/VotingPowerExchange.t.sol @@ -12,7 +12,7 @@ import {VotingPowerExchange} from "src/VotingPowerExchange.sol"; import {VotingPowerExchangeTestHelper} from "./utils/VotingPowerExchangeTestHelper.t.sol"; import {MessageHashUtils} from "lib/openzeppelin-contracts/contracts/utils/cryptography/MessageHashUtils.sol"; -contract VotingPwoerExchangeTest is Test { +contract VotingPowerExchangeTest is Test { // instances GovToken public govToken; ERC20UpgradeableTokenV1 public utilityToken; @@ -611,7 +611,7 @@ contract VotingPwoerExchangeTest is Test { vm.stopPrank(); } - function testExchangeFailCaseWhenSginatureExpired() public { + function testExchangeFailCaseWhenSignatureExpired() public { bytes32 nonce = bytes32(0); uint256 expirationTime = 3600; (bytes memory signature,) = helper.generateSignatureFromPrivateKey( @@ -680,6 +680,9 @@ contract VotingPwoerExchangeTest is Test { vm.stopPrank(); } + ////////////////////////////////////////// + ///// Preparation internal functions ///// + ////////////////////////////////////////// /** * @dev Creates a digest for EIP-712 * @param sender The address of the sender diff --git a/test/readme.md b/test/readme.md index 5dff39c..a5bc0cc 100644 --- a/test/readme.md +++ b/test/readme.md @@ -2,12 +2,21 @@ We conducted the following categories of tests to ensure the correctness and robustness of the smart contracts we have developed: -1. Unit Tests -2. Integration Tests -3. Fuzz Tests +1. Unit tests +2. Integration tests +3. Fuzz tests We will list up all the test cases we have set up for these categories here. +We've tried our best to cover all the test cases and the test coverage is 100% for each contract we have developed. + +The evidence is the coverage report generated by `forge coverage`. + +Terms: + +- Special cases: test cases which are mostly customized functions +- Normal cases: test cases which are mostly normal ERC standard functions + ## Unit Tests ### AmbassadorNft.t.sol @@ -15,18 +24,30 @@ We will list up all the test cases we have set up for these categories here. This is the NFT contract for the ambassador program. - setUp + - deploy contract and mint some tokens for users + +ERC1155 special test cases + - testTokenRoles +- testConstructorWillRevertIfAdminIsZero - testMintingTokensSuccessfully - testMintingTokenWillFailByNonMinter - testMintingTokenWillSucceedByNewMinter - testBurningTokenSuccessfully - testBurningTokenWillFailByNonBurner - testBurningTokenWillSucceedByNewBurner +- testBurnBatchCanBeCalledByBurner +- testBurnBatchWillFailByNonBurner + +ERC1155 normal test cases + - testSetURI - testSetURIByNonUriSetter - testBalanceOfWorks - testBalanceOfBatchWorks - testTransferWillWork +- testMintBatchWillWork +- testSupportsInterface ### ERC20UpgradeableTokenV1.t.sol @@ -65,10 +86,12 @@ This is the utility token contract. This is the token contract for the governance system. - setUp +- testGovTokenDefaultAdminCannotBeZero +- testClockMode - testTokensAreNotTransferrable -- testTokenMintingCanBeDoneByMinter -- testTokenMintingCannotBeDoneByNonMinter -- testTokenMintingCanBeDoneByNewMinter +- testMintingCanBeDoneByMinter +- testMintingCannotBeDoneByNonMinter +- testMintingCanBeDoneByNewMinter - testBurningCanBeDoneByBurner - testBurningCannotBeDoneByNonBurner - testBurningCanBeDoneByNewBurner @@ -77,17 +100,21 @@ This is the token contract for the governance system. - testSetBurnedAmountOfUtilTokenEvent - testTheRolesOfTheGovToken - testTheTokenInfos +- testNonces +- testClock ## Integration Tests ### VotingPowerExchange.t.sol +This contract is the main contract of this system, so it is tested most heavily this time. + Some basic tests - setUp - testReturnedSetupValues - testTokensAccessRoles -- testVotingPowerExchangeRoles +- testVotingPowerExchangesRoles - testUtilityTokenBasicInfo - testGovTokenBasicInfo - testGovTokenNotBeingTransferrable @@ -98,12 +125,34 @@ Some basic tests Core tests for VotingPowerExchange -- testVotingPowerExchangePausability -- testVotingPowerExchangeCanBeExchanged -- testVotingPowerExchangeCannotBeExchangedByNonExchanger -- testVotingPowerExchangeCannotBeExchangedByNonExchanger -- testVotingPowerExchangeCannotBeExchangedByNonExchanger -- testVotingPowerExchangeCannotBeExchangedByNonExchanger +- testConstructorOfVotingPowerExchange +- testBasicVotingPowerExchangeInfo +- testConstantValues +- testVotingPowerCap +- testSettingVotingPowerCap +- testSettingVotingPowerCapFails +- testSettingVotingPowerCapFailsCase2 +- testCalculationOfIncreasedVotingPowerWhenCurrentIsZero +- testCalculationOfIncreasedVotingPowerWhenCurrentIsNotZero +- testCalculateIncrementedBurningAmountWhenCurrentIsZero +- testCalculateIncrementedBurningAmountWhenCurrentIsNotZero + +Exchange tests + +- testExchangeMediumAmountSuccessCase +- testExchangeSmallAmountSuccessCase +- testExchangeLargeAmountSuccessCase +- testExchangeVotingPowerCapSuccessCase +- testExchangeTwiceToGetToVotingPowerCapSuccessCase +- testExchangeTwiceToCrossVotingPowerCapFailureCase +- testExchangeFailsWhenSenderIsZeroAddress +- testExchangeFailsWhenAmountIsZero +- testExchangeFailCaseWhenAmountIsTooSmall +- testExchangeFailCaseWhenNonceIsUsed +- testExchangeFailCaseWhenSignatureExpired +- testExchangeFailCaseWhenSenderIsNotSigner +- testExchangeFailCaseWhenSignatureIsInvalid +- testExchangeFailCaseWhenUserGotMoreThanVotingPowerCap Preparation internal functions @@ -112,28 +161,91 @@ Preparation internal functions ## Fuzz Tests +- setUp + exchange function -- testExchangeWithDifferentSender -- testExchangeWithDifferentAmount -- testExchangeWithDifferentNonce -- testExchangeWithDifferentExpiration -- testExchangeWithDifferentSignature -- testExchangeWithDifferentVotingPowerCap +- testExchangeWithAnySenderWhoIsNotTheSignerWillRevert +- testExchangeWithAnyAmountLessThan1e18WillRevert +- testExchangeWithAnyAmountWhichIsInRangeWillSucceed +- testExchangeWithAnyAmountWithinNewCapWillSucceed +- testExchangeWithAnyRoleWhoIsNotExchangerWillRevert +- testExchangeWithAnyNonceWhichIsUsedWillRevert +- testExchangeWithAnyExpirationWhichIsExpiredWillRevert +- testExchangeWithAnyExpirationWhichIsNotExpiredWillSucceed other functions - testSetVotingPowerCap +- testSetVotingPowerCap_revertWhenLowerThanExisting +- testSetVotingPowerCap_revertWhenNonManagerCalled + +testing the calculation of voting power token <-> burned token + +Test the `calculateIncrementedVotingPower` function + - testCalculateIncrementedVotingPower -- testCalculateVotingPowerFromBurnedAmount -- testCalculateBurningAmountFromVotingPower -- testCalculateIncrementedBurningAmount +- testCalculateIncrementedVotingPower_0_to_10 +- testCalculateIncrementedVotingPower_10_to_20 +- testCalculateIncrementedVotingPower_20_to_30 +- testCalculateIncrementedVotingPower_30_to_40 +- testCalculateIncrementedVotingPower_40_to_50 +- testCalculateIncrementedVotingPower_50_to_60 +- testCalculateIncrementedVotingPower_60_to_70 +- testCalculateIncrementedVotingPower_70_to_80 +- testCalculateIncrementedVotingPower_80_to_90 +- testCalculateIncrementedVotingPower_90_to_100 +- testCalculateIncrementedVotingPower_100_to_110 +- testCalculateIncrementedVotingPower_10_to_110 +- testFuzzCalculateVotingPowerFromBurnedAmount +- testFuzzCalculateVotingPowerFromBurnedAmount_76750_92675 +- testFuzzCalculateVotingPowerFromBurnedAmount_62325_76750 +- testFuzzCalculateVotingPowerFromBurnedAmount_49400_62325 +- testFuzzCalculateVotingPowerFromBurnedAmount_37975_49400 +- testFuzzCalculateVotingPowerFromBurnedAmount_28050_37975 +- testFuzzCalculateVotingPowerFromBurnedAmount_19625_28050 +- testFuzzCalculateVotingPowerFromBurnedAmount_12700_19625 +- testFuzzCalculateVotingPowerFromBurnedAmount_7275_12700 +- testFuzzCalculateVotingPowerFromBurnedAmount_3350_7275 +- testFuzzCalculateVotingPowerFromBurnedAmount_925_3350 +- testFuzzCalculateVotingPowerFromBurnedAmount_0_925 +- testFuzzCalculateIncrementedBurningAmount_0_to_110 +- testFuzzCalculateIncrementedBurningAmount_10_to_110 +- testFuzzCalculateIncrementedBurningAmount_20_to_110 +- testFuzzCalculateIncrementedBurningAmount_30_to_110 +- testFuzzCalculateIncrementedBurningAmount_40_to_110 +- testFuzzCalculateIncrementedBurningAmount_50_to_110 +- testFuzzCalculateIncrementedBurningAmount_60_to_110 +- testFuzzCalculateIncrementedBurningAmount_70_to_110 +- testFuzzCalculateIncrementedBurningAmount_80_to_110 +- testFuzzCalculateIncrementedBurningAmount_90_to_110 +- testFuzzCalculateIncrementedBurningAmount_100_to_110 +- testFuzzCalculateBurningAmountFromVotingPower_0_110 +- testFuzzCalculateBurningAmountFromVotingPower_100_110 +- testFuzzCalculateBurningAmountFromVotingPower_90_100 +- testFuzzCalculateBurningAmountFromVotingPower_80_90 +- testFuzzCalculateBurningAmountFromVotingPower_70_80 +- testFuzzCalculateBurningAmountFromVotingPower_60_70 +- testFuzzCalculateBurningAmountFromVotingPower_50_60 +- testFuzzCalculateBurningAmountFromVotingPower_40_50 +- testFuzzCalculateBurningAmountFromVotingPower_30_40 +- testFuzzCalculateBurningAmountFromVotingPower_20_30 +- testFuzzCalculateBurningAmountFromVotingPower_10_20 +- testFuzzCalculateBurningAmountFromVotingPower_0_10 + +Preparation internal functions + +- calculateExpectedBurningAmount +- calculateExpectedVotingPower ## Coverage -| File | % Lines | % Statements | % Branches | % Funcs | -| --------------------------- | --------------- | --------------- | --------------- | --------------- | -| src/VotingPowerExchange.sol | 100.00% (53/53) | 100.00% (80/80) | 100.00% (10/10) | 100.00% (12/12) | +| File | % Lines | % Statements | % Branches | % Funcs | +| ------------------------------- | --------------- | --------------- | --------------- | --------------- | +| src/AmbassadorNft.sol | 100.00% (10/10) | 100.00% (12/12) | 100.00% (1/1) | 100.00% (6/6) | +| src/ERC20UpgradeableTokenV1.sol | 100.00% (18/18) | 100.00% (19/19) | 100.00% (1/1) | 100.00% (8/8) | +| src/GovToken.sol | 100.00% (16/16) | 100.00% (20/20) | 100.00% (2/2) | 100.00% (8/8) | +| src/VotingPowerExchange.sol | 100.00% (53/53) | 100.00% (80/80) | 100.00% (10/10) | 100.00% (12/12) | # Reference diff --git a/test/unit/AmbassadorNft.t.sol b/test/unit/AmbassadorNft.t.sol index d962fe6..151736f 100644 --- a/test/unit/AmbassadorNft.t.sol +++ b/test/unit/AmbassadorNft.t.sol @@ -240,7 +240,11 @@ contract AmbassadorTest is Test { vm.stopPrank(); // try to call burnBatch vm.startPrank(blackUser); - vm.expectRevert(abi.encodeWithSelector(IAccessControl.AccessControlUnauthorizedAccount.selector, blackUser, ambassadorNft.BURNER_ROLE())); + vm.expectRevert( + abi.encodeWithSelector( + IAccessControl.AccessControlUnauthorizedAccount.selector, blackUser, ambassadorNft.BURNER_ROLE() + ) + ); ambassadorNft.burnBatch(testAccount, ids, burningValues); vm.stopPrank(); } diff --git a/test/unit/ERC20UpgradeableTokenV1.t.sol b/test/unit/ERC20UpgradeableTokenV1.t.sol index 7d347ef..1ee806b 100644 --- a/test/unit/ERC20UpgradeableTokenV1.t.sol +++ b/test/unit/ERC20UpgradeableTokenV1.t.sol @@ -66,6 +66,21 @@ contract ERC20UpgradeableTokenV1Test is Test { //////////////////////////////////////////////////// ///////////// ERC20 SPECIAL TEST CASES ///////////// //////////////////////////////////////////////////// + /// + /// test default admin cannot be zero + /// + function testDefaultAdminCannotBeZero() public { + address implementation2 = address(new ERC20UpgradeableTokenV1()); + vm.expectRevert(ERC20UpgradeableTokenV1.DefaultAdminCannotBeZero.selector); + address proxy2 = UnsafeUpgrades.deployUUPSProxy( + implementation2, + abi.encodeCall( + ERC20UpgradeableTokenV1.initialize, ("AMA coin", "AMA", address(0), pauser, minter, burner, admin) + ) + ); + console.log("Proxy2 deployed at:", proxy2); + } + /// /// test burning the tokens // /// @@ -111,6 +126,9 @@ contract ERC20UpgradeableTokenV1Test is Test { assertEq(token.totalSupply(), 1000 ether); } + /// + /// test roles are set correctly + /// function testRolesAreSetCorrectly() public view { assertEq(token.hasRole(token.DEFAULT_ADMIN_ROLE(), admin), true); assertEq(token.hasRole(token.PAUSER_ROLE(), pauser), true); @@ -132,6 +150,9 @@ contract ERC20UpgradeableTokenV1Test is Test { vm.stopPrank(); } + /// + /// test granting and revoking roles + /// function testGrantingAndRevokingRoles() public { vm.startPrank(admin); token.grantRole(token.PAUSER_ROLE(), user); @@ -150,6 +171,9 @@ contract ERC20UpgradeableTokenV1Test is Test { assertEq(token.allowance(holder, user), 100 ether); } + /// + /// test approving and transferring + /// function testApprovingAndTransferFrom() public { vm.prank(holder); token.approve(user, 100 ether); @@ -161,6 +185,9 @@ contract ERC20UpgradeableTokenV1Test is Test { assertEq(token.allowance(holder, user), 0 ether); } + /// + /// test approving all and transferring from all + /// function testApprovingAllAndTransferFromAll() public { vm.prank(holder); token.approve(user, 1000 ether); @@ -172,7 +199,10 @@ contract ERC20UpgradeableTokenV1Test is Test { assertEq(token.allowance(holder, user), 0 ether); } - function testApprovingAllAndTrasnferFromHalf() public { + /// + /// test approving all and transferring from half + /// + function testApprovingAllAndTransferFromHalf() public { vm.prank(holder); token.approve(user, 1000 ether); vm.prank(user); @@ -183,6 +213,9 @@ contract ERC20UpgradeableTokenV1Test is Test { assertEq(token.allowance(holder, user), 550 ether); } + /// + /// test sending tokens + /// function testSendingTokens() public { vm.prank(minter); token.mint(address(this), 1000); diff --git a/test/unit/GovToken.t.sol b/test/unit/GovToken.t.sol index f2b3fa7..03a5edf 100644 --- a/test/unit/GovToken.t.sol +++ b/test/unit/GovToken.t.sol @@ -9,6 +9,9 @@ import {GovToken} from "src/GovToken.sol"; contract GovTokenTest is Test { // instances GovToken public govToken; + // private key + uint256 public constant DEFAULT_ANVIL_KEY2 = 0x59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d; + address public participant2; // roles address public admin = makeAddr("admin"); @@ -33,11 +36,31 @@ contract GovTokenTest is Test { govToken.mint(user, 100 ether); govToken.mint(user2, 100 ether); vm.stopPrank(); + participant2 = vm.addr(DEFAULT_ANVIL_KEY2); } ///////////////////////////////////////////////// ///////////// ERC20 SPECIAL TEST CASES ////////// ///////////////////////////////////////////////// + /// + /// test if default admin cannot be zero + /// + function testGovTokenDefaultAdminCannotBeZero() public { + vm.expectRevert(GovToken.DefaultAdminCannotBeZero.selector); + GovToken govToken2 = new GovToken("AMA Gov Token", "AGT", address(0), minter, burner, votingPowerExchange); + assertEq(address(govToken2), address(1)); + } + + function testClockMode() public view { + string memory clockMode = govToken.CLOCK_MODE(); + + // check if the clock mode is "mode=timestamp" + assertEq(clockMode, "mode=timestamp", "CLOCK_MODE should return 'mode=timestamp'"); + } + + /// + /// test the token transfer is not allowed + /// function testTokensAreNotTransferrable() public { // check the balance of the user assertEq(govToken.balanceOf(user), 100 ether); @@ -250,4 +273,69 @@ contract GovTokenTest is Test { // check the token decimals assertEq(govToken.decimals(), 18); } + + function testNonces() public { + // nonce should be 0 + assertEq(govToken.nonces(user), 0, "Initial nonce should be 0"); + + // simulate a permit to increase the nonce + uint256 privateKey = DEFAULT_ANVIL_KEY2; + address owner = vm.addr(privateKey); + uint256 deadline = block.timestamp + 1 hours; + + (uint8 v, bytes32 r, bytes32 s) = vm.sign( + privateKey, + keccak256( + abi.encodePacked( + "\x19\x01", + govToken.DOMAIN_SEPARATOR(), + keccak256( + abi.encode( + keccak256( + "Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)" + ), + owner, + address(this), + 1 ether, + 0, + deadline + ) + ) + ) + ) + ); + + govToken.permit(owner, address(this), 1 ether, deadline, v, r, s); + + // check if nonce is incremented after permit + assertEq(govToken.nonces(owner), 1, "Nonce should be incremented after permit"); + + // other user's nonce should still be 0 + assertEq(govToken.nonces(user), 0, "Other user's nonce should still be 0"); + } + + function testClock() public { + // set up a timestamp + uint256 currentTimestamp = 1678901234; // 2023-03-15 12:33:54 UTC + vm.warp(currentTimestamp); + + // call clock() function + uint48 clockValue = govToken.clock(); + + // returned value is current block timestamp + assertEq(clockValue, uint48(currentTimestamp), "clock() should return current block timestamp"); + + // check the timestamp change + uint256 newTimestamp = currentTimestamp + 3600; // 增加一小时 + vm.warp(newTimestamp); + + // call clock() function again + uint48 newClockValue = govToken.clock(); + + // check if the returned value is the new timestamp + assertEq(newClockValue, uint48(newTimestamp), "clock() should return updated block timestamp"); + + // check if the clock value is increased + assertGt(newClockValue, clockValue, "New clock value should be greater than the previous one"); + } }