SocketGateway

Verified contract

Proxy

Active on Ethereum with 733,800 txns
Deployed by via 0x29323c28 at 16848303
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $0.26
ERC-20
Value $0.11
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
0x5dad5851239112289aeeabc710c174e8ce2603eea3da772f8e458ae6a1c7f5d3
0x79a6ae549852465609c1fc0ba351608d724c293036bdb893fc64f9416267c031
0x000453be14621b2177a77041adc1d6d0942266334467883440e0dcc89a2d3f94
0xb229a068943764ab4068d6460ea42b2e5da8ede865b8fa8269732ea3047f9bab
0xee215e480d088f1d94480816e68345d7c4760224a1e292a00dcf773e14862457
0x0e196b0246414436b26d761b3afabddeb4a1c5df1cc4ef135c7c3e300bea53cd
0xb2895223eafb7040d56c4431d9cc7099bc362748f75696c7c3b3382521c10ba8
0x52e024e939dbeaacd15c2cd2f859ea1265d2abe15a886c5ba6b8eda607466934
0xa822b4aedf5a17601ee636a0b4219935af8d4ba86afc2596866d1464b85083e8
0x1561c10d50ad36003f8fe09ff3b078e402fa7ee3e38c86115ce5dde899a31804

Functions
Getter at block 21243178
BRIDGE_AFTER_SWAP_SELECTOR(view returns (bytes4)
0xb3dc8da4
CENT_PERCENT(view returns (uint256)
100000000000000000000
controllerCount(view returns (uint32)
3
disabledRouteAddress(view returns (address)
0x0f34a522ff82151c90679b73211955068fd854f1
nominee(view returns (address)
0x0000000000000000000000000000000000000000
owner(view returns (address)
0x5fd7d0d6b91cc4787bcb86ca47e0bd4ea0346d34
routesCount(view returns (uint32)
433
 
ACROSS_ERC20_EXTERNAL_BRIDGE_FUNCTION_SELECTOR(view returns (bytes4)
 
ACROSS_NATIVE_EXTERNAL_BRIDGE_FUNCTION_SELECTOR(view returns (bytes4)
 
ACROSS_SWAP_BRIDGE_SELECTOR(view returns (bytes4)
 
AcrossIdentifier(view returns (bytes32)
BRIDGE_AFTER_SWAP_SELECTOR(view returns (bytes4)
0xb3dc8da4
 
NATIVE_TOKEN_ADDRESS(view returns (address)
 
WETH(view returns (address)
 
socketDeployFactory(view returns (address)
 
socketGateway(view returns (address)
 
socketRoute(view returns (address)
 
spokePool(view returns (address)
 
spokePoolAddress(view returns (address)
Read-only
addressAt(uint32 routeIdview returns (address)
controllers(uint32view returns (address)
getController(uint32 controllerIdview returns (address)
getRoute(uint32 routeIdview returns (address)
routes(uint32view returns (address)
State-modifying
addController(address controllerAddressreturns (uint32)
addRoute(address routeAddressreturns (uint32)
claimOwner(
disableController(uint32 controllerId
disableRoute(uint32 routeId
executeController(struct ISocketGatewaySocketControllerRequest socketControllerRequestpayable returns (bytes)
executeControllers(struct ISocketGatewaySocketControllerRequest[] controllerRequestspayable 
executeRoute(uint32 routeIdbytes routeDatapayable returns (bytes)
executeRoutes(uint32[] routeIdsbytes[] dataItemspayable 
nominateOwner(address nominee_
rescueEther(address userAddressuint256 amount
rescueFunds(address tokenaddress userAddressuint256 amount
setApprovalForRouters(address[] routeAddressesaddress[] tokenAddressesbool isMax
swapAndMultiBridge(struct ISocketRequestSwapMultiBridgeRequest swapMultiBridgeRequestpayable 
bridgeAfterSwap(uint256 amountbytes bridgeDatapayable 
bridgeERC20To(uint256 amountstruct AcrossImplV3AcrossBridgeData acrossBridgeDatapayable 
bridgeNativeTo(uint256 amountstruct AcrossImplV3AcrossBridgeDataNoToken acrossBridgeDatapayable 
rescueEther(address userAddressuint256 amount
rescueFunds(address tokenaddress userAddressuint256 amount
swapAndBridge(uint32 swapIdbytes swapDatastruct AcrossImplV3AcrossBridgeDataNoToken acrossBridgeDatapayable 
Events
ControllerAdded(uint32 indexed controllerIdaddress indexed controllerAddress
ControllerDisabled(uint32 indexed controllerId
NewRouteAdded(uint32 indexed routeIdaddress indexed route
OwnerClaimed(address indexed claimer
OwnerNominated(address indexed nominee
OwnershipTransferRequested(address indexed _fromaddress indexed _to
RouteDisabled(uint32 indexed routeId
NativeBridgeFee(uint256 fee
SocketBridge(uint256 amountaddress tokenuint256 toChainIdbytes32 bridgeNameaddress senderaddress receiverbytes32 metadata
Constructor
constructor(address _owneraddress _disabledRoute
Fallback and receive
fallback(
receive(
Errors
ArrayLengthMismatch(
IncorrectBridgeRatios(
OnlyNominee(
OnlyOwner(
ZeroAddressNotAllowed(
OnlySocketGatewayOwner(