diff --git a/.gas-snapshot b/.gas-snapshot index 90959ec..d65d828 100644 --- a/.gas-snapshot +++ b/.gas-snapshot @@ -30,25 +30,25 @@ BillboardTest:testCannotSetWhitelistByAttacker() (gas: 228746) BillboardTest:testCannotTransferByOperator() (gas: 226742) BillboardTest:testCannotTransferToZeroAddress() (gas: 222288) BillboardTest:testCannotUpgradeRegistryByAttacker() (gas: 9003) -BillboardTest:testCannotWithdrawBidIfAuctionNotEndedOrCleared(uint96) (runs: 257, μ: 673872, ~: 673872) -BillboardTest:testCannotWithdrawBidIfNotFound(uint96) (runs: 257, μ: 791436, ~: 791436) -BillboardTest:testCannotWithdrawBidIfWon(uint96) (runs: 257, μ: 1104486, ~: 1104486) -BillboardTest:testCannotWithdrawBidTwice(uint96) (runs: 257, μ: 1189337, ~: 1189337) -BillboardTest:testClearAuction(uint96) (runs: 257, μ: 777201, ~: 777201) +BillboardTest:testCannotWithdrawBidIfAuctionNotEndedOrCleared(uint96) (runs: 256, μ: 673872, ~: 673872) +BillboardTest:testCannotWithdrawBidIfNotFound(uint96) (runs: 256, μ: 791436, ~: 791436) +BillboardTest:testCannotWithdrawBidIfWon(uint96) (runs: 256, μ: 1104486, ~: 1104486) +BillboardTest:testCannotWithdrawBidTwice(uint96) (runs: 256, μ: 1189337, ~: 1189337) +BillboardTest:testClearAuction(uint96) (runs: 256, μ: 777201, ~: 777201) BillboardTest:testClearAuctionIfAlreadyCleared() (gas: 782179) BillboardTest:testClearAuctions() (gas: 1394642) -BillboardTest:testClearLastAuction(uint96) (runs: 257, μ: 774882, ~: 774882) +BillboardTest:testClearLastAuction(uint96) (runs: 256, μ: 774882, ~: 774882) BillboardTest:testClearLastAuctions() (gas: 1411283) BillboardTest:testGetBidderBids(uint8,uint8,uint8) (runs: 256, μ: 1556239, ~: 1181974) -BillboardTest:testGetBids(uint8,uint8,uint8) (runs: 256, μ: 9136192, ~: 7012649) +BillboardTest:testGetBids(uint8,uint8,uint8) (runs: 256, μ: 8953328, ~: 6852225) 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) @@ -57,9 +57,9 @@ BillboardTest:testSetBoardWhitelistDisabled() (gas: 245614) BillboardTest:testSetClosed() (gas: 241913) BillboardTest:testSetWhitelist() (gas: 246639) BillboardTest:testUpgradeRegistry() (gas: 3926536) -BillboardTest:testWithdrawBid(uint96) (runs: 257, μ: 1178470, ~: 1178470) -BillboardTest:testWithdrawBidIfClosed(uint96) (runs: 257, μ: 738733, ~: 738733) -BillboardTest:testWithdrawTax(uint96) (runs: 257, μ: 779613, ~: 779613) +BillboardTest:testWithdrawBid(uint96) (runs: 256, μ: 1178470, ~: 1178470) +BillboardTest:testWithdrawBidIfClosed(uint96) (runs: 256, μ: 738733, ~: 738733) +BillboardTest:testWithdrawTax(uint96) (runs: 256, μ: 779613, ~: 779613) CurationTest:testCannotCurateERC20CurateZeroAmount() (gas: 12217) CurationTest:testCannotCurateERC20EmptyURI() (gas: 15730) CurationTest:testCannotCurateERC20IfNotApproval() (gas: 21581) @@ -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, μ: 244916, ~: 244931) -DistributionTest:testCannotDropIfInsufficientBalance(uint256) (runs: 257, μ: 247409, ~: 247439) +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) @@ -89,16 +89,16 @@ DistributionTest:testClaim() (gas: 448837) DistributionTest:testDrop() (gas: 635704) DistributionTest:testSetAdmin() (gas: 20673) DistributionTest:testSweep() (gas: 286740) -LogbookNFTSVGTest:testTokenURI(uint8,uint8,uint16) (runs: 257, μ: 2623005, ~: 1751415) +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, μ: 149698, ~: 142033) -LogbookTest:testFork(uint96,string) (runs: 257, μ: 454991, ~: 456384) -LogbookTest:testForkRecursively(uint8,uint96) (runs: 257, μ: 4889838, ~: 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, μ: 1960000, ~: 1301133) +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, μ: 372152, ~: 373676) +TheSpaceTest:testBatchSetPixels(uint16,uint8) (runs: 256, μ: 372158, ~: 373676) TheSpaceTest:testBidDefaultedToken() (gas: 415255) TheSpaceTest:testBidExistingToken() (gas: 362302) TheSpaceTest:testBidNewToken() (gas: 304528) @@ -165,11 +165,11 @@ TheSpaceTest:testSetColor() (gas: 331781) TheSpaceTest:testSetMintTax() (gas: 272102) TheSpaceTest:testSetPixel(uint256) (runs: 256, μ: 404679, ~: 404679) TheSpaceTest:testSetPrice(uint256) (runs: 256, μ: 305096, ~: 305096) -TheSpaceTest:testSetPriceByOperator(uint96) (runs: 257, μ: 355212, ~: 355212) +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) diff --git a/README.md b/README.md index 50a14a0..14bc1a2 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 | [0x891060263b8397cB3c69F01E3383e7f8838Fd8a8](https://sepolia-optimism.etherscan.io/address/0x891060263b8397cB3c69F01E3383e7f8838Fd8a8) | +| Curation Vault | OP Mainnet | [0x7CC566aa9488a9990977Cb31D856C47e67b35465](https://optimistic.etherscan.io/address/0x7CC566aa9488a9990977Cb31D856C47e67b35465#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) |