credmark.cmf.types.ledger_contract.ContractFunctionsTable

class ContractFunctionsTable(**kwargs)[source]

Bases: LedgerTable

Contract functions ledger data table Column names common to all functions Function-specific columns are added from ABI.

Methods

as_

describe

Attributes

BLOCK_NUMBER

BLOCK_TIMESTAMP

FROM_ADDRESS

SIGNATURE

TO_ADDRESS

TRACE_ADDRESS

TXN_HASH

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_NUMBER = 'block_number'
BLOCK_TIMESTAMP = 'block_timestamp'
FROM_ADDRESS = 'from_address'
TO_ADDRESS = 'to_address'
TRACE_ADDRESS = 'trace_address'
TXN_HASH = 'transaction_hash'
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.