Skip to main content

Events

The x/bep3 module emits the following events:

Handlers

MsgCreateAtomicSwap

TypeAttribute KeyAttribute Value
create_atomic_swapsender{sender address}
create_atomic_swaprecipient{recipient address}
create_atomic_swapatomic_swap_id{swap ID}
create_atomic_swaprandom_number_hash{random number hash}
create_atomic_swaptimestamp{timestamp}
create_atomic_swapsender_other_chain{sender other chain}
create_atomic_swapexpire_height{swap expiration block}
create_atomic_swapamount{coin amount}
create_atomic_swapdirection{incoming or outgoing}
messagemodulebep3
messagesender{sender address}

MsgClaimAtomicSwap

TypeAttribute KeyAttribute Value
claim_atomic_swapclaim_sender{sender address}
claim_atomic_swaprecipient{recipient address}
claim_atomic_swapatomic_swap_id{swap ID}
claim_atomic_swaprandom_number_hash{random number hash}
claim_atomic_swaprandom_number{secret random number}
messagemodulebep3
messagesender{sender address}

MsgRefundAtomicSwap

TypeAttribute KeyAttribute Value
refund_atomic_swaprefund_sender{sender address}
refund_atomic_swapsender{swap creator address}
refund_atomic_swapatomic_swap_id{swap ID}
refund_atomic_swaprandom_number_hash{random number hash}
messagemodulebep3
messagesender{sender address}

BeginBlock

TypeAttribute KeyAttribute Value
swaps_expiredatomic_swap_ids{array of swap IDs}
swaps_expiredexpiration_block{block height at expiration}