Documentation
¶
Index ¶
Constants ¶
View Source
const MainchainDeposit uint8 = 0
MsgType
View Source
const MainchainWithdraw uint8 = 2
View Source
const SidechainWithdraw uint8 = 1
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { ChainType uint8 MsgType uint8 DepositId *big.Int WithdrawId *big.Int Owner common.Address TokenAddress common.Address Standard uint32 TokenNumber *big.Int }
Message is used as a generic format to communicate between chains
func NewFungibleTokenDeposit ¶ added in v1.1.3
type TransferType ¶
type TransferType string
var FungibleTransfer TransferType = "FungibleTransfer"
var NonFungibleTransfer TransferType = "NonFungibleTransfer"
Click to show internal directories.
Click to hide internal directories.