-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gas-snapshot
149 lines (149 loc) · 11.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
ElasticReceiptTokenDeployment:testContructor() (gas: 22694)
ElasticReceiptTokenDeployment:testInvariants() (gas: 11882)
ElasticReceiptTokenERC20:testApprove(address,address,uint256) (runs: 256, μ: 35538, ~: 36160)
ElasticReceiptTokenERC20:testApproveInf(address,address) (runs: 256, μ: 233868, ~: 233868)
ElasticReceiptTokenERC20:testDecreaseAllowance(address,address,uint256) (runs: 256, μ: 28387, ~: 28606)
ElasticReceiptTokenERC20:testFailPermitBadDeadline() (gas: 40198)
ElasticReceiptTokenERC20:testFailPermitBadNonce() (gas: 40181)
ElasticReceiptTokenERC20:testFailPermitPastDeadline() (gas: 13537)
ElasticReceiptTokenERC20:testFailPermitReplay() (gas: 70325)
ElasticReceiptTokenERC20:testFailTransferAllFromInsufficientAllowance(address,address,uint256) (runs: 256, μ: 246294, ~: 247538)
ElasticReceiptTokenERC20:testFailTransferFromInsufficientAllowance(address,address,uint256) (runs: 256, μ: 246294, ~: 247538)
ElasticReceiptTokenERC20:testFailTransferFromInsufficientBalance(address,address,uint256) (runs: 256, μ: 235458, ~: 247957)
ElasticReceiptTokenERC20:testFailTransferInsufficientBalance(address,address,uint256) (runs: 256, μ: 210555, ~: 221396)
ElasticReceiptTokenERC20:testIncreaseAllowance(address,address,uint256) (runs: 256, μ: 35824, ~: 36446)
ElasticReceiptTokenERC20:testPermit() (gas: 66692)
ElasticReceiptTokenERC20:testTransfer(address,address,uint256) (runs: 256, μ: 209141, ~: 209141)
ElasticReceiptTokenERC20:testTransferAll(address,address,uint256) (runs: 256, μ: 209467, ~: 209467)
ElasticReceiptTokenERC20:testTransferAllFrom(address,address,uint256) (runs: 256, μ: 216344, ~: 216375)
ElasticReceiptTokenERC20:testTransferAllFromWithZeroToken(address,address) (runs: 256, μ: 281968, ~: 281939)
ElasticReceiptTokenERC20:testTransferFrom(address,address,uint256) (runs: 256, μ: 216331, ~: 216362)
ElasticReceiptTokenMintBurn:testFailBurnAll(address,uint256) (runs: 256, μ: 170028, ~: 223426)
ElasticReceiptTokenMintBurn:testFailMintMoreThanMaxSupply(address) (runs: 256, μ: 93042, ~: 93042)
ElasticReceiptTokenRebase:testNoRebaseIfMaxSupplyTarget() (gas: 117999)
ElasticReceiptTokenRebase:testNoRebaseIfZeroSupplyTarget() (gas: 90020)
ElasticReceiptTokenRebase:testRebaseTables() (gas: 12365327)
ElasticReceiptTokenSimulateTransferPrecision:testSimulation() (gas: 3674)
GeoNFTTest:testBurn() (gas: 105028)
GeoNFTTest:testBurnInvalidTokenId(uint256) (runs: 256, μ: 131729, ~: 129729)
GeoNFTTest:testDeploymentConstructor() (gas: 14906)
GeoNFTTest:testDeploymentInvariants() (gas: 7634)
GeoNFTTest:testMint(address,int32,int32,string) (runs: 256, μ: 112048, ~: 13279)
GeoNFTTest:testModify(int32,int32,string) (runs: 256, μ: 152570, ~: 130896)
GeoNFTTest:testModifyInvalidTokenId(uint256) (runs: 256, μ: 132291, ~: 130289)
GeoNFTTest:testOnlyOwnerFunctionsNotPubliclyCallable(address) (runs: 256, μ: 17416, ~: 17416)
OracleData:testDataDoesNotIncludeTooOldReports() (gas: 282450)
OracleData:testDataDoesNotIncludeTooRecentReports() (gas: 279813)
OracleData:testDataInvalidIfNotEnoughProviderReports() (gas: 260410)
OracleData:testDataInvalidIfOracleMarkedAsInvalid() (gas: 231157)
OracleData:testDataIsAverageOfSameProviderReports(uint256,uint256) (runs: 256, μ: 279498, ~: 280742)
OracleData:testDataIsMedianForEvenDifferentProviderReports() (gas: 300579)
OracleData:testDataIsMedianForOddDifferentProviderReports() (gas: 344821)
OracleDeployment:testConstructor() (gas: 15388)
OracleDeployment:testFailConstructorMinimumProvidersIsZero() (gas: 60280)
OracleDeployment:testFailConstructorReportExpirationTimeTooSmall() (gas: 60525)
OracleDeployment:testInvariants() (gas: 13435)
OracleOnlyOwner:testAddProvider() (gas: 130732)
OracleOnlyOwner:testOnlyOwnerFunctionsNotPubliclyCallable(address) (runs: 256, μ: 21020, ~: 21072)
OracleOnlyOwner:testPurgeReportsFrom() (gas: 269390)
OracleOnlyOwner:testPurgeReportsFromInvalidProvider() (gas: 13213)
OracleOnlyOwner:testRemoveProvider() (gas: 155531)
OracleOnlyOwner:testSetIsValid(bool) (runs: 256, μ: 13775, ~: 14522)
OracleOnlyOwner:testSetMinimumProviders(uint256) (runs: 256, μ: 19469, ~: 20155)
OracleProvider:testFailPurgeReportsInvalidProvider(address) (runs: 256, μ: 10641, ~: 10641)
OracleProvider:testFailPushReportInvalidProvider(address) (runs: 256, μ: 12811, ~: 12811)
OracleProvider:testFailPushReportTooSoon() (gas: 229973)
OracleProvider:testPurgeReports() (gas: 269366)
OracleProvider:testPushReport(uint256) (runs: 256, μ: 256433, ~: 257600)
ReserveTokenTest:testBurn(address,uint256,uint256) (runs: 256, μ: 62330, ~: 63157)
ReserveTokenTest:testDeployment() (gas: 24391)
ReserveTokenTest:testMint(address,uint256) (runs: 256, μ: 53855, ~: 56244)
ReserveTokenTest:testOnlyOwnerFunctionsNotPubliclyCallable(address) (runs: 256, μ: 11692, ~: 11692)
ReserveTokenTest:testSetMintBurner(address) (runs: 256, μ: 21845, ~: 21864)
ReserveDeployment:testConstructor() (gas: 20846)
ReserveDeployment:testConstructor_DoesNotAccept_TokenWithNoCode() (gas: 68059)
ReserveDeployment:testInvariants() (gas: 35959)
ReserveFractionalReserveBanking:testBondingAndRedeeming() (gas: 2755808)
ReserveFractionalReserveBanking:testBondingAndRedeemingWithBondingDiscountsAndBondingVesting() (gas: 2841854)
ReserveFractionalReserveBanking:testIncurAndPayDebtSimple() (gas: 1292688)
ReserveFractionalReserveBanking:testIncurDebt_NotAcceptedIf_MinBackingRequirementExceeded() (gas: 1269826)
ReserveFractionalReserveBanking:testOvercollateralizedBacking() (gas: 1265897)
ReserveOnlyOwner:testDelistERC20AsRedeemable_NotAcceptedIf_ERC20NotRegistered() (gas: 993714)
ReserveOnlyOwner:testDelistERC721IdAsRedeemable_NotAcceptedIf_ERC721IdNotRegistered() (gas: 1324955)
ReserveOnlyOwner:testDeregisterERC20() (gas: 1018106)
ReserveOnlyOwner:testDeregisterERC721Id() (gas: 1350976)
ReserveOnlyOwner:testExecuteTx() (gas: 9413)
ReserveOnlyOwner:testListERC20AsBondable_NotAcceptedIf_ERC20NotRegistered() (gas: 993715)
ReserveOnlyOwner:testListERC20AsBonding() (gas: 1079668)
ReserveOnlyOwner:testListERC20AsRedeemable() (gas: 1079737)
ReserveOnlyOwner:testListERC20AsRedeemable_NotAcceptedIf_ERC20NotRegistered() (gas: 993694)
ReserveOnlyOwner:testListERC721IdAsBondable() (gas: 1433573)
ReserveOnlyOwner:testListERC721IdAsBondable_NotAcceptedIf_ERC721IdNotRegistered() (gas: 1324902)
ReserveOnlyOwner:testListERC721IdAsRedeemable() (gas: 1433604)
ReserveOnlyOwner:testListERC721IdAsRedeemable_NotAcceptedIf_ERC721IdNotRegistered() (gas: 1324953)
ReserveOnlyOwner:testOnlyOwnerFunctionsNotPubliclyCallable(address) (runs: 256, μ: 116471, ~: 116471)
ReserveOnlyOwner:testRegisterERC20() (gas: 1073163)
ReserveOnlyOwner:testRegisterERC20WithAssetType(uint256) (runs: 256, μ: 1081165, ~: 1088861)
ReserveOnlyOwner:testRegisterERC20_NotAcceptedIf_AlreadyRegistered() (gas: 1251616)
ReserveOnlyOwner:testRegisterERC20_NotAcceptedIf_OracleInvalid() (gas: 983368)
ReserveOnlyOwner:testRegisterERC20_NotAcceptedIf_TokenCodeIsZero() (gas: 198537)
ReserveOnlyOwner:testRegisterERC721() (gas: 1425444)
ReserveOnlyOwner:testRegisterERC721_NotAcceptedIf_AlreadyRegistered() (gas: 1602627)
ReserveOnlyOwner:testRegisterERC721_NotAcceptedIf_OracleInvalid() (gas: 1314461)
ReserveOnlyOwner:testRegisterERC721_NotAcceptedIf_TokenCodeIsZero() (gas: 200496)
ReserveOnlyOwner:testSetBondingDiscountForERC20(uint256) (runs: 256, μ: 830056, ~: 831250)
ReserveOnlyOwner:testSetBondingDiscountForERC721Id(uint256) (runs: 256, μ: 1162101, ~: 1163308)
ReserveOnlyOwner:testSetBondingVestingForERC20(uint256) (runs: 256, μ: 827629, ~: 828823)
ReserveOnlyOwner:testSetBondingVestingForERC721Id(uint256) (runs: 256, μ: 1159286, ~: 1160493)
ReserveOnlyOwner:testSetERC20BondingLimit(uint256) (runs: 256, μ: 830011, ~: 831205)
ReserveOnlyOwner:testSetERC20RedeemLimit(uint256) (runs: 256, μ: 830058, ~: 831252)
ReserveOnlyOwner:testSetMinBacking(uint256) (runs: 256, μ: 18031, ~: 18031)
ReserveOnlyOwner:testSetMinBacking_NotAcceptedIf_IsZero() (gas: 10792)
ReserveOnlyOwner:testSetTokenOracle() (gas: 201361)
ReserveOnlyOwner:testSetTokenOracle_NotAcceptedIfInvalid() (gas: 186628)
ReserveOnlyOwner:testSetVestingVault() (gas: 291944)
ReserveOnlyOwner:testSetVestingVault_NotAcceptedIf_WrongTokenSupported() (gas: 252626)
ReserveOnlyOwner:testUpdateOracleForERC20() (gas: 1255832)
ReserveOnlyOwner:testUpdateOracleForERC20_NotAcceptedIf_ERC20NotRegistered() (gas: 993792)
ReserveOnlyOwner:testUpdateOracleForERC20_NotAcceptedIf_OracleInvalid() (gas: 1236758)
ReserveOnlyOwner:testUpdateOracleForERC721Id() (gas: 1607998)
ReserveOnlyOwner:testUpdateOracleForERC721Id_NotAcceptedIf_ERC721IdNotRegistered() (gas: 1325031)
ReserveOnlyOwner:testUpdateOracleForERC721Id_NotAcceptedIf_OracleInvalid() (gas: 1588323)
ReserveOnlyOwner:testWithdrawERC20(address,uint256) (runs: 256, μ: 883577, ~: 883577)
ReserveOnlyOwner:testWithdrawERC20_FailsIf_CodeIsZero() (gas: 13741)
ReserveOnlyOwner:testWithdrawERC20_FailsIf_InvalidAmount() (gas: 9056)
ReserveOnlyOwner:testWithdrawERC20_FailsIf_InvalidRecipient() (gas: 10989)
ReserveOnlyOwner:testWithdrawERC721Id(bool) (runs: 256, μ: 68502, ~: 63752)
ReserveOnlyOwner:testWithdrawERC721Id_FailsIf_InvalidRecipient() (gas: 15407)
TreasuryBonding:testBondingAndRedeeming(uint256) (runs: 256, μ: 791131, ~: 1361764)
TreasuryBonding:testBondingAndRedeemingWithNonWadAssets(bool) (runs: 256, μ: 2510070, ~: 2510044)
TreasuryBonding:testFailBondingDisabledIfOracleInvalid(uint256) (runs: 256, μ: 653703, ~: 1161855)
TreasuryBonding:testFailBondingDisabledIfOraclePriceIsZero(uint256) (runs: 256, μ: 653609, ~: 1161671)
TreasuryBonding:testFailCanNotRedeemToZero(uint256) (runs: 256, μ: 747396, ~: 1328455)
TreasuryBonding:testFailRedeemDisabledIfOracleInvalid(uint256) (runs: 256, μ: 744012, ~: 1322439)
TreasuryBonding:testFailRedeemDisabledIfOraclePriceIsZero(uint256) (runs: 256, μ: 743885, ~: 1322213)
TreasuryDeployment:testInvariants() (gas: 20689)
TreasuryOnlyOwner:testDelistERC20AsBondable() (gas: 1075032)
TreasuryOnlyOwner:testDelistERC20AsRedeemable() (gas: 1074988)
TreasuryOnlyOwner:testExecuteTx() (gas: 13983)
TreasuryOnlyOwner:testFailExecuteOnlyOwnerTx() (gas: 9448)
TreasuryOnlyOwner:testFailListAssetAsBondableWhileAssetNotRegistered() (gas: 988327)
TreasuryOnlyOwner:testFailListAssetAsRedeemableWhileAssetNotRegistered() (gas: 988303)
TreasuryOnlyOwner:testListAssetAsBondable() (gas: 1093350)
TreasuryOnlyOwner:testListAssetAsRedeemable() (gas: 1093221)
TreasuryOnlyOwner:testOnlyOwnerFunctionsNotPubliclyCallable(address) (runs: 256, μ: 1136667, ~: 1136667)
TreasuryOnlyOwner:testRegisterAsset() (gas: 1118398)
TreasuryOnlyOwner:testRegisterAssetCanNotUpdateOracle() (gas: 1247049)
TreasuryOnlyOwner:testRegisterAssetDoesNotAcceptInvalidOracle() (gas: 975459)
TreasuryOnlyOwner:testRegisterAssetDoesNotAcceptOraclePriceOfZero() (gas: 975479)
TreasuryOnlyOwner:testRegisterAssetWithType(uint256) (runs: 256, μ: 1080622, ~: 1088318)
TreasuryOnlyOwner:testUnregisterERC20() (gas: 1012206)
TreasuryOnlyOwner:testUpdateAssetOracle() (gas: 1257333)
TreasuryOnlyOwner:testUpdateAssetOracleDoesNotAcceptInvalidOracle() (gas: 1231486)
TreasuryOnlyOwner:testUpdateAssetOracleDoesNotAcceptOraclePriceOfZero() (gas: 1232489)
TreasuryOnlyOwner:testWithdrawAsset(address,uint256) (runs: 256, μ: 866344, ~: 866344)
TreasuryOnlyOwner:testWithdrawAsset_FailsIf_CodeIsZero() (gas: 13740)
TreasuryOnlyOwner:testWithdrawAsset_FailsIf_InvalidAmount() (gas: 9015)
TreasuryOnlyOwner:testWithdrawAsset_FailsIf_InvalidRecipient() (gas: 10928)
TreasuryTotalValuation:testTotalValuationWithNonWadAssets() (gas: 2197190)
TreasuryTotalValuation:testTotalValuationWithWadAssets(uint256) (runs: 256, μ: 12766344, ~: 13742798)