stellar-axelar-example 1.0.5

AxelarExample contract, responsible for demonstrating interchain message and token transfers with Gateway, GasService, and InterchainTokenService.
Documentation
TokenSentEvent {
    sender: Contract(CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD2KM),
    token_id: BytesN<32>(81, 94, 129, 205, 118, 41, 15, 203, 151, 127, 1, 32, 55, 203, 233, 203, 76, 163, 36, 116, 131, 235, 72, 231, 162, 49, 68, 163, 198, 12, 134, 240),
    destination_chain: String(destination),
    destination_app_contract: Bytes(67, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 66, 79, 72, 82, 54),
    amount: 1000,
    recipient: Some(
        Bytes(67, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 66, 88, 69, 88, 55),
    ),
}

Contract(CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYRE5)

token_sent {
    #[topic] sender: Address,
    #[topic] token_id: BytesN < 32 >,
    #[topic] destination_chain: String,
    #[topic] destination_app_contract: Bytes,
    #[topic] amount: i128,
    #[data]  recipient: Option < Bytes >,
}

MessageApprovedEvent {
    message: Message {
        source_chain: String(axelar),
        message_id: String(transfer-message-id),
        source_address: String(its_hub_address),
        contract_address: Contract(CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABMPZO),
        payload_hash: BytesN<32>(228, 211, 2, 123, 50, 148, 154, 203, 234, 45, 207, 167, 126, 77, 32, 64, 146, 91, 140, 185, 176, 232, 187, 143, 101, 144, 146, 191, 79, 150, 67, 209),
    },
}

Contract(CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA6J5N)

message_approved {
    #[topic] message: Message,
}

TokenReceivedEvent {
    source_chain: String(source),
    message_id: String(transfer-message-id),
    source_address: Bytes(67, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 68, 50, 75, 77),
    token_id: BytesN<32>(81, 94, 129, 205, 118, 41, 15, 203, 151, 127, 1, 32, 55, 203, 233, 203, 76, 163, 36, 116, 131, 235, 72, 231, 162, 49, 68, 163, 198, 12, 134, 240),
    token_address: Contract(CAIRHFISRF5LVYKIVYJJOB6ZYYBVT4EJLSYWI3SBAQTNG7XUK7G52EIU),
    amount: 1000,
    payload: Bytes(67, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 65, 66, 88, 69, 88, 55),
}

Contract(CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABOHR6)

token_received {
    #[topic] source_chain: String,
    #[topic] message_id: String,
    #[topic] source_address: Bytes,
    #[topic] token_id: BytesN < 32 >,
    #[topic] token_address: Address,
    #[topic] amount: i128,
    #[data]  payload: Bytes,
}