Search
K

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.

Architecture

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.

Deployed Contract Addresses

These contracts power Socket's asset transfer APIs. You can also access the addresses via Socket's core NPM package (V1) (V2) or GitHub (V1) (V2)

Arbitrum One

Aurora

Avalanche C-Chain

Binance Smart Chain

Ethereum

Fantom

Gnosis Chain

Optimism Mainnet

Polygon

ZkSync Era

Contract Name
Address
SocketGateway

ZKEVM

Contract Name
Address
SocketGateway

Base

Contract Name
Address
SocketGateway

Description of contracts :

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