Tasks: Implement balancer v2 swapper task #148
Merged
CodeChecks / Gas Usage
succeeded
Apr 17, 2024 in 0s
Gas usage increased for 8 items and decreased for 10 items
Deployments
Gas | Diff | Diff % | Block % | - avg | ||
---|---|---|---|---|---|---|
AxelarBridger | 4,896,926 | 0 | 0% | 16.3 % | - | |
BalancerV2BptSwapper | 4,627,360 | -12 | 0% | 15.4 % | - | |
BalancerV2Swapper | 4,740,344 | - | - | 15.8 % | - | |
Collector | 3,975,719 | -12 | 0% | 13.3 % | - | |
CollectorRelayerFunder | 4,240,976 | +12 | 0% | 14.1 % | - | |
ConnextBridger | 4,900,343 | 0 | 0% | 16.3 % | - | |
ConvexClaimer | 4,162,368 | 0 | 0% | 13.9 % | - | |
ConvexExiter | 4,115,918 | 0 | 0% | 13.7 % | - | |
ConvexJoiner | 4,115,918 | 0 | 0% | 13.7 % | - | |
Curve2CrvExiter | 4,550,096 | 0 | 0% | 15.2 % | - | |
Curve2CrvJoiner | 4,550,096 | 0 | 0% | 15.2 % | - | |
Depositor | 4,305,293 | 0 | 0% | 14.4 % | - | |
ERC4626Exiter | 4,089,321 | 0 | 0% | 13.6 % | - | |
ERC4626Joiner | 4,147,996 | -12 | 0% | 13.8 % | - | |
HandleOver | 3,856,198 | 0 | 0% | 12.9 % | - | |
HopBridger | 5,228,153 | 0 | 0% | 17.4 % | - | |
HopL2Swapper | 4,802,804 | 0 | 0% | 16 % | - | |
OneInchV5RelayerFunder | 4,892,028 | 0 | 0% | 16.3 % | - | |
OneInchV5Swapper | 4,609,403 | 0 | 0% | 15.4 % | - | |
ParaswapV5RelayerFunder | 4,892,028 | 0 | 0% | 16.3 % | - | |
ParaswapV5Swapper | 4,609,403 | +12 | 0% | 15.4 % | - | |
RelayerDepositor | 4,019,293 | 0 | 0% | 13.4 % | - | |
SymbiosisBridger | 4,889,583 | 0 | 0% | 16.3 % | - | |
UniswapV2Swapper | 4,608,167 | 0 | 0% | 15.4 % | - | |
UniswapV3Swapper | 4,678,784 | -12 | 0% | 15.6 % | - | |
Unwrapper | 3,873,326 | +12 | 0% | 12.9 % | - | |
UnwrapperRelayerFunder | 4,204,202 | 0 | 0% | 14 % | - | |
Withdrawer | 4,001,216 | 0 | 0% | 13.3 % | - | |
WormholeBridger | 4,865,549 | 0 | 0% | 16.2 % | - | |
Wrapper | 3,871,374 | 0 | 0% | 12.9 % | - |
Methods
Gas | Diff | Diff % | Calls | - avg | ||
---|---|---|---|---|---|---|
AxelarBridger | ||||||
call | 134,581 | 0 | 0% | 242 | - | |
initialize | 207,815 | 0 | 0% | 277 | - | |
pause | 60,891 | 0 | 0% | 5 | - | |
setBalanceConnectors | 68,721 | 0 | 0% | 112 | - | |
setConnector | 45,076 | -1 | 0% | 57 | - | |
setCustomDestinationChain | 49,726 | 0 | 0% | 100 | - | |
setCustomMaxFee | 66,275 | 0 | 0% | 30 | - | |
setCustomMaxSlippage | 62,985 | -2 | 0% | 42 | - | |
setCustomTokenThreshold | 95,052 | 0 | 0% | 17 | - | |
setCustomVolumeLimit | 107,139 | 0 | 0% | 28 | - | |
setDefaultDestinationChain | 51,695 | 0 | 0% | 164 | - | |
setDefaultMaxFee | 65,121 | 0 | 0% | 51 | - | |
setDefaultMaxSlippage | 57,091 | -220 | 0% | 120 | - | |
setDefaultTokenThreshold | 93,071 | 0 | 0% | 269 | - | |
setDefaultVolumeLimit | 105,876 | 0 | 0% | 28 | - | |
setGasLimits | 88,648 | 0 | 0% | 12 | - | |
setRecipient | 43,649 | 0 | 0% | 27 | - | |
setTimeLock | 115,053 | 0 | 0% | 44 | - | |
setTokensAcceptanceList | 101,613 | +1 | 0% | 56 | - | |
setTokensAcceptanceType | 56,431 | 0 | 0% | 38 | - | |
unpause | 38,983 | 0 | 0% | 2 | - | |
BalancerV2Swapper | ||||||
initialize | 177,255 | - | - | 21 | - | |
setPoolId | 56,301 | - | - | 5 | - | |
Collector | ||||||
initialize | 167,080 | 0 | 0% | 37 | - | |
setTokensSource | 42,222 | 0 | 0% | 23 | - | |
CollectorRelayerFunder | ||||||
initializeCollectorRelayerFunder | 191,544 | 0 | 0% | 24 | - | |
ConnextBridger | ||||||
call | 165,926 | 0 | 0% | 38 | - | |
ConvexClaimer | ||||||
initialize | 167,622 | 0 | 0% | 75 | - | |
Curve2CrvExiter | ||||||
initialize | 176,499 | +4 | 0% | 224 | - | |
setCustomTokenOut | 63,262 | +3 | 0% | 27 | - | |
setDefaultTokenOut | 59,647 | -220 | 0% | 124 | - | |
Depositor | ||||||
initialize | 151,240 | 0 | 0% | 54 | - | |
ERC20 | ||||||
approve | 46,242 | 0 | 0% | 10 | - | |
transfer | 46,837 | 0 | 0% | 11 | - | |
ERC4626Joiner | ||||||
call | 163,558 | 0 | 0% | 15 | - | |
HopBridger | ||||||
initialize | 256,164 | 0 | 0% | 89 | - | |
setMaxDeadline | 44,581 | 0 | 0% | 3 | - | |
setRelayer | 43,526 | 0 | 0% | 18 | - | |
setTokenHopEntrypoint | 54,731 | 0 | 0% | 31 | - | |
HopL2Swapper | ||||||
initialize | 177,292 | 0 | 0% | 42 | - | |
setTokenAmm | 55,811 | +1 | 0% | 28 | - | |
OneInchV5RelayerFunder | ||||||
call | 222,410 | +4 | 0% | 60 | - | |
initializeOneInchV5RelayerFunder | 200,973 | 0 | 0% | 27 | - | |
ParaswapV5RelayerFunder | ||||||
initializeParaswapV5RelayerFunder | 200,960 | 0 | 0% | 27 | - | |
RelayerDepositor | ||||||
initialize | 166,684 | 0 | 0% | 15 | - | |
SymbiosisBridger | ||||||
call | 153,407 | 0 | 0% | 14 | - | |
UniswapV2Swapper | ||||||
call | 212,023 | -7 | 0% | 20 | - | |
UniswapV3Swapper | ||||||
call | 217,949 | -3 | 0% | 20 | - | |
UnwrapperRelayerFunder | ||||||
initializeUnwrapperRelayerFunder | 167,541 | 0 | 0% | 23 | - | |
WormholeBridger | ||||||
call | 172,825 | 0 | 0% | 79 | - |
Build Configuration
Option | Settings |
---|---|
solc: version | 0.8.17 |
solc: optimized | true |
solc: runs | 1000 |
gas: block limit | 30,000,000 |
gas: price | - |
gas: currency/eth rate | - |
Target commit: 3a23c53
Base commit: e97c83e
Loading