SocketGateway

Verified contract

Proxy

Active on Ethereum with 704,812 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
Native
Value $0.59
ERC-20
Value $0.23
ERC-20
Value $0.06
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
0x1454b93147e64a5813d9693f98aa5caec3003915a976f09d87baa3956a5c8b67
0xcf3b742b32e3e3329fbae09d8a2966c5ab792f9e051d058d81873d022c70509a
0xb2eb041a811eefdcae5f7f39844e1c12729ae3f4942dc1d9097d4233a4f4eb67
0xf8c2185e0ce6f71ccb59a3b313da1898e8041f6856f19c15e2dbc1b1a631f060
0x5aa9f05d2a39829aa30eccc71bb4a3002b2fb2cc163c45fb2e6e079da927a903
0xdd36812b649752f6475c29f6e43f70b8c6f9069a859b6ffcc484d62b2cddbaab
0xf1cea7ee3e76c67382bab2fcf62a5533c527e0cbe5bbae1904a3df6f6c0611d2
0xe9f6f68e9dff6af6ab7d23c747c1376ac72f88e7b084a9ed676b53a98aefa1a4
0x64a8f2e363bc95acfb809b44f9f154cfd97273f4d94f867e018d423a3ec28112
0x1fb04702c9399cf954aa33ecf639a2da5207013928f46b72e9a709047b517bda

Functions
Getter at block 21157693
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)
432
 
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(