Documentation ¶
Index ¶
- type Bus
- type FrozenFunds
- func (f *FrozenFunds) AddFund(height uint64, address types.Address, pubkey types.Pubkey, ...)
- func (f *FrozenFunds) Commit() error
- func (f *FrozenFunds) Delete(height uint64)
- func (f *FrozenFunds) Export(state *types.AppState, height uint64)
- func (f *FrozenFunds) GetFrozenFunds(height uint64) *Model
- func (f *FrozenFunds) GetOrNew(height uint64) *Model
- func (f *FrozenFunds) PunishFrozenFundsWithAddress(fromHeight uint64, toHeight uint64, tmAddress types.TmAddress)
- type Item
- 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 NewBus ¶
func NewBus(frozenfunds *FrozenFunds) *Bus
type FrozenFunds ¶
type FrozenFunds struct {
// contains filtered or unexported fields
}
func NewFrozenFunds ¶
func (*FrozenFunds) AddFund ¶
func (f *FrozenFunds) AddFund(height uint64, address types.Address, pubkey types.Pubkey, coin types.CoinSymbol, value *big.Int)
func (*FrozenFunds) Commit ¶
func (f *FrozenFunds) Commit() error
func (*FrozenFunds) Delete ¶
func (f *FrozenFunds) Delete(height uint64)
func (*FrozenFunds) GetFrozenFunds ¶
func (f *FrozenFunds) GetFrozenFunds(height uint64) *Model
func (*FrozenFunds) GetOrNew ¶
func (f *FrozenFunds) GetOrNew(height uint64) *Model
func (*FrozenFunds) PunishFrozenFundsWithAddress ¶
func (f *FrozenFunds) PunishFrozenFundsWithAddress(fromHeight uint64, toHeight uint64, tmAddress types.TmAddress)
Click to show internal directories.
Click to hide internal directories.