Documentation ¶
Index ¶
- type AccountTransaction
- func (_ *AccountTransaction) GetEventsToListen() []string
- func (projection *AccountTransaction) HandleEvents(height int64, events []event_entity.Event) error
- func (projection *AccountTransaction) OnInit() error
- func (projection *AccountTransaction) ParseSenderAddresses(senders []model.TransactionSigner) []string
- type TransactionInfo
- func (info *TransactionInfo) AddAccount(address string)
- func (info *TransactionInfo) AddMessageTypes(messageTypes string)
- func (info *TransactionInfo) FillBlockInfo(blockHash string, blockTime utctime.UTCTime)
- func (info *TransactionInfo) FillMessageTypes()
- func (info *TransactionInfo) IsAccountExist(address string) bool
- func (info *TransactionInfo) ToRows() []view.AccountTransactionBaseRow
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 NewTransactionInfo ¶
func NewTransactionInfo(row view.AccountTransactionBaseRow) *TransactionInfo
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 ¶
func (info *TransactionInfo) ToRows() []view.AccountTransactionBaseRow
Click to show internal directories.
Click to hide internal directories.