account

package
v1.7.42 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2024 License: Apache-2.0 Imports: 13 Imported by: 2

Documentation

Index

Constants

This section is empty.

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,
	migrationHelper migrationhelper.MigrationHelper,
) *Account

func (*Account) GetEventsToListen

func (_ *Account) GetEventsToListen() []string

func (*Account) HandleEvents

func (projection *Account) HandleEvents(height int64, events []event_entity.Event) error

func (*Account) OnInit

func (projection *Account) OnInit() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL