model

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2018 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PaymentLogRecord

type PaymentLogRecord struct {
	Pk              int    `storm:"id,increment"` // primary key with auto increment
	Address         string `storm:"index"`
	VoteWeight      float64
	VoteWeightShare float64
	EarnedAmount100 float64
	EarnedAmountXX  float64
	VoteDuration    int
	Transaction     core.Transaction
	PaymentRecordID int       `storm:"index"`
	CreatedAt       time.Time `storm:"index"`
}

PaymentLogRecord structure Child structure

type PaymentRecord

type PaymentRecord struct {
	Pk               int    `storm:"id,increment,index"`
	Delegate         string `storm:"index"`
	DelegatePubKey   string
	ShareRatio       float64
	CostsRatio       float64
	ReserveRatio     float64
	PersonalRatio    float64
	Fidelity         bool
	FidelityLimit    int
	MinAmount        float64
	FeeDeduction     bool
	FeeAmount        float64
	NrOfTransactions int
	VoteWeight       int
	Network          string
	Blocklist        string
	Whitelist        string
	CapBalance       bool
	BalanceCapAmount float64
	BlockBalanceCap  bool
	PriceBTC         int
	PriceUSD         int
	PriceEUR         int
	SourceIP         string
	CreatedAt        time.Time `storm:"index"`
	ArkGoPoolVersion string
}

PaymentRecord structure MainStructure

Jump to

Keyboard shortcuts

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