forked from Aperture-Finance/uni-v3-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gas-snapshot
227 lines (227 loc) · 15.4 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
BitMathTest:testFuzz_LSB(uint256) (runs: 65536, μ: 17627, ~: 17625)
BitMathTest:testFuzz_MSB(uint256) (runs: 65536, μ: 17649, ~: 17643)
BitMathTest:testGas_LSB() (gas: 239714)
BitMathTest:testGas_LSB_Og() (gas: 305805)
BitMathTest:testGas_MSB() (gas: 255269)
BitMathTest:testGas_MSB_Og() (gas: 288889)
FullMathTest:testFuzz_MulDivQ128(uint256,uint256) (runs: 65536, μ: 4047, ~: 3965)
FullMathTest:testFuzz_MulDivQ96(uint256,uint256) (runs: 65536, μ: 4022, ~: 3950)
FullMathTest:testFuzz_MulDivUp_OZ(uint256,uint256,uint256) (runs: 65536, μ: 4946, ~: 4743)
FullMathTest:testFuzz_MulDivUp_Og(uint256,uint256,uint256) (runs: 65536, μ: 10033, ~: 9829)
FullMathTest:testFuzz_MulDiv_OZ(uint256,uint256,uint256) (runs: 65536, μ: 4210, ~: 4075)
FullMathTest:testFuzz_MulDiv_Og(uint256,uint256,uint256) (runs: 65536, μ: 9569, ~: 9435)
FullMathTest:testFuzz_Sqrt(uint256) (runs: 65536, μ: 4411, ~: 4411)
LiquidityAmountsTest:testFuzz_GetAmount0ForLiquidity(uint160,uint160,uint128) (runs: 65536, μ: 20511, ~: 20769)
LiquidityAmountsTest:testFuzz_GetAmount1ForLiquidity(uint160,uint160,uint128) (runs: 65536, μ: 20062, ~: 20007)
LiquidityAmountsTest:testFuzz_GetAmountsForLiquidity(uint160,uint160,uint160,uint128) (runs: 65536, μ: 23033, ~: 23136)
LiquidityAmountsTest:testFuzz_GetLiquidityForAmount0(uint160,uint160,uint256) (runs: 65536, μ: 20588, ~: 20841)
LiquidityAmountsTest:testFuzz_GetLiquidityForAmount1(uint160,uint160,uint256) (runs: 65536, μ: 20171, ~: 20155)
LiquidityAmountsTest:testFuzz_GetLiquidityForAmounts(uint160,uint160,uint160,uint256,uint256) (runs: 65536, μ: 22552, ~: 22620)
LiquidityAmountsTest:testGas_GetAmountsForLiquidity() (gas: 261590)
LiquidityAmountsTest:testGas_GetAmountsForLiquidity_Og() (gas: 243788)
LiquidityAmountsTest:testGas_GetLiquidityForAmounts() (gas: 263962)
LiquidityAmountsTest:testGas_GetLiquidityForAmounts_Og() (gas: 280733)
LiquidityMathTest:testFuzz_AddDelta(uint128,int128) (runs: 65536, μ: 11961, ~: 14751)
LiquidityMathTest:testGas_AddDelta() (gas: 139593)
LiquidityMathTest:testGas_AddDelta_Og() (gas: 137264)
LiquidityMathTest:testRevert_LA() (gas: 8858)
LiquidityMathTest:testRevert_LS() (gas: 8846)
NPMCallerPCSTest:testFuzz_BalanceOf(address) (runs: 16, μ: 17717, ~: 17717)
NPMCallerPCSTest:testFuzz_GetApproved(uint256) (runs: 16, μ: 23232, ~: 23225)
NPMCallerPCSTest:testFuzz_IsApprovedForAll(uint256) (runs: 16, μ: 26905, ~: 19549)
NPMCallerPCSTest:testFuzz_OwnerOf(uint256) (runs: 16, μ: 24121, ~: 23905)
NPMCallerPCSTest:testFuzz_Positions(uint256) (runs: 16, μ: 29956, ~: 28051)
NPMCallerPCSTest:testFuzz_PositionsFull(uint256) (runs: 16, μ: 30242, ~: 28317)
NPMCallerPCSTest:testFuzz_TokenOfOwnerByIndex(uint256) (runs: 16, μ: 20139, ~: 16527)
NPMCallerPCSTest:testRevert_GetApproved() (gas: 13940)
NPMCallerPCSTest:testRevert_OwnerOf() (gas: 14230)
NPMCallerPCSTest:testRevert_Positions() (gas: 24360)
NPMCallerPCSTest:test_Approve() (gas: 132077)
NPMCallerPCSTest:test_Burn() (gas: 1059377)
NPMCallerPCSTest:test_Collect() (gas: 1002240)
NPMCallerPCSTest:test_DecreaseLiquidity() (gas: 922161)
NPMCallerPCSTest:test_Factory() (gas: 14728)
NPMCallerPCSTest:test_IncreaseLiquidity() (gas: 1242443)
NPMCallerPCSTest:test_IsApprovedForAll() (gas: 29161)
NPMCallerPCSTest:test_Mint() (gas: 731743)
NPMCallerPCSTest:test_Permit() (gas: 820257)
NPMCallerPCSTest:test_SetApprovalForAll() (gas: 61318)
NPMCallerPCSTest:test_TotalSupply() (gas: 16574)
NPMCallerSlipStreamTest:testFuzz_BalanceOf(address) (runs: 16, μ: 17761, ~: 17761)
NPMCallerSlipStreamTest:testFuzz_GetApproved(uint256) (runs: 16, μ: 31645, ~: 31807)
NPMCallerSlipStreamTest:testFuzz_IsApprovedForAll(uint256) (runs: 16, μ: 19364, ~: 19526)
NPMCallerSlipStreamTest:testFuzz_OwnerOf(uint256) (runs: 16, μ: 23685, ~: 23847)
NPMCallerSlipStreamTest:testFuzz_Positions(uint256) (runs: 16, μ: 51787, ~: 51949)
NPMCallerSlipStreamTest:testFuzz_PositionsFull(uint256) (runs: 65536, μ: 323, ~: 323)
NPMCallerSlipStreamTest:testFuzz_TokenOfOwnerByIndex(uint256) (runs: 16, μ: 16342, ~: 16504)
NPMCallerSlipStreamTest:testRevert_GetApproved() (gas: 14223)
NPMCallerSlipStreamTest:testRevert_OwnerOf() (gas: 14207)
NPMCallerSlipStreamTest:testRevert_Positions() (gas: 24752)
NPMCallerSlipStreamTest:test_Approve() (gas: 132093)
NPMCallerSlipStreamTest:test_Burn() (gas: 994507)
NPMCallerSlipStreamTest:test_Collect() (gas: 937310)
NPMCallerSlipStreamTest:test_DecreaseLiquidity() (gas: 822460)
NPMCallerSlipStreamTest:test_Factory() (gas: 14816)
NPMCallerSlipStreamTest:test_IncreaseLiquidity() (gas: 1110532)
NPMCallerSlipStreamTest:test_IsApprovedForAll() (gas: 29226)
NPMCallerSlipStreamTest:test_Mint() (gas: 606230)
NPMCallerSlipStreamTest:test_Permit() (gas: 694875)
NPMCallerSlipStreamTest:test_SetApprovalForAll() (gas: 61365)
NPMCallerSlipStreamTest:test_TotalSupply() (gas: 16574)
NPMCallerTest:testFuzz_BalanceOf(address) (runs: 16, μ: 17743, ~: 17743)
NPMCallerTest:testFuzz_GetApproved(uint256) (runs: 16, μ: 24046, ~: 24208)
NPMCallerTest:testFuzz_IsApprovedForAll(uint256) (runs: 16, μ: 79135, ~: 79297)
NPMCallerTest:testFuzz_OwnerOf(uint256) (runs: 16, μ: 26349, ~: 26511)
NPMCallerTest:testFuzz_Positions(uint256) (runs: 16, μ: 44060, ~: 44222)
NPMCallerTest:testFuzz_PositionsFull(uint256) (runs: 16, μ: 44478, ~: 44640)
NPMCallerTest:testFuzz_TokenOfOwnerByIndex(uint256) (runs: 16, μ: 53716, ~: 46385)
NPMCallerTest:testRevert_GetApproved() (gas: 13940)
NPMCallerTest:testRevert_OwnerOf() (gas: 14207)
NPMCallerTest:testRevert_Positions() (gas: 24360)
NPMCallerTest:test_Approve() (gas: 132054)
NPMCallerTest:test_Burn() (gas: 955499)
NPMCallerTest:test_Collect() (gas: 898356)
NPMCallerTest:test_DecreaseLiquidity() (gas: 818249)
NPMCallerTest:test_Factory() (gas: 14728)
NPMCallerTest:test_IncreaseLiquidity() (gas: 1116399)
NPMCallerTest:test_IsApprovedForAll() (gas: 29138)
NPMCallerTest:test_Mint() (gas: 607831)
NPMCallerTest:test_Permit() (gas: 696408)
NPMCallerTest:test_SetApprovalForAll() (gas: 61318)
NPMCallerTest:test_TotalSupply() (gas: 16585)
PoolAddressPCSTest:testFuzz_ComputeAddress(address,address,uint24) (runs: 65536, μ: 20442, ~: 20447)
PoolAddressPCSTest:testFuzz_ComputeAddressCalldata(address,address,uint24) (runs: 65536, μ: 15674, ~: 15679)
PoolAddressPCSTest:testFuzz_ComputeAddressFromKey(address,address,uint24) (runs: 65536, μ: 22202, ~: 22207)
PoolAddressPCSTest:testFuzz_VerifyCallback(address,address,uint24) (runs: 65536, μ: 17342, ~: 17347)
PoolAddressPCSTest:testFuzz_VerifyCallbackCalldata(address,address,uint24) (runs: 65536, μ: 16020, ~: 16025)
PoolAddressPCSTest:testGas_ComputeAddress() (gas: 16432)
PoolAddressPCSTest:testGas_ComputeAddress_Og() (gas: 16995)
PoolAddressTest:testFuzz_ComputeAddress(address,address,uint24) (runs: 65536, μ: 20442, ~: 20447)
PoolAddressTest:testFuzz_ComputeAddressCalldata(address,address,uint24) (runs: 65536, μ: 15674, ~: 15679)
PoolAddressTest:testFuzz_ComputeAddressFromKey(address,address,uint24) (runs: 65536, μ: 22202, ~: 22207)
PoolAddressTest:testFuzz_VerifyCallback(address,address,uint24) (runs: 65536, μ: 17342, ~: 17347)
PoolAddressTest:testFuzz_VerifyCallbackCalldata(address,address,uint24) (runs: 65536, μ: 16020, ~: 16025)
PoolAddressTest:testGas_ComputeAddress() (gas: 16432)
PoolAddressTest:testGas_ComputeAddress_Og() (gas: 16995)
PoolCallerPCSTest:testFuzz_LiquidityNet(int24) (runs: 16, μ: 22062, ~: 22062)
PoolCallerPCSTest:testFuzz_Observations(uint256) (runs: 1, μ: 278, ~: 278)
PoolCallerPCSTest:testFuzz_Positions(bytes32) (runs: 16, μ: 24548, ~: 24548)
PoolCallerPCSTest:testFuzz_Swap(bool,uint256,bytes) (runs: 16, μ: 391012, ~: 387679)
PoolCallerPCSTest:testFuzz_TickBitmap(int16) (runs: 16, μ: 14023, ~: 14023)
PoolCallerPCSTest:testFuzz_Ticks(int24) (runs: 16, μ: 27809, ~: 27809)
PoolCallerPCSTest:testRevert_AS_Swap() (gas: 35335)
PoolCallerPCSTest:testRevert_SPL_Swap() (gas: 40056)
PoolCallerPCSTest:test_Fee() (gas: 11396)
PoolCallerPCSTest:test_FeeGrowthGlobal0X128() (gas: 13539)
PoolCallerPCSTest:test_FeeGrowthGlobal1X128() (gas: 13541)
PoolCallerPCSTest:test_Liquidity() (gas: 13720)
PoolCallerPCSTest:test_LiquidityNet() (gas: 28234)
PoolCallerPCSTest:test_ProtocolFees() (gas: 14768)
PoolCallerPCSTest:test_Slot0() (gas: 20497)
PoolCallerPCSTest:test_SqrtPriceX96AndTick() (gas: 16086)
PoolCallerPCSTest:test_Swap() (gas: 476628)
PoolCallerPCSTest:test_TickSpacing() (gas: 11445)
PoolCallerTest:testFuzz_LiquidityNet(int24) (runs: 16, μ: 22029, ~: 22029)
PoolCallerTest:testFuzz_Observations(uint256) (runs: 16, μ: 24421, ~: 24515)
PoolCallerTest:testFuzz_Positions(bytes32) (runs: 16, μ: 24563, ~: 24563)
PoolCallerTest:testFuzz_Swap(bool,uint256,bytes) (runs: 16, μ: 333524, ~: 339645)
PoolCallerTest:testFuzz_TickBitmap(int16) (runs: 16, μ: 14038, ~: 14038)
PoolCallerTest:testFuzz_Ticks(int24) (runs: 16, μ: 27776, ~: 27776)
PoolCallerTest:testRevert_AS_Swap() (gas: 35387)
PoolCallerTest:testRevert_SPL_Swap() (gas: 38025)
PoolCallerTest:test_Fee() (gas: 11396)
PoolCallerTest:test_FeeGrowthGlobal0X128() (gas: 13539)
PoolCallerTest:test_FeeGrowthGlobal1X128() (gas: 13585)
PoolCallerTest:test_Liquidity() (gas: 13742)
PoolCallerTest:test_LiquidityNet() (gas: 25836)
PoolCallerTest:test_ProtocolFees() (gas: 14768)
PoolCallerTest:test_Slot0() (gas: 19717)
PoolCallerTest:test_SqrtPriceX96AndTick() (gas: 13653)
PoolCallerTest:test_Swap() (gas: 425320)
PoolCallerTest:test_TickSpacing() (gas: 11445)
SafeCastTest:testRevert_ToInt128() (gas: 3096)
SafeCastTest:testRevert_ToInt256() (gas: 3099)
SafeCastTest:testRevert_ToUint128() (gas: 3118)
SafeCastTest:testRevert_ToUint160() (gas: 3074)
SafeCastTest:testToInt128() (gas: 3163)
SafeCastTest:testToInt128(int256) (runs: 65536, μ: 3322, ~: 3354)
SafeCastTest:testToInt128(uint256) (runs: 65536, μ: 3228, ~: 3254)
SafeCastTest:testToInt256() (gas: 3156)
SafeCastTest:testToInt256(uint256) (runs: 65536, μ: 3262, ~: 3266)
SafeCastTest:testToUint128(uint256) (runs: 65536, μ: 3226, ~: 3252)
SafeCastTest:testToUint160(uint256) (runs: 65536, μ: 3255, ~: 3275)
SqrtPriceMathTest:testFuzz_GetAmount0Delta(uint160,uint160,int128) (runs: 65536, μ: 15625, ~: 15539)
SqrtPriceMathTest:testFuzz_GetAmount0Delta(uint160,uint160,uint128,bool) (runs: 65536, μ: 15727, ~: 15642)
SqrtPriceMathTest:testFuzz_GetAmount1Delta(uint160,uint160,int128) (runs: 65536, μ: 15222, ~: 15165)
SqrtPriceMathTest:testFuzz_GetAmount1Delta(uint160,uint160,uint128,bool) (runs: 65536, μ: 15368, ~: 15414)
SqrtPriceMathTest:testFuzz_GetNextSqrtPriceFromAmount0RoundingUp(uint160,uint128,uint256,bool) (runs: 65536, μ: 19128, ~: 18714)
SqrtPriceMathTest:testFuzz_GetNextSqrtPriceFromAmount1RoundingDown(uint160,uint128,uint256,bool) (runs: 65536, μ: 21221, ~: 21292)
SqrtPriceMathTest:testFuzz_GetNextSqrtPriceFromInput(uint160,uint128,uint256,bool) (runs: 65536, μ: 15553, ~: 15478)
SqrtPriceMathTest:testFuzz_GetNextSqrtPriceFromOutput(uint160,uint128,uint256,bool) (runs: 65536, μ: 15373, ~: 14907)
SqrtPriceMathTest:testGas_GetAmount0Delta() (gas: 322902)
SqrtPriceMathTest:testGas_GetAmount0Delta_Og() (gas: 318258)
SqrtPriceMathTest:testGas_GetAmount1Delta() (gas: 281567)
SqrtPriceMathTest:testGas_GetAmount1Delta_Og() (gas: 306610)
SqrtPriceMathTest:testGas_GetNextSqrtPriceFromInput() (gas: 303316)
SqrtPriceMathTest:testGas_GetNextSqrtPriceFromInput_Og() (gas: 285701)
SqrtPriceMathTest:testGas_GetNextSqrtPriceFromOutput() (gas: 286328)
SqrtPriceMathTest:testGas_GetNextSqrtPriceFromOutput_Og() (gas: 269021)
SwapMathTest:testFuzz_ComputeSwapStep(uint160,uint160,uint128,int256,uint24) (runs: 65536, μ: 27004, ~: 27092)
SwapMathTest:testFuzz_ComputeSwapStepExactIn(uint160,uint160,uint128,uint256,uint24) (runs: 65536, μ: 29067, ~: 29011)
SwapMathTest:testFuzz_ComputeSwapStepExactOut(uint160,uint160,uint128,uint256,uint24) (runs: 65536, μ: 28604, ~: 28498)
SwapMathTest:testFuzz_getSqrtPriceTarget(bool,uint160,uint160) (runs: 65536, μ: 3503, ~: 3503)
SwapMathTest:testGas_ComputeSwapStep() (gas: 514209)
SwapMathTest:testGas_ComputeSwapStepExactIn() (gas: 533978)
SwapMathTest:testGas_ComputeSwapStepExactIn_Og() (gas: 563266)
SwapMathTest:testGas_ComputeSwapStepExactOut() (gas: 482433)
SwapMathTest:testGas_ComputeSwapStepExactOut_Og() (gas: 557512)
SwapMathTest:testGas_ComputeSwapStep_Og() (gas: 577793)
TernaryLibTest:testFuzz_Abs(int256) (runs: 65536, μ: 3626, ~: 3611)
TernaryLibTest:testFuzz_AbsDiff(uint256,uint256) (runs: 65536, μ: 3376, ~: 3377)
TernaryLibTest:testFuzz_AbsDiffU160(uint160,uint160) (runs: 65536, μ: 3506, ~: 3507)
TernaryLibTest:testFuzz_Max(uint256,uint256) (runs: 65536, μ: 3268, ~: 3269)
TernaryLibTest:testFuzz_Min(uint256,uint256) (runs: 65536, μ: 3258, ~: 3259)
TernaryLibTest:testFuzz_Sort2(uint256,uint256) (runs: 65536, μ: 3659, ~: 3654)
TernaryLibTest:testFuzz_SwitchIf(bool,uint256,uint256) (runs: 65536, μ: 3781, ~: 3787)
TernaryLibTest:testFuzz_Ternary(bool,address,address) (runs: 65536, μ: 3489, ~: 3489)
TernaryLibTest:testFuzz_Ternary(bool,uint256,uint256) (runs: 65536, μ: 3377, ~: 3377)
TernaryLibTest:test_Abs() (gas: 3963)
TernaryLibTest:test_AbsDiff() (gas: 3547)
TernaryLibTest:test_AbsDiffU160() (gas: 3585)
TernaryLibTest:test_Max() (gas: 3492)
TernaryLibTest:test_Min() (gas: 3569)
TernaryLibTest:test_Sort2() (gas: 4346)
TernaryLibTest:test_SwitchIf() (gas: 3491)
TernaryLibTest:test_Ternary() (gas: 3547)
TickBitmapPCSTest:testFuzz_Compress(int24,int24) (runs: 65536, μ: 9282, ~: 9380)
TickBitmapPCSTest:testFuzz_FlipTick(int24) (runs: 65536, μ: 111712, ~: 112001)
TickBitmapPCSTest:testFuzz_NextInitializedTickWithinOneWord(int24,int24,uint8,bool) (runs: 65536, μ: 65259, ~: 65193)
TickBitmapPCSTest:testFuzz_NextInitializedTickWithinOneWord(int24,uint8,bool) (runs: 65536, μ: 112949, ~: 112889)
TickBitmapPCSTest:testFuzz_Position(int24) (runs: 65536, μ: 3859, ~: 3859)
TickBitmapPCSTest:testGas_NextInitializedTickWithinOneWord() (gas: 12597642)
TickBitmapPCSTest:testGas_NextInitializedTickWithinOneWord_Og() (gas: 12635537)
TickBitmapPCSTest:test_NextInitializedTickWithinOneWord_GT() (gas: 113437)
TickBitmapPCSTest:test_NextInitializedTickWithinOneWord_LTE() (gas: 113884)
TickBitmapPCSTest:test_NextInitializedTick_GT() (gas: 124862)
TickBitmapPCSTest:test_NextInitializedTick_LTE() (gas: 129368)
TickBitmapTest:testFuzz_Compress(int24,int24) (runs: 65536, μ: 9282, ~: 9380)
TickBitmapTest:testFuzz_FlipTick(int24) (runs: 65536, μ: 111712, ~: 112001)
TickBitmapTest:testFuzz_NextInitializedTickWithinOneWord(int24,int24,uint8,bool) (runs: 65536, μ: 65259, ~: 65193)
TickBitmapTest:testFuzz_NextInitializedTickWithinOneWord(int24,uint8,bool) (runs: 65536, μ: 112949, ~: 112889)
TickBitmapTest:testFuzz_Position(int24) (runs: 65536, μ: 3859, ~: 3859)
TickBitmapTest:testGas_NextInitializedTickWithinOneWord() (gas: 12597642)
TickBitmapTest:testGas_NextInitializedTickWithinOneWord_Og() (gas: 12635537)
TickBitmapTest:test_NextInitializedTickWithinOneWord_GT() (gas: 291022)
TickBitmapTest:test_NextInitializedTickWithinOneWord_LTE() (gas: 303031)
TickBitmapTest:test_NextInitializedTick_GT() (gas: 496078)
TickBitmapTest:test_NextInitializedTick_LTE() (gas: 612514)
TickMathTest:testFuzzRevert_GetSqrtRatioAtTick(int24) (runs: 65536, μ: 14695, ~: 14839)
TickMathTest:testFuzzRevert_GetTickAtSqrtRatio(uint160,bool) (runs: 65536, μ: 12914, ~: 13070)
TickMathTest:testFuzz_GetSqrtRatioAtTick(int24) (runs: 65536, μ: 18009, ~: 17843)
TickMathTest:testFuzz_GetTickAtSqrtRatio(uint160) (runs: 65536, μ: 16575, ~: 16588)
TickMathTest:testGas_GetSqrtRatioAtTick() (gas: 173514)
TickMathTest:testGas_GetSqrtRatioAtTick_Og() (gas: 180373)
TickMathTest:testGas_GetTickAtSqrtRatio() (gas: 282569)
TickMathTest:testGas_GetTickAtSqrtRatio_Og() (gas: 317560)
TickMathTest:testRevert_GetSqrtRatioAtTick() (gas: 11527)
TickMathTest:testRevert_GetTickAtSqrtRatio() (gas: 11262)