c47c492c3c
Signed-off-by: AlienTornadosaurusHex <>
14 KiB
14 KiB
src/proposals/InfrastructureUpgradeProposal.sol:InfrastructureUpgradeProposal contract | |||||
---|---|---|---|---|---|
Deployment Cost | Deployment Size | ||||
1315084 | 7174 | ||||
Function Name | min | avg | median | max | # calls |
executeProposal | 2826384 | 2826384 | 2826384 | 2826384 | 4 |
src/v2/CurveFeeOracle.sol:CurveFeeOracle contract | |||||
---|---|---|---|---|---|
Deployment Cost | Deployment Size | ||||
1207232 | 6129 | ||||
Function Name | min | avg | median | max | # calls |
getChainedOracleHashForInstance | 1332 | 1332 | 1332 | 1332 | 1 |
getChainedOracleNameForInstance | 2308 | 2308 | 2308 | 2308 | 1 |
getChainedOracleNameForOracleHash | 1324 | 1324 | 1324 | 1324 | 1 |
getFee | 1905 | 14567 | 15539 | 23994 | 26 |
modifyChainedOracleForInstance | 74546 | 95310 | 83150 | 133973 | 12 |
setTornOracleIsUniswap | 1122 | 2394 | 1122 | 6212 | 4 |
setUniswapFeeOracle | 1841 | 8918 | 3841 | 21741 | 9 |
update | 1841 | 1841 | 1841 | 1841 | 32 |
src/v2/FeeOracleManager.sol:FeeOracleManager contract | |||||
---|---|---|---|---|---|
Deployment Cost | Deployment Size | ||||
1611614 | 8383 | ||||
Function Name | min | avg | median | max | # calls |
feeUpdaterAddress | 535 | 535 | 535 | 535 | 2 |
getAllFeeDeviations | 237723 | 237723 | 237723 | 237723 | 1 |
getFeeDeviationsForInstances | 13248 | 13248 | 13248 | 13248 | 1 |
getFeePercentForInstance | 1127 | 1127 | 1127 | 1127 | 1 |
getFeeUpdateIntervalForInstance | 1083 | 1083 | 1083 | 1083 | 1 |
getLastFeeForInstance | 1103 | 1103 | 1103 | 1103 | 18 |
getLastUpdatedTimeForInstance | 599 | 599 | 599 | 599 | 3 |
getUpdatedFeeForInstance | 12353 | 12353 | 12353 | 12353 | 1 |
initialize | 2783 | 594459 | 890194 | 890194 | 6 |
instanceFeeOracles | 852 | 852 | 852 | 852 | 1 |
populateInstanceWithFeeData | 6180 | 6180 | 6180 | 6180 | 7 |
setFeeOracle | 919 | 40412 | 39633 | 59663 | 13 |
setFeePercentForInstance | 979 | 11832 | 4651 | 24551 | 15 |
setFeeUpdateIntervalForInstance | 570 | 7890 | 1867 | 21767 | 13 |
setFeeUpdater | 1937 | 1937 | 1937 | 1937 | 8 |
setInstanceRegistry | 928 | 1538 | 1538 | 2149 | 2 |
updateAllFees | 245796 | 335517 | 316173 | 444582 | 3 |
updateFee | 672 | 18119 | 18977 | 84083 | 24 |
updateFees | 61364 | 83547 | 83547 | 105730 | 2 |
version | 694 | 694 | 694 | 694 | 1 |
src/v2/InstanceRegistry.sol:InstanceRegistry contract | |||||
---|---|---|---|---|---|
Deployment Cost | Deployment Size | ||||
1464799 | 7510 | ||||
Function Name | min | avg | median | max | # calls |
addInstance | 44266 | 81412 | 84867 | 89867 | 12 |
getAllInstanceStates | 29407 | 29407 | 29407 | 29407 | 1 |
getAllInstances | 10916 | 11649 | 10916 | 13848 | 4 |
getInstanceByENSName | 23933 | 23933 | 23933 | 23933 | 1 |
getInstanceIndex | 689 | 689 | 689 | 689 | 1 |
getInstanceState | 1689 | 1689 | 1689 | 1689 | 125 |
getInstanceStateByIndex | 1824 | 1824 | 1824 | 1824 | 2 |
getInstanceStatesByIndex | 6101 | 6101 | 6101 | 6101 | 1 |
getInstanceToken | 817 | 817 | 817 | 817 | 2 |
initialize | 1689 | 946962 | 1419495 | 1419495 | 6 |
instanceData | 1346 | 1346 | 1346 | 1346 | 6 |
isEnabledInstance | 1099 | 1099 | 1099 | 1099 | 2 |
isRegisteredInstance | 655 | 655 | 655 | 655 | 2 |
removeInstanceByAddress | 10215 | 10215 | 10215 | 10215 | 1 |
removeInstanceByIndex | 3494 | 3494 | 3494 | 3494 | 1 |
router | 1074 | 1074 | 1074 | 1074 | 1 |
setTornadoRouter | 1526 | 1526 | 1526 | 1526 | 1 |
version | 782 | 782 | 782 | 782 | 2 |
src/v2/RelayerRegistry.sol:RelayerRegistry contract | |||||
---|---|---|---|---|---|
Deployment Cost | Deployment Size | ||||
1990214 | 10264 | ||||
Function Name | min | avg | median | max | # calls |
deductBalance | 2835 | 2835 | 2835 | 2835 | 1 |
getRelayerBalanceByName | 5796 | 5796 | 5796 | 5796 | 2 |
initialize | 110881 | 110881 | 110881 | 110881 | 4 |
isOwnerOfWorker | 1198 | 1198 | 1198 | 1198 | 1 |
isRegistered | 1245 | 1245 | 1245 | 1245 | 1 |
minimumTornStake | 1164 | 1164 | 1164 | 1164 | 3 |
ownerByName | 21321 | 21321 | 21321 | 21321 | 1 |
register | 135728 | 135728 | 135728 | 135728 | 1 |
setMinimumStakeOracle | 791 | 1415 | 1415 | 2039 | 2 |
setMinimumTornStake | 1543 | 1543 | 1543 | 1543 | 2 |
stakeToRelayer | 9313 | 9313 | 9313 | 9313 | 1 |
unregisterWorker | 900 | 1755 | 1976 | 2168 | 4 |
version | 847 | 847 | 847 | 847 | 1 |
src/v2/TornadoRouter.sol:TornadoRouter contract | |||||
---|---|---|---|---|---|
Deployment Cost | Deployment Size | ||||
1264996 | 6517 | ||||
Function Name | min | avg | median | max | # calls |
approveTokenForInstance | 5065 | 29024 | 28086 | 33669 | 64 |
backupNotes | 3067 | 3067 | 3067 | 3067 | 1 |
deposit | 831992 | 831992 | 831992 | 831992 | 1 |
initialize | 1032 | 60788 | 90557 | 90557 | 6 |
rescueTokens | 8278 | 15765 | 15765 | 23253 | 2 |
setFeeOracleManager | 552 | 1174 | 1174 | 1797 | 2 |
setInstanceRegistry | 706 | 1332 | 1332 | 1959 | 2 |
setStakingRewards | 662 | 1284 | 1284 | 1907 | 2 |
version | 670 | 670 | 670 | 670 | 2 |
withdraw | 426865 | 426865 | 426865 | 426865 | 1 |
src/v2/TornadoStakingRewards.sol:TornadoStakingRewards contract | |||||
---|---|---|---|---|---|
Deployment Cost | Deployment Size | ||||
999124 | 5545 | ||||
Function Name | min | avg | median | max | # calls |
addBurnRewards | 6343 | 6343 | 6343 | 6343 | 1 |
updateRewardsOnLockedBalanceChange | 3685 | 3685 | 3685 | 3685 | 4 |
src/v2/UniswapFeeOracle.sol:UniswapFeeOracle contract | |||||
---|---|---|---|---|---|
Deployment Cost | Deployment Size | ||||
1591572 | 8800 | ||||
Function Name | min | avg | median | max | # calls |
getAverageTORNPerETH | 754 | 754 | 754 | 754 | 1 |
getFee | 1971 | 10090 | 7508 | 24829 | 50 |
getLastUpdatedTime | 544 | 544 | 544 | 544 | 1 |
getTORNPerToken | 2248 | 3057 | 2248 | 8748 | 21 |
getTWAPData | 745 | 745 | 745 | 745 | 1 |
setFeeOracleManagerAddress | 466 | 1076 | 1076 | 1687 | 2 |
setMinObservationCardinality | 740 | 14601 | 23825 | 23825 | 12 |
setPoolFeeForToken | 768 | 11497 | 5795 | 36695 | 72 |
update | 2214 | 5038 | 2297 | 49033 | 66 |
test/ProposalTests.sol:MinimumStakeOracle contract | |||||
---|---|---|---|---|---|
Deployment Cost | Deployment Size | ||||
80660 | 468 | ||||
Function Name | min | avg | median | max | # calls |
setAmount | 2661 | 2661 | 2661 | 2661 | 1 |