Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBasicIncomeEvent ¶ added in v0.46.0
NewBasicIncomeEvent for epoch.
Types ¶
type AlphabetState ¶ added in v0.18.0
type AlphabetState interface {
IsAlphabet() bool
}
AlphabetState is a callback interface for inner ring global state.
type BasicIncomeEvent ¶ added in v0.46.0
type BasicIncomeEvent struct {
// contains filtered or unexported fields
}
BasicIncomeEvent is an event of the beginning of basic income cash settlements.
func (BasicIncomeEvent) Epoch ¶ added in v0.48.0
func (e BasicIncomeEvent) Epoch() uint64
Epoch returns the number of the epoch in which the event was generated.
func (BasicIncomeEvent) MorphEvent ¶ added in v0.48.0
func (e BasicIncomeEvent) MorphEvent()
MorphEvent implements Neo: FS chain event.
type Option ¶
type Option func(*options)
Option is a Processor constructor's option.
func WithLogger ¶
WithLogger returns option to override the component for logging.
type Prm ¶
type Prm struct {
State AlphabetState
ContainerClient *containerClient.Client
NetmapClient *netmapClient.Client
BalanceClient *balanceClient.Client
}
Prm groups the required parameters of Processor's constructor.
Click to show internal directories.
Click to hide internal directories.