YieldBasisMarketReview
Documentation for eth_defi.yield_basis.addresses.YieldBasisMarketReview Python class.
- class YieldBasisMarketReview
Bases:
objectReviewed identity of one YieldBasis Earn market.
The immutable record gates automatic publication. Runtime component addresses still come from the Factory pre-scan.
Attributes summary
Append-only Factory market ID.
LT/yb-LP share token.
Volatile collateral token.
First reviewed Factory event block.
First reviewed Factory event timestamp.
Human-readable underlying symbol.
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
market_id (int) –
lt_address (eth_typing.evm.HexAddress) –
asset_address (eth_typing.evm.HexAddress) –
first_seen_at_block (int) –
first_seen_at (datetime.datetime) –
asset_symbol (str) –
asset_decimals (int) –
- Return type
None