forked from Vectorized/dn404
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gas-snapshot
254 lines (254 loc) · 16.5 KB
/
.gas-snapshot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
ArrayOpsTest:testConcat(uint256) (runs: 272, μ: 312877, ~: 57449)
ArrayOpsTest:testFilled(uint256) (runs: 272, μ: 231481, ~: 37327)
ArrayOpsTest:testZeroAddresses(uint256) (runs: 272, μ: 123150, ~: 27729)
ArrayOpsTest:test__codesize() (gas: 4235)
BenchTest:testMintAndTransferDN404_01() (gas: 208773)
BenchTest:testMintAndTransferDN404_02() (gas: 214974)
BenchTest:testMintAndTransferDN404_03() (gas: 221152)
BenchTest:testMintAndTransferDN404_04() (gas: 227330)
BenchTest:testMintAndTransferDN404_05() (gas: 255431)
BenchTest:testMintAndTransferDN404_06() (gas: 261607)
BenchTest:testMintAndTransferDN404_07() (gas: 267755)
BenchTest:testMintAndTransferDN404_08() (gas: 273941)
BenchTest:testMintAndTransferDN404_09() (gas: 345799)
BenchTest:testMintAndTransferDN404_10() (gas: 351957)
BenchTest:testMintAndTransferDN404_11() (gas: 358200)
BenchTest:testMintAndTransferDN404_12() (gas: 364334)
BenchTest:testMintAndTransferDN404_13() (gas: 392412)
BenchTest:testMintAndTransferDN404_14() (gas: 398569)
BenchTest:testMintAndTransferDN404_15() (gas: 404813)
BenchTest:testMintAndTransferDN404_16() (gas: 410925)
BenchTest:testMintAndTransferDN420_01() (gas: 134881)
BenchTest:testMintAndTransferDN420_02() (gas: 137941)
BenchTest:testMintAndTransferDN420_03() (gas: 141002)
BenchTest:testMintAndTransferDN420_04() (gas: 144082)
BenchTest:testMintAndTransferDN420_05() (gas: 147211)
BenchTest:testMintAndTransferDN420_06() (gas: 150248)
BenchTest:testMintAndTransferDN420_07() (gas: 153332)
BenchTest:testMintAndTransferDN420_08() (gas: 156415)
BenchTest:testMintAndTransferDN420_09() (gas: 159477)
BenchTest:testMintAndTransferDN420_10() (gas: 162604)
BenchTest:testMintAndTransferDN420_11() (gas: 165688)
BenchTest:testMintAndTransferDN420_12() (gas: 168747)
BenchTest:testMintAndTransferDN420_13() (gas: 171809)
BenchTest:testMintAndTransferDN420_14() (gas: 174914)
BenchTest:testMintAndTransferDN420_15() (gas: 178043)
BenchTest:testMintAndTransferDN420_16() (gas: 181103)
BenchTest:testMintDN404_01() (gas: 123089)
BenchTest:testMintDN404_02() (gas: 126185)
BenchTest:testMintDN404_03() (gas: 129300)
BenchTest:testMintDN404_04() (gas: 132397)
BenchTest:testMintDN404_05() (gas: 157390)
BenchTest:testMintDN404_06() (gas: 160574)
BenchTest:testMintDN404_07() (gas: 163690)
BenchTest:testMintDN404_08() (gas: 166809)
BenchTest:testMintDN404_09() (gas: 213704)
BenchTest:testMintDN404_10() (gas: 216801)
BenchTest:testMintDN404_11() (gas: 219916)
BenchTest:testMintDN404_12() (gas: 223034)
BenchTest:testMintDN404_13() (gas: 248051)
BenchTest:testMintDN404_14() (gas: 251167)
BenchTest:testMintDN404_15() (gas: 254326)
BenchTest:testMintDN404_16() (gas: 257445)
BenchTest:testMintDN420_01() (gas: 94039)
BenchTest:testMintDN420_02() (gas: 95488)
BenchTest:testMintDN420_03() (gas: 96871)
BenchTest:testMintDN420_04() (gas: 98342)
BenchTest:testMintDN420_05() (gas: 99697)
BenchTest:testMintDN420_06() (gas: 101179)
BenchTest:testMintDN420_07() (gas: 102607)
BenchTest:testMintDN420_08() (gas: 103992)
BenchTest:testMintDN420_09() (gas: 105443)
BenchTest:testMintDN420_10() (gas: 106893)
BenchTest:testMintDN420_11() (gas: 108319)
BenchTest:testMintDN420_12() (gas: 109748)
BenchTest:testMintDN420_13() (gas: 111178)
BenchTest:testMintDN420_14() (gas: 112563)
BenchTest:testMintDN420_15() (gas: 114035)
BenchTest:testMintDN420_16() (gas: 115441)
BenchTest:test__codesize() (gas: 28527)
DN404CustomUnitTest:testInitializeCorrectUnitSuccess() (gas: 129447)
DN404CustomUnitTest:testInitializeWithUnitTooLargeReverts() (gas: 33803)
DN404CustomUnitTest:testInitializeWithZeroUnitReverts() (gas: 13876)
DN404CustomUnitTest:testMint() (gas: 162564)
DN404CustomUnitTest:testMintWithoutNFTs(uint256,uint256,uint256) (runs: 272, μ: 160795, ~: 162075)
DN404CustomUnitTest:testNFTMint() (gas: 64872993)
DN404CustomUnitTest:testNFTMintAndBurn(uint256,uint256,uint256) (runs: 272, μ: 203281, ~: 158442)
DN404CustomUnitTest:testNFTMintViaTransfer(uint256,uint256,uint256) (runs: 272, μ: 231433, ~: 250252)
DN404CustomUnitTest:testTotalSupplyOverflowsTrick(uint256,uint256) (runs: 272, μ: 608, ~: 664)
DN404CustomUnitTest:testTotalSupplyOverflowsTrick(uint256,uint256,uint256) (runs: 272, μ: 786, ~: 746)
DN404CustomUnitTest:testUnitInvalidCheckTrick(uint256) (runs: 272, μ: 526, ~: 527)
DN404CustomUnitTest:test__codesize() (gas: 29372)
DN404MirrorTest:testBaseERC20() (gas: 114127)
DN404MirrorTest:testFnSelectorNotRecognized() (gas: 6236)
DN404MirrorTest:testLinkMirrorContract() (gas: 39444)
DN404MirrorTest:testLogDirectTransfers() (gas: 395289)
DN404MirrorTest:testLogTransfer() (gas: 120205)
DN404MirrorTest:testNameAndSymbol(string,string) (runs: 272, μ: 205999, ~: 206402)
DN404MirrorTest:testNotLinked() (gas: 12777)
DN404MirrorTest:testPullOwner() (gas: 112107)
DN404MirrorTest:testPullOwnerWithOwnable() (gas: 3715317)
DN404MirrorTest:testSafeTransferFrom(uint32) (runs: 272, μ: 478031, ~: 477986)
DN404MirrorTest:testSetAndGetApprovalForAll() (gas: 330334)
DN404MirrorTest:testSetAndGetApproved() (gas: 327478)
DN404MirrorTest:testSupportsInterface() (gas: 7544)
DN404MirrorTest:testTokenURI(string,uint256) (runs: 272, μ: 260853, ~: 265606)
DN404MirrorTest:testTransferFrom(uint32) (runs: 272, μ: 379229, ~: 379184)
DN404MirrorTest:testTransferFromMixed(uint256) (runs: 272, μ: 701276, ~: 616407)
DN404MirrorTest:test__codesize() (gas: 59836)
DN404OnlyERC20Test:testApprove() (gas: 35803)
DN404OnlyERC20Test:testApprove(address,uint256) (runs: 272, μ: 30915, ~: 31354)
DN404OnlyERC20Test:testBurn() (gas: 48166)
DN404OnlyERC20Test:testBurn(address,uint256,uint256) (runs: 272, μ: 49037, ~: 49345)
DN404OnlyERC20Test:testBurnInsufficientBalanceReverts(address,uint256,uint256) (runs: 272, μ: 42168, ~: 42394)
DN404OnlyERC20Test:testInfiniteApproveTransferFrom() (gas: 82820)
DN404OnlyERC20Test:testMaxSupplyTrick(uint256) (runs: 272, μ: 541, ~: 541)
DN404OnlyERC20Test:testMetadata() (gas: 8962)
DN404OnlyERC20Test:testMint() (gas: 44065)
DN404OnlyERC20Test:testMintOverMaxLimitReverts() (gas: 42044)
DN404OnlyERC20Test:testMintz(address,uint256) (runs: 272, μ: 44059, ~: 44487)
DN404OnlyERC20Test:testTransfer() (gas: 58082)
DN404OnlyERC20Test:testTransfer(address,uint256) (runs: 272, μ: 58063, ~: 58491)
DN404OnlyERC20Test:testTransferFrom() (gas: 79850)
DN404OnlyERC20Test:testTransferFrom(address,address,address,uint256,uint256) (runs: 272, μ: 86950, ~: 88247)
DN404OnlyERC20Test:testTransferFromInsufficientAllowanceReverts() (gas: 66796)
DN404OnlyERC20Test:testTransferFromInsufficientAllowanceReverts(address,uint256,uint256) (runs: 272, μ: 67708, ~: 67875)
DN404OnlyERC20Test:testTransferFromInsufficientBalanceReverts() (gas: 51682)
DN404OnlyERC20Test:testTransferFromInsufficientBalanceReverts(address,uint256,uint256) (runs: 272, μ: 52255, ~: 52465)
DN404OnlyERC20Test:testTransferInsufficientBalanceReverts() (gas: 43963)
DN404OnlyERC20Test:testTransferInsufficientBalanceReverts(address,uint256,uint256) (runs: 272, μ: 44874, ~: 45072)
DN404OnlyERC20Test:test__codesize() (gas: 28414)
DN404Test:testBatchNFTLog() (gas: 326614)
DN404Test:testBurnOnTransfer(uint32,address) (runs: 270, μ: 275204, ~: 275204)
DN404Test:testFnSelectorNotRecognized() (gas: 6268)
DN404Test:testInitialize(uint32,address) (runs: 272, μ: 110809, ~: 113114)
DN404Test:testMintAndBurn() (gas: 346149)
DN404Test:testMintAndBurn2() (gas: 282706)
DN404Test:testMintNext() (gas: 704765)
DN404Test:testMintNextContiguous(uint256) (runs: 272, μ: 577105, ~: 538708)
DN404Test:testMintOnTransfer(uint32,address) (runs: 270, μ: 289761, ~: 289761)
DN404Test:testMixed(bytes32) (runs: 272, μ: 587945, ~: 521472)
DN404Test:testNameAndSymbol(string,string) (runs: 272, μ: 205779, ~: 206182)
DN404Test:testNumAliasesOverflowReverts() (gas: 40944)
DN404Test:testOwnedIds() (gas: 360447)
DN404Test:testOwnedIds(uint256) (runs: 272, μ: 265635, ~: 284463)
DN404Test:testPermit2() (gas: 455657)
DN404Test:testRegisterAndResolveAlias(address,address) (runs: 272, μ: 120117, ~: 120191)
DN404Test:testSetAndGetAux(address,uint88) (runs: 272, μ: 21887, ~: 22272)
DN404Test:testSetAndGetOperatorApprovals(address,address,bool) (runs: 272, μ: 129649, ~: 119846)
DN404Test:testSetAndGetSkipNFT() (gas: 708368)
DN404Test:testTokenURI(string,uint256) (runs: 272, μ: 12997096, ~: 12997243)
DN404Test:testTransferWithMirrorEvent() (gas: 410315)
DN404Test:testTransfersAndBurns() (gas: 487732)
DN404Test:testWrapAround(uint32,uint256) (runs: 272, μ: 393413, ~: 388595)
DN404Test:test__codesize() (gas: 61620)
DN404ZeroIndexedTest:testBatchNFTLog() (gas: 326053)
DN404ZeroIndexedTest:testBurnOnTransfer(uint32,address) (runs: 270, μ: 255124, ~: 255124)
DN404ZeroIndexedTest:testFnSelectorNotRecognized() (gas: 6268)
DN404ZeroIndexedTest:testInitialize(uint32,address) (runs: 272, μ: 109048, ~: 113108)
DN404ZeroIndexedTest:testMintAndBurn() (gas: 343030)
DN404ZeroIndexedTest:testMintAndBurn2() (gas: 280290)
DN404ZeroIndexedTest:testMintNext() (gas: 701766)
DN404ZeroIndexedTest:testMintNextContiguous(uint256) (runs: 272, μ: 568584, ~: 524801)
DN404ZeroIndexedTest:testMintOnTransfer(uint32,address) (runs: 270, μ: 269727, ~: 269727)
DN404ZeroIndexedTest:testMixed(bytes32) (runs: 272, μ: 564213, ~: 505534)
DN404ZeroIndexedTest:testNameAndSymbol(string,string) (runs: 272, μ: 205728, ~: 206131)
DN404ZeroIndexedTest:testNumAliasesOverflowReverts() (gas: 40944)
DN404ZeroIndexedTest:testOwnedIds() (gas: 347336)
DN404ZeroIndexedTest:testOwnedIds(uint256) (runs: 272, μ: 263381, ~: 286216)
DN404ZeroIndexedTest:testPermit2() (gas: 455292)
DN404ZeroIndexedTest:testRegisterAndResolveAlias(address,address) (runs: 272, μ: 120191, ~: 120191)
DN404ZeroIndexedTest:testSetAndGetAux(address,uint88) (runs: 272, μ: 22004, ~: 22289)
DN404ZeroIndexedTest:testSetAndGetOperatorApprovals(address,address,bool) (runs: 272, μ: 129643, ~: 119840)
DN404ZeroIndexedTest:testSetAndGetSkipNFT() (gas: 708390)
DN404ZeroIndexedTest:testTokenURI(string,uint256) (runs: 272, μ: 156286, ~: 156433)
DN404ZeroIndexedTest:testTransferWithMirrorEvent() (gas: 409821)
DN404ZeroIndexedTest:testTransfersAndBurns() (gas: 485767)
DN404ZeroIndexedTest:testWrapAround(uint32,uint256) (runs: 272, μ: 380053, ~: 387951)
DN404ZeroIndexedTest:testWrapNFTIdEquivalence(uint256,uint256,bool) (runs: 272, μ: 1379, ~: 1418)
DN404ZeroIndexedTest:test__codesize() (gas: 61415)
DN420OnlyERC20Test:testApprove() (gas: 35770)
DN420OnlyERC20Test:testApprove(address,uint256) (runs: 272, μ: 30882, ~: 31321)
DN420OnlyERC20Test:testBurn() (gas: 49034)
DN420OnlyERC20Test:testBurn(address,uint256,uint256) (runs: 272, μ: 49749, ~: 50213)
DN420OnlyERC20Test:testBurnInsufficientBalanceReverts(address,uint256,uint256) (runs: 272, μ: 42930, ~: 43257)
DN420OnlyERC20Test:testInfiniteApproveTransferFrom() (gas: 80265)
DN420OnlyERC20Test:testMaxSupplyTrick(uint256) (runs: 272, μ: 541, ~: 541)
DN420OnlyERC20Test:testMetadata() (gas: 9030)
DN420OnlyERC20Test:testMint() (gas: 45003)
DN420OnlyERC20Test:testMintOverMaxLimitReverts() (gas: 40544)
DN420OnlyERC20Test:testMintz(address,uint256) (runs: 272, μ: 44998, ~: 45425)
DN420OnlyERC20Test:testTransfer() (gas: 54107)
DN420OnlyERC20Test:testTransfer(address,uint256) (runs: 272, μ: 53952, ~: 54464)
DN420OnlyERC20Test:testTransferFrom() (gas: 77806)
DN420OnlyERC20Test:testTransferFrom(address,address,address,uint256,uint256) (runs: 272, μ: 84263, ~: 85693)
DN420OnlyERC20Test:testTransferFromInsufficientAllowanceReverts() (gas: 67729)
DN420OnlyERC20Test:testTransferFromInsufficientAllowanceReverts(address,uint256,uint256) (runs: 272, μ: 68568, ~: 68808)
DN420OnlyERC20Test:testTransferFromInsufficientBalanceReverts() (gas: 52389)
DN420OnlyERC20Test:testTransferFromInsufficientBalanceReverts(address,uint256,uint256) (runs: 272, μ: 52897, ~: 53176)
DN420OnlyERC20Test:testTransferInsufficientBalanceReverts() (gas: 42411)
DN420OnlyERC20Test:testTransferInsufficientBalanceReverts(address,uint256,uint256) (runs: 272, μ: 43239, ~: 43520)
DN420OnlyERC20Test:test__codesize() (gas: 25156)
DN420Test:testERC1155Methods(uint256) (runs: 272, μ: 4397473, ~: 4132240)
DN420Test:testERC1155MethodsSelfTransfers(uint256) (runs: 272, μ: 2573780, ~: 2729108)
DN420Test:testFindOwnedIds() (gas: 2702597)
DN420Test:testMintNext() (gas: 2233230)
DN420Test:testMintToNonERC155RecipientReverts(uint256) (runs: 272, μ: 932101, ~: 812194)
DN420Test:testMintToRevertingERC155RecipientReverts(uint256) (runs: 272, μ: 1449756, ~: 1047579)
DN420Test:testMintToZeroReverts(uint256) (runs: 272, μ: 771884, ~: 676736)
DN420Test:testMixed(uint256) (runs: 272, μ: 6082105, ~: 4384769)
DN420Test:testSafeBatchTransferFromToERC1155Recipient(uint256) (runs: 272, μ: 2413615, ~: 2212856)
DN420Test:testSafeTransferFromToERC1155Recipient(uint256) (runs: 272, μ: 1772980, ~: 1507194)
DN420Test:testTransferFromToERC1155Recipient(uint256) (runs: 272, μ: 2919025, ~: 2906541)
DN420Test:testTransferMixedReverts(uint256) (runs: 272, μ: 4011182, ~: 3431493)
DN420Test:test__codesize() (gas: 66558)
MappingsTest:testAddressPairMapSetAndGet(address[2],address[2],uint256,uint256) (runs: 272, μ: 47720, ~: 48233)
MappingsTest:testBitmapSetAndGet(uint256) (runs: 272, μ: 471738, ~: 443619)
MappingsTest:testBitmapSetAndGet(uint256,uint256,bool,bool) (runs: 272, μ: 25120, ~: 26154)
MappingsTest:testFindFirstUnset() (gas: 79749)
MappingsTest:testFindFirstUnset(uint256) (runs: 272, μ: 323192, ~: 241275)
MappingsTest:testRestrictNFTId(uint256) (runs: 272, μ: 340, ~: 341)
MappingsTest:testSetOwnerAliasAndOwnedIndex(uint256,uint32,uint32) (runs: 272, μ: 23503, ~: 23538)
MappingsTest:testStorageSlotsNoCollision(uint256,uint256,uint256,uint256) (runs: 272, μ: 26826, ~: 26742)
MappingsTest:testUint32MapSetAndGet(uint256) (runs: 272, μ: 1346878, ~: 1445746)
MappingsTest:testUint32MapSetAndGet(uint256,uint256,uint32,uint32) (runs: 272, μ: 44714, ~: 46049)
MappingsTest:testWrapNFTIdWithOverflowCheck(uint256,uint256,uint256) (runs: 272, μ: 811, ~: 852)
MappingsTest:test__codesize() (gas: 6857)
MaxUnitInvariant:invariantBurnedPoolLengthIsTailMinusHead() (runs: 10, calls: 150, reverts: 0)
MaxUnitInvariant:invariantDN404BalanceSum() (runs: 10, calls: 150, reverts: 0)
MaxUnitInvariant:invariantMirror721BalanceSum() (runs: 10, calls: 150, reverts: 0)
MaxUnitInvariant:invariantMirrorAndBaseRemainImmutable() (runs: 10, calls: 150, reverts: 0)
MaxUnitInvariant:invariantNoUserOwnsInvalidToken() (runs: 10, calls: 150, reverts: 0)
MaxUnitInvariant:invariantTotalReflectionIsValid() (runs: 10, calls: 150, reverts: 0)
MaxUnitInvariant:invariantUserReflectionIsValid() (runs: 10, calls: 150, reverts: 0)
MintTests:test_WhenAmountIsGreaterThan_MAX_SUPPLYOrMintMakesNFTTotalSupplyExceed_MAX_SUPPLY(uint256) (runs: 272, μ: 60730, ~: 61613)
MintTests:test_WhenRecipientAddressHasSkipNFTEnabled(uint256) (runs: 272, μ: 85941, ~: 85942)
MintTests:test_WhenRecipientIsAddress0(uint256) (runs: 272, μ: 31069, ~: 31139)
MintTests:test_WhenRecipientsBalanceDifferenceIsNotUpTo1e18(uint256) (runs: 272, μ: 82901, ~: 83101)
MintTests:test_WhenRecipientsBalanceDifferenceIsUpTo1e18OrAbove(uint256) (runs: 272, μ: 89438, ~: 89631)
MintTests:test__codesize() (gas: 27932)
NFTMintDN404Test:testAllowlistMint() (gas: 258866)
NFTMintDN404Test:testMint() (gas: 231562)
NFTMintDN404Test:testTotalSupplyReached() (gas: 628056918)
NFTMintDN404Test:test__codesize() (gas: 22634)
NonMultipleUnitInvariant:invariantBurnedPoolLengthIsTailMinusHead() (runs: 10, calls: 150, reverts: 0)
NonMultipleUnitInvariant:invariantDN404BalanceSum() (runs: 10, calls: 150, reverts: 0)
NonMultipleUnitInvariant:invariantMirror721BalanceSum() (runs: 10, calls: 150, reverts: 0)
NonMultipleUnitInvariant:invariantMirrorAndBaseRemainImmutable() (runs: 10, calls: 150, reverts: 0)
NonMultipleUnitInvariant:invariantNoUserOwnsInvalidToken() (runs: 10, calls: 150, reverts: 0)
NonMultipleUnitInvariant:invariantTotalReflectionIsValid() (runs: 10, calls: 150, reverts: 0)
NonMultipleUnitInvariant:invariantUserReflectionIsValid() (runs: 10, calls: 150, reverts: 0)
SimpleDN404Test:testMint() (gas: 49573)
SimpleDN404Test:testName() (gas: 9134)
SimpleDN404Test:testSymbol() (gas: 9132)
SimpleDN404Test:testWithdraw() (gas: 20732)
SimpleDN404Test:test__codesize() (gas: 18556)
SoladyTest:test__codesize() (gas: 840)
TestPlus:test__codesize() (gas: 406)
WADUnitInvariant:invariantBurnedPoolLengthIsTailMinusHead() (runs: 10, calls: 150, reverts: 0)
WADUnitInvariant:invariantDN404BalanceSum() (runs: 10, calls: 150, reverts: 0)
WADUnitInvariant:invariantMirror721BalanceSum() (runs: 10, calls: 150, reverts: 0)
WADUnitInvariant:invariantMirrorAndBaseRemainImmutable() (runs: 10, calls: 150, reverts: 0)
WADUnitInvariant:invariantNoUserOwnsInvalidToken() (runs: 10, calls: 150, reverts: 0)
WADUnitInvariant:invariantTotalReflectionIsValid() (runs: 10, calls: 150, reverts: 0)
WADUnitInvariant:invariantUserReflectionIsValid() (runs: 10, calls: 150, reverts: 0)