diff --git a/.gas-snapshot b/.gas-snapshot index 307b3f1..7cadde6 100644 --- a/.gas-snapshot +++ b/.gas-snapshot @@ -45,10 +45,10 @@ BillboardTest:testGetBlockFromEpoch() (gas: 23595) BillboardTest:testGetEpochFromBlock() (gas: 25031) BillboardTest:testGetTokenURI() (gas: 391841) BillboardTest:testMintBoard() (gas: 590673) -BillboardTest:testPlaceBid(uint96) (runs: 257, μ: 884762, ~: 885382) +BillboardTest:testPlaceBid(uint96) (runs: 256, μ: 884760, ~: 885382) BillboardTest:testPlaceBidIfBoardWhitelistDisabled() (gas: 639837) -BillboardTest:testPlaceBidWithHigherPrice(uint96) (runs: 257, μ: 1079113, ~: 1079120) -BillboardTest:testPlaceBidWithSamePrices(uint96) (runs: 257, μ: 989245, ~: 990175) +BillboardTest:testPlaceBidWithHigherPrice(uint96) (runs: 256, μ: 1079113, ~: 1079118) +BillboardTest:testPlaceBidWithSamePrices(uint96) (runs: 256, μ: 989242, ~: 990175) BillboardTest:testPlaceBidZeroPrice() (gas: 434965) BillboardTest:testSafeTransferByOperator() (gas: 235639) BillboardTest:testSetBidURIs() (gas: 701970) @@ -77,8 +77,8 @@ DistributionTest:testCannotClaimIfAlreadyClaimed() (gas: 317456) DistributionTest:testCannotClaimIfInsufficientBalance() (gas: 456722) DistributionTest:testCannotClaimIfInvalidProof() (gas: 277884) DistributionTest:testCannotClaimIfInvalidTreeId() (gas: 275999) -DistributionTest:testCannotDropIfInsufficientAllowance(uint256) (runs: 257, μ: 244918, ~: 244936) -DistributionTest:testCannotDropIfInsufficientBalance(uint256) (runs: 257, μ: 247411, ~: 247444) +DistributionTest:testCannotDropIfInsufficientAllowance(uint256) (runs: 256, μ: 244918, ~: 244934) +DistributionTest:testCannotDropIfInsufficientBalance(uint256) (runs: 256, μ: 247411, ~: 247444) DistributionTest:testCannotDropIfZeroAmount() (gas: 181400) DistributionTest:testCannotDropTwiceWithSameTreeId() (gas: 342882) DistributionTest:testCannotSetAdminByAdmin() (gas: 17820) @@ -91,14 +91,14 @@ DistributionTest:testSetAdmin() (gas: 20673) DistributionTest:testSweep() (gas: 286740) LogbookNFTSVGTest:testTokenURI(uint8,uint8,uint16) (runs: 256, μ: 2616299, ~: 1751373) LogbookTest:testClaim() (gas: 137550) -LogbookTest:testDonate(uint96) (runs: 257, μ: 158117, ~: 158503) -LogbookTest:testDonateWithCommission(uint96,uint96) (runs: 257, μ: 149621, ~: 142033) -LogbookTest:testFork(uint96,string) (runs: 257, μ: 454991, ~: 456384) -LogbookTest:testForkRecursively(uint8,uint96) (runs: 257, μ: 4854370, ~: 1807501) -LogbookTest:testForkWithCommission(uint96,string,uint256) (runs: 257, μ: 355984, ~: 259645) +LogbookTest:testDonate(uint96) (runs: 256, μ: 158116, ~: 158503) +LogbookTest:testDonateWithCommission(uint96,uint96) (runs: 256, μ: 149562, ~: 142033) +LogbookTest:testFork(uint96,string) (runs: 256, μ: 454982, ~: 456384) +LogbookTest:testForkRecursively(uint8,uint96) (runs: 256, μ: 4869352, ~: 1807501) +LogbookTest:testForkWithCommission(uint96,string,uint256) (runs: 256, μ: 356360, ~: 259645) LogbookTest:testMulticall() (gas: 286532) LogbookTest:testPublicSale() (gas: 210378) -LogbookTest:testPublish(string) (runs: 257, μ: 267229, ~: 266756) +LogbookTest:testPublish(string) (runs: 256, μ: 267231, ~: 266756) LogbookTest:testPublishEn1000() (gas: 245448) LogbookTest:testPublishEn140() (gas: 223081) LogbookTest:testPublishEn200() (gas: 224730) @@ -117,7 +117,7 @@ LogbookTest:testPublishZh5000() (gas: 609639) LogbookTest:testSetDescription() (gas: 142324) LogbookTest:testSetForkPrice() (gas: 155901) LogbookTest:testSetTitle() (gas: 170257) -LogbookTest:testSplitRoyalty(uint8,uint8,uint96) (runs: 257, μ: 1944090, ~: 1191358) +LogbookTest:testSplitRoyalty(uint8,uint8,uint96) (runs: 256, μ: 1949606, ~: 1246245) LogbookTest:testWithdraw() (gas: 7313564) SnapperTest:testCannotInitRegionByNotOwner() (gas: 11417) SnapperTest:testCannotReInitRegion() (gas: 14491) @@ -125,10 +125,10 @@ SnapperTest:testCannotTakeSnapshotBeforeInit() (gas: 15814) SnapperTest:testCannotTakeSnapshotByNotOwner() (gas: 12530) SnapperTest:testCannotTakeSnapshotWrongLastBlock() (gas: 49487) SnapperTest:testCannotTakeSnapshotWrongSnapshotBlock() (gas: 24070) -SnapperTest:testInitRegion(uint256) (runs: 257, μ: 115756, ~: 115756) +SnapperTest:testInitRegion(uint256) (runs: 256, μ: 115756, ~: 115756) SnapperTest:testTakeSnapshot() (gas: 49361) TheSpaceTest:testBatchBid() (gas: 696515) -TheSpaceTest:testBatchSetPixels(uint16,uint8) (runs: 257, μ: 372164, ~: 373676) +TheSpaceTest:testBatchSetPixels(uint16,uint8) (runs: 256, μ: 372158, ~: 373676) TheSpaceTest:testBidDefaultedToken() (gas: 415255) TheSpaceTest:testBidExistingToken() (gas: 362302) TheSpaceTest:testBidNewToken() (gas: 304528) @@ -140,7 +140,7 @@ TheSpaceTest:testCannotGetTaxWithNonExistingToken() (gas: 16387) TheSpaceTest:testCannotGetTokenURIInLogicContract() (gas: 301027) TheSpaceTest:testCannotSetColorByAttacker() (gas: 305380) TheSpaceTest:testCannotSetConfigByAttacker() (gas: 12039) -TheSpaceTest:testCannotSetPixel(uint256) (runs: 257, μ: 314908, ~: 314908) +TheSpaceTest:testCannotSetPixel(uint256) (runs: 256, μ: 314908, ~: 314908) TheSpaceTest:testCannotSetPriceByNonOwner() (gas: 305523) TheSpaceTest:testCannotSetTokenImageURIByNonACLManager() (gas: 11804) TheSpaceTest:testCannotSetTotalSupplyByAttacker() (gas: 11866) @@ -164,12 +164,12 @@ TheSpaceTest:testGetTokenURI() (gas: 333501) TheSpaceTest:testSetColor() (gas: 331781) TheSpaceTest:testSetMintTax() (gas: 272102) TheSpaceTest:testSetPixel(uint256) (runs: 256, μ: 404679, ~: 404679) -TheSpaceTest:testSetPrice(uint256) (runs: 257, μ: 305096, ~: 305096) -TheSpaceTest:testSetPriceByOperator(uint96) (runs: 257, μ: 355212, ~: 355212) +TheSpaceTest:testSetPrice(uint256) (runs: 256, μ: 305096, ~: 305096) +TheSpaceTest:testSetPriceByOperator(uint96) (runs: 256, μ: 355212, ~: 355212) TheSpaceTest:testSetPriceTooHigh() (gas: 314558) TheSpaceTest:testSetTaxRate() (gas: 349944) TheSpaceTest:testSetTokenImageURI() (gas: 356208) -TheSpaceTest:testSetTotalSupply(uint256) (runs: 257, μ: 353438, ~: 353443) +TheSpaceTest:testSetTotalSupply(uint256) (runs: 256, μ: 353438, ~: 353443) TheSpaceTest:testSetTreasuryShare() (gas: 385104) TheSpaceTest:testSettleTax() (gas: 340300) TheSpaceTest:testTaxCalculation() (gas: 405108) @@ -187,8 +187,8 @@ VaultTest:testCannotWithdrawExpired() (gas: 13133) VaultTest:testCannotWithdrawInvalidSignature() (gas: 40068) VaultTest:testCannotWithdrawZeroAddress() (gas: 11696) VaultTest:testCannotWithdrawZeroAmount() (gas: 44473) -VaultTest:testERC20Curation(uint256) (runs: 257, μ: 82490, ~: 82490) -VaultTest:testERC20Withdrawal(uint256) (runs: 257, μ: 113977, ~: 113980) -VaultTest:testNativeCuration(uint256) (runs: 257, μ: 49275, ~: 49275) -VaultTest:testNativeWithdrawal(uint256) (runs: 257, μ: 100775, ~: 100775) +VaultTest:testERC20Curation(uint256) (runs: 256, μ: 82490, ~: 82490) +VaultTest:testERC20Withdrawal(uint256) (runs: 256, μ: 113977, ~: 113980) +VaultTest:testNativeCuration(uint256) (runs: 256, μ: 49275, ~: 49275) +VaultTest:testNativeWithdrawal(uint256) (runs: 256, μ: 100775, ~: 100775) VaultTest:testSetSigner() (gas: 19888) \ No newline at end of file diff --git a/README.md b/README.md index 50a14a0..6640f84 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,8 @@ | Curation | Polygon Mumbai | [0xa219C6722008aa22828B31A13ab9Ba93bB91222c](https://mumbai.polygonscan.com/address/0xa219c6722008aa22828b31a13ab9ba93bb91222c) | | Curation | OP Sepolia | [0x92a117aea74963cd0cedf9c50f99435451a291f7](https://sepolia-optimism.etherscan.io/address/0x92a117aea74963cd0cedf9c50f99435451a291f7) | | Curation | OP Mainnet | [0x5edebbdae7B5C79a69AaCF7873796bb1Ec664DB8](https://optimistic.etherscan.io/address/0x5edebbdae7b5c79a69aacf7873796bb1ec664db8#code) | +| Curation Vault | OP Sepolia | [0xd41be66Bf309Ce5c3949BDe5C8091edc4870c27F](https://sepolia-optimism.etherscan.io/address/0xd41be66Bf309Ce5c3949BDe5C8091edc4870c27F) | +| Curation Vault | OP Mainnet | [0x79691206F498CdfAEDD059A48f61835408d81a2F](https://optimistic.etherscan.io/address/0x79691206F498CdfAEDD059A48f61835408d81a2F#code) | | Billboard (Operator) | OP Mainnet | [0x92a117aeA74963Cd0CEdF9C50f99435451a291F7](https://optimistic.etherscan.io/address/0x92a117aeA74963Cd0CEdF9C50f99435451a291F7) | | Billboard (Registry) | OP Mainnet | [0x95bEFe8E08a56dCEBBa8d40BE3e9c3cb2fF81806](https://optimistic.etherscan.io/address/0x95bEFe8E08a56dCEBBa8d40BE3e9c3cb2fF81806) | | Billboard (Distribution) | OP Mainnet | [0xad5caac6910f5a737ec53847000c13122b09eada](https://optimistic.etherscan.io/address/0xad5caac6910f5a737ec53847000c13122b09eada) |