YieldBasisMarketReview

Documentation for eth_defi.yield_basis.addresses.YieldBasisMarketReview Python class.

class YieldBasisMarketReview

Bases: object

Reviewed identity of one YieldBasis Earn market.

The immutable record gates automatic publication. Runtime component addresses still come from the Factory pre-scan.

Attributes summary

market_id

Append-only Factory market ID.

lt_address

LT/yb-LP share token.

asset_address

Volatile collateral token.

first_seen_at_block

First reviewed Factory event block.

first_seen_at

First reviewed Factory event timestamp.

asset_symbol

Human-readable underlying symbol.

asset_decimals

ERC-20 decimal precision of the underlying asset.

Methods summary

__init__(market_id, lt_address, ...)

market_id: int

Append-only Factory market ID.

lt_address: eth_typing.evm.HexAddress

LT/yb-LP share token.

asset_address: eth_typing.evm.HexAddress

Volatile collateral token.

first_seen_at_block: int

First reviewed Factory event block.

first_seen_at: datetime.datetime

First reviewed Factory event timestamp.

asset_symbol: str

Human-readable underlying symbol.

asset_decimals: int

ERC-20 decimal precision of the underlying asset.

__init__(market_id, lt_address, asset_address, first_seen_at_block, first_seen_at, asset_symbol, asset_decimals)
Parameters
Return type

None