Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProofOfBurn ¶
type ProofOfBurn struct { TxnID string `json:"0chain_txn_id"` Nonce int64 `json:"nonce"` Amount int64 `json:"amount"` EthereumAddress string `json:"ethereum_address"` Signature []byte `json:"signatures,omitempty"` }
func (*ProofOfBurn) Decode ¶
func (pb *ProofOfBurn) Decode(input []byte) error
func (*ProofOfBurn) Encode ¶
func (pb *ProofOfBurn) Encode() []byte
func (*ProofOfBurn) Sign ¶
func (pb *ProofOfBurn) Sign(b *zcnbridge.BridgeClient) (err error)
func (*ProofOfBurn) Verify ¶
func (pb *ProofOfBurn) Verify() (err error)
Click to show internal directories.
Click to hide internal directories.