-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gas-snapshot
189 lines (189 loc) · 12.8 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
BalanceUtilTest:testAppend() (gas: 13474)
BalanceUtilTest:testFind() (gas: 21856)
BalanceUtilTest:testIndexOf() (gas: 20127)
BalanceUtilTest:testIsEmpty() (gas: 10137)
BalanceUtilTest:testRemoveStorage() (gas: 43907)
BaseDebitSpreadEngineFlow:test() (gas: 186)
BaseDebitSpreadEngineFlow:testAddCollateralMoveBalance() (gas: 67394)
BaseDebitSpreadEngineFlow:testAddLongShouldMoveToken() (gas: 101659)
BaseDebitSpreadEngineFlow:testBurnActionShouldBurnOption() (gas: 52310)
BaseDebitSpreadEngineFlow:testCannotAddCollatFromOthers() (gas: 15582)
BaseDebitSpreadEngineFlow:testCannotAddLongFromOthers() (gas: 16131)
BaseDebitSpreadEngineFlow:testCannotBurnFromOthers() (gas: 17074)
BaseDebitSpreadEngineFlow:testCannotMergeWithSameStrike() (gas: 15550)
BaseDebitSpreadEngineFlow:testCannotRemoveMoreThanEngineHas() (gas: 73082)
BaseDebitSpreadEngineFlow:testExecuteShouldRevertIfUnderWater() (gas: 10161)
BaseDebitSpreadEngineFlow:testMergeActionShouldBurnToken() (gas: 53440)
BaseDebitSpreadEngineFlow:testMintActionShouldMintOption() (gas: 59206)
BaseDebitSpreadEngineFlow:testRemoveCollateralMoveBalance() (gas: 59015)
BaseDebitSpreadEngineFlow:testRemoveLongShouldPullToken() (gas: 78998)
BaseDebitSpreadEngineFlow:testSettlementShouldEmitEvent() (gas: 24926)
BaseDebitSpreadEngineFlow:testSplitActionShouldMintToken() (gas: 61042)
BaseEngineTest:test() (gas: 186)
BaseEngineTest:testCanRequestPayoutFromGrappa() (gas: 70061)
BaseEngineTest:testCannotRequestPayoutFromRandomAddress() (gas: 10748)
BaseEngineTest:testOnReceive() (gas: 7430)
BaseEngineTest:testRevokeAccess() (gas: 27172)
BaseEngineTest:testSetAccess() (gas: 61040)
BaseEngineTest:testSetAccessForSubAccounts() (gas: 61135)
CashOptionTokenTest:testCannotBurn() (gas: 13971)
CashOptionTokenTest:testCannotBurnGrappaOnly() (gas: 10966)
CashOptionTokenTest:testCannotMint() (gas: 14621)
CashOptionTokenTest:testCannotMintCallWithShortStrike() (gas: 13013)
CashOptionTokenTest:testCannotMintCreditCallSpread() (gas: 13107)
CashOptionTokenTest:testCannotMintCreditPutSpread() (gas: 13201)
CashOptionTokenTest:testCannotMintPutWithShortStrike() (gas: 13006)
CashOptionTokenTest:testGetUrl() (gas: 16292)
ChainlinkOracleConfigurationTest:testCanResetAggregator() (gas: 40192)
ChainlinkOracleConfigurationTest:testCannotSetAggregatorFromNonOwner() (gas: 17803)
ChainlinkOracleConfigurationTest:testDisputePeriodIs0() (gas: 5472)
ChainlinkOracleConfigurationTest:testOwnerCanSetAggregator() (gas: 39611)
ChainlinkOracleDisputableTest:testCanforceSetPriceIfPriceAfterGracePeriod() (gas: 45424)
ChainlinkOracleDisputableTest:testCannotDisputeAfterDisputePeriod() (gas: 95954)
ChainlinkOracleDisputableTest:testCannotDisputeSameExpiryTwice() (gas: 97939)
ChainlinkOracleDisputableTest:testCannotDisputeUnReportedPrice() (gas: 19730)
ChainlinkOracleDisputableTest:testCannotForceSetPriceIfPriceIsReported() (gas: 67217)
ChainlinkOracleDisputableTest:testCannotForceSetPriceRightAfterExpiry() (gas: 20263)
ChainlinkOracleDisputableTest:testCannotForceSetPriceTwice() (gas: 45090)
ChainlinkOracleDisputableTest:testCannotSetDisputePeriodFromNonOwner() (gas: 17483)
ChainlinkOracleDisputableTest:testCannotSetDisputePeriodThatIsTooHigh() (gas: 14970)
ChainlinkOracleDisputableTest:testDisputePeriodIsMax() (gas: 5461)
ChainlinkOracleDisputableTest:testIsFinalizedIsFalseForUnreportedExpiry() (gas: 14716)
ChainlinkOracleDisputableTest:testOwnerCanSetDisputePeriod() (gas: 37468)
ChainlinkOracleDisputableTest:testOwnerDisputePrice() (gas: 95752)
ChainlinkOracleInternalTests:testDecimalConversion0Decimals() (gas: 628)
ChainlinkOracleInternalTests:testDecimalConversionDiffDecimals() (gas: 2138)
ChainlinkOracleInternalTests:testDecimalConversionDiffDecimals2() (gas: 2046)
ChainlinkOracleInternalTests:testDecimalConversionDiffDecimals3() (gas: 2046)
ChainlinkOracleInternalTests:testDecimalConversionDiffDecimalsFuzz(uint8,uint8) (runs: 256, μ: 5268, ~: 5271)
ChainlinkOracleInternalTests:testDecimalConversionNormalDecimals() (gas: 808)
ChainlinkOracleTest:testCannotGetSpotWhenAggregatorIsNotSet() (gas: 23300)
ChainlinkOracleTest:testCannotGetSpotWhenAggregatorIsStale() (gas: 41724)
ChainlinkOracleTest:testSpotPrice() (gas: 30908)
ChainlinkOracleTest:testSpotPriceDiffDecimals1() (gas: 31515)
ChainlinkOracleTest:testSpotPriceDiffDecimals2() (gas: 31617)
ChainlinkOracleTest:testSpotPriceReverse() (gas: 30843)
ChainlinkOracleTestWriteOracle:testCanReportPrice() (gas: 62419)
ChainlinkOracleTestWriteOracle:testCannotGetUnreportedExpiry() (gas: 17413)
ChainlinkOracleTestWriteOracle:testCannotReportPriceIfRoundIDIsTooHigh() (gas: 34872)
ChainlinkOracleTestWriteOracle:testCannotReportPriceIfStablePriceIsStale() (gas: 44466)
ChainlinkOracleTestWriteOracle:testCannotReportPriceIfUnderlyingPriceIsStale() (gas: 34509)
ChainlinkOracleTestWriteOracle:testCannotReportPriceIfWrongIdIsSpecified() (gas: 42471)
ChainlinkOracleTestWriteOracle:testCannotReportPriceInTheFuture() (gas: 26083)
ChainlinkOracleTestWriteOracle:testCannotReportPriceTwice() (gas: 65171)
ChainlinkOracleTestWriteOracle:testCannotReportWhenAggregatorIsNotSet() (gas: 31877)
DecimalMathTest:testConversionSameDecimals() (gas: 5792)
DecimalMathTest:testConversionScaleDown() (gas: 7197)
DecimalMathTest:testConversionScaleUp() (gas: 7854)
DecimalMathTest:testMul(uint256,uint256) (runs: 256, μ: 8980, ~: 8980)
DecimalMathTest:testMulOverflowInUncheck() (gas: 8345)
GrappaPayoutTest:testCanGetBatchPayout() (gas: 178835)
GrappaPayoutTest:testCannotGetPayoutBeforeExpiry() (gas: 57262)
GrappaPayoutTest:testPayoutETHCollatCall() (gas: 101189)
GrappaPayoutTest:testPayoutETHCollatPUTSpread() (gas: 101133)
GrappaPayoutTest:testPayoutETHCollatPut() (gas: 101073)
GrappaPayoutTest:testPayoutUSDCCollatCallSpread() (gas: 100396)
GrappaPayoutTest:testPayoutUSDCollatCall() (gas: 100287)
GrappaPayoutTest:testPayoutUSDCollatPut() (gas: 100421)
GrappaProxyTest:testCanUpgradeToAnotherUUPSContract() (gas: 745802)
GrappaProxyTest:testCannotUpgradeFromNonOwner() (gas: 16100)
GrappaProxyTest:testCannotUpgradeTov3() (gas: 1473239)
GrappaProxyTest:testImplementationContractOwnerIsZero() (gas: 7622)
GrappaProxyTest:testImplementationIsInitialized() (gas: 11042)
GrappaProxyTest:testProxyCanDecideInitRule() (gas: 327439)
GrappaProxyTest:testProxyIsInitialized() (gas: 15915)
GrappaProxyTest:testProxyOwnerIsSelf() (gas: 12526)
GrappaRegistry:testCannotRegisterFromNonOwner() (gas: 18025)
GrappaRegistry:testCannotRegistrySameAssetTwice() (gas: 91033)
GrappaRegistry:testRegisterAssetFromId1() (gas: 88197)
GrappaRegistry:testRegisterAssetRecordDecimals() (gas: 88309)
GrappaRegistry:testReturnAssetsFromProductId() (gas: 106592)
GrappaRegistry:testReturnOptionDetailsFromTokenId() (gas: 99512)
GrappaSettlementTest:testCannotMintExpiredOption() (gas: 24686)
GrappaSettlementTest:testCannotPassInInconsistentArray() (gas: 21044)
GrappaSettlementTest:testCannotSettleBeforeFinalization() (gas: 104660)
GrappaSettlementTest:testSettleDiffCollat() (gas: 214132)
GrappaSettlementTest:testSettleETHCollatCall() (gas: 122959)
GrappaSettlementTest:testSettleETHCollatPUTSpread() (gas: 123209)
GrappaSettlementTest:testSettleETHCollatPut() (gas: 123139)
GrappaSettlementTest:testSettleSameCollat() (gas: 181592)
GrappaSettlementTest:testSettleUSDCCollatCall() (gas: 122329)
GrappaSettlementTest:testSettleUSDCCollatCallSpread() (gas: 122462)
GrappaSettlementTest:testSettleUSDCollatPut() (gas: 122509)
GrappaSettlementTest:testSettleWithNonUnderlyingNorStrike() (gas: 999583)
InstrumentGrappaPayoutTest:testCanGetBatchPayout() (gas: 178924)
InstrumentGrappaPayoutTest:testCannotGetPayoutBeforeExpiry() (gas: 57249)
InstrumentGrappaPayoutTest:testPayoutETHCollatCall() (gas: 101197)
InstrumentGrappaPayoutTest:testPayoutETHCollatPUTSpread() (gas: 101145)
InstrumentGrappaPayoutTest:testPayoutETHCollatPut() (gas: 101081)
InstrumentGrappaPayoutTest:testPayoutUSDCCollatCallSpread() (gas: 100412)
InstrumentGrappaPayoutTest:testPayoutUSDCollatCall() (gas: 100299)
InstrumentGrappaPayoutTest:testPayoutUSDCollatPut() (gas: 100433)
InstrumentGrappaProxyTest:testCanUpgradeToAnotherUUPSContract() (gas: 745798)
InstrumentGrappaProxyTest:testCannotUpgradeFromNonOwner() (gas: 16096)
InstrumentGrappaProxyTest:testCannotUpgradeTov3() (gas: 1473235)
InstrumentGrappaProxyTest:testImplementationContractOwnerIsZero() (gas: 7667)
InstrumentGrappaProxyTest:testImplementationIsInitialized() (gas: 11017)
InstrumentGrappaProxyTest:testProxyCanDecideInitRule() (gas: 327434)
InstrumentGrappaProxyTest:testProxyIsInitialized() (gas: 15890)
InstrumentGrappaProxyTest:testProxyOwnerIsSelf() (gas: 12571)
InstrumentGrappaSettlementTest:testCannotMintExpiredOption() (gas: 24686)
InstrumentGrappaSettlementTest:testCannotPassInInconsistentArray() (gas: 21085)
InstrumentGrappaSettlementTest:testCannotSettleBeforeFinalization() (gas: 104645)
InstrumentGrappaSettlementTest:testSettleDiffCollat() (gas: 214220)
InstrumentGrappaSettlementTest:testSettleETHCollatCall() (gas: 122925)
InstrumentGrappaSettlementTest:testSettleETHCollatPUTSpread() (gas: 123179)
InstrumentGrappaSettlementTest:testSettleETHCollatPut() (gas: 123105)
InstrumentGrappaSettlementTest:testSettleSameCollat() (gas: 181683)
InstrumentGrappaSettlementTest:testSettleUSDCCollatCall() (gas: 122299)
InstrumentGrappaSettlementTest:testSettleUSDCCollatCallSpread() (gas: 122436)
InstrumentGrappaSettlementTest:testSettleUSDCollatPut() (gas: 122479)
InstrumentGrappaSettlementTest:testSettleWithNonUnderlyingNorStrike() (gas: 999608)
InstrumentIdLibTest:testConvertBarrierObservationFrequencyType() (gas: 16336)
InstrumentIdLibTest:testSerialize() (gas: 32894)
InstrumentIdUtilTest:testAutocallIdFormatAndParseAreMirrored(bool,uint32) (runs: 256, μ: 713, ~: 717)
InstrumentIdUtilTest:testAutocallIdGetAndParseAreMirrored(bool,uint256) (runs: 256, μ: 621, ~: 624)
InstrumentIdUtilTest:testBarrierIdFormatAndParseAreMirrored(uint16,uint8,uint8,uint8) (runs: 256, μ: 4920, ~: 4920)
InstrumentIdUtilTest:testBarrierIdGetAndParseAreMirrored(uint256,uint8,uint8,uint8) (runs: 256, μ: 4835, ~: 4835)
InstrumentIdUtilTest:testBarrierIdHigherThan0(uint16,uint8,uint8,uint8) (runs: 256, μ: 5009, ~: 5007)
InstrumentIdUtilTest:testCouponIdFormatAndParseAreMirrored(uint16,uint16,uint8,uint32) (runs: 256, μ: 4397, ~: 4397)
InstrumentIdUtilTest:testCouponIdGetAndParseAreMirrored(uint256,uint256,uint8,uint256) (runs: 256, μ: 4207, ~: 4207)
InstrumentIdUtilTest:testCouponsGetAndParseAreMirrored(uint64[]) (runs: 256, μ: 8070, ~: 8986)
InstrumentIdUtilTest:testInstrumentIdHigherThan0((uint64,uint8,uint40,uint256,(uint16,uint32,uint256)[])) (runs: 256, μ: 64066, ~: 64451)
InstrumentIdUtilTest:testInstrumentIdUnique((uint64,uint8,uint40,uint256,(uint16,uint32,uint256)[])) (runs: 256, μ: 86971, ~: 86899)
MockedBaseEngineSetup:test() (gas: 186)
MoneynessLibTest:testCallCashValue() (gas: 8059)
MoneynessLibTest:testCallSpreadCashValue() (gas: 8370)
MoneynessLibTest:testCallSpreadCashValueUnderflow() (gas: 6260)
MoneynessLibTest:testPutCashValue() (gas: 8092)
MoneynessLibTest:testPutSpreadCashValue() (gas: 8403)
MoneynessLibTest:testPutSpreadCashValueUnderflow() (gas: 6216)
OptionProxyTest:testCanUpgradeToAnotherUUPSContract() (gas: 869517)
OptionProxyTest:testCannotUpgradeFromNonOwner() (gas: 16017)
OptionProxyTest:testGetUrl() (gas: 16134)
OptionProxyTest:testImplementationContractOwnerIsZero() (gas: 7603)
OptionProxyTest:testImplementationIsInitialized() (gas: 10746)
OptionProxyTest:testProxyCanInitLater() (gas: 279551)
OptionProxyTest:testProxyIsInitialized() (gas: 15671)
OptionProxyTest:testProxyOwnerIsCorrect() (gas: 12463)
OptionTransferableTest:testCanTransferCollat() (gas: 106175)
OptionTransferableTest:testCannotTransferShortIfEndingUnderwater() (gas: 111787)
OptionTransferableTest:testMintOptionToOtherAccount() (gas: 162700)
OptionTransferableTest:testTransferLong() (gas: 113046)
OptionTransferableTest:testTransferShort() (gas: 136712)
ProductIdUtilTest:testFormatAndParseAreMirrored(uint8,uint8,uint8,uint8,uint8) (runs: 256, μ: 1246, ~: 1246)
RegisterEngineTest:testCannotRegisterFromNonOwner() (gas: 18068)
RegisterEngineTest:testCannotRegistrySameEngineTwice() (gas: 87843)
RegisterEngineTest:testRegisterEngineFromId1() (gas: 84987)
RegisterEngineTest:testReturnEngineFromProductId() (gas: 98834)
RegisterInstrumentTest:testCannotRegisterSameInstrumentTwice() (gas: 180228)
RegisterInstrumentTest:testRegisterInstrument() (gas: 182946)
RegisterOracleTest:testCannotRegisterFromNonOwner() (gas: 18079)
RegisterOracleTest:testCannotRegistryOralceWithDisputePeriodTooLong() (gas: 45865)
RegisterOracleTest:testCannotRegistrySameOracleTwice() (gas: 93004)
RegisterOracleTest:testRegisterOracleFromId1() (gas: 90105)
RegisterOracleTest:testReturnEngineFromProductId() (gas: 103995)
TokenIdLibTest:testIsExpired() (gas: 12305)
TokenIdUtilTest:testTokenIdFormatAndParseAreMirrored(uint8,uint40,uint64,uint64,uint64) (runs: 256, μ: 4547, ~: 4547)
TokenIdUtilTest:testTokenIdGetAndParseAreMirrored(uint8,uint40,uint256,uint256,uint256) (runs: 256, μ: 4371, ~: 4371)
TokenIdUtilTest:testTokenIdHigherThan0(uint8,uint40,uint64,uint64,uint64) (runs: 256, μ: 4152, ~: 4152)