Documentation ¶
Overview ¶
Methods and types to interact with Züs smart contracts on the Ethereum blockchain (Züs ERC20 tokens). All sub-packages are autogenerated.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizerSignature ¶
type BurnEvent ¶ added in v1.8.16
type BurnEvent struct { Nonce int64 `json:"nonce"` Amount int64 `json:"amount"` TransactionHash string `json:"hash"` }
BurnEvent represents received WZCN burn event.
type MintPayload ¶
type MintPayload struct { ZCNTxnID string `json:"zcn_txn_id"` Amount int64 `json:"amount"` To string `json:"to"` Nonce int64 `json:"nonce"` Signatures []*AuthorizerSignature `json:"signatures"` }
MintPayload Payload to submit to the ethereum bridge contract
func (*MintPayload) Encode ¶
func (mp *MintPayload) Encode() []byte
Click to show internal directories.
Click to hide internal directories.