auction

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: LGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auction

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

func New

func New(chain *chain.Chain,
	stateCreator *state.Creator) *Auction

func (*Auction) Mount

func (at *Auction) Mount(root *mux.Router, pathPrefix string)

type AuctionCB

type AuctionCB struct {
	AuctionID   string       `json:"auctionID"`
	StartHeight uint64       `json:"startHeight"`
	StartEpoch  uint64       `json:"startEpoch"`
	EndHeight   uint64       `json:"endHeight"`
	EndEpoch    uint64       `json:"endEpoch"`
	Sequence    uint64       `json:"sequence"`
	RlsdMTRG    string       `json:"releasedMTRG"`
	RsvdMTRG    string       `json:"reservedMTRG"`
	RsvdPrice   string       `json:"reservedPrice"`
	CreateTime  uint64       `json:"createTime"`
	Timestamp   string       `json:"timestamp"`
	RcvdMTR     string       `json:"receivedMTR"`
	AuctionTxs  []*AuctionTx `json:"auctionTxs"`
}

type AuctionDigest added in v1.2.0

type AuctionDigest struct {
	ID           string `json:"ID"`
	StartHeight  uint64 `json:"startHeight"`
	StartEpoch   uint64 `json:"startEpoch"`
	EndHeight    uint64 `json:"endHeight"`
	EndEpoch     uint64 `json:"endEpoch"`
	Sequence     uint64 `json:"sequence"`
	RlsdMTRG     string `json:"releasedMTRG"`
	RsvdMTRG     string `json:"reservedMTRG"`
	RsvdPrice    string `json:"reservedPrice"`
	CreateTime   uint64 `json:"createTime"`
	RcvdMTR      string `json:"receivedMTR"`
	ActualPrice  string `json:"actualPrice"`
	LeftoverMTRG string `json:"leftoverMTRG"`

	UserbidCount uint64 `json:"userbidCount"`
	UserbidTotal string `json:"userbidTotal"`
	AutobidCount uint64 `json:"autobidCount"`
	AutobidTotal string `json:"autobidTotal"`
	DistCount    uint64 `json:"distCount"`
	DistTotal    string `json:"distTotal"`
}

type AuctionSummary

type AuctionSummary struct {
	AuctionID    string       `json:"auctionID"`
	StartHeight  uint64       `json:"startHeight"`
	StartEpoch   uint64       `json:"startEpoch"`
	EndHeight    uint64       `json:"endHeight"`
	EndEpoch     uint64       `json:"endEpoch"`
	Sequence     uint64       `json:"sequence"`
	RlsdMTRG     string       `json:"releasedMTRG"`
	RsvdMTRG     string       `json:"reservedMTRG"`
	RsvdPrice    string       `json:"reservedPrice"`
	CreateTime   uint64       `json:"createTime"`
	Timestamp    string       `json:"timestamp"`
	RcvdMTR      string       `json:"receivedMTR"`
	ActualPrice  string       `json:"actualPrice"`
	LeftoverMTRG string       `json:"leftoverMTRG"`
	AuctionTxs   []*AuctionTx `json:"auctionTxs"`
	DistMTRG     []*DistMtrg  `json:"distMTRG"`
}

type AuctionTx

type AuctionTx struct {
	TxID         string `json:"txid"`
	Address      string `json:"address"`
	Amount       string `json:"amount"`
	Type         string `json:"type"`
	Timestamp    uint64 `json:"timestamp"`
	TimestampStr string `json:"timestampStr"`
	Nonce        uint64 `json:"nonce"`
}

type DistMtrg added in v1.2.0

type DistMtrg struct {
	Addr   string `json:"addr"`
	Amount string `json:"amount"`
}

Jump to

Keyboard shortcuts

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