SocketValidator
Verified contract
Active on
Ethereum with 1 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
No balances found for "SocketValidator"
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 19075510 | 8 months ago | | | 0 | 0.00095820500 |
ABI
ABI objects
Getter at block 20888233
CHAIN_ID() view returns (uint64)
1
superRegistry() view returns (address)
0x17a332dc7b40ae701485023b219e9d6f493a2514
Read-only
decodeAmountIn(bytes txData_, bool) pure returns (uint256 amount_)
decodeDstSwap(bytes) pure returns (address, uint256)
decodeSwapOutputToken(bytes) pure returns (address)
isRouteBlacklisted(uint256 id_) view returns (bool blacklisted)
validateReceiver(bytes txData_, address receiver) pure returns (bool)
validateTxData(struct IBridgeValidatorValidateTxDataArgs args_) view returns (bool hasDstSwap)
State-modifying
Events addToBlacklist(uint256 id_)
removeFromBlacklist(uint256 id_)
AddedToBlacklist(uint256 indexed id)
RemovedFromBlacklist(uint256 indexed id)
constructor(address superRegistry_)
This contract contains no fallback and receive objects.
BLACKLISTED_ROUTE_ID()
CANNOT_DECODE_FINAL_SWAP_OUTPUT_TOKEN()
INVALID_ACTION()
INVALID_INTERIM_TOKEN()
INVALID_TXDATA_CHAIN_ID()
INVALID_TXDATA_RECEIVER()
INVALID_TXDATA_TOKEN()
NOT_BLACKLISTED_ROUTE_ID()
NOT_EMERGENCY_ADMIN()
ZERO_ADDRESS()