35fbaa074e
Signed-off-by: AlienTornadosaurusHex <>
15 KiB
15 KiB
src/proposals/InfrastructureUpgradeProposal.sol:InfrastructureUpgradeProposal contract | |||||
---|---|---|---|---|---|
Deployment Cost | Deployment Size | ||||
1306271 | 7130 | ||||
Function Name | min | avg | median | max | # calls |
executeProposal | 2828741 | 2828741 | 2828741 | 2828741 | 4 |
src/v2/CurveFeeOracle.sol:CurveFeeOracle contract | |||||
---|---|---|---|---|---|
Deployment Cost | Deployment Size | ||||
1206832 | 6127 | ||||
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 | 1949 | 14611 | 15583 | 24038 | 26 |
modifyChainedOracleForInstance | 74546 | 95310 | 83150 | 133973 | 12 |
setTornOracleIsUniswap | 1122 | 2394 | 1122 | 6212 | 4 |
setUniswapFeeOracle | 1841 | 8918 | 3841 | 21741 | 9 |
update | 1885 | 1885 | 1885 | 1885 | 32 |
src/v2/FeeOracleManager.sol:FeeOracleManager contract | |||||
---|---|---|---|---|---|
Deployment Cost | Deployment Size | ||||
1672077 | 8685 | ||||
Function Name | min | avg | median | max | # calls |
feeUpdaterAddress | 535 | 535 | 535 | 535 | 2 |
getAllFeeDeviations | 240834 | 240834 | 240834 | 240834 | 1 |
getFeeDeviationsForInstances | 13431 | 13431 | 13431 | 13431 | 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 | 12536 | 12536 | 12536 | 12536 | 1 |
initialize | 2783 | 594459 | 890194 | 890194 | 6 |
instanceFeeOracles | 852 | 852 | 852 | 852 | 1 |
populateInstanceWithFeeData | 6363 | 6363 | 6363 | 6363 | 7 |
setFeeOracle | 919 | 42914 | 42340 | 62458 | 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 | 249090 | 340270 | 320748 | 450973 | 3 |
updateFee | 672 | 21023 | 20343 | 84449 | 25 |
updateFees | 62279 | 84912 | 84912 | 107546 | 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 | 126 |
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 | 15 |
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 | ||||
1921326 | 9915 | ||||
Function Name | min | avg | median | max | # calls |
deductBalance | 785 | 1856 | 1856 | 2928 | 2 |
getRelayerBalanceByENSName | 5879 | 6003 | 6045 | 6045 | 4 |
initialize | 113275 | 113275 | 113275 | 113275 | 4 |
isRegistered | 1249 | 1249 | 1249 | 1249 | 2 |
isRegisteredByENSName | 6026 | 6136 | 6192 | 6192 | 3 |
isRelayerByENSName | 5497 | 5607 | 5663 | 5663 | 3 |
isWorkerByENSName | 6028 | 6138 | 6194 | 6194 | 3 |
isWorkerOf | 1529 | 1529 | 1529 | 1529 | 2 |
isWorkerOfByENSName | 5633 | 5633 | 5633 | 5633 | 1 |
minimumTornStake | 1186 | 1186 | 1186 | 1186 | 3 |
nullifyBalance | 867 | 1310 | 1310 | 1754 | 2 |
ownerByName | 21336 | 21336 | 21336 | 21336 | 1 |
register | 9061 | 63744 | 49097 | 147724 | 4 |
registerPermit | 8391 | 69745 | 69745 | 131099 | 2 |
registerWorker | 3463 | 3463 | 3463 | 3463 | 1 |
reserveAccount | 22374 | 22374 | 22374 | 22374 | 1 |
setBalanceDeductor | 2219 | 2219 | 2219 | 2219 | 2 |
setBalanceNullifier | 1713 | 1713 | 1713 | 1713 | 2 |
setMinimumStakeOracle | 839 | 1879 | 2087 | 2087 | 6 |
setMinimumTornStake | 1543 | 1543 | 1543 | 1543 | 6 |
setStakedTokensReceiver | 2425 | 2425 | 2425 | 2425 | 4 |
stakeToRelayer | 13248 | 13248 | 13248 | 13248 | 1 |
unregisterWorker | 1037 | 1885 | 2310 | 2310 | 3 |
version | 895 | 895 | 895 | 895 | 1 |
src/v2/TornadoRouter.sol:TornadoRouter contract | |||||
---|---|---|---|---|---|
Deployment Cost | Deployment Size | ||||
1179908 | 6092 | ||||
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 | 60789 | 90558 | 90558 | 6 |
setFeeOracleManager | 552 | 1174 | 1174 | 1797 | 2 |
setInstanceRegistry | 728 | 1354 | 1354 | 1981 | 2 |
setStakingRewards | 684 | 1306 | 1306 | 1929 | 2 |
version | 670 | 670 | 670 | 670 | 2 |
withdraw | 96306 | 261993 | 261993 | 427681 | 2 |
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 | 10379 | 7508 | 24829 | 51 |
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 | 5695 | 2297 | 49033 | 67 |
test/ProposalTests.sol:MinimumStakeOracle contract | |||||
---|---|---|---|---|---|
Deployment Cost | Deployment Size | ||||
80660 | 468 | ||||
Function Name | min | avg | median | max | # calls |
setAmount | 2661 | 2661 | 2661 | 2661 | 1 |