Documentation ¶
Index ¶
- type Bus
- type Model
- type ProcessedDeposits
- func (p *ProcessedDeposits) Commit() error
- func (p *ProcessedDeposits) Create(txid types.Txid, amount *big.Int, coin types.CoinSymbol, owner types.Address)
- func (p *ProcessedDeposits) Exists(txid types.Txid) bool
- func (p *ProcessedDeposits) Export(state *types.AppState)
- func (p *ProcessedDeposits) GetDeposit(txid types.Txid) *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(deps *ProcessedDeposits) *Bus
type Model ¶
type ProcessedDeposits ¶
type ProcessedDeposits struct {
// contains filtered or unexported fields
}
func NewProcessedDeposits ¶
func (*ProcessedDeposits) Commit ¶
func (p *ProcessedDeposits) Commit() error
func (*ProcessedDeposits) Create ¶
func (p *ProcessedDeposits) Create(txid types.Txid, amount *big.Int, coin types.CoinSymbol, owner types.Address)
func (*ProcessedDeposits) Export ¶
func (p *ProcessedDeposits) Export(state *types.AppState)
func (*ProcessedDeposits) GetDeposit ¶
func (p *ProcessedDeposits) GetDeposit(txid types.Txid) *Model
Click to show internal directories.
Click to hide internal directories.