SocketGateway

Verified contract

Proxy

Active on Base
Deployed by via 0x77c85482 at 1917519
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $0.35
ERC-20
Value $0.22
ERC-20
Value $0.17
ERC-20
Value $0.05
ERC-20
Value $0.02
ERC-20
Value $0.01
ERC-20
Value $0.01
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
0xdb83da0dd651ec169c35783767df024cc26f6be623d378da6cb44f4aa087ec0b
0x7cc6037ef96183ea91cb552d9140c3f33b0cc3e203b9ba55740749c4d315373d
0x29e6895878d48248452c91adebe273587f439784d3159ed8f126968119ec5864
0xf3f6de5c782447c942c90d1d65744310a18d6d5afa7abb6414c51573788ad425
0xf5c75daea1414a1f5e78b16ef6d3e7ca1fad37a03d30bc97fb296bbfd84626df
0xfe9bcbbcd24a8aa8b96547b2090f15056d1dd1f447034b47af69e683426344d5
0x406a236b7b01786d26e78953988cd00bb36ec712b096816e5f1347cb27878de2
0x28bae64eb021a098b267d0e486b3ed3b94a67fe9ebbeee28f24bbd2bc6e6f271
0xb33d098ac8d89c8bda9ca7da119cefa5ecde19931041459aad7931e1eac2278e
0xc11dd3cb548f46fc64ca6f2df5bb181de266cfcdcf585331587a94226dfad3e1

Functions
Getter at block 22727755
BRIDGE_AFTER_SWAP_SELECTOR(view returns (bytes4)
0xb3dc8da4
CENT_PERCENT(view returns (uint256)
100000000000000000000
controllerCount(view returns (uint32)
2
disabledRouteAddress(view returns (address)
0x0f34a522ff82151c90679b73211955068fd854f1
nominee(view returns (address)
0x0000000000000000000000000000000000000000
owner(view returns (address)
0x5fd7d0d6b91cc4787bcb86ca47e0bd4ea0346d34
routesCount(view returns (uint32)
416
BRIDGE_AFTER_SWAP_SELECTOR(view returns (bytes4)
0xb3dc8da4
 
FEES_TAKER_BRIDGE_FUNCTION_SELECTOR(view returns (bytes4)
 
FEES_TAKER_MULTI_BRIDGE_FUNCTION_SELECTOR(view returns (bytes4)
 
FEES_TAKER_REFUEL_SWAP_BRIDGE_FUNCTION_SELECTOR(view returns (bytes4)
 
FEES_TAKER_SWAP_BRIDGE_FUNCTION_SELECTOR(view returns (bytes4)
 
FEES_TAKER_SWAP_FUNCTION_SELECTOR(view returns (bytes4)
 
NATIVE_TOKEN_ADDRESS(view returns (address)
 
NULL_ADDRESS(view returns (address)
 
socketGatewayAddress(view returns (address)
 
socketRoute(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 
takeFeeAndRefuelAndSwapAndBridge(struct ISocketRequestFeesTakerRefuelSwapBridgeRequest frsbRequestpayable returns (bytes)
takeFeeAndSwapAndBridge(struct ISocketRequestFeesTakerSwapBridgeRequest fsbRequestpayable returns (bytes)
takeFeesAndBridge(struct ISocketRequestFeesTakerBridgeRequest ftbRequestpayable returns (bytes)
takeFeesAndMultiBridge(struct ISocketRequestFeesTakerMultiBridgeRequest ftmbRequestpayable 
takeFeesAndSwap(struct ISocketRequestFeesTakerSwapRequest ftsRequestpayable returns (bytes)
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
SocketFeesDeducted(uint256 feesaddress feesTokenaddress feesTaker
Constructor
constructor(address _owneraddress _disabledRoute
Fallback and receive
fallback(
receive(
Errors
ArrayLengthMismatch(
IncorrectBridgeRatios(
OnlyNominee(
OnlyOwner(
ZeroAddressNotAllowed(
NativeTokenTransferFailed(