Documentation ¶
Index ¶
- Constants
- type FeeOption
- type Store
- func (st *Store) AddToAddress(addr keys.Address, coin balance.Coin) error
- func (st *Store) AddToPool(coin balance.Coin) error
- func (st *Store) Exists(address keys.Address) bool
- func (st *Store) Get(address []byte) (coin balance.Coin, err error)
- func (st *Store) GetAllowedWithdraw(addr keys.Address) balance.Coin
- func (st *Store) GetOpt() *FeeOption
- func (st *Store) Iterate(fn func(addr keys.Address, coin balance.Coin) (stop bool)) bool
- func (st *Store) MinusFromAddress(addr keys.Address, coin balance.Coin) error
- func (st *Store) MinusFromPool(coin balance.Coin) error
- func (st *Store) Set(address keys.Address, coin balance.Coin) error
- func (st *Store) SetupOpt(feeOpt *FeeOption)
- func (st *Store) WithState(state *storage.State) *Store
Constants ¶
View Source
const ( POOL_KEY = "00000000000000000000" FEE_LOCK_BLOCKS = int64(3) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeeOption ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) AddToAddress ¶
func (*Store) GetAllowedWithdraw ¶
func (*Store) MinusFromAddress ¶
Click to show internal directories.
Click to hide internal directories.