Documentation ¶
Index ¶
- type AccountTransactionBaseRow
- type AccountTransactionData
- type AccountTransactionReadRow
- type AccountTransactionRecord
- type AccountTransactions
- func (accountMessagesView *AccountTransactions) InsertAll(rows []AccountTransactionBaseRow) error
- func (accountMessagesView *AccountTransactions) List(filter AccountTransactionsListFilter, order AccountTransactionsListOrder, ...) ([]AccountTransactionReadRow, *pagination_interface.PaginationResult, error)
- type AccountTransactionsListFilter
- type AccountTransactionsListOrder
- type AccountTransactionsTotal
- type TransactionRow
- type TransactionRowMessage
- type TransactionsListFilter
- type TransactionsListOrder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountTransactionBaseRow ¶
type AccountTransactionBaseRow struct { Account string `json:"account,omitempty"` BlockHeight int64 `json:"blockHeight"` BlockHash string `json:"blockHash"` BlockTime utctime.UTCTime `json:"blockTime"` Hash string `json:"hash"` MessageTypes []string `json:"messageTypes"` Success bool `json:"success"` }
type AccountTransactionData ¶
type AccountTransactionData struct {
// contains filtered or unexported fields
}
AccountTransactionData projection view implemented by relational database
func NewAccountTransactionData ¶
func NewAccountTransactionData(handle *rdb.Handle) *AccountTransactionData
func (*AccountTransactionData) Insert ¶
func (transactionsView *AccountTransactionData) Insert(transaction *TransactionRow) error
func (*AccountTransactionData) InsertAll ¶
func (transactionsView *AccountTransactionData) InsertAll(transactions []TransactionRow) error
type AccountTransactionReadRow ¶
type AccountTransactionReadRow struct { AccountTransactionBaseRow Success bool `json:"success"` Code int `json:"code"` Log string `json:"log"` Fee coin.Coins `json:"fee"` FeePayer string `json:"feePayer"` FeeGranter string `json:"feeGranter"` GasWanted int `json:"gasWanted"` GasUsed int `json:"gasUsed"` Memo string `json:"memo"` TimeoutHeight int64 `json:"timeoutHeight"` Messages []TransactionRowMessage `json:"messages"` }
type AccountTransactionRecord ¶
type AccountTransactionRecord struct { Row AccountTransactionBaseRow Accounts []string }
type AccountTransactions ¶
type AccountTransactions struct {
// contains filtered or unexported fields
}
BlockTransactions projection view implemented by relational database
func NewAccountTransactions ¶
func NewAccountTransactions(handle *rdb.Handle) *AccountTransactions
func (*AccountTransactions) InsertAll ¶
func (accountMessagesView *AccountTransactions) InsertAll( rows []AccountTransactionBaseRow, ) error
func (*AccountTransactions) List ¶
func (accountMessagesView *AccountTransactions) List( filter AccountTransactionsListFilter, order AccountTransactionsListOrder, pagination *pagination_interface.Pagination, ) ([]AccountTransactionReadRow, *pagination_interface.PaginationResult, error)
type AccountTransactionsTotal ¶
func NewAccountTransactionsTotal ¶
func NewAccountTransactionsTotal(rdbHandle *rdb.Handle) *AccountTransactionsTotal
type TransactionRow ¶
type TransactionRow struct { BlockHeight int64 `json:"blockHeight"` BlockHash string `json:"blockHash"` BlockTime utctime.UTCTime `json:"blockTime"` Hash string `json:"hash"` Index int `json:"index"` Success bool `json:"success"` Code int `json:"code"` Log string `json:"log"` Fee coin.Coins `json:"fee"` FeePayer string `json:"feePayer"` FeeGranter string `json:"feeGranter"` GasWanted int `json:"gasWanted"` GasUsed int `json:"gasUsed"` Memo string `json:"memo"` TimeoutHeight int64 `json:"timeoutHeight"` Messages []TransactionRowMessage `json:"messages"` }
type TransactionRowMessage ¶
type TransactionRowMessage struct { Type string `json:"type"` Content interface{} `json:"content"` }
type TransactionsListFilter ¶
type TransactionsListFilter struct {
MaybeBlockHeight *int64
}
type TransactionsListOrder ¶
Click to show internal directories.
Click to hide internal directories.