resolve_start_block

Documentation for eth_defi.tokenised_fund.spiko.backfill.resolve_start_block function.

resolve_start_block(product=SpikoProduct(chain_id=1, token='0xe4880249745eac5f1ed9d8f7df844792d560e750', price_oracle='0x021289588cd81dc1ac87ea91e91607eef68303f5', first_seen_at_block=19690265, first_seen_at=datetime.datetime(2024, 4, 19, 15, 6, 11), oracle_first_seen_at_block=19690267, symbol='USTBL', denomination_symbol='USD', description="Tokenised share in Spiko's U.S. Treasury-bill money-market fund", short_description='U.S. Treasury-bill money-market strategy', management_fee=0.0025, product_url='https://www.spiko.io/spiko-treasury-bills-dollar', usd_price_oracle=None))

Select the first block with the selected product’s official NAV oracle.

Parameters

product (eth_defi.tokenised_fund.spiko.constants.SpikoProduct) – Reviewed Spiko product being migrated.

Returns

Explicit override or the Oracle deployment block.

Return type

int