Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizerSignature ¶
type BurnPayload ¶
type BurnPayload struct { Nonce int64 `json:"nonce"` EthereumAddress string `json:"ethereum_address"` }
BurnPayload Payload to submit to ZCN chain `burn` smart contract
func (*BurnPayload) Decode ¶
func (bp *BurnPayload) Decode(input []byte) error
func (*BurnPayload) Encode ¶
func (bp *BurnPayload) Encode() []byte
type MintPayload ¶
type MintPayload struct { EthereumTxnID string `json:"ethereum_txn_id"` Amount common.Balance `json:"amount"` Nonce int64 `json:"nonce"` Signatures []*AuthorizerSignature `json:"signatures"` ReceivingClientID string `json:"receiving_client_id"` }
MintPayload Payload to submit to ZCN chain `mint` smart contract
func (*MintPayload) Encode ¶
func (mp *MintPayload) Encode() []byte
Click to show internal directories.
Click to hide internal directories.