CrossChain Precompiled
Last updated
Last updated
Address: 0x0000000000000000000000000000000000001004
ABI:
Overview: Use cross-chain precompiled contract to call some functions of the cross-chain module, such as: crossChain, etc.
send token from Pundi AIFX to other chain, like ethereum, pundix, etc.
_token
: the token address on the Pundi AIFX()
if token is origin token, _token address is 0x0000000000000000000000000000000000000000
_receipt
: the receipt address on the target chain
_amount
: the amount of the token to be cross chain
_fee
: the fee of the token to be cross chain
if cross chain to cosmos chain, _fee is 0
_target
: the target of the token on the target chain(more detail see
_target represents cross chain destination, such as chain ethereum
, pundix
destination ethereum: _target is eth
destination other cosmos chain(example Pundix): _target is ibc/{id}/{prefix}
.
id
is the channel id of the target chain on Pundi AIFX(examples: Pundix: 0)
prefix
is the address prefix of the target chain(examples: Pundix: px)
_memo
: the memo of cross chain
crossChain event
sender
: the sender address
token
: the erc20 token address on the Pundi AIFX
denom
: the cross chain token denom
receipt
: the receipt address on the target chain
amount
: the amount of the token to be cross chain
fee
: the fee of the token to be cross chain
target
: the target of cross chain
memo
: the memo of cross chain