Documentation ¶
Index ¶
- type Bus
- type Coins
- func (c *Coins) AddDelta(symbol types.CoinSymbol, amount *big.Int)
- func (c *Coins) AddVolume(symbol types.CoinSymbol, amount *big.Int)
- func (c *Coins) Commit() error
- func (c *Coins) Create(symbol types.CoinSymbol, volume *big.Int)
- func (c *Coins) Exists(symbol types.CoinSymbol) bool
- func (c *Coins) Export(state *types.AppState)
- func (c *Coins) GetCoin(symbol types.CoinSymbol) *Model
- func (c *Coins) SubDelta(symbol types.CoinSymbol, amount *big.Int)
- func (c *Coins) SubVolume(symbol types.CoinSymbol, amount *big.Int)
- type Info
- type Model
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bus ¶
type Bus struct {
// contains filtered or unexported fields
}
func (*Bus) SubCoinVolume ¶
func (b *Bus) SubCoinVolume(symbol types.CoinSymbol, amount *big.Int)
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func (Model) IsInfoDirty ¶
func (Model) Symbol ¶
func (m Model) Symbol() types.CoinSymbol
Click to show internal directories.
Click to hide internal directories.