yield_basis.addresses

Documentation for eth_defi.yield_basis.addresses Python module.

Reviewed Ethereum YieldBasis deployments.

Addresses and launch blocks are taken from the official YieldBasis yb-core source and deployment record and the MarketParameters events emitted by the Factory. The Factory remains the runtime source of component addresses; this registry is a review allow-list, not a substitute for validating the live tuple.

Module Attributes

YIELD_BASIS_FACTORY

Ethereum YieldBasis Factory.

YIELD_BASIS_STABLECOIN

Ethereum crvUSD used as the stable side of every reviewed market.

YIELD_BASIS_ACTIVE_MARKETS

The four active LT markets covered by this integration.

YIELD_BASIS_MARKET_ID_BY_LT

Lowercase LT address to reviewed market ID.

Classes

YieldBasisMarketReview

Reviewed identity of one YieldBasis Earn market.

YIELD_BASIS_FACTORY: eth_typing.evm.HexAddress = '0x370a449FeBb9411c95bf897021377fe0B7D100c0'

Ethereum YieldBasis Factory.

YIELD_BASIS_STABLECOIN: eth_typing.evm.HexAddress = '0xf939E0A03FB07F59A73314E73794Be0E57ac1b4E'

Ethereum crvUSD used as the stable side of every reviewed market.

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.

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

YIELD_BASIS_ACTIVE_MARKETS: dict[int, eth_defi.yield_basis.addresses.YieldBasisMarketReview] = {7: YieldBasisMarketReview(market_id=7, lt_address='0x651D4b8168488FA163D85304662E8278d4c55BAa', asset_address='0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599', first_seen_at_block=25170799, first_seen_at=datetime.datetime(2026, 5, 25, 7, 23, 23), asset_symbol='WBTC', asset_decimals=8), 8: YieldBasisMarketReview(market_id=8, lt_address='0x722FC3640BA007C3E9867CCdB0dCa59F2e2F29F9', asset_address='0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf', first_seen_at_block=25170801, first_seen_at=datetime.datetime(2026, 5, 25, 7, 23, 47), asset_symbol='cbBTC', asset_decimals=8), 9: YieldBasisMarketReview(market_id=9, lt_address='0x771F7290428d830ECd41E980745c327e507823Ec', asset_address='0x18084fbA666a33d37592fA2633fD49a74DD93a88', first_seen_at_block=25170802, first_seen_at=datetime.datetime(2026, 5, 25, 7, 23, 59), asset_symbol='tBTC', asset_decimals=18), 10: YieldBasisMarketReview(market_id=10, lt_address='0x2B9c9f3BdcEb5d8E36a4704F08a78Fca53343cEa', asset_address='0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2', first_seen_at_block=25170804, first_seen_at=datetime.datetime(2026, 5, 25, 7, 24, 23), asset_symbol='WETH', asset_decimals=18)}

The four active LT markets covered by this integration.

YIELD_BASIS_MARKET_ID_BY_LT: dict[str, int] = {'0x2b9c9f3bdceb5d8e36a4704f08a78fca53343cea': 10, '0x651d4b8168488fa163d85304662e8278d4c55baa': 7, '0x722fc3640ba007c3e9867ccdb0dca59f2e2f29f9': 8, '0x771f7290428d830ecd41e980745c327e507823ec': 9}

Lowercase LT address to reviewed market ID.