Documentation
¶
Index ¶
- type Coins
- type Info
- type Model
- func (m *Model) AddReserve(amount *big.Int)
- func (m *Model) AddVolume(amount *big.Int)
- func (m *Model) CheckReserveUnderflow(delta *big.Int) error
- func (m Model) Crr() uint
- func (m Model) IsDirty() bool
- func (m Model) IsInfoDirty() bool
- func (m Model) MaxSupply() *big.Int
- func (m Model) Name() string
- func (m Model) Reserve() *big.Int
- func (m *Model) SetReserve(reserve *big.Int)
- func (m *Model) SetVolume(volume *big.Int)
- func (m *Model) SubReserve(amount *big.Int)
- func (m *Model) SubVolume(amount *big.Int)
- func (m Model) Symbol() types.CoinSymbol
- func (m Model) Volume() *big.Int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
CName string
CCrr uint
CMaxSupply *big.Int
// contains filtered or unexported fields
}
func (*Model) AddReserve ¶
func (Model) IsInfoDirty ¶
func (*Model) SetReserve ¶
func (*Model) SubReserve ¶
func (Model) Symbol ¶
func (m Model) Symbol() types.CoinSymbol
Click to show internal directories.
Click to hide internal directories.