AntarcticSettlement

Documentation for eth_defi.erc_4626.vault_protocol.antarctic.historical_context.AntarcticSettlement Python class.

class AntarcticSettlement

Bases: object

One settlement with exact execution amounts and source provenance.

Attributes summary

chain_id

EVM chain identity.

pool_address

LP token identity, not the manager.

block_number

Settlement block.

block_hash

Canonical source block hash.

block_timestamp

Settlement timestamp, Unix seconds.

transaction_hash

Source transaction hash.

log_index

Block-wide event index.

kind

AddLiquidity or RemoveLiquidity.

account

Investor whose settlement was processed.

raw_usdt

USDT raw amount; serialised as decimal text in DuckDB.

raw_shares

Raw LP shares; serialised as decimal text in DuckDB.

raw_tvl

Handler-reported pre-batch raw TVL.

data

Original unindexed log bytes for audit/re-decoding.

source_id

Identify a log across replay and database imports.

Methods summary

__init__(chain_id, pool_address, ...)

chain_id: int

EVM chain identity.

pool_address: eth_typing.evm.HexAddress

LP token identity, not the manager.

block_number: int

Settlement block.

block_hash: str

Canonical source block hash.

block_timestamp: int

Settlement timestamp, Unix seconds.

transaction_hash: str

Source transaction hash.

log_index: int

Block-wide event index.

kind: str

AddLiquidity or RemoveLiquidity.

account: eth_typing.evm.HexAddress

Investor whose settlement was processed.

raw_usdt: int

USDT raw amount; serialised as decimal text in DuckDB.

raw_shares: int

Raw LP shares; serialised as decimal text in DuckDB.

raw_tvl: int

Handler-reported pre-batch raw TVL.

data: str

Original unindexed log bytes for audit/re-decoding.

property source_id: str

Identify a log across replay and database imports.

Block hash is compared separately so a reorg can replace a location.

Returns

Chain, LP token, transaction and log index identity.

__init__(chain_id, pool_address, block_number, block_hash, block_timestamp, transaction_hash, log_index, kind, account, raw_usdt, raw_shares, raw_tvl, data)
Parameters
Return type

None