Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct {
Source ChainId // Source where message was initiated
Destination ChainId // Destination chain of message
Type TransferType // type of bridge transfer
DepositNonce Nonce // Nonce for the deposit
ResourceId ResourceId
Payload []interface{} // data associated with event sequence
}
Message is used as a generic format to communicate between chains
func NewFungibleTransfer ¶
type ResourceId ¶
type ResourceId [32]byte
func ResourceIdFromSlice ¶
func ResourceIdFromSlice(in []byte) ResourceId
func (ResourceId) Hex ¶
func (r ResourceId) Hex() string
Click to show internal directories.
Click to hide internal directories.