referrerpolicy=no-referrer-when-downgrade
snowbridge_inbound_queue_primitives::v2::message

Module IGatewayV2

Source
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§

Enums§