Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CoinCodeVerify ¶
Types ¶
type Account ¶
type Account struct { Owner AccountOwner `bson:"owner" json:"owner"` Coin Code `bson:"code" json:"code"` Balance *Amount `bson:"balance" json:"balance"` }
type AccountLead ¶
type AccountLead struct { Owner AccountOwner `bson:"owner" json:"owner"` Coin Code `bson:"coin" json:"coin"` }
type Alter ¶
type Alter struct { ID AlterID `bson:"id" json:"id"` AlterType AlterType `bson:"alter_type" json:"alter_type"` AccountOwner AccountOwner `bson:"account_owner" json:"account_owner"` Side AccountOwner `bson:"side" json:"side"` Coin Code `bson:"coin" json:"coin"` Amount *Amount `bson:"amount" json:"amount"` Yin yn.YID `bson:"yin" json:"yin"` }
type Amount ¶
type Amount struct { Wei WEI `bson:"wei" json:"wei"` Left int64 `bson:"left" json:"left"` Right int64 `bson:"right" json:"right"` }
func (*Amount) Int64Round ¶
Click to show internal directories.
Click to hide internal directories.