package
0.0.0-20190618060323-4701ab309562
Repository: https://github.com/fletaio/core.git
Documentation: pkg.go.dev
# Functions
NewAccounter returns a Accounter.
NewContext returns a Context.
NewContextData returns a ContextData.
NewEmptyLoader is used for generating genesis state.
NewEventer returns a Eventer.
NewTransactor returns a Transactor.
RegisterAccount register account handlers to the global account registry.
RegisterEvent register Event handlers to the global Event registry.
RegisterTransaction register transaction handlers to the global account registry.
# Variables
data errors.
data errors.
data errors.
data errors.
data errors.
data errors.
data errors.
data errors.
data errors.
data errors.
data errors.
data errors.
data errors.
data errors.
data errors.
No description provided by the author
# Structs
Accounter provide account's handlers of the target chain.
Context is an intermediate in-memory state using the context data stack between blocks.
ContextData is a state data of the context.
Eventer provide Event's handlers of the target chain.
No description provided by the author
No description provided by the author
LockedBalance defines locked balance.
Transactor provide transaction's handlers of the target chain.
# Interfaces
Loader is an interface to provide data from the target chain.
# Type aliases
AccountFactory is a function type to generate an account instance by the type.
TransactionValidator is a function type to support the validation of the account with signers.
EventFactory is a function type to generate an Event instance by the type.
TransactionExecutor is a function type to update the context using the transaction and the coordinate of it.
TransactionFactory is a function type to generate an account instance by the type.
TransactionValidator is a function type to support the validation of the transaction with signers.