msg

package
v1.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2021 License: LGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChainId

type ChainId uint8

type Message

type Message struct {
	DepositId        *big.Int
	Owner            common.Address
	SidechainAddress common.Address
	Standard         uint32
	TokenNumber      *big.Int
}

Message is used as a generic format to communicate between chains

func NewFungibleTransfer

func NewFungibleTransfer(depositId *big.Int, owner common.Address, sidechainAddress common.Address, standard uint32, tokenNumber *big.Int) Message

type Nonce

type Nonce uint64

func (Nonce) Big

func (n Nonce) Big() *big.Int

type ResourceId

type ResourceId [32]byte

func (ResourceId) Hex

func (r ResourceId) Hex() string

type TransferType

type TransferType string
var FungibleTransfer TransferType = "FungibleTransfer"
var NonFungibleTransfer TransferType = "NonFungibleTransfer"

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL