-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gas-snapshot
714 lines (714 loc) · 44 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
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
AdvanceEngineGeneral:test() (gas: 164)
AdvanceEngineGeneral:testCannotCallAddLong() (gas: 17379)
AdvanceEngineGeneral:testCannotCallPayoutFromAnybody() (gas: 10671)
AdvanceEngineGeneral:testCannotCallRemoveLong() (gas: 17391)
AdvanceEngineGeneral:testForgeCoverageIgnoreThis() (gas: 230)
AdvanceEngineGeneral:testUtils() (gas: 167)
AdvancedMarginEngineAccessTest:test() (gas: 164)
AdvancedMarginEngineAccessTest:testCannotOverrideAnotherAccount() (gas: 114732)
AdvancedMarginEngineAccessTest:testCannotTransferUnAuthorizedAccount() (gas: 10656)
AdvancedMarginEngineAccessTest:testForgeCoverageIgnoreThis() (gas: 230)
AdvancedMarginEngineAccessTest:testTransferAccount() (gas: 122963)
AdvancedMarginEngineAccessTest:testUtils() (gas: 167)
AdvancedMarginMathTest:testAccountDoubleShort() (gas: 22264)
AdvancedMarginMathTest:testAccountShortStrangle() (gas: 14836)
AdvancedMarginMathTest:testCannotCalculateMarginRequirementWithoutProperConfig() (gas: 13265)
AdvancedMarginMathTest:testFuzzMinCollatForDebitCallSpread(uint64,uint256,uint256) (runs: 256, μ: 14125, ~: 14125)
AdvancedMarginMathTest:testFuzzMinCollatForDebitPutSpread(uint64,uint256,uint256) (runs: 256, μ: 13725, ~: 13725)
AdvancedMarginMathTest:testFuzzMinCollateralCallSpreadShouldNotExceedMaxLoss(uint64) (runs: 256, μ: 13183, ~: 13191)
AdvancedMarginMathTest:testFuzzMinCollateralPutSpreadShouldNotExceedMaxLoss(uint64) (runs: 256, μ: 13123, ~: 13191)
AdvancedMarginMathTest:testMinCollatInStrikeOnEmptyAccount() (gas: 8226)
AdvancedMarginMathTest:testMinCollateralITMCall() (gas: 15569)
AdvancedMarginMathTest:testMinCollateralITMPut() (gas: 17587)
AdvancedMarginMathTest:testMinCollateralOTMCall() (gas: 20936)
AdvancedMarginMathTest:testMinCollateralOTMPut() (gas: 20915)
AdvancedMarginMathTest:testMinCollateralShouldConvertPriceBaseOnProductDetail() (gas: 22474)
AdvancedMarginMathTest:testMinCollateralSpotIsZero() (gas: 9832)
AdvancedMarginMathTest:testTimeDecayIsZeroOnPassedTimestamp() (gas: 7188)
AdvancedMarginMathTest:testTimeDecayValue30Days() (gas: 9933)
AdvancedMarginMathTest:testTimeDecayValue90Days() (gas: 9934)
AdvancedMarginMathTest:testTimeDecayValueLowerBond() (gas: 9371)
AdvancedMarginMathTest:testTimeDecayValueUpperBond() (gas: 9404)
BalanceUtilTest:testAppend() (gas: 13490)
BalanceUtilTest:testFind() (gas: 21861)
BalanceUtilTest:testIndexOf() (gas: 20134)
BalanceUtilTest:testIsEmpty() (gas: 10153)
BalanceUtilTest:testRemoveStorage() (gas: 43996)
BaseDebitSpreadEngineFlow:test() (gas: 209)
BaseDebitSpreadEngineFlow:testAddCollateralMoveBalance() (gas: 69738)
BaseDebitSpreadEngineFlow:testAddLongShouldMoveToken() (gas: 104351)
BaseDebitSpreadEngineFlow:testBurnActionShouldBurnOption() (gas: 58997)
BaseDebitSpreadEngineFlow:testCannotAddCollatFromOthers() (gas: 20611)
BaseDebitSpreadEngineFlow:testCannotAddLongFromOthers() (gas: 21183)
BaseDebitSpreadEngineFlow:testCannotBurnFromOthers() (gas: 22103)
BaseDebitSpreadEngineFlow:testCannotMergeWithSameStrike() (gas: 20620)
BaseDebitSpreadEngineFlow:testCannotRemoveMoreThanEngineHas() (gas: 78654)
BaseDebitSpreadEngineFlow:testExecuteShouldRevertIfUnderWater() (gas: 15213)
BaseDebitSpreadEngineFlow:testForgeCoverageIgnoreThis() (gas: 208)
BaseDebitSpreadEngineFlow:testMergeActionShouldBurnToken() (gas: 60139)
BaseDebitSpreadEngineFlow:testMintActionShouldMintOption() (gas: 61563)
BaseDebitSpreadEngineFlow:testRemoveCollateralMoveBalance() (gas: 65715)
BaseDebitSpreadEngineFlow:testRemoveLongShouldPullToken() (gas: 81691)
BaseDebitSpreadEngineFlow:testSettlementShouldEmitEvent() (gas: 27197)
BaseDebitSpreadEngineFlow:testSplitActionShouldMintToken() (gas: 63422)
BaseDebitSpreadEngineFlow:testUtils() (gas: 190)
ChainlinkOracleConfigurationTest:testCanResetAggregator() (gas: 40305)
ChainlinkOracleConfigurationTest:testCannotSetAggregatorFromNonOwner() (gas: 17832)
ChainlinkOracleConfigurationTest:testDisputePeriodIs0() (gas: 5472)
ChainlinkOracleConfigurationTest:testOwnerCanSetAggregator() (gas: 39660)
ChainlinkOracleDisputableTest:testCanforceSetPriceIfPriceAfterGracePeriod() (gas: 45466)
ChainlinkOracleDisputableTest:testCannotDisputeAfterDisputePeriod() (gas: 96059)
ChainlinkOracleDisputableTest:testCannotDisputeSameExpiryTwice() (gas: 98028)
ChainlinkOracleDisputableTest:testCannotDisputeUnReportedPrice() (gas: 19753)
ChainlinkOracleDisputableTest:testCannotForceSetPriceIfPriceIsReported() (gas: 67306)
ChainlinkOracleDisputableTest:testCannotForceSetPriceRightAfterExpiry() (gas: 20263)
ChainlinkOracleDisputableTest:testCannotForceSetPriceTwice() (gas: 45090)
ChainlinkOracleDisputableTest:testCannotSetDisputePeriodFromNonOwner() (gas: 17506)
ChainlinkOracleDisputableTest:testCannotSetDisputePeriodThatIsTooHigh() (gas: 14970)
ChainlinkOracleDisputableTest:testDisputePeriodIsMax() (gas: 5461)
ChainlinkOracleDisputableTest:testIsFinalizedIsFalseForUnreportedExpiry() (gas: 14755)
ChainlinkOracleDisputableTest:testOwnerCanSetDisputePeriod() (gas: 37468)
ChainlinkOracleDisputableTest:testOwnerDisputePrice() (gas: 95818)
ChainlinkOracleInternalTests:testDecimalConversion0Decimals() (gas: 604)
ChainlinkOracleInternalTests:testDecimalConversionDiffDecimals() (gas: 2203)
ChainlinkOracleInternalTests:testDecimalConversionDiffDecimals2() (gas: 2089)
ChainlinkOracleInternalTests:testDecimalConversionDiffDecimals3() (gas: 2133)
ChainlinkOracleInternalTests:testDecimalConversionDiffDecimalsFuzz(uint8,uint8) (runs: 256, μ: 5325, ~: 5341)
ChainlinkOracleInternalTests:testDecimalConversionNormalDecimals() (gas: 851)
ChainlinkOracleTest:testCannotGetSpotWhenAggregatorIsNotSet() (gas: 23300)
ChainlinkOracleTest:testCannotGetSpotWhenAggregatorIsStale() (gas: 41768)
ChainlinkOracleTest:testSpotPrice() (gas: 30929)
ChainlinkOracleTest:testSpotPriceDiffDecimals1() (gas: 31535)
ChainlinkOracleTest:testSpotPriceDiffDecimals2() (gas: 31618)
ChainlinkOracleTest:testSpotPriceReverse() (gas: 30885)
ChainlinkOracleTestWriteOracle:testCanReportPrice() (gas: 62507)
ChainlinkOracleTestWriteOracle:testCannotGetUnreportedExpiry() (gas: 17478)
ChainlinkOracleTestWriteOracle:testCannotReportPriceIfRoundIDIsTooHigh() (gas: 34851)
ChainlinkOracleTestWriteOracle:testCannotReportPriceIfStablePriceIsStale() (gas: 44513)
ChainlinkOracleTestWriteOracle:testCannotReportPriceIfUnderlyingPriceIsStale() (gas: 34510)
ChainlinkOracleTestWriteOracle:testCannotReportPriceIfWrongIdIsSpecified() (gas: 42473)
ChainlinkOracleTestWriteOracle:testCannotReportPriceInTheFuture() (gas: 26070)
ChainlinkOracleTestWriteOracle:testCannotReportPriceTwice() (gas: 65238)
ChainlinkOracleTestWriteOracle:testCannotReportWhenAggregatorIsNotSet() (gas: 31967)
CrossEngineGenernal:test() (gas: 164)
CrossEngineGenernal:testCannotCallAddLongWithExpiredOption() (gas: 26024)
CrossEngineGenernal:testCannotCallAddLongWithNotAuthorizedEngine() (gas: 55865)
CrossEngineGenernal:testCannotCallPayoutFromAnybody() (gas: 17820)
CrossEngineGenernal:testCannotCallRemoveLongNotInAccount() (gas: 31903)
CrossEngineGenernal:testForgeCoverageIgnoreThis() (gas: 230)
CrossEngineGenernal:testGetMinCollateral() (gas: 277315)
CrossEngineGenernal:testUtils() (gas: 167)
CrossMarginEngineAccessTest:test() (gas: 164)
CrossMarginEngineAccessTest:testCannotTransferToOverrideAnotherAccount() (gas: 123961)
CrossMarginEngineAccessTest:testCannotTransferUnAuthorizedAccount() (gas: 15545)
CrossMarginEngineAccessTest:testForgeCoverageIgnoreThis() (gas: 230)
CrossMarginEngineAccessTest:testTransferCMAccount() (gas: 136909)
CrossMarginEngineAccessTest:testUtils() (gas: 167)
DecimalMathTest:testConversionSameDecimals() (gas: 5815)
DecimalMathTest:testConversionScaleDown() (gas: 7220)
DecimalMathTest:testConversionScaleUp() (gas: 7843)
DecimalMathTest:testMul(uint256,uint256) (runs: 256, μ: 9053, ~: 9053)
DecimalMathTest:testMulOverflowInUncheck() (gas: 8374)
Deploy:testChill() (gas: 165)
Deploy:testUtils() (gas: 144)
EngineProxyTest:testCanUpgradeToAnotherUUPSContract() (gas: 755613)
EngineProxyTest:testCannotUpgradeFromNonOwner() (gas: 16101)
EngineProxyTest:testCannotUpgradeTov3() (gas: 1492923)
EngineProxyTest:testImplementationContractOwnerIsZero() (gas: 7662)
EngineProxyTest:testImplementationIsInitialized() (gas: 10808)
EngineProxyTest:testProxyIsInitialized() (gas: 15711)
EngineProxyTest:testProxyOwnerIsSelf() (gas: 12589)
FullMarginEngineAccessTest:test() (gas: 164)
FullMarginEngineAccessTest:testCannotTransferToOverrideAnotherAccount() (gas: 102331)
FullMarginEngineAccessTest:testCannotTransferUnAuthorizedAccount() (gas: 10673)
FullMarginEngineAccessTest:testForgeCoverageIgnoreThis() (gas: 230)
FullMarginEngineAccessTest:testTransferFMAccount() (gas: 107693)
FullMarginEngineAccessTest:testUtils() (gas: 167)
FullMarginEngineGeneral:test() (gas: 164)
FullMarginEngineGeneral:testCannotCallAddLong() (gas: 17402)
FullMarginEngineGeneral:testCannotCallPayoutFromAnybody() (gas: 10626)
FullMarginEngineGeneral:testCannotCallRemoveLong() (gas: 17325)
FullMarginEngineGeneral:testForgeCoverageIgnoreThis() (gas: 230)
FullMarginEngineGeneral:testGetMinCollateral() (gas: 153872)
FullMarginEngineGeneral:testUtils() (gas: 167)
FullMarginFixture:test() (gas: 164)
FullMarginFixture:testForgeCoverageIgnoreThis() (gas: 230)
FullMarginFixture:testUtils() (gas: 167)
FullMarginLibTest:testAddCollateral() (gas: 39640)
FullMarginLibTest:testBurnOption() (gas: 44255)
FullMarginLibTest:testCanAddZeroId() (gas: 32202)
FullMarginLibTest:testCannotMintOptionWithBadCollatType() (gas: 12489)
FullMarginLibTest:testCannotMintOptionWithDiffCollatType() (gas: 33141)
FullMarginLibTest:testIsEmpty() (gas: 7927)
FullMarginLibTest:testMergeShortId() (gas: 59887)
FullMarginLibTest:testMintShortInEmptyAccount() (gas: 61205)
FullMarginLibTest:testReduceCollateral() (gas: 30585)
FullMarginLibTest:testSettle() (gas: 43556)
FullMarginLibTest:testSplitSpreadId() (gas: 59513)
FullMarginMathTestCall:testMarginRequireCall() (gas: 6810)
FullMarginMathTestCall:testMarginRequireMultipleCall() (gas: 6890)
FullMarginMathTestCall:testMarginRequireMultipleCallDiffDecimals() (gas: 7368)
FullMarginMathTestCallSpreadWithStrike:testMarginRequireCallCreditSpread() (gas: 7243)
FullMarginMathTestCallSpreadWithStrike:testMarginRequireCallDebitSpread() (gas: 6968)
FullMarginMathTestCallSpreadWithStrike:testMarginRequireMultipleCallCreditSpread() (gas: 7364)
FullMarginMathTestCallSpreadWithStrike:testMarginRequireMultipleCallCreditSpreadDiffDecimals() (gas: 7680)
FullMarginMathTestCallSpreadWithUnderlying:testMarginRequireCallCreditSpread() (gas: 7257)
FullMarginMathTestCallSpreadWithUnderlying:testMarginRequireCallDebitSpread() (gas: 6971)
FullMarginMathTestCallSpreadWithUnderlying:testMarginRequireMultipleCallCreditSpread() (gas: 7378)
FullMarginMathTestCallSpreadWithUnderlying:testMarginRequireMultipleCallCreditSpreadDiffDecimals() (gas: 7725)
FullMarginMathTestPut:testMarginRequireMultiplePut() (gas: 7199)
FullMarginMathTestPut:testMarginRequireMultiplePutDiffDecimals() (gas: 7560)
FullMarginMathTestPut:testMarginRequirePut() (gas: 7144)
FullMarginMathTestPutSpread:testMarginRequireCallDebitSpread() (gas: 7068)
FullMarginMathTestPutSpread:testMarginRequireMultipleCallCreditSpread() (gas: 7436)
FullMarginMathTestPutSpread:testMarginRequireMultipleCallCreditSpreadDiffDecimals() (gas: 7819)
FullMarginMathTestPutSpread:testMarginRequirePutCreditSpread() (gas: 7313)
GrappaAccessTest:test() (gas: 209)
GrappaAccessTest:testAliceCanGrantAccess() (gas: 106148)
GrappaAccessTest:testAliceCanGrantAccessToMaxSubAccount() (gas: 104121)
GrappaAccessTest:testAliceCanRevokeAccess() (gas: 115868)
GrappaAccessTest:testAliceCannotGrantAccessToMaxSubAccountPlusOne() (gas: 49317)
GrappaAccessTest:testAllowanceDecrease() (gas: 132231)
GrappaAccessTest:testCannotUpdateRandomAccount() (gas: 23806)
GrappaAccessTest:testForgeCoverageIgnoreThis() (gas: 230)
GrappaAccessTest:testGranteeCanRevokeAccess() (gas: 37462)
GrappaAccessTest:testUtils() (gas: 167)
GrappaProxyTest:testCanUpgradeToAnotherUUPSContract() (gas: 755600)
GrappaProxyTest:testCannotUpgradeFromNonOwner() (gas: 16088)
GrappaProxyTest:testCannotUpgradeTov3() (gas: 1492910)
GrappaProxyTest:testImplementationContractOwnerIsZero() (gas: 7695)
GrappaProxyTest:testImplementationIsInitialized() (gas: 10837)
GrappaProxyTest:testProxyIsInitialized() (gas: 15740)
GrappaProxyTest:testProxyOwnerIsSelf() (gas: 12555)
GrappaRegistry:testCannotRegisterFromNonOwner() (gas: 18092)
GrappaRegistry:testCannotRegistrySameAssetTwice() (gas: 91011)
GrappaRegistry:testRegisterAssetFromId1() (gas: 88241)
GrappaRegistry:testRegisterAssetRecordDecimals() (gas: 88326)
GrappaRegistry:testReturnAssetsFromProductId() (gas: 106591)
GrappaRegistry:testReturnOptionDetailsFromTokenId() (gas: 99556)
MockEngineV2:test() (gas: 162)
MockGrappaV2:test() (gas: 162)
MockOracle:test() (gas: 186)
MockTokenDescriptorV2:test() (gas: 162)
MockWhitelist:test() (gas: 186)
MoneynessLibTest:testCallCashValue() (gas: 8081)
MoneynessLibTest:testCallSpreadCashValue() (gas: 8348)
MoneynessLibTest:testCallSpreadCashValueUnderflow() (gas: 6261)
MoneynessLibTest:testPutCashValue() (gas: 8137)
MoneynessLibTest:testPutSpreadCashValue() (gas: 8381)
MoneynessLibTest:testPutSpreadCashValueUnderflow() (gas: 6304)
OptionProxyTest:testCanUpgradeToAnotherUUPSContract() (gas: 916294)
OptionProxyTest:testCannotUpgradeFromNonOwner() (gas: 16021)
OptionProxyTest:testGetUrl() (gas: 17237)
OptionProxyTest:testImplementationContractOwnerIsZero() (gas: 7632)
OptionProxyTest:testImplementationIsInitialized() (gas: 10746)
OptionProxyTest:testProxyIsInitialized() (gas: 15694)
OptionProxyTest:testProxyOwnerIsCorrect() (gas: 12493)
OptionTokenTest:testCannotBurn() (gas: 14015)
OptionTokenTest:testCannotBurnGrappaOnly() (gas: 10966)
OptionTokenTest:testCannotMint() (gas: 14665)
OptionTokenTest:testCannotMintCallWithShortStrike() (gas: 13035)
OptionTokenTest:testCannotMintCreditCallSpread() (gas: 13107)
OptionTokenTest:testCannotMintCreditPutSpread() (gas: 13245)
OptionTokenTest:testCannotMintPutWithShortStrike() (gas: 13051)
OptionTokenTest:testGetUrl() (gas: 17417)
OwnerConfiguration:test() (gas: 164)
OwnerConfiguration:testCannotUpdateProductConfigFromNonOwner() (gas: 16089)
OwnerConfiguration:testEmitEventWhenSetConfig() (gas: 25115)
OwnerConfiguration:testForgeCoverageIgnoreThis() (gas: 230)
OwnerConfiguration:testSettingConfigUpdateState() (gas: 22202)
OwnerConfiguration:testUtils() (gas: 167)
Permissioned:test() (gas: 209)
Permissioned:testAliceCanSettleOption() (gas: 382581)
Permissioned:testCanExecute() (gas: 163302)
Permissioned:testCannotExecute() (gas: 29978)
Permissioned:testCannotSettleOption() (gas: 355383)
Permissioned:testForgeCoverageIgnoreThis() (gas: 230)
Permissioned:testUtils() (gas: 167)
PreviewCollateralReqBase:test() (gas: 164)
PreviewCollateralReqBase:testForgeCoverageIgnoreThis() (gas: 230)
PreviewCollateralReqBase:testIgnore() (gas: 166)
PreviewCollateralReqBase:testUtils() (gas: 167)
PreviewCollateralReq_CMM:test() (gas: 186)
PreviewCollateralReq_CMM:testConversion() (gas: 113876)
PreviewCollateralReq_CMM:testForgeCoverageIgnoreThis() (gas: 252)
PreviewCollateralReq_CMM:testIgnore() (gas: 254)
PreviewCollateralReq_CMM:testIronCondor() (gas: 115887)
PreviewCollateralReq_CMM:testLongPutSpread() (gas: 70320)
PreviewCollateralReq_CMM:testLongStrangles() (gas: 71641)
PreviewCollateralReq_CMM:testMarginBinaryCallOption() (gas: 69747)
PreviewCollateralReq_CMM:testMarginCallSpreadSameUnderlyingCollateral() (gas: 74511)
PreviewCollateralReq_CMM:testMarginCallSpreadSameUnderlyingCollateralBiggerNumbers() (gas: 74556)
PreviewCollateralReq_CMM:testMarginLongBinaryPut() (gas: 70248)
PreviewCollateralReq_CMM:testMarginRequirement1() (gas: 164161)
PreviewCollateralReq_CMM:testMarginRequirement2() (gas: 164096)
PreviewCollateralReq_CMM:testMarginRequirement3() (gas: 166584)
PreviewCollateralReq_CMM:testMarginRequirement4() (gas: 164134)
PreviewCollateralReq_CMM:testMarginRequirementsVanillaCall() (gas: 55953)
PreviewCollateralReq_CMM:testMarginRequirementsVanillaPut() (gas: 56302)
PreviewCollateralReq_CMM:testMarginShortBinaryPut() (gas: 72169)
PreviewCollateralReq_CMM:testMarginSimpleITMCall() (gas: 55908)
PreviewCollateralReq_CMM:testMarginSimpleITMPut() (gas: 56326)
PreviewCollateralReq_CMM:testMarginSimpleOTMCall() (gas: 55886)
PreviewCollateralReq_CMM:testMarginSimplePut() (gas: 56259)
PreviewCollateralReq_CMM:testMarginUnsortedStrikes() (gas: 164247)
PreviewCollateralReq_CMM:testOneByTwoCall() (gas: 93164)
PreviewCollateralReq_CMM:testOneByTwoPut() (gas: 93699)
PreviewCollateralReq_CMM:testPutGreaterThanCalls() (gas: 114255)
PreviewCollateralReq_CMM:testShortPutSpread() (gas: 72314)
PreviewCollateralReq_CMM:testShortStrangles() (gas: 76519)
PreviewCollateralReq_CMM:testStrangleSpread() (gas: 113542)
PreviewCollateralReq_CMM:testStrangleSpread2() (gas: 113430)
PreviewCollateralReq_CMM:testUpAndDown1() (gas: 70318)
PreviewCollateralReq_CMM:testUpAndDown2() (gas: 72480)
PreviewCollateralReq_CMM:testUpAndDown3() (gas: 90176)
PreviewCollateralReq_CMM:testUpAndDown4() (gas: 113258)
PreviewCollateralReq_CMM:testUtils() (gas: 212)
ProductIdUtilTest:testFormatAndParseAreMirrored(uint8,uint8,uint8,uint8,uint8) (runs: 256, μ: 1245, ~: 1245)
RegisterEngineTest:testCannotRegisterFromNonOwner() (gas: 18113)
RegisterEngineTest:testCannotRegistrySameEngineTwice() (gas: 87844)
RegisterEngineTest:testRegisterEngineFromId1() (gas: 84943)
RegisterEngineTest:testReturnEngineFromProductId() (gas: 98811)
RegisterOracleTest:testCannotRegisterFromNonOwner() (gas: 18079)
RegisterOracleTest:testCannotRegistryOralceWithDisputePeriodTooLong() (gas: 45799)
RegisterOracleTest:testCannotRegistrySameOracleTwice() (gas: 93004)
RegisterOracleTest:testRegisterOracleFromId1() (gas: 90083)
RegisterOracleTest:testReturnEngineFromProductId() (gas: 103950)
TestAddCollateral:test() (gas: 209)
TestAddCollateral:testAddCollateralChangeStorage() (gas: 105640)
TestAddCollateral:testAddCollateralLoopMoveBalances() (gas: 121616)
TestAddCollateral:testAddCollateralMoveBalance() (gas: 109972)
TestAddCollateral:testCannotAddCollatFromOthers() (gas: 20487)
TestAddCollateral:testCannotAddDifferentProductToSameAccount() (gas: 92417)
TestAddCollateral:testForgeCoverageIgnoreThis() (gas: 230)
TestAddCollateral:testUtils() (gas: 167)
TestAddCollateral_CM:test() (gas: 231)
TestAddCollateral_CM:testAddCollateralChangeStorage() (gas: 132699)
TestAddCollateral_CM:testAddCollateralLoopMoveBalances() (gas: 147141)
TestAddCollateral_CM:testAddCollateralMoveBalance() (gas: 134054)
TestAddCollateral_CM:testAddMultipleCollateralHasNoSideEffects() (gas: 219341)
TestAddCollateral_CM:testCanAddDifferentCollateralToSameAccount() (gas: 202079)
TestAddCollateral_CM:testCannotAddCollatFromOthers() (gas: 27622)
TestAddCollateral_CM:testForgeCoverageIgnoreThis() (gas: 208)
TestAddCollateral_CM:testUtils() (gas: 167)
TestAddCollateral_FM:test() (gas: 164)
TestAddCollateral_FM:testAddCollateralChangeStorage() (gas: 92693)
TestAddCollateral_FM:testAddCollateralLoopMoveBalances() (gas: 109004)
TestAddCollateral_FM:testAddCollateralMoveBalance() (gas: 97530)
TestAddCollateral_FM:testCannotAddCollatFromOthers() (gas: 20527)
TestAddCollateral_FM:testCannotAddDifferentProductToSameAccount() (gas: 92321)
TestAddCollateral_FM:testForgeCoverageIgnoreThis() (gas: 230)
TestAddCollateral_FM:testUtils() (gas: 167)
TestAddLong_CM:test() (gas: 164)
TestAddLong_CM:testAddLongCallToken() (gas: 525323)
TestAddLong_CM:testAddLongPutToken() (gas: 525936)
TestAddLong_CM:testForgeCoverageIgnoreThis() (gas: 230)
TestAddLong_CM:testUtils() (gas: 167)
TestBatchExecute_CM:test() (gas: 209)
TestBatchExecute_CM:testForgeCoverageIgnoreThis() (gas: 230)
TestBatchExecute_CM:testMintSpreadChecksCollateralAfterBatch() (gas: 594756)
TestBatchExecute_CM:testMintTwoSidedStructure() (gas: 642181)
TestBatchExecute_CM:testMintTwoSidesSameOption() (gas: 593496)
TestBatchExecute_CM:testUtils() (gas: 167)
TestBatchSettleCall:test() (gas: 187)
TestBatchSettleCall:testCannotSettleWithWrongArgumentLengths() (gas: 72761)
TestBatchSettleCall:testForgeCoverageIgnoreThis() (gas: 230)
TestBatchSettleCall:testShouldGetNothingIfAllOptionsExpiresOTM() (gas: 136186)
TestBatchSettleCall:testShouldGetPayoutIfAllOptionsExpiresITM() (gas: 140757)
TestBatchSettleCall:testShouldGetPayoutIfOneOptionExpiresITM() (gas: 143897)
TestBatchSettleCall:testUtils() (gas: 167)
TestBatchSettleMultipleProduct:test() (gas: 164)
TestBatchSettleMultipleProduct:testForgeCoverageIgnoreThis() (gas: 230)
TestBatchSettleMultipleProduct:testShouldGetMultipleAssetPayoutIfTwoOptionsExpiresITM() (gas: 182898)
TestBatchSettleMultipleProduct:testShouldGetPayoutIfOneOptionExpiresITM() (gas: 174164)
TestBatchSettleMultipleProduct:testUtils() (gas: 167)
TestBurnCall:test() (gas: 187)
TestBurnCall:testBurn() (gas: 62612)
TestBurnCall:testCanRemoveCollateralAfterBurn() (gas: 89388)
TestBurnCall:testCannotBurnForEmptyAdvancedMarginEngine() (gas: 23788)
TestBurnCall:testCannotBurnFromUnAuthorizedAccount() (gas: 57618)
TestBurnCall:testCannotBurnWhenOptionTokenBalanceIsLow() (gas: 81734)
TestBurnCall:testForgeCoverageIgnoreThis() (gas: 230)
TestBurnCall:testUtils() (gas: 167)
TestBurnOption_CM:test() (gas: 187)
TestBurnOption_CM:testBurn() (gas: 69046)
TestBurnOption_CM:testCannotBurnForEmptyAccount() (gas: 34659)
TestBurnOption_CM:testCannotBurnFromUnAuthorizedAccount() (gas: 65070)
TestBurnOption_CM:testCannotBurnWhenOptionTokenBalanceIsLow() (gas: 104072)
TestBurnOption_CM:testCannotBurnWithWrongTokenId() (gas: 39186)
TestBurnOption_CM:testForgeCoverageIgnoreThis() (gas: 230)
TestBurnOption_CM:testUtils() (gas: 167)
TestBurnOption_FM:test() (gas: 209)
TestBurnOption_FM:testBurn() (gas: 49481)
TestBurnOption_FM:testCannotBurnWithWrongTokenId() (gas: 28216)
TestBurnOption_FM:testForgeCoverageIgnoreThis() (gas: 230)
TestBurnOption_FM:testUtils() (gas: 167)
TestCornerCases_CMM:testIronCondor() (gas: 65355)
TestCornerCases_CMM:testOneByTwoCall() (gas: 45612)
TestCornerCases_CMM:testOneByTwoCall2() (gas: 45621)
TestCornerCases_CMM:testOneByTwoPut() (gas: 46150)
TestCornerCases_CMM:testPotentialBreakOnZeroWeight() (gas: 34504)
TestCornerCases_CMM:testPutGreaterThanCalls() (gas: 91037)
TestCornerCases_CMM:testUpAndDown1() (gas: 52162)
TestCornerCases_CMM:testUpAndDown2() (gas: 52312)
TestCornerCases_CMM:testUpAndDown3() (gas: 67442)
TestCornerCases_CMM:testUpAndDown4() (gas: 73693)
TestLiquidateCall:test() (gas: 209)
TestLiquidateCall:testCannotLiquidateHealthyVault() (gas: 69461)
TestLiquidateCall:testCannotLiquidateMoreThanDebt() (gas: 85498)
TestLiquidateCall:testCannotLiquidateVaultWithPutAmount() (gas: 77745)
TestLiquidateCall:testForgeCoverageIgnoreThis() (gas: 230)
TestLiquidateCall:testFullyLiquidateTheVault() (gas: 123717)
TestLiquidateCall:testGetMinCollateralShouldReturnProperValue() (gas: 60710)
TestLiquidateCall:testPartiallyLiquidateTheVault() (gas: 137694)
TestLiquidateCall:testUtils() (gas: 167)
TestLiquidateCallAndPut:test() (gas: 209)
TestLiquidateCallAndPut:testCannotLiquidateHealthyVault() (gas: 71639)
TestLiquidateCallAndPut:testCannotLiquidateWithImbalancedAmount() (gas: 136670)
TestLiquidateCallAndPut:testCannotLiquidateWithOnlySpecifyCallAmount() (gas: 80085)
TestLiquidateCallAndPut:testCannotLiquidateWithOnlySpecifyPutAmount() (gas: 80028)
TestLiquidateCallAndPut:testForgeCoverageIgnoreThis() (gas: 230)
TestLiquidateCallAndPut:testFullyLiquidateTheVault() (gas: 135287)
TestLiquidateCallAndPut:testPartiallyLiquidateTheVault() (gas: 155716)
TestLiquidateCallAndPut:testUtils() (gas: 167)
TestLiquidatePut:test() (gas: 209)
TestLiquidatePut:testCannotLiquidateHealthyVault() (gas: 69488)
TestLiquidatePut:testCannotLiquidateVaultWithCallAmount() (gas: 77757)
TestLiquidatePut:testForgeCoverageIgnoreThis() (gas: 230)
TestLiquidatePut:testFullyLiquidateTheVault() (gas: 124022)
TestLiquidatePut:testPartiallyLiquidateTheVault() (gas: 137949)
TestLiquidatePut:testUtils() (gas: 167)
TestLongShortSettlement:test() (gas: 164)
TestLongShortSettlement:testForgeCoverageIgnoreThis() (gas: 230)
TestLongShortSettlement:testShortsAreSettledBeforeLongs() (gas: 590683)
TestLongShortSettlement:testUtils() (gas: 167)
TestMergeOption:test() (gas: 231)
TestMergeOption:testCanMergeForAccountOwnerFromAuthorizedAccount() (gas: 309221)
TestMergeOption:testCannotMergeWithDiffProduct() (gas: 310046)
TestMergeOption:testCannotMergeWithPut() (gas: 292655)
TestMergeOption:testCannotMergeWithTokenFromDiffExpiry() (gas: 290530)
TestMergeOption:testCannotMergeWithTokenFromOthers() (gas: 28546)
TestMergeOption:testCannotMergeWithTokenWithSameStrike() (gas: 275366)
TestMergeOption:testCannotMergeWithWrongAmount() (gas: 294989)
TestMergeOption:testCannotMergeWithWrongShortId() (gas: 291311)
TestMergeOption:testForgeCoverageIgnoreThis() (gas: 230)
TestMergeOption:testMergeCallChangeStorage() (gas: 301029)
TestMergeOption:testMergeIntoCreditSpreadCanRemoveCollateral() (gas: 320333)
TestMergeOption:testMergeIntoDebitSpreadCanRemoveAllCollateral() (gas: 316275)
TestMergeOption:testUtils() (gas: 190)
TestMergeOption_FM:test() (gas: 209)
TestMergeOption_FM:testCannotMergeByAddingSpread() (gas: 28721)
TestMergeOption_FM:testCannotMergeWithWrongAmount() (gas: 243394)
TestMergeOption_FM:testCannotMergeWithWrongShortId() (gas: 241872)
TestMergeOption_FM:testForgeCoverageIgnoreThis() (gas: 230)
TestMergeOption_FM:testMergeCall() (gas: 240308)
TestMergeOption_FM:testMergeIntoCreditSpreadCanRemoveCollateral() (gas: 274501)
TestMergeOption_FM:testMergeIntoDebitSpreadCanRemoveAllCollateral() (gas: 274387)
TestMergeOption_FM:testUtils() (gas: 167)
TestMintIntoAccount_CM:test() (gas: 164)
TestMintIntoAccount_CM:testForgeCoverageIgnoreThis() (gas: 230)
TestMintIntoAccount_CM:testMintIntoAccountCall() (gas: 341696)
TestMintIntoAccount_CM:testUtils() (gas: 167)
TestMintVanillaOption:test() (gas: 209)
TestMintVanillaOption:testCanMintStraddle() (gas: 248222)
TestMintVanillaOption:testCanMintStrangle() (gas: 248302)
TestMintVanillaOption:testCannotMintCallWithDifferentCollateralType() (gas: 95725)
TestMintVanillaOption:testCannotMintCallWithLittleCollateral() (gas: 189764)
TestMintVanillaOption:testCannotMintCallWithOtherProductId() (gas: 146000)
TestMintVanillaOption:testCannotMintPutWithLittleCollateral() (gas: 189998)
TestMintVanillaOption:testCannotMintTwoCalls() (gas: 195620)
TestMintVanillaOption:testCannotMintWithoutCollateral() (gas: 147020)
TestMintVanillaOption:testForgeCoverageIgnoreThis() (gas: 208)
TestMintVanillaOption:testMintCall() (gas: 199770)
TestMintVanillaOption:testMintCallSpread() (gas: 186777)
TestMintVanillaOption:testMintCallWithBTCCollat() (gas: 1132399)
TestMintVanillaOption:testMintCoveredCall() (gas: 186833)
TestMintVanillaOption:testMintPut() (gas: 186508)
TestMintVanillaOption:testMintPutSpread() (gas: 186775)
TestMintVanillaOption:testUtils() (gas: 189)
TestMintWithPartialMarginBeta_CM:test() (gas: 209)
TestMintWithPartialMarginBeta_CM:testCannotMintTooLittleCollateral() (gas: 441536)
TestMintWithPartialMarginBeta_CM:testForgeCoverageIgnoreThis() (gas: 230)
TestMintWithPartialMarginBeta_CM:testMintCall() (gas: 271043)
TestMintWithPartialMarginBeta_CM:testMintCallWithSimilarCollateral() (gas: 363827)
TestMintWithPartialMarginBeta_CM:testMintMixedBag() (gas: 620587)
TestMintWithPartialMarginBeta_CM:testMintPut() (gas: 269367)
TestMintWithPartialMarginBeta_CM:testMintPutWithSimilarCollateral() (gas: 362335)
TestMintWithPartialMarginBeta_CM:testRemovePartialMarginMask() (gas: 106358)
TestMintWithPartialMarginBeta_CM:testSameAssetPartialMarginMask() (gas: 24801)
TestMintWithPartialMarginBeta_CM:testUtils() (gas: 167)
TestMint_CM:test() (gas: 209)
TestMint_CM:testCannotMintCallSpread() (gas: 128873)
TestMint_CM:testCannotMintCallWithLittleCollateral() (gas: 263196)
TestMint_CM:testCannotMintExpiredOption() (gas: 110443)
TestMint_CM:testCannotMintPutSpread() (gas: 128832)
TestMint_CM:testCannotMintPutWithLittleCollateral() (gas: 261414)
TestMint_CM:testCannotMintWithoutCollateral() (gas: 174388)
TestMint_CM:testForgeCoverageIgnoreThis() (gas: 230)
TestMint_CM:testMintCall() (gas: 264825)
TestMint_CM:testMintCallAndPutInSameAccount() (gas: 440369)
TestMint_CM:testMintPut() (gas: 265147)
TestMint_CM:testUtils() (gas: 167)
TestMint_FM:test() (gas: 209)
TestMint_FM:testCannotMintCallWithUsdcCollateral() (gas: 95607)
TestMint_FM:testCannotMintCoveredCallUsingUsdcCollateral() (gas: 196005)
TestMint_FM:testCannotMintExpiredOption() (gas: 78356)
TestMint_FM:testCannotMintPutWithETHCollateral() (gas: 95747)
TestMint_FM:testForgeCoverageIgnoreThis() (gas: 230)
TestMint_FM:testMintCall() (gas: 153444)
TestMint_FM:testMintPut() (gas: 153279)
TestMint_FM:testMintPutSpread() (gas: 153534)
TestMint_FM:testUtils() (gas: 167)
TestPMRemoveCollateral_CM:test() (gas: 164)
TestPMRemoveCollateral_CM:testEqualCallSpreadCollateralWithdraw() (gas: 712176)
TestPMRemoveCollateral_CM:testEqualPutSpreadCollateralWithdraw() (gas: 707756)
TestPMRemoveCollateral_CM:testEqualShortLongAllowCollateralWithdraw() (gas: 646931)
TestPMRemoveCollateral_CM:testForgeCoverageIgnoreThis() (gas: 230)
TestPMRemoveCollateral_CM:testUtils() (gas: 167)
TestPMSettleLongCallsCM:test() (gas: 187)
TestPMSettleLongCallsCM:testForgeCoverageIgnoreThis() (gas: 230)
TestPMSettleLongCallsCM:testSettleLongCallITMIncreasesCollateral() (gas: 178159)
TestPMSettleLongCallsCM:testSettleLongCallOTMNoIncreaseInCollateral() (gas: 127800)
TestPMSettleLongCallsCM:testSettleMultipleLongCallsITMIncreasesCollateral() (gas: 361256)
TestPMSettleLongCallsCM:testSettleMultipleLongCallsOTMNoIncreaseInCollateral() (gas: 318326)
TestPMSettleLongCallsCM:testSettleOnlyExpiredLongCallOTMNoIncreaseInCollateral() (gas: 346096)
TestPMSettleLongCallsCM:testUtils() (gas: 167)
TestPMSettleLongPutsCM:test() (gas: 209)
TestPMSettleLongPutsCM:testForgeCoverageIgnoreThis() (gas: 230)
TestPMSettleLongPutsCM:testSettleLongCallITMIncreasesCollateral() (gas: 177712)
TestPMSettleLongPutsCM:testSettleLongCallOTMNoIncreaseInCollateral() (gas: 127265)
TestPMSettleLongPutsCM:testUtils() (gas: 167)
TestRemoveCollateral_AM:test() (gas: 209)
TestRemoveCollateral_AM:testCanRemoveExtraCollateralBeforeSettlement() (gas: 162327)
TestRemoveCollateral_AM:testCannotRemoveCollateralBeforeSettleExpiredShort() (gas: 164084)
TestRemoveCollateral_AM:testCannotRemoveDifferentCollateral() (gas: 23429)
TestRemoveCollateral_AM:testCannotRemoveMoreThanOwn() (gas: 24190)
TestRemoveCollateral_AM:testForgeCoverageIgnoreThis() (gas: 230)
TestRemoveCollateral_AM:testRemoveCollateralChangeStorage() (gas: 61851)
TestRemoveCollateral_AM:testUtils() (gas: 167)
TestRemoveCollateral_CM:test() (gas: 164)
TestRemoveCollateral_CM:testCannotRemoveDifferentCollateral() (gas: 36197)
TestRemoveCollateral_CM:testCannotRemoveMoreThanOwn() (gas: 36871)
TestRemoveCollateral_CM:testForgeCoverageIgnoreThis() (gas: 230)
TestRemoveCollateral_CM:testMultipleCollateralsAddRemove() (gas: 309810)
TestRemoveCollateral_CM:testRemoveCollateralChangeStorage() (gas: 67302)
TestRemoveCollateral_CM:testRemoveCollateralMoveBalance() (gas: 69878)
TestRemoveCollateral_CM:testRemoveCollateralRetainBalances() (gas: 124115)
TestRemoveCollateral_CM:testUtils() (gas: 167)
TestRemoveCollateral_FM:test() (gas: 164)
TestRemoveCollateral_FM:testCannotRemoveCollateralBeforeSettleExpiredShort() (gas: 140641)
TestRemoveCollateral_FM:testCannotRemoveDifferentCollateral() (gas: 23052)
TestRemoveCollateral_FM:testCannotRemoveMoreCollateralThanPayoutAfterExpiry() (gas: 153659)
TestRemoveCollateral_FM:testCannotRemoveMoreThanOwn() (gas: 23813)
TestRemoveCollateral_FM:testForgeCoverageIgnoreThis() (gas: 230)
TestRemoveCollateral_FM:testRemoveCollateralChangeStorage() (gas: 48631)
TestRemoveCollateral_FM:testRemoveCollateralMoveBalance() (gas: 53738)
TestRemoveCollateral_FM:testUtils() (gas: 167)
TestRemoveLong_CM:test() (gas: 164)
TestRemoveLong_CM:testForgeCoverageIgnoreThis() (gas: 230)
TestRemoveLong_CM:testRemoveLongToken() (gas: 383433)
TestRemoveLong_CM:testUtils() (gas: 167)
TestSettleBTCCollateralizedCall:test() (gas: 164)
TestSettleBTCCollateralizedCall:testForgeCoverageIgnoreThis() (gas: 230)
TestSettleBTCCollateralizedCall:testSellerCanClearDebtIfExpiresITM() (gas: 127281)
TestSettleBTCCollateralizedCall:testShouldPayoutWBTCIfExpiresIMT() (gas: 148629)
TestSettleBTCCollateralizedCall:testUtils() (gas: 167)
TestSettleCall:test() (gas: 209)
TestSettleCall:testCannotRemoveCollateralBeforeSettleExpiredShort() (gas: 55687)
TestSettleCall:testForgeCoverageIgnoreThis() (gas: 230)
TestSettleCall:testSellerCanClearDebtIfExpiresOTM() (gas: 97101)
TestSettleCall:testSellerCollateralIsReducedIfExpiresITM() (gas: 96712)
TestSettleCall:testShouldGetNothingIfExpiresOTM() (gas: 95807)
TestSettleCall:testShouldGetPayoutIfExpiresIMT() (gas: 96782)
TestSettleCall:testUtils() (gas: 167)
TestSettleCallSpread:test() (gas: 209)
TestSettleCallSpread:testForgeCoverageIgnoreThis() (gas: 230)
TestSettleCallSpread:testPayoutShouldBeCappedAtShortStrike() (gas: 101706)
TestSettleCallSpread:testSellerCanClearDebtIfExpiresOTM() (gas: 97120)
TestSettleCallSpread:testSellerCollateralIsReducedIfExpiresITM() (gas: 97391)
TestSettleCallSpread:testSellerCollateralReductionIsCapped() (gas: 97431)
TestSettleCallSpread:testShouldGetNothingIfExpiresOTM() (gas: 95760)
TestSettleCallSpread:testShouldGetPayoutDifferenceBetweenSpotAndLongStrike() (gas: 101689)
TestSettleCallSpread:testUtils() (gas: 167)
TestSettleCallSpread_FM:test() (gas: 164)
TestSettleCallSpread_FM:testForgeCoverageIgnoreThis() (gas: 230)
TestSettleCallSpread_FM:testPayoutShouldBeCappedAtShortStrike() (gas: 119522)
TestSettleCallSpread_FM:testSellerCanClearDebtIfExpiresOTM() (gas: 83791)
TestSettleCallSpread_FM:testSellerCollateralIsReducedIfExpiresITM() (gas: 84268)
TestSettleCallSpread_FM:testShouldGetNothingIfExpiresOTM() (gas: 96314)
TestSettleCallSpread_FM:testShouldGetPayoutDifferenceBetweenSpotAndLongStrike() (gas: 119483)
TestSettleCallSpread_FM:testUtils() (gas: 167)
TestSettleCollateralizedPut_CM:test() (gas: 164)
TestSettleCollateralizedPut_CM:testForgeCoverageIgnoreThis() (gas: 230)
TestSettleCollateralizedPut_CM:testSellerCanClearOnlyExpiredOptions() (gas: 266459)
TestSettleCollateralizedPut_CM:testSellerCollateralIsReducedIfExpiresITM() (gas: 118541)
TestSettleCollateralizedPut_CM:testShouldGetNothingIfExpiresOTM() (gas: 103054)
TestSettleCollateralizedPut_CM:testShouldGetPayoutIfExpiresIMT() (gas: 108791)
TestSettleCollateralizedPut_CM:testUtils() (gas: 167)
TestSettleCoveredCall:test() (gas: 209)
TestSettleCoveredCall:testForgeCoverageIgnoreThis() (gas: 230)
TestSettleCoveredCall:testSellerCanClearDebtIfExpiresOTM() (gas: 97668)
TestSettleCoveredCall:testSellerCollateralIsReducedIfExpiresITM() (gas: 98501)
TestSettleCoveredCall:testShouldGetNothingIfExpiresOTM() (gas: 96374)
TestSettleCoveredCall:testShouldGetPayoutIfExpiresIMT() (gas: 119855)
TestSettleCoveredCall:testUtils() (gas: 167)
TestSettleCoveredCall_CM:test() (gas: 209)
TestSettleCoveredCall_CM:testForgeCoverageIgnoreThis() (gas: 230)
TestSettleCoveredCall_CM:testSellerCanClearDebtIfExpiresOTM() (gas: 111988)
TestSettleCoveredCall_CM:testSellerCanClearMultipleExpiredOptions() (gas: 252730)
TestSettleCoveredCall_CM:testSellerCanClearOnlyExpiredOptions() (gas: 269542)
TestSettleCoveredCall_CM:testSellerCollateralIsReducedIfExpiresITM() (gas: 119635)
TestSettleCoveredCall_CM:testShouldGetNothingIfExpiresOTM() (gas: 103482)
TestSettleCoveredCall_CM:testShouldGetPayoutIfExpiresIMT() (gas: 126963)
TestSettleCoveredCall_CM:testUtils() (gas: 189)
TestSettleCoveredCall_FM:test() (gas: 164)
TestSettleCoveredCall_FM:testForgeCoverageIgnoreThis() (gas: 230)
TestSettleCoveredCall_FM:testSellerCanClearDebtIfExpiresOTM() (gas: 83837)
TestSettleCoveredCall_FM:testSellerCollateralIsReducedIfExpiresITM() (gas: 84582)
TestSettleCoveredCall_FM:testShouldGetNothingIfExpiresOTM() (gas: 96361)
TestSettleCoveredCall_FM:testShouldGetPayoutIfExpiresIMT() (gas: 119776)
TestSettleCoveredCall_FM:testShouldRevertIfPriceIsNotFinalized() (gas: 71066)
TestSettleCoveredCall_FM:testUtils() (gas: 167)
TestSettleCreditCallSpread_FM:test() (gas: 164)
TestSettleCreditCallSpread_FM:testForgeCoverageIgnoreThis() (gas: 230)
TestSettleCreditCallSpread_FM:testPayoutShouldBeCappedAtShortStrike() (gas: 96783)
TestSettleCreditCallSpread_FM:testSellerCollateralIsReducedIfExpiresITM() (gas: 83495)
TestSettleCreditCallSpread_FM:testShouldGetNothingIfExpiresOTM() (gas: 95747)
TestSettleCreditCallSpread_FM:testShouldGetPayoutDifferenceBetweenSpotAndLongStrike() (gas: 101610)
TestSettleCreditCallSpread_FM:testUtils() (gas: 167)
TestSettleDebitCallSpread_FM:test() (gas: 164)
TestSettleDebitCallSpread_FM:testForgeCoverageIgnoreThis() (gas: 230)
TestSettleDebitCallSpread_FM:testSellerSettlePayoutCapped() (gas: 88788)
TestSettleDebitCallSpread_FM:testSellerSettleShortITM() (gas: 89029)
TestSettleDebitCallSpread_FM:testUtils() (gas: 167)
TestSettleDebitPutSpread_FM:test() (gas: 164)
TestSettleDebitPutSpread_FM:testForgeCoverageIgnoreThis() (gas: 230)
TestSettleDebitPutSpread_FM:testSellerSettlePayoutCapped() (gas: 88024)
TestSettleDebitPutSpread_FM:testSellerSettleShortITM() (gas: 88009)
TestSettleDebitPutSpread_FM:testUtils() (gas: 167)
TestSettleETHCollateralizedPut:test() (gas: 209)
TestSettleETHCollateralizedPut:testForgeCoverageIgnoreThis() (gas: 230)
TestSettleETHCollateralizedPut:testSellerCanClearDebtIfExpiresOTM() (gas: 97766)
TestSettleETHCollateralizedPut:testSellerCollateralIsReducedIfExpiresITM() (gas: 98605)
TestSettleETHCollateralizedPut:testShouldGetNothingIfExpiresOTM() (gas: 96469)
TestSettleETHCollateralizedPut:testShouldGetPayoutIfExpiresIMT() (gas: 119956)
TestSettleETHCollateralizedPut:testUtils() (gas: 167)
TestSettleOptionPartialMargin_CM:test() (gas: 164)
TestSettleOptionPartialMargin_CM:testCallITM() (gas: 331257)
TestSettleOptionPartialMargin_CM:testForgeCoverageIgnoreThis() (gas: 230)
TestSettleOptionPartialMargin_CM:testPutITM() (gas: 329031)
TestSettleOptionPartialMargin_CM:testUtils() (gas: 167)
TestSettlePut:test() (gas: 209)
TestSettlePut:testCannotRemoveCollateralBeforeSettleExpiredShort() (gas: 55921)
TestSettlePut:testForgeCoverageIgnoreThis() (gas: 230)
TestSettlePut:testSellerCanClearDebtIfExpiresOTM() (gas: 97199)
TestSettlePut:testSellerCollateralIsReducedIfExpiresITM() (gas: 96848)
TestSettlePut:testShouldGetNothingIfExpiresOTM() (gas: 95902)
TestSettlePut:testShouldGetPayoutIfExpiresIMT() (gas: 96883)
TestSettlePut:testUtils() (gas: 167)
TestSettlePutSpread:test() (gas: 209)
TestSettlePutSpread:testForgeCoverageIgnoreThis() (gas: 230)
TestSettlePutSpread:testPayoutShouldBeCappedAtShortStrike() (gas: 101790)
TestSettlePutSpread:testSellerCanClearDebtIfExpiresOTM() (gas: 97210)
TestSettlePutSpread:testSellerCollateralIsReducedIfExpiresITM() (gas: 97484)
TestSettlePutSpread:testSellerCollateralReductionIsCapped() (gas: 97518)
TestSettlePutSpread:testShouldGetNothingIfExpiresOTM() (gas: 95847)
TestSettlePutSpread:testShouldGetPayoutDifferenceBetweenSpotAndLongStrike() (gas: 101779)
TestSettlePutSpread:testUtils() (gas: 167)
TestSettlePutSpread_FM:test() (gas: 164)
TestSettlePutSpread_FM:testForgeCoverageIgnoreThis() (gas: 230)
TestSettlePutSpread_FM:testPayoutShouldBeCappedAtShortStrike() (gas: 101733)
TestSettlePutSpread_FM:testSellerCanClearDebtIfExpiresOTM() (gas: 83311)
TestSettlePutSpread_FM:testSellerCollateralIsReducedIfExpiresITM() (gas: 83585)
TestSettlePutSpread_FM:testShouldGetNothingIfExpiresOTM() (gas: 95834)
TestSettlePutSpread_FM:testShouldGetPayoutDifferenceBetweenSpotAndLongStrike() (gas: 101700)
TestSettlePutSpread_FM:testUtils() (gas: 167)
TestSettlePut_FM:test() (gas: 164)
TestSettlePut_FM:testForgeCoverageIgnoreThis() (gas: 230)
TestSettlePut_FM:testSellerCanClearDebtIfExpiresOTM() (gas: 83365)
TestSettlePut_FM:testSellerCollateralIsReducedIfExpiresITM() (gas: 83510)
TestSettlePut_FM:testShouldGetNothingIfExpiresOTM() (gas: 95889)
TestSettlePut_FM:testShouldGetPayoutIfExpiresIMT() (gas: 101604)
TestSettlePut_FM:testUtils() (gas: 167)
TestSettleShortCondor:test() (gas: 164)
TestSettleShortCondor:testForgeCoverageIgnoreThis() (gas: 230)
TestSettleShortCondor:testLongShouldGetNothingIfExpiresOTM() (gas: 108796)
TestSettleShortCondor:testSellerCanClearDebtIfExpiresOTM() (gas: 99403)
TestSettleShortCondor:testUtils() (gas: 167)
TestSettlementEdgeCase:test() (gas: 209)
TestSettlementEdgeCase:testForgeCoverageIgnoreThis() (gas: 230)
TestSettlementEdgeCase:testLongCannotSettleBeforeExpiry() (gas: 27548)
TestSettlementEdgeCase:testRolloverPositionForShort() (gas: 157660)
TestSettlementEdgeCase:testShortCannotSettleBeforeExpiry() (gas: 34439)
TestSettlementEdgeCase:testUtils() (gas: 167)
TestSplitCallSpread:test() (gas: 187)
TestSplitCallSpread:testCannotSplitCallSpreadWithoutAddingCollateral() (gas: 110175)
TestSplitCallSpread:testForgeCoverageIgnoreThis() (gas: 208)
TestSplitCallSpread:testSplitCallSpread() (gas: 141403)
TestSplitCallSpread:testSplitCallSpreadCreateNewCallToken() (gas: 145145)
TestSplitCallSpread:testUtils() (gas: 167)
TestSplitCallSpread_FM:test() (gas: 187)
TestSplitCallSpread_FM:testCannotSplitCallSpreadWithoutAddingCollateral() (gas: 77596)
TestSplitCallSpread_FM:testForgeCoverageIgnoreThis() (gas: 208)
TestSplitCallSpread_FM:testSplitCallSpread() (gas: 108412)
TestSplitCallSpread_FM:testSplitCallSpreadCreateNewCallToken() (gas: 112316)
TestSplitCallSpread_FM:testUtils() (gas: 167)
TestSplitPutSpread:test() (gas: 209)
TestSplitPutSpread:testCannotSplitCallSpreadWithoutAddingCollateral() (gas: 110279)
TestSplitPutSpread:testCannotSplitNonExistingSpreadId() (gas: 31578)
TestSplitPutSpread:testCannotSplitPut() (gas: 26776)
TestSplitPutSpread:testCannotSplitWithWrongAmount() (gas: 27003)
TestSplitPutSpread:testForgeCoverageIgnoreThis() (gas: 208)
TestSplitPutSpread:testSplitCallSpreadCreateNewCallToken() (gas: 145205)
TestSplitPutSpread:testSplitPutSpread() (gas: 141508)
TestSplitPutSpread:testUtils() (gas: 190)
TestSplitPutSpread_FM:test() (gas: 187)
TestSplitPutSpread_FM:testCannotSplitCallSpreadWithoutAddingCollateral() (gas: 77417)
TestSplitPutSpread_FM:testCannotSplitNonExistingSpreadId() (gas: 31446)
TestSplitPutSpread_FM:testCannotSplitWithWrongAmount() (gas: 26786)
TestSplitPutSpread_FM:testForgeCoverageIgnoreThis() (gas: 208)
TestSplitPutSpread_FM:testSplitCallSpreadCreateNewCallToken() (gas: 114324)
TestSplitPutSpread_FM:testSplitPutSpread() (gas: 108248)
TestSplitPutSpread_FM:testUtils() (gas: 167)
TestStrangles:testLongStrangle() (gas: 44350)
TestStrangles:testShortStrangles() (gas: 38386)
TestStrangles:testStrangleSpread() (gas: 163742)
TestStructures_CMM:testConversion() (gas: 92435)
TestStructures_CMM:testMarginBinaryCallOption() (gas: 78067)
TestStructures_CMM:testMarginCallSpreadSameUnderlyingCollateral() (gas: 79828)
TestStructures_CMM:testMarginCallSpreadSameUnderlyingCollateralBiggerNumbers() (gas: 79864)
TestStructures_CMM:testMarginLongBinaryPut() (gas: 73853)
TestStructures_CMM:testMarginPutSpread1() (gas: 73884)
TestStructures_CMM:testMarginRequirement1() (gas: 99598)
TestStructures_CMM:testMarginRequirement2() (gas: 103047)
TestStructures_CMM:testMarginRequirement3() (gas: 103203)
TestStructures_CMM:testMarginRequirement4() (gas: 103536)
TestStructures_CMM:testMarginShortBinaryPut() (gas: 73900)
TestStructures_CMM:testMarginSimpleITMCall() (gas: 72827)
TestStructures_CMM:testMarginSimpleITMPut() (gas: 73073)
TestStructures_CMM:testMarginSimpleOTMCall() (gas: 72809)
TestStructures_CMM:testMarginSimpleOTMPut() (gas: 73090)
TestStructures_CMM:testMarginUnsortedStrikes() (gas: 140825)
TestStructures_CMM:testVerifyInputs2() (gas: 45683)
TestStructures_CMM:testVerifyInputs3() (gas: 74511)
TestStructures_CMM:testVerifyInputs4() (gas: 55763)
TestTransfer_CM:test() (gas: 209)
TestTransfer_CM:testCannotTransferCollateralWhenShortExists() (gas: 125233)
TestTransfer_CM:testCannotTransferLongWhenTooLittleCollateral() (gas: 171069)
TestTransfer_CM:testCannotTransferShortWhenReceiverHasTooLittleCollateral() (gas: 171686)
TestTransfer_CM:testCannotTransferShortWithNoAccess() (gas: 33832)
TestTransfer_CM:testForgeCoverageIgnoreThis() (gas: 230)
TestTransfer_CM:testTransferCollateral() (gas: 271112)
TestTransfer_CM:testUtils() (gas: 189)
TestVanillaCall_CMM:testMarginRequirementVanillaCall1() (gas: 25585)
TestVanillaPut_CMM:testMarginRequirement1() (gas: 25765)
TokenIdLibTest:testIsExpired() (gas: 12341)
TokenIdUtilTest:testFormatAndParseAreMirrored(uint8,uint40,uint64,uint64,uint64) (runs: 256, μ: 4599, ~: 4599)
TokenIdUtilTest:testGetAndParseAreMirrored(uint8,uint40,uint256,uint256,uint256) (runs: 256, μ: 4354, ~: 4354)
TokenIdUtilTest:testTokenIdHigherThan0(uint8,uint40,uint64,uint64,uint64) (runs: 256, μ: 4203, ~: 4203)
VolOracleTest:testCannotReadVolForUnSetAddress() (gas: 10537)
VolOracleTest:testCannotSetAggregatorFromNonOwner() (gas: 15218)
VolOracleTest:testCannotSetAggregatorTwice() (gas: 39964)
VolOracleTest:testSetAggregator() (gas: 36973)
VolOracleTest:testSetAggregatorEmitEvent() (gas: 40324)
VolOracleTest:testVolIsUpdated() (gas: 66008)