Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tasks: Implement socket bridger #162

Merged
merged 1 commit into from
Sep 12, 2024

tasks: implement socket bridger

2b38cd3
Select commit
Loading
Failed to load commit list.
Merged

Tasks: Implement socket bridger #162

tasks: implement socket bridger
2b38cd3
Select commit
Loading
Failed to load commit list.
CodeChecks / Gas Usage succeeded Sep 12, 2024 in 0s

New gas usage report!

Deployments

Gas Diff Diff % Block % - avg
AxelarBridger 4,896,926 - - 16.3 % -
BalancerV2BptSwapper 4,627,360 - - 15.4 % -
BalancerV2Swapper 4,784,613 - - 15.9 % -
BebopSwapper 4,609,403 - - 15.4 % -
Collector 3,975,719 - - 13.3 % -
CollectorRelayerFunder 4,240,976 - - 14.1 % -
ConnextBridger 4,900,343 - - 16.3 % -
ConvexClaimer 4,162,368 - - 13.9 % -
ConvexExiter 4,115,918 - - 13.7 % -
ConvexJoiner 4,115,918 - - 13.7 % -
Curve2CrvExiter 4,550,096 - - 15.2 % -
Curve2CrvJoiner 4,550,096 - - 15.2 % -
Depositor 4,305,293 - - 14.4 % -
ERC4626Exiter 4,089,321 - - 13.6 % -
ERC4626Joiner 4,147,996 - - 13.8 % -
HandleOver 3,856,198 - - 12.9 % -
HopBridger 5,228,153 - - 17.4 % -
HopL2Swapper 4,802,804 - - 16 % -
KyberSwapV2Swapper 4,609,403 - - 15.4 % -
OdosV2Swapper 4,609,391 - - 15.4 % -
OneInchV5RelayerFunder 4,892,028 - - 16.3 % -
OneInchV5Swapper 4,609,403 - - 15.4 % -
ParaswapV5RelayerFunder 4,892,028 - - 16.3 % -
ParaswapV5Swapper 4,609,403 - - 15.4 % -
RelayerDepositor 4,019,293 - - 13.4 % -
SocketBridger 4,889,571 - - 16.3 % -
SymbiosisBridger 4,889,583 - - 16.3 % -
UniswapV2Swapper 4,608,167 - - 15.4 % -
UniswapV3Swapper 4,678,784 - - 15.6 % -
Unwrapper 3,873,326 - - 12.9 % -
UnwrapperRelayerFunder 4,204,202 - - 14 % -
Withdrawer 4,001,216 - - 13.3 % -
WormholeBridger 4,865,549 - - 16.2 % -
Wrapper 3,871,374 - - 12.9 % -

Methods

Gas Diff Diff % Calls - avg
AxelarBridger
       call 134,580 - - 242 -
       initialize 211,701 - - 344 -
       pause 60,891 - - 5 -
       setBalanceConnectors 69,288 - - 128 -
       setConnector 45,077 - - 69 -
       setCustomDestinationChain 49,725 - - 120 -
       setCustomMaxFee 66,273 - - 36 -
       setCustomMaxSlippage 62,987 - - 54 -
       setCustomTokenThreshold 95,052 - - 17 -
       setCustomVolumeLimit 107,139 - - 28 -
       setDefaultDestinationChain 51,548 - - 194 -
       setDefaultMaxFee 63,646 - - 57 -
       setDefaultMaxSlippage 57,031 - - 156 -
       setDefaultTokenThreshold 92,375 - - 312 -
       setDefaultVolumeLimit 105,876 - - 28 -
       setGasLimits 88,648 - - 12 -
       setRecipient 43,608 - - 30 -
       setTimeLock 115,053 - - 44 -
       setTokensAcceptanceList 102,096 - - 60 -
       setTokensAcceptanceType 56,431 - - 38 -
       unpause 38,983 - - 2 -
BalancerV2Swapper
       initialize 227,622 - - 22 -
       setPoolId 56,301 - - 5 -
Collector
       initialize 167,073 - - 37 -
       setTokensSource 42,222 - - 23 -
CollectorRelayerFunder
       initializeCollectorRelayerFunder 191,545 - - 24 -
ConnextBridger
       call 165,926 - - 38 -
ConvexClaimer
       initialize 167,624 - - 75 -
Curve2CrvExiter
       initialize 176,495 - - 332 -
       setCustomTokenOut 63,261 - - 36 -
       setDefaultTokenOut 59,739 - - 172 -
Depositor
       initialize 151,240 - - 54 -
ERC20
       approve 46,242 - - 10 -
       transfer 46,837 - - 11 -
ERC4626Joiner
       call 163,554 - - 15 -
HopBridger
       initialize 256,164 - - 89 -
       setMaxDeadline 44,581 - - 3 -
       setRelayer 43,526 - - 18 -
       setTokenHopEntrypoint 54,731 - - 31 -
HopL2Swapper
       initialize 177,280 - - 42 -
       setTokenAmm 55,811 - - 28 -
OneInchV5RelayerFunder
       call 216,590 - - 120 -
       initializeOneInchV5RelayerFunder 200,984 - - 27 -
ParaswapV5RelayerFunder
       initializeParaswapV5RelayerFunder 200,949 - - 27 -
RelayerDepositor
       initialize 166,683 - - 15 -
SocketBridger
       call 153,414 - - 28 -
UniswapV2Swapper
       call 212,024 - - 20 -
UniswapV3Swapper
       call 217,949 - - 20 -
UnwrapperRelayerFunder
       initializeUnwrapperRelayerFunder 167,541 - - 23 -
WormholeBridger
       call 172,826 - - 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: 2b38cd3

Base commit: 55a50af