Contract Addresses
Socket contracts are deployed on Arbitrum One, Avalanche C-Chain, Binance Smart Chain, Ethereum, Fantom, Optimism Mainnet, Polygon, Gnosis Chain and Aurora.
They have been audited by peers and by professional auditors, find all audits here.
Socket's contract don't use any proxies controlled by multisigs. Instead we use modularity to fullfill our promise of security, everything on-chain can be verified and it's immutable.
If you want to deep dive into the contract architecture you can check out the page below
Registry and SocketGateway are the two router contracts that users interact with when bridging or swapping assets through Socket. SocketGateway is the new version of Registry with gas optimisations, multi-bridge support and more features! Some transactions that are routed through SocketGateway might have unusual "Method" or "Function name" on block explorers due to the contract design. While this is not an intended behaviour, this does not affect the bridge/swap transaction.
Contract Name | Address |
---|---|
SocketGateway | |
Registry | |
HopImplL2 | |
AnyswapImplL2 | |
OneInchImpl | |
AcrossImplL2 | |
CelerImplL1L2 | |
HyphenImplV2 | |
RefuelBridgeImpl | |
OneInchRefuelSwapImpl | |
RefuelImpl (Middleware) | |
StargateIpml | |
Refuel |
Contract Name | Address |
---|---|
SocketGateway | |
Registry | |
CelerImplL1L2 | |
RefuelBridgeImpl | |
RefuelImpl (Middleware) | |
Refuel |
Contract Name | Address |
---|---|
SocketGateway | |
Registry | |
AnyswapL2Impl | |
HyphenImplV2 | |
OneInchSwapImpl | |
CelerImplL1L2 | |
RefuelBridgeImpl | |
OneInchRefuelSwapImpl | |
RefuelImpl (Middleware) | |
ZeroXSwapImpl | |
ZeroXRefuelImpl | |
Refuel |
Contract Name | Address |
---|---|
SocketGateway | |
Registry | |
AnyswapImplL2 | |
OneInchSwapImpl | |
CelerImplL1L2 | |
HyphenImplV2 | |
RefuelBridgeImpl | |
OneInchRefuelSwapImpl | |
RefuelImpl | |
ZeroXSwapImpl | |
ZeroXRefuelImpl | |
StargateIpml | |
Refuel |
Contract Name | Address |
---|---|
SocketGateway | |
Registry | |
HopImpl | |
NativePolygonImpl | |
NativeArbitrumImpl | |
AnyswapImplL1 | |
HyphenImplV2 | |
AcrossImplV2 | |
OneInchSwapImpl | |
NativeOptimismImpl | |
CelerImplL1 | |
RefuelBridgeImpl | |
OneInchRefuelSwapImpl | |
RefuelImpl (Middleware) | |
ZeroXSwapImpl | |
ZeroXRefuelImpl | |
StargateETHIpml | |
Refuel |
Contract Name | Address |
---|---|
SocketGateway | |
Registry | |
AnyswapL2Impl | |
ZeroXImpl | |
CelerImplL1L2 | |
RefuelBridgeImpl | |
ZeroXRefuelImpl | |
RefuelImpl (Middleware) | |
StargateIpml | |
Refuel |
Contract Name | Address |
---|---|
SocketGateway | |
Registry | |
HopImplL2 | |
OneInchSwapImpl | |
RefuelBridgeImpl | |
OneInchRefuelSwapImpl | |
RefuelImpl (Middleware) | |
Refuel |
Contract Name | Address |
---|---|
SocketGateway | |
Registry | |
HopImplL2 | |
OneInchSwapImpl | |
AcrossImplL2 | |
CelerImplL1L2 | |
RefuelBridgeImpl | |
OneInchRefuelSwapImpl | |
RefuelImpl | |
HyphenImplV2 | |
ZeroXSwapImpl | |
ZeroXRefuelImpl | |
StargateIpml | |
Refuel |
Contract Name | Address |
---|---|
SocketGateway | |
Registry | |
HopImplL2 | |
AnyswapL2Impl | |
HyphenImplV2 | |
AcrossImplV2 | |
OneInchSwapImpl | |
CelerImplL1L2 | |
RefuelBridgeImpl | |
OneInchRefuelSwapImpl | |
RefuelImpl | |
ZeroXSwapImpl | |
ZeroXRefuelImpl | |
StargateIpml | |
Refuel |
Contract Name | Address |
---|---|
SocketGateway |
Contract Name | Address |
---|---|
SocketGateway |
Contract Name | Description |
---|---|
SocketGateway | SocketGateway is the new version of Registry contract. This contract stores all route IDs with corresponding Implementation contract addresses, representing which bridge and DEX respectively will be used for a given route. |
Registry | Socket registry contract is called with calldata to initiate bridging transaction. This contract stores bridge and middleware IDs with corresponding Implementation contract addresses, representing which bridge and DEX respectively will be used for a given route. |
HopImpl / HopImplL2 | Hop protocol implementation contract, calls sendToL2 / swapAndSend function in Hop contracts |
NativePolygonImpl | Native Polygon Bridge implementation, called by the registry when selected bridge is Polygon Native bridge. Calls depositEtherFor / depositFor functions. |
NativeArbitrumImpl | Native Arbitrum Bridge implementation, calls depositEth / outboundTransfer function in Arbitrum bridge contract |
HyphenImplL1 / HyphenImplL2 | Hyphen Bridge implementation, calls depositNative / depositErc20 on Hyphen's LiquidityPool contract |
AnyswapImplL1 / AnyswapL2Impl | Anyswap Bridge implementation, calls anySwapOutUnderlying function on Anyswap contracts |
OneInchSwapImpl | One Inch Swap implementation, calls OneInchAggregator contract with calldata to perform swap |
ZeroXImpl | ZeroXImpl implementation contract, calls ZeroXExchangeProxy contract with calldata to perform swap |
NativeOptimismImpl | Optimism Gateway implementation, calls depositETHTo / depositERC20To functions on L1StandardBridge contract |
CelerImplL1 | Celer Bridge implementation contract, calls sendNative / send functions on Celer router contract |
AcrossImplV2 | Across implementation contract, calls deposit function on Across SpokePool contract |
RefuelBridgeImpl | Refuel implementation contract, calls depositNativeToken function on Refuel's contract |
RefuelImpl | Refuel as middleware implementation contract, calls depositNativeToken function on Refuel's contract. Called for Bridge + Refuel tx |
OneInchRefuelSwapImpl | OneInch implementation contract that calls depositNativeToken function on Refuel's contract. Called during Swap+Bridge+Refuel tx |
StargateIpml | Stargate implementation contract, calls swapETH /swap function on Stargate Pool contract |
ZeroXSwapImpl | ZeroX implementation contract, calls ZeroEx contract with calldata to perform swap |
ZeroXRefuelImpl | ZeroX implementation contract that calls depositNativeToken function on Refuel's contract. Called during Swap+Bridge+Refuel tx |
Last modified 26d ago