transferslegacy

package
v1.2.0-fork8-fix4 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: LGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddressSet

type AddressSet struct {
	TxOrigin  *meter.Address //who send transaction
	Sender    *meter.Address //who transferred tokens
	Recipient *meter.Address //who recieved tokens
}

type FilteredTransfer

type FilteredTransfer struct {
	Sender    meter.Address         `json:"sender"`
	Recipient meter.Address         `json:"recipient"`
	Amount    *math.HexOrDecimal256 `json:"amount"`
	Token     uint32                `json:"token"`
	Meta      transactions.LogMeta  `json:"meta"`
	LogIndex  uint32                `json:"logIndex"`
}

type TransferFilter

type TransferFilter struct {
	TxID        *meter.Bytes32
	AddressSets []*AddressSet
	Range       *logdb.Range
	Options     *logdb.Options
	Order       logdb.Order //default asc
}

type TransfersLegacy

type TransfersLegacy struct {
	// contains filtered or unexported fields
}

func New

func New(db *logdb.LogDB) *TransfersLegacy

func (*TransfersLegacy) Mount

func (t *TransfersLegacy) Mount(root *mux.Router, pathPrefix string)

Jump to

Keyboard shortcuts

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