Documentation ¶
Index ¶
- type Accounts
- type ActiveCheckpoint
- type App
- type Bus
- func (b *Bus) Accounts() Accounts
- func (b *Bus) ActiveCheckpoint() ActiveCheckpoint
- func (b *Bus) App() App
- func (b *Bus) Candidates() Candidates
- func (b *Bus) Checker() Checker
- func (b *Bus) Coins() Coins
- func (b *Bus) Events() eventsdb.IEventsDB
- func (b *Bus) FinalizedCheckpoints() FinalizedCheckpoints
- func (b *Bus) FrozenFunds() FrozenFunds
- func (b *Bus) Headers() Headers
- func (b *Bus) ProcessedDeposits() ProcessedDeposits
- func (b *Bus) SetAccounts(accounts Accounts)
- func (b *Bus) SetActiveCheckpoint(activeCheckpoint ActiveCheckpoint)
- func (b *Bus) SetApp(app App)
- func (b *Bus) SetCandidates(candidates Candidates)
- func (b *Bus) SetChecker(checker Checker)
- func (b *Bus) SetCoins(coins Coins)
- func (b *Bus) SetEvents(events eventsdb.IEventsDB)
- func (b *Bus) SetFinalizedCheckpoints(finalizedCheckpoints FinalizedCheckpoints)
- func (b *Bus) SetFrozenFunds(frozenfunds FrozenFunds)
- func (b *Bus) SetHeaders(headers Headers)
- func (b *Bus) SetProcessedDeposits(deps ProcessedDeposits)
- func (b *Bus) SetSignatorySet(signatorySet SignatorySet)
- func (b *Bus) SetUtxos(utxos Utxos)
- func (b *Bus) SetWithdrawals(withdrawals Withdrawals)
- func (b *Bus) SignatorySet() SignatorySet
- func (b *Bus) Utxos() Utxos
- func (b *Bus) Withdrawals() Withdrawals
- type Candidate
- type Candidates
- type Checker
- type Coin
- type Coins
- type Deposit
- type FinalizedCheckpoint
- type FinalizedCheckpoints
- type FrozenFunds
- type Headers
- type ProcessedDeposits
- type SignatorySet
- type Stake
- type Utxo
- type Utxos
- type Withdrawals
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Accounts ¶
type Accounts interface { DeleteCoin(types.Address, types.CoinSymbol) AddBalance(types.Address, types.CoinSymbol, *big.Int) }
type ActiveCheckpoint ¶
type ActiveCheckpoint interface {
GetActiveCheckpoint() *types.ActiveCheckpoint
}
type Bus ¶
type Bus struct {
// contains filtered or unexported fields
}
func (*Bus) ActiveCheckpoint ¶
func (b *Bus) ActiveCheckpoint() ActiveCheckpoint
func (*Bus) Candidates ¶
func (b *Bus) Candidates() Candidates
func (*Bus) FinalizedCheckpoints ¶
func (b *Bus) FinalizedCheckpoints() FinalizedCheckpoints
func (*Bus) FrozenFunds ¶
func (b *Bus) FrozenFunds() FrozenFunds
func (*Bus) ProcessedDeposits ¶
func (b *Bus) ProcessedDeposits() ProcessedDeposits
func (*Bus) SetAccounts ¶
func (*Bus) SetActiveCheckpoint ¶
func (b *Bus) SetActiveCheckpoint(activeCheckpoint ActiveCheckpoint)
func (*Bus) SetCandidates ¶
func (b *Bus) SetCandidates(candidates Candidates)
func (*Bus) SetChecker ¶
func (*Bus) SetFinalizedCheckpoints ¶
func (b *Bus) SetFinalizedCheckpoints(finalizedCheckpoints FinalizedCheckpoints)
func (*Bus) SetFrozenFunds ¶
func (b *Bus) SetFrozenFunds(frozenfunds FrozenFunds)
func (*Bus) SetHeaders ¶
func (*Bus) SetProcessedDeposits ¶
func (b *Bus) SetProcessedDeposits(deps ProcessedDeposits)
func (*Bus) SetSignatorySet ¶
func (b *Bus) SetSignatorySet(signatorySet SignatorySet)
func (*Bus) SetWithdrawals ¶
func (b *Bus) SetWithdrawals(withdrawals Withdrawals)
func (*Bus) SignatorySet ¶
func (b *Bus) SignatorySet() SignatorySet
func (*Bus) Withdrawals ¶
func (b *Bus) Withdrawals() Withdrawals
type Candidates ¶
type Checker ¶
type Checker interface { AddCoin(types.CoinSymbol, *big.Int, ...string) AddCoinVolume(types.CoinSymbol, *big.Int) }
type Coins ¶
type Coins interface { GetCoin(types.CoinSymbol) *Coin SubCoinVolume(types.CoinSymbol, *big.Int) }
type FinalizedCheckpoint ¶
type FinalizedCheckpoints ¶
type FinalizedCheckpoints interface {
GetFinalizedCheckpoints() *FinalizedCheckpoint
}
type FrozenFunds ¶
type Headers ¶
type Headers interface { GetBtc(hash uint32) *wire.BlockHeader GetMnt(hash string) *types.SignedHeader }
type ProcessedDeposits ¶
type SignatorySet ¶
type SignatorySet interface {
GetSignatorySet() *types.SignatorySet
}
type Withdrawals ¶
type Withdrawals interface { GetBtcWithdrawals() *[]types.Withdrawal GetMntWithdrawals() *[]types.Withdrawal }
Click to show internal directories.
Click to hide internal directories.