-
Notifications
You must be signed in to change notification settings - Fork 8
/
.gas-snapshot
197 lines (197 loc) · 12.2 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
AddressArrayLib_fill:test() (gas: 164382)
AddressArrayLib_fill:test_gas() (gas: 142174)
AddressArrayLib_fill:test_library() (gas: 13081)
AddressArrayLib_fill:test_reference() (gas: 13691)
BridgedPolygonNORI_name:test() (gas: 17205)
BridgedPolygonNORI_permit:test() (gas: 92382)
Certificate__msgSenderERC721A:test() (gas: 422)
Certificate_approve:test() (gas: 17906)
Certificate_burn:test() (gas: 188509)
Certificate_burn:test_reverts_when_paused() (gas: 54783)
Certificate_name:test() (gas: 17282)
Certificate_safeTransferFrom:test() (gas: 51377)
Certificate_safeTransferFrom:test_overload() (gas: 51344)
Certificate_safeTransferFrom:test_overload_reverts_when_paused() (gas: 38141)
Certificate_safeTransferFrom:test_reverts_when_paused() (gas: 38174)
Certificate_safeTransferFrom_reverts_ForbiddenTransferAfterMinting:test() (gas: 19043)
Certificate_safeTransferFrom_reverts_ForbiddenTransferAfterMinting:test_overload() (gas: 19056)
Certificate_setApprovalForAll:test() (gas: 17929)
Certificate_supportsInterface:test() (gas: 5159)
Certificate_transferFrom:test() (gas: 48618)
Certificate_transferFrom:test_reverts_when_paused() (gas: 38088)
Certificate_transferFrom_reverts_ForbiddenTransferAfterMinting:test() (gas: 18960)
Checkout_buyingFromOneRemoval:test() (gas: 470402)
Checkout_buyingFromOneRemoval_byApproval:test() (gas: 408749)
Checkout_buyingFromTenRemovals:test() (gas: 1549843)
Checkout_buyingFromTenRemovals_singleSupplier:test() (gas: 1309445)
Checkout_buyingFromTenRemovals_singleSupplier_withoutFee:test() (gas: 1304645)
Checkout_buyingFromTenRemovals_withoutFee:test() (gas: 1317396)
Checkout_buyingFromTenSuppliers:test() (gas: 1818545)
Checkout_buyingWithAlternateERC20:test() (gas: 541052)
Checkout_buyingWithAlternateERC20_floatingPointPriceMultiple:test() (gas: 507018)
Checkout_swapRevertsWhenBuyerIsMissingSANCTION_ALLOWLIST_ROLE:test() (gas: 168737)
Checkout_swapRevertsWithDifferentPermitSignerAndMsgSender:test() (gas: 168749)
Checkout_swapWithoutFeeSpecialOrder:test() (gas: 380619)
Checkout_swapWithoutFeeSpecialOrder_specificSupplier:test() (gas: 375274)
Checkout_swapWithoutFeeSpecialOrder_specificSupplier:test_revertsWhenSupplierDoesNotExistInMarket() (gas: 57753)
Checkout_swapWithoutFeeSpecialOrder_specificVintages:test_basicFulfillment() (gas: 642489)
Checkout_swapWithoutFeeSpecialOrder_specificVintages:test_revertsWhenNoRemovalsFromSpecifiedVintages() (gas: 91044)
Checkout_swapWithoutFeeSpecialOrder_specificVintagesSpecificSupplier:test_basicFulfillment() (gas: 491903)
GasBenchmark_buyingFromManyRemovals_singleSupplier:test() (gas: 29853285)
GasBenchmark_buyingFromOneRemoval_singleSupplier:test() (gas: 322889)
LockedNORILib_availableAmount:test() (gas: 12371)
LockedNORITest:testBatchGrantCreation() (gas: 705179)
LockedNORITest:testNormalWithdrawal() (gas: 1102743)
LockedNORITest:testReentryTokensReceived() (gas: 1102887)
LockedNORITest:testReentryTokensToSend() (gas: 1104432)
LockedNORITest:testTokensReceivedReverts() (gas: 69026)
MarketInvariantTest:invariant_callSummary() (runs: 400, calls: 6000, reverts: 4265)
MarketInvariantTest:invariant_sumOfPurchaseAmounts() (runs: 400, calls: 6000, reverts: 4261)
MarketSupplierSelectionNotUsingUpSuppliersLastRemoval:test() (gas: 644744)
Market_ALLOWLIST_ROLE:test() (gas: 12799)
Market_SANCTION_ALLOWLIST_ROLE:test() (gas: 12897)
Market_USDC_swap_respects_decimal_mismatch:test() (gas: 787070)
Market__addActiveRemoval:test() (gas: 183344)
Market__addActiveRemoval:test__lis2VintagesFor1SupplierFor2SubIdentifiers() (gas: 242879)
Market__addActiveRemoval:test__list1VintageFor1Supplier() (gas: 188309)
Market__addActiveRemoval:test__list1VintageFor2Suppliers() (gas: 360670)
Market__addActiveRemoval:test__list2VintagesFor1SupplierFor1SubIdentifier() (gas: 262709)
Market__isAuthorizedWithdrawal_false:test_returnsFalseWhenAllConditionsAreFalse() (gas: 25767)
Market__isAuthorizedWithdrawal_true:test_returnsTrueWhenMsgSenderEqualsOwner() (gas: 17086)
Market__isAuthorizedWithdrawal_true:test_returnsTrueWhenMsgSenderHasDefaultAdminRole() (gas: 113243)
Market__isAuthorizedWithdrawal_true:test_returnsTrueWhenMsgSenderIsApprovedForAll() (gas: 23245)
Market__multicall_empty_bytes_reverts:test() (gas: 20935)
Market__multicall_initialize_reverts:test() (gas: 33859)
Market__setPriceMultiple:test() (gas: 29132)
Market__setPriceMultiple:test_canBeZero() (gas: 9259)
Market__setPriceMultiple:test_revertsWhenSetBelow100() (gas: 3657)
Market__setPurchasingToken:test() (gas: 1021494)
Market__validatePrioritySupply:test_supplyAfterPurchaseIsLessThanPriorityRestrictedThreshold() (gas: 2499)
Market__validatePrioritySupply:test_supplyAfterPurchaseIsZero() (gas: 2544)
Market__validatePrioritySupply_buyerIsAllowlistedAndAmountExceedsPriorityRestrictedThreshold:test() (gas: 4848)
Market__validatePrioritySupply_reverts_LowSupplyAllowlistRequired:test() (gas: 7692)
Market__validateSupply:test() (gas: 292)
Market__validateSupply:test_reverts_OutOfSupply() (gas: 3172)
Market_calculates_prices_using_decimal:test() (gas: 66624)
Market_convertPurchasingTokenDecimalsToRemovalDecimals:test() (gas: 26029)
Market_convertRemovalDecimalsToPurchasingTokenDecimals:test() (gas: 29817)
Market_getActiveSuppliers:test_1_supplier() (gas: 447828)
Market_getActiveSuppliers:test_3_suppliers() (gas: 1088942)
Market_getActiveSuppliers:test_no_suppliers() (gas: 20859)
Market_getPriceMultiple:test() (gas: 14851)
Market_getRemovalIdsForSupplier:test_1_removal() (gas: 448142)
Market_getRemovalIdsForSupplier:test_3_removals() (gas: 831557)
Market_getRemovalIdsForSupplier:test_3_removals_different_vintages() (gas: 877666)
Market_getRemovalIdsForSupplier:test_no_removals() (gas: 25955)
Market_onERC1155BatchReceived:test() (gas: 208124)
Market_onERC1155BatchReceived_reverts_SenderNotRemovalContract:test() (gas: 331570)
Market_onERC1155Received:test() (gas: 206036)
Market_onERC1155Received_reverts_SenderNotRemovalContract:test() (gas: 159044)
Market_purchasingTokenAddress:test() (gas: 17102)
Market_replace:test() (gas: 278013)
Market_replace_reverts_CertificateNotYetMinted:test() (gas: 49559)
Market_replace_reverts_ReplacementAmountExceedsNrtDeficit:test() (gas: 52590)
Market_replace_reverts_ReplacementAmountMismatch:test() (gas: 86397)
Market_setNoriFeePercentage_revertsInvalidPercentage:test() (gas: 20276)
Market_setPriorityRestrictedThreshold:test() (gas: 157448)
Market_setPriorityRestrictedThreshold:test_zeroAvailable() (gas: 152423)
Market_setPurchasingTokenAndPriceMultiple:test() (gas: 1026641)
Market_setPurchasingTokenAndPriceMultiple_revertsIfNotAdmin:test() (gas: 50813)
Market_supplierSelectionUsingUpSuppliersLastRemoval:test() (gas: 641453)
Market_swap_revertsWhenUnsafeERC20TransferFails:test() (gas: 189736)
Market_validates_certificate_amount:test() (gas: 596800)
Market_withdraw_1x3_center:test() (gas: 346739)
Market_withdraw_2x1_back:test() (gas: 351412)
Market_withdraw_2x1_front:test() (gas: 339756)
Market_withdraw_2x1_front_relist:test() (gas: 381788)
Market_withdraw_as_DEFAULT_ADMIN_ROLE:test() (gas: 282449)
Market_withdraw_as_operator:test() (gas: 291594)
Market_withdraw_as_supplier:test() (gas: 280590)
Market_withdraw_reverts:test() (gas: 144618)
Market_withdraw_to_CONSIGNOR_ROLE:test() (gas: 284393)
NORI_name:test() (gas: 17205)
NORI_permit:test() (gas: 92382)
NoriUSDC_permit:test() (gas: 122061)
RemovalQueue_getTotalBalanceFromRemovalQueue:test() (gas: 23921)
RemovalQueue_getTotalBalanceFromRemovalQueue:test_100xRemovalsOfTheDifferentVintages() (gas: 895830)
RemovalQueue_getTotalBalanceFromRemovalQueue:test_100xRemovalsOfTheSameVintage() (gas: 620321)
RemovalQueue_insertRemovalByVintage:test_insertRemovalOnce() (gas: 119613)
RemovalQueue_insertRemovalByVintage:test_insertRemovalTwice() (gas: 121103)
Removal__beforeTokenTransfer:test() (gas: 18010)
Removal__beforeTokenTransfer:test_paused_reverts_Paused() (gas: 29432)
Removal__createRemovalData:test() (gas: 22593)
Removal__createRemovalData:test_reverts_InvalidData() (gas: 25711)
Removal__createRemovalDataBatch:test() (gas: 29594)
Removal__createRemovalDataBatch:test_reverts_InvalidData2() (gas: 36802)
Removal__isValidTransferAmount:testFuzz_ReturnFalse_NonMultiplesOf1e14(uint256) (runs: 256, μ: 13935, ~: 13891)
Removal__isValidTransferAmount:testFuzz_ReturnTrue_MultiplesOf1e14(uint256) (runs: 256, μ: 14307, ~: 14432)
Removal__isValidTransferAmount:testFuzz_ReturnTrue_SmallestGranularity() (gas: 6876)
Removal__isValidTransferAmount:test_ReturnFalse_AmountIsTooGranular() (gas: 6854)
Removal__isValidTransferAmount:test_ReturnFalse_AmountIsTooGranularAndToIsTheCertificate() (gas: 4789)
Removal__isValidTransferAmount:test_ReturnFalse_AmountIsTooGranularAndToIsTheMarket() (gas: 2652)
Removal__isValidTransferAmount:test_ReturnFalse_AmountIsZeroAndToIsTheCertificate() (gas: 4705)
Removal__isValidTransferAmount:test_ReturnFalse_AmountIsZeroAndToIsTheMarket() (gas: 2565)
Removal__isValidTransferAmount:test_ReturnTrue_AmountIsZeroAndToIsNeitherTheMarketNorCertificate() (gas: 6852)
Removal__validateRemoval:test() (gas: 2491)
Removal__validateRemoval:test_reverts_InvalidData() (gas: 5373)
Removal_addBalance:test() (gas: 60280)
Removal_addBalance_reverts_RemovalNotYetMinted:test() (gas: 31115)
Removal_consign_revertsForSoldRemovals:test() (gas: 896728)
Removal_consignorBatchTransfer:test() (gas: 297325)
Removal_consignorBatchTransfer:test_reverts_whenReceiverIsNotConsignor() (gas: 128791)
Removal_consignorBatchTransfer:test_reverts_whenSenderIsNotConsignor() (gas: 65646)
Removal_getMarketBalance:test() (gas: 910292)
Removal_getOwnedTokenIds:test_multiple_tokens_with_transfer() (gas: 916416)
Removal_getOwnedTokenIds:test_no_tokens() (gas: 18683)
Removal_getProjectId:test() (gas: 19307)
Removal_grantRole:test_reverts_when_paused() (gas: 26183)
Removal_mintBatch:test() (gas: 177323)
Removal_mintBatch_list:test() (gas: 395593)
Removal_mintBatch_list_sequential:test() (gas: 581194)
Removal_mintBatch_multiple:test_16() (gas: 2921030)
Removal_mintBatch_multiple:test_2() (gas: 563909)
Removal_mintBatch_multiple:test_32() (gas: 5615988)
Removal_mintBatch_multiple:test_4() (gas: 900601)
Removal_mintBatch_multiple:test_8() (gas: 1573991)
Removal_mintBatch_reverts_mint_to_wrong_address:test() (gas: 65162)
Removal_mintBatch_zero_amount_removal:test() (gas: 139898)
Removal_mintBatch_zero_amount_removal_to_market_reverts:test() (gas: 61595)
Removal_multicall:test_balanceOfBatch() (gas: 320743)
Removal_release_listed:test() (gas: 356643)
Removal_release_listed_isRemovedFromMarket:test() (gas: 356854)
Removal_release_partial_listed:test() (gas: 79593)
Removal_release_retired:test() (gas: 92447)
Removal_release_retired_2x:test() (gas: 98511)
Removal_release_retired_burned:test() (gas: 94927)
Removal_release_retired_burned:testDecrementsCertificateDiscrepancy() (gas: 88881)
Removal_release_retired_oneHundredCertificates:test() (gas: 89557)
Removal_release_reverts_AccessControl:test() (gas: 48757)
Removal_release_unlisted:test() (gas: 48617)
Removal_release_unlisted_listed_and_retired:test() (gas: 237498)
Removal_renounceRole:test_reverts_when_paused() (gas: 19599)
Removal_retire:test() (gas: 989092)
Removal_retire_gasLimit:test() (gas: 15359805)
Removal_retire_revertsIfRemovalBalanceSumDifferentFromCertificateAmount:test() (gas: 1002822)
Removal_revokeRole:test_reverts_when_paused() (gas: 26818)
Removal_safeBatchTransferFrom_reverts_ForbiddenTransfer:test() (gas: 32073)
Removal_safeTransferFrom_reverts_ForbiddenTransfer:test() (gas: 27716)
UInt256ArrayLib_fill:test() (gas: 120236)
UInt256ArrayLib_fill:test_gas() (gas: 101580)
UInt256ArrayLib_fill:test_library() (gas: 11821)
UInt256ArrayLib_fill:test_reference() (gas: 12325)
UInt256ArrayLib_shrink:test() (gas: 99746)
UInt256ArrayLib_shrink:test_gas() (gas: 90191)
UInt256ArrayLib_shrink:test_library() (gas: 54108)
UInt256ArrayLib_shrink:test_reference() (gas: 69278)
UInt256ArrayLib_shrink:test_revertsWhenArgumentsAreInvalid() (gas: 3295)
UInt256ArrayLib_slice:test() (gas: 105300)
UInt256ArrayLib_slice:test_gas() (gas: 95751)
UInt256ArrayLib_slice:test_library() (gas: 59581)
UInt256ArrayLib_slice:test_reference() (gas: 69292)
UInt256ArrayLib_slice:test_revertsWhenArgumentsAreInvalid() (gas: 5677)
UInt256ArrayLib_slice:test_shouldNotChangeOriginalArrayValuesOrSize() (gas: 80293)
UInt256ArrayLib_sum:test() (gas: 91155)
UInt256ArrayLib_sum:test_gas() (gas: 91317)
UInt256ArrayLib_sum:test_library() (gas: 40528)
UInt256ArrayLib_sum:test_library_overflow() (gas: 9518)
UInt256ArrayLib_sum:test_reference() (gas: 55513)