account_transaction

package
v1.7.11 Latest Latest
Warning

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

Go to latest
Published: May 15, 2023 License: Apache-2.0 Imports: 12 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountTransaction

type AccountTransaction struct {
	*rdbprojectionbase.Base
	// contains filtered or unexported fields
}

func NewAccountTransaction

func NewAccountTransaction(
	logger applogger.Logger,
	rdbConn rdb.Conn,
	accountAddressPrefix string,
	migrationHelper migrationhelper.MigrationHelper,
) *AccountTransaction

func (*AccountTransaction) GetEventsToListen

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

func (*AccountTransaction) HandleEvents

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

func (*AccountTransaction) OnInit

func (projection *AccountTransaction) OnInit() error

func (*AccountTransaction) ParseSenderAddresses

func (projection *AccountTransaction) ParseSenderAddresses(senders []model.TransactionSigner) []string

type TransactionInfo

type TransactionInfo struct {
	// contains filtered or unexported fields
}

func (*TransactionInfo) AddAccount

func (info *TransactionInfo) AddAccount(address string)

func (*TransactionInfo) AddMessageTypes

func (info *TransactionInfo) AddMessageTypes(messageTypes string)

func (*TransactionInfo) FillBlockInfo

func (info *TransactionInfo) FillBlockInfo(blockHash string, blockTime utctime.UTCTime)

func (*TransactionInfo) FillMessageTypes

func (info *TransactionInfo) FillMessageTypes()

func (*TransactionInfo) IsAccountExist

func (info *TransactionInfo) IsAccountExist(address string) bool

func (*TransactionInfo) ToRows

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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