Documentation ¶
Index ¶
Constants ¶
View Source
const ( MIGRATION_TABLE_NAME = "account_schema_migrations" MIGRATION_DIRECOTRY = "projection/account/migrations" )
Variables ¶
View Source
var ( NewAccountsView = account_view.NewAccountsView UpdateLastHandledEventHeight = (*Account).UpdateLastHandledEventHeight )
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { *rdbprojectionbase.Base // contains filtered or unexported fields }
Account number, sequence number, balances are fetched from the latest state (regardless of current replaying height)
func NewAccount ¶
func NewAccount( logger applogger.Logger, rdbConn rdb.Conn, cosmosClient cosmosapp_interface.Client, config *appprojection.Config, ) *Account
func (*Account) GetEventsToListen ¶
func (*Account) HandleEvents ¶
func (projection *Account) HandleEvents(height int64, events []event_entity.Event) error
Click to show internal directories.
Click to hide internal directories.