generated from Kwenta/foundry-scaffold
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.gas-snapshot
119 lines (119 loc) · 7.37 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
AccountDelegate:test_isAccountDelegate_account_doesnt_exist() (gas: 26743)
AccountDelegate:test_isAccountDelegate_false() (gas: 397433)
AccountDelegate:test_isAccountDelegate_true() (gas: 395403)
AccountDelegate:test_isAccountDelegate_zero_address_caller() (gas: 28007)
AccountOwner:test_isAccountOwner_account_doesnt_exist() (gas: 29956)
AccountOwner:test_isAccountOwner_false() (gas: 235169)
AccountOwner:test_isAccountOwner_true() (gas: 235159)
AccountOwner:test_isAccountOwner_zero_address_caller() (gas: 15677)
CanExecute:test_canExecute_false_insufficent_account_credit() (gas: 421074)
CanExecute:test_canExecute_false_invalid_signature() (gas: 455480)
CanExecute:test_canExecute_false_invalid_signer() (gas: 448449)
CanExecute:test_canExecute_false_maxExecutorFee_exceeded() (gas: 403960)
CanExecute:test_canExecute_false_nonce_used() (gas: 1029091)
CanExecute:test_canExecute_false_require_verify_condition_not_met() (gas: 538639)
CanExecute:test_canExecute_false_trusted_executor() (gas: 444733)
CanExecute:test_canExecute_true() (gas: 444350)
CommitOrder:test_commitOrder() (gas: 585271)
CommitOrder:test_commitOrder_Unauthorized() (gas: 37862)
CommitOrder:test_commitOrder_insufficient_collateral() (gas: 425887)
CommitOrder:test_commitOrder_invalid_market() (gas: 44524)
Conditions:test_isOrderFeeBelow() (gas: 154824)
Conditions:test_isPositionSizeAbove() (gas: 24579)
Conditions:test_isPositionSizeBelow() (gas: 24575)
Conditions:test_isPriceAbove() (gas: 175836)
Conditions:test_isPriceBelow() (gas: 175643)
Conditions:test_isTimestampAfter() (gas: 13310)
Conditions:test_isTimestampBefore() (gas: 13398)
Credit:test_credit(uint256) (runs: 256, μ: 94831, ~: 105108)
Credit:test_credit_event() (gas: 88151)
Credit:test_credit_zap() (gas: 677093)
Debit:test_debit(uint256) (runs: 256, μ: 136580, ~: 147259)
Debit:test_debit_InsufficientBalance() (gas: 122814)
Debit:test_debit_Unauthorized() (gas: 122875)
Debit:test_debit_event() (gas: 104489)
Debit:test_debit_zap() (gas: 985201)
Debit:test_debit_zap_InsufficientBalance() (gas: 680643)
Debit:test_debit_zap_Unauthorized() (gas: 122887)
DeploymentTest:test_deploy() (gas: 4578038)
DeploymentTest:test_deploy_perps_market_proxy_zero_address() (gas: 58661)
DeploymentTest:test_deploy_spot_market_proxy_zero_address() (gas: 56065)
DeploymentTest:test_deploy_susd_proxy_zero_address() (gas: 56052)
DepositCollateral:test_depositCollateral() (gas: 433700)
DepositCollateral:test_depositCollateral_availableMargin() (gas: 437890)
DepositCollateral:test_depositCollateral_collateralAmount() (gas: 433865)
DepositCollateral:test_depositCollateral_insufficient_balance() (gas: 61158)
DepositCollateral:test_depositCollateral_totalCollateralValue() (gas: 435519)
DepositCollateral:test_depositCollateral_zap() (gas: 940477)
EIP712Test:test_DOMAIN_SEPARATOR() (gas: 5729)
EIP712Test:test_buildDomainSeparator() (gas: 6363)
EIP712Test:test_cachedDomainSeparatorInvalidated() (gas: 5454)
EIP712Test:test_domainNameAndVersion() (gas: 1261)
EIP712Test:test_eip712Domain() (gas: 10831)
EIP712Test:test_hashTypedData() (gas: 37085)
Execute:test_execute_CannotExecuteOrder_invalid_acceptablePrice() (gas: 322533)
Execute:test_execute_CannotExecuteOrder_invalid_settlementStrategyId() (gas: 103746)
Execute:test_execute_CannotExecuteOrder_too_leveraged() (gas: 469157)
Execute:test_execute_event() (gas: 635823)
Execute:test_execute_order_committed() (gas: 632413)
Fee:test_fee_exceeds_account_credit() (gas: 125721)
Fee:test_fee_exceeds_maxExecutorFee() (gas: 125306)
Fee:test_fee_imposed() (gas: 719924)
FulfillOracleQuery:test_fulfillOracleQuery(bytes) (runs: 256, μ: 31258, ~: 31250)
FulfillOracleQuery:test_fulfillOracleQuery_refund(bytes) (runs: 256, μ: 40303, ~: 40295)
FulfillOracleQuery:test_fulfillOracleQuery_revert(bytes) (runs: 256, μ: 32927, ~: 32919)
MathLibTest:test_abs128() (gas: 448)
MathLibTest:test_abs256() (gas: 458)
MathLibTest:test_fuzz_abs128(int128) (runs: 256, μ: 578, ~: 603)
MathLibTest:test_fuzz_abs256(int256) (runs: 256, μ: 450, ~: 436)
MathLibTest:test_fuzz_toInt256(uint256) (runs: 256, μ: 989, ~: 438)
MathLibTest:test_isSameSign() (gas: 999)
MathLibTest:test_toInt256() (gas: 3347)
MathLibTest:test_toInt256_overflow() (gas: 3251)
MockUpgrade:test_upgrade() (gas: 4602208)
MockUpgrade:test_upgrade_credit_state(uint256) (runs: 256, μ: 4680727, ~: 4680727)
MockUpgrade:test_upgrade_nonce_state(uint256) (runs: 256, μ: 4635945, ~: 4635945)
MockUpgrade:test_upgrade_only_pDAO() (gas: 4587330)
Multicall:testMulticallableBenchmark() (gas: 29251)
Multicall:testMulticallableOriginalBenchmark() (gas: 38474)
Multicall:testMulticallablePreservesMsgSender() (gas: 11116)
Multicall:testMulticallableReturnDataIsProperlyEncoded() (gas: 11637)
Multicall:testMulticallableReturnDataIsProperlyEncoded(string,string,uint256) (runs: 256, μ: 10035, ~: 11887)
Multicall:testMulticallableReturnDataIsProperlyEncoded(uint256,uint256,uint256,uint256) (runs: 256, μ: 11738, ~: 11738)
Multicall:testMulticallableRevertWithCustomError() (gas: 11746)
Multicall:testMulticallableRevertWithMessage() (gas: 13451)
Multicall:testMulticallableRevertWithMessage(string) (runs: 256, μ: 14013, ~: 13861)
Multicall:testMulticallableRevertWithNothing() (gas: 11655)
Multicall:testMulticallableWithNoData() (gas: 6311)
MulticallFulfillOracleQuery:test_fulfillOracleQuery_multicall(bytes) (runs: 256, μ: 34608, ~: 34543)
MulticallFulfillOracleQuery:test_fulfillOracleQuery_multicall_double_spend(bytes) (runs: 256, μ: 47615, ~: 47489)
MulticallableEngine:test_multicall_engine_fulfillOracleQuery_modifyCollateral() (gas: 454353)
NonceBitmapTest:test_fuzz_invalidateUnorderedNonces(uint256) (runs: 256, μ: 58116, ~: 58116)
NonceBitmapTest:test_hasUnorderedNonceBeenUsed() (gas: 59860)
NonceBitmapTest:test_invalidateUnorderedNonces() (gas: 83585)
NonceBitmapTest:test_invalidateUnorderedNonces_Only_Owner_Delegate() (gas: 196657)
NonceBitmapTest:test_invalidateUnorderedNonces_Unauthorized() (gas: 35549)
NonceBitmapTest:test_invalidateUnorderedNonces_event() (gas: 58334)
ReduceOnly:test_reduce_only() (gas: 634104)
ReduceOnly:test_reduce_only_same_sign() (gas: 78584)
ReduceOnly:test_reduce_only_truncate_size_down() (gas: 634267)
ReduceOnly:test_reduce_only_truncate_size_up() (gas: 614854)
ReduceOnly:test_reduce_only_when_position_doesnt_exist() (gas: 167039)
ReduceOnly:test_reduce_only_zero_size_delta() (gas: 167050)
RemoveUpgradability:test_removeUpgradability() (gas: 4572629)
SignatureCheckerLibTest:testSignatureChecker(bytes32) (runs: 256, μ: 31232, ~: 28441)
SignatureCheckerLibTest:test_isValidSignatureNowCalldata(address,bytes32,bytes) (runs: 256, μ: 3487, ~: 3451)
StorageLayout:test_credit_slot() (gas: 5517)
StorageLayout:test_nonceBitmap_slot() (gas: 5520)
VerifyConditions:test_max_condition_size_exceeded() (gas: 51317)
VerifyConditions:test_verifyConditions_InvalidConditionSelector() (gas: 19096)
VerifyConditions:test_verify_conditions_not_verified() (gas: 127923)
VerifyConditions:test_verify_conditions_verified() (gas: 175769)
VerifySignature:test_verifySignature(uint256) (runs: 256, μ: 30169, ~: 30169)
VerifySignature:test_verifySignature_false_private_key() (gas: 32788)
VerifySigner:test_verifySigner() (gas: 30873)
VerifySigner:test_verifySigner_false() (gas: 33603)
WithdrawCollateral:test_withdrawCollateral() (gas: 539627)
WithdrawCollateral:test_withdrawCollateral_insufficient_account_collateral_balance() (gas: 445843)
WithdrawCollateral:test_withdrawCollateral_zap() (gas: 934868)
WithdrawCollateral:test_withdrawCollateral_zero() (gas: 441404)