create_asseto_runtime_product
Documentation for eth_defi.tokenised_fund.asseto.registry.create_asseto_runtime_product function.
- create_asseto_runtime_product(product, first_seen_at_block, first_seen_at, usd_exchange_rates=())
Create one adapter product from API identity and onchain discovery.
The scheduled and manual paths use this constructor so product identity, offchain NAV lookup and non-USD conversion state cannot diverge.
- Parameters
product (eth_defi.tokenised_fund.asseto.offchain_api.AssetoOffchainProduct) – Normalised public Asseto product entry.
first_seen_at_block (int) – First onchain block containing the token’s code.
first_seen_at (datetime.datetime) – Naive UTC token deployment timestamp.
usd_exchange_rates (tuple[tuple[int, decimal.Decimal], ...]) – Historical units of the denomination currency per USD, if required.
- Returns
Adapter-ready Asseto product record.
- Return type