SupplyChange

Documentation for eth_defi.erc_4626.vault_protocol.flying_tulip.historical_context.SupplyChange Python class.

class SupplyChange

Bases: object

One sftUSD mint or burn reconstructed from Transfer.

Attributes summary

chain_id

Source EVM chain identifier.

vault_address

sftUSD proxy which emitted the transfer.

block_number

EVM block containing the transfer.

block_timestamp

Unix timestamp of block_number.

transaction_hash

Emitting transaction hash.

log_index

Event position in the transaction.

is_mint

True for a mint and False for a burn.

raw_amount

Raw sftUSD supply delta.

Methods summary

__init__(chain_id, vault_address, ...)

chain_id: int

Source EVM chain identifier.

vault_address: eth_typing.evm.HexAddress

sftUSD proxy which emitted the transfer.

block_number: int

EVM block containing the transfer.

block_timestamp: int

Unix timestamp of block_number.

transaction_hash: str

Emitting transaction hash.

log_index: int

Event position in the transaction.

is_mint: bool

True for a mint and False for a burn.

raw_amount: int

Raw sftUSD supply delta.

__init__(chain_id, vault_address, block_number, block_timestamp, transaction_hash, log_index, is_mint, raw_amount)
Parameters
Return type

None