ethereum

package
v1.18.15 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 1 Imported by: 0

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 AuthorizerSignature struct {
	ID        string `json:"authorizer_id"`
	Signature []byte `json:"signature"`
}

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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