credmark.cmf.types.ledger_contract.ContractLedger

class ContractLedger(address, proxy_address, abi)[source]

Bases: object

Helper class used by Contract for ledger queries on contract functions and events.

You do not need to create an instance yourself. Access an instance from a credmark.cmf.types.contract.Contract instance with contract.ledger.

See ContractEntity below for info on running queries.

Parameters

All event/function-specific fields are loaded as character to preserve its full precision for integer types. They will be converted back to integer with .to_dataframe().

Methods

Attributes

events

functions