transfers

package
v0.0.0-...-83a01c7 Latest Latest
Warning

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

Go to latest
Published: May 2, 2021 License: LGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FilteredTransfer

type FilteredTransfer struct {
	Sender    luckyshare.Address    `json:"sender"`
	Recipient luckyshare.Address    `json:"recipient"`
	Amount    *math.HexOrDecimal256 `json:"amount"`
	Meta      LogMeta               `json:"meta"`
}

type LogMeta

type LogMeta struct {
	BlockID        luckyshare.Bytes32 `json:"blockID"`
	BlockNumber    uint32             `json:"blockNumber"`
	BlockTimestamp uint64             `json:"blockTimestamp"`
	TxID           luckyshare.Bytes32 `json:"txID"`
	TxOrigin       luckyshare.Address `json:"txOrigin"`
	ClauseIndex    uint32             `json:"clauseIndex"`
}

type TransferFilter

type TransferFilter struct {
	CriteriaSet []*logdb.TransferCriteria
	Range       *events.Range
	Options     *logdb.Options
	Order       logdb.Order //default asc
}

type Transfers

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

func New

func New(repo *chain.Repository, db *logdb.LogDB) *Transfers

func (*Transfers) Mount

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

Jump to

Keyboard shortcuts

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