credmark.cmf.types.ledger.TokenTransferTable

class TokenTransferTable(**kwargs)[source]

Bases: LedgerTable

Token transfers ledger data table Column names

Methods

as_

describe

Attributes

BLOCK_HASH

BLOCK_NUMBER

BLOCK_TIMESTAMP

FROM_ADDRESS

LOG_INDEX

TOKEN_ADDRESS

TO_ADDRESS

TRANSACTION_HASH

TYPE_MAPPER

VALUE

alias

bigint_cols

colnames

Return the set of column names in the table.

columns

Return the set of column names for the table.

table_key

BLOCK_HASH = 'block_hash'
BLOCK_NUMBER = 'block_number'
BLOCK_TIMESTAMP = 'block_timestamp'
FROM_ADDRESS = 'from_address'
LOG_INDEX = 'log_index'
TOKEN_ADDRESS = 'token_address'
TO_ADDRESS = 'to_address'
TRANSACTION_HASH = 'transaction_hash'
VALUE = 'value'
property colnames: List[str]

Return the set of column names in the table. They can be used in the query.

property columns: List[str]

Return the set of column names for the table. They will be used in the database.

For contract ledger tables, the set will include all contract-specific columns.