Expand description
Module containing a contract’s types and functions.
interface IGatewayV2 {
struct AsNativeTokenERC20 { address token_id; uint128 value; }
struct AsForeignTokenERC20 { bytes32 token_id; uint128 value; }
struct EthereumAsset { uint8 kind; bytes data; }
struct Xcm { uint8 kind; bytes data; }
struct XcmCreateAsset { address token; uint8 network; }
struct Payload { address origin; EthereumAsset[] assets; Xcm xcm; bytes claimer; uint128 value; uint128 executionFee; uint128 relayerFee; }
event OutboundMessageAccepted(uint64 nonce, Payload payload);
}
Structs§
- Event with signature
OutboundMessageAccepted(uint64,(address,(uint8,bytes)[],(uint8,bytes),bytes,uint128,uint128,uint128))
and selector0x550e2067494b1736ea5573f2d19cdc0ac95b410fff161bf16f11c6229655ec9c
.
Enums§
- Container for all the
IGatewayV2
events.