infrastructure-upgrade/gas/all.md
AlienTornadosaurusHex 6b480c62cf Ready for review :]
Signed-off-by: AlienTornadosaurusHex <>
2023-06-21 21:53:30 +00:00

12 KiB

src/proposals/CRVUSDInstancesProposal.sol:CRVUSDInstancesProposal contract
Deployment Cost Deployment Size
1061627 5622
Function Name min avg median max # calls
executeProposal 1433767 1433767 1433767 1433767 2
src/proposals/InfrastructureUpgradeProposal.sol:InfrastructureUpgradeProposal contract
Deployment Cost Deployment Size
1313078 7164
Function Name min avg median max # calls
executeProposal 2782156 2782156 2782156 2782156 4
src/v2/CurveFeeOracle.sol:CurveFeeOracle contract
Deployment Cost Deployment Size
1204832 6117
Function Name min avg median max # calls
getFee 14410 17974 17974 21539 2
modifyChainedOracleForInstance 74546 104259 104259 133973 2
setTornOracleIsUniswap 1122 2394 1122 6212 4
setUniswapFeeOracle 21741 21741 21741 21741 3
src/v2/InstanceRegistry.sol:InstanceRegistry contract
Deployment Cost Deployment Size
1309235 6733
Function Name min avg median max # calls
addInstance 44244 81390 84845 89845 12
getAllInstanceStates 29297 29297 29297 29297 1
getAllInstances 10894 11627 10894 13826 4
getInstanceByENSName 23742 23742 23742 23742 1
getInstanceIndex 645 645 645 645 1
getInstanceState(address)((address,uint80,bool,bool)) 1579 1579 1579 1579 125
getInstanceState(uint256)((address,uint80,bool,bool)) 1401 1401 1401 1401 2
getInstanceState(uint256,uint256)((address,uint80,bool,bool)[]) 6057 6057 6057 6057 1
getInstanceToken 795 795 795 795 2
initialize 1640 946935 1419473 1419473 6
instanceData 1236 1236 1236 1236 6
isEnabledInstance 1011 1011 1011 1011 2
isRegisteredInstance 611 611 611 611 2
removeInstanceByAddress 10180 10180 10180 10180 1
removeInstanceByIndex 3459 3459 3459 3459 1
router 920 920 920 920 1
setTornadoRouter 1508 1508 1508 1508 1
version 760 760 760 760 2
src/v2/RelayerRegistry.sol:RelayerRegistry contract
Deployment Cost Deployment Size
1928142 9954
Function Name min avg median max # calls
deductBalance 2791 2791 2791 2791 1
getMinimumStakingAmount 1445 2348 2348 3252 2
getRelayerBalanceByName 5774 5774 5774 5774 2
initialize 66716 66716 66716 66716 4
isOwnerOfWorker 1154 1154 1154 1154 1
isRegistered 1179 1179 1179 1179 1
ownerByName 21233 21233 21233 21233 1
register 135188 135188 135188 135188 1
setMinimumStakingAmountOracle 1462 2463 2964 2964 3
stakeToRelayer 9266 9266 9266 9266 1
unregisterWorker 900 1755 1976 2168 4
version 891 891 891 891 1
src/v2/TornadoRouter.sol:TornadoRouter contract
Deployment Cost Deployment Size
1262996 6507
Function Name min avg median max # calls
approveTokenForInstance 5065 29024 28086 33669 64
backupNotes 3067 3067 3067 3067 1
deposit 831882 831882 831882 831882 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 427199 427199 427199 427199 1
src/v2/TornadoStakingRewards.sol:TornadoStakingRewards contract
Deployment Cost Deployment Size
970722 5409
Function Name min avg median max # calls
addBurnRewards 6349 6349 6349 6349 1
updateRewardsOnLockedBalanceChange 3663 3663 3663 3663 4
src/v2/UniswapFeeOracle.sol:UniswapFeeOracle contract
Deployment Cost Deployment Size
1588565 8785
Function Name min avg median max # calls
getAverageTORNPerETH 754 754 754 754 1
getFee 14008 14008 14008 14008 1
getTORNPerToken 6248 6248 6248 6248 1
setMinObservationCardinality 23825 23825 23825 23825 3
setPoolFeeForToken 4489 4489 4489 4489 3
update 39842 39842 39842 39842 2
test/ProposalTests.sol:MinimumStakingAmountTestOracle contract
Deployment Cost Deployment Size
29481 177
Function Name min avg median max # calls
calculateMinimumStakingAmount 206 206 206 206 1