types

package
v0.0.0-...-5be9b26 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MintReq

type MintReq struct {
	Supply uint64 `json:"supply"`
	Lock   []byte `json:"lock"`
}

func (MintReq) MarshalEasyJSON

func (v MintReq) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (MintReq) MarshalJSON

func (v MintReq) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*MintReq) UnmarshalEasyJSON

func (v *MintReq) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*MintReq) UnmarshalJSON

func (v *MintReq) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type Send

type Send struct {
	To     []byte `json:"to"`
	Amount uint64 `json:"amount"`
}

func (Send) MarshalEasyJSON

func (v Send) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (Send) MarshalJSON

func (v Send) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*Send) UnmarshalEasyJSON

func (v *Send) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*Send) UnmarshalJSON

func (v *Send) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type SendReq

type SendReq struct {
	Sends []*Send `json:"sends"`
}

func (SendReq) MarshalEasyJSON

func (v SendReq) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (SendReq) MarshalJSON

func (v SendReq) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*SendReq) UnmarshalEasyJSON

func (v *SendReq) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SendReq) UnmarshalJSON

func (v *SendReq) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

Jump to

Keyboard shortcuts

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