tokenised_fund.spiko.constants
Documentation for eth_defi.tokenised_fund.spiko.constants Python module.
Verified Spiko tokenised-fund deployment constants.
Module Attributes
Ethereum mainnet chain id. |
|
Arbitrum One chain id. |
|
Spiko US T-Bills Money Market Fund ERC-20 proxy on Ethereum. |
|
Spiko EU T-Bills Money Market Fund ERC-20 proxy on Arbitrum One. |
|
Reviewed Spiko products keyed by chain and ERC-20 token address. |
|
Reviewed Spiko products keyed by their unique public symbol. |
|
Hardcoded discovery leads for non-ERC-4626 Spiko tokenised funds. |
|
Backwards-compatible aliases for the initial USTBL integration. |
|
EUTBL convenience aliases used by callers that target the Arbitrum product. |
Classes
One reviewed Spiko permissioned fund-share deployment. |
- class SpikoProduct
Bases:
objectOne reviewed Spiko permissioned fund-share deployment.
- Parameters
chain_id – EVM chain hosting the token and issuer NAV oracle.
token – ERC-20 proxy address representing shares in the fund.
price_oracle – Spiko
Oracleproxy implementing the Chainlink AggregatorV3 view interface for the fund’s NAV/share.first_seen_at_block – Token proxy deployment block.
first_seen_at – Token proxy deployment timestamp as a naive UTC datetime.
oracle_first_seen_at_block – First block containing the product’s official NAV oracle.
symbol – Onchain ERC-20 symbol.
denomination_symbol – Currency in which Spiko publishes NAV/share.
description – Public investment-strategy description.
short_description – Concise public product description.
management_fee – Published annual management fee as a fraction.
product_url – Official Spiko product page.
usd_price_oracle – Optional Chainlink-compatible FX oracle returning USD per issuer NAV currency unit. Non-USD products use this to publish USD-normalised history to the shared vault feed.
Return the stable identifier for the issuer NAV source.
- Returns
Product-specific Chainlink-compatible oracle source label.
- __init__(chain_id, token, price_oracle, first_seen_at_block, first_seen_at, oracle_first_seen_at_block, symbol, denomination_symbol, description, short_description, management_fee, product_url, usd_price_oracle=None)
- Parameters
chain_id (int) –
token (eth_typing.evm.HexAddress) –
price_oracle (eth_typing.evm.HexAddress) –
first_seen_at_block (int) –
first_seen_at (datetime.datetime) –
oracle_first_seen_at_block (int) –
symbol (str) –
denomination_symbol (str) –
description (str) –
short_description (str) –
management_fee (float) –
product_url (str) –
usd_price_oracle (Optional[eth_typing.evm.HexAddress]) –
- Return type
None
- SPIKO_ETHEREUM_CHAIN_ID = 1
Ethereum mainnet chain id.
- SPIKO_ARBITRUM_CHAIN_ID = 42161
Arbitrum One chain id.
- USTBL_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)
Spiko US T-Bills Money Market Fund ERC-20 proxy on Ethereum.
https://etherscan.io/address/0xe4880249745eac5f1ed9d8f7df844792d560e750
- EUTBL_PRODUCT = SpikoProduct(chain_id=42161, token='0xcbeb19549054cc0a6257a77736fc78c367216ce7', price_oracle='0xe4880249745eac5f1ed9d8f7df844792d560e750', first_seen_at_block=267473436, first_seen_at=datetime.datetime(2024, 10, 25, 10, 12, 40), oracle_first_seen_at_block=267473497, symbol='EUTBL', denomination_symbol='EUR', description="Tokenised share in Spiko's Eurozone Treasury-bill money-market fund", short_description='Eurozone Treasury-bill money-market strategy', management_fee=0.0025, product_url='https://www.spiko.io/spiko-treasury-bills-euro', usd_price_oracle='0xa14d53bc1f1c0f31b4aa3bd109344e5009051a84')
Spiko EU T-Bills Money Market Fund ERC-20 proxy on Arbitrum One.
Token and oracle deployment data from Spiko’s canonical configuration: https://github.com/spiko-tech/contracts/blob/main/subgraph/config/arbitrum-one.json
- SPIKO_PRODUCTS: dict[tuple[int, eth_typing.evm.HexAddress], eth_defi.tokenised_fund.spiko.constants.SpikoProduct] = {(1, '0xe4880249745eac5f1ed9d8f7df844792d560e750'): 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), (42161, '0xcbeb19549054cc0a6257a77736fc78c367216ce7'): SpikoProduct(chain_id=42161, token='0xcbeb19549054cc0a6257a77736fc78c367216ce7', price_oracle='0xe4880249745eac5f1ed9d8f7df844792d560e750', first_seen_at_block=267473436, first_seen_at=datetime.datetime(2024, 10, 25, 10, 12, 40), oracle_first_seen_at_block=267473497, symbol='EUTBL', denomination_symbol='EUR', description="Tokenised share in Spiko's Eurozone Treasury-bill money-market fund", short_description='Eurozone Treasury-bill money-market strategy', management_fee=0.0025, product_url='https://www.spiko.io/spiko-treasury-bills-euro', usd_price_oracle='0xa14d53bc1f1c0f31b4aa3bd109344e5009051a84')}
Reviewed Spiko products keyed by chain and ERC-20 token address.
- SPIKO_PRODUCTS_BY_SYMBOL: dict[str, eth_defi.tokenised_fund.spiko.constants.SpikoProduct] = {'EUTBL': SpikoProduct(chain_id=42161, token='0xcbeb19549054cc0a6257a77736fc78c367216ce7', price_oracle='0xe4880249745eac5f1ed9d8f7df844792d560e750', first_seen_at_block=267473436, first_seen_at=datetime.datetime(2024, 10, 25, 10, 12, 40), oracle_first_seen_at_block=267473497, symbol='EUTBL', denomination_symbol='EUR', description="Tokenised share in Spiko's Eurozone Treasury-bill money-market fund", short_description='Eurozone Treasury-bill money-market strategy', management_fee=0.0025, product_url='https://www.spiko.io/spiko-treasury-bills-euro', usd_price_oracle='0xa14d53bc1f1c0f31b4aa3bd109344e5009051a84'), 'USTBL': 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)}
Reviewed Spiko products keyed by their unique public symbol.
- SPIKO_HARDCODED_LEADS = ((1, '0xe4880249745eac5f1ed9d8f7df844792d560e750', 19690265, datetime.datetime(2024, 4, 19, 15, 6, 11)), (42161, '0xcbeb19549054cc0a6257a77736fc78c367216ce7', 267473436, datetime.datetime(2024, 10, 25, 10, 12, 40)))
Hardcoded discovery leads for non-ERC-4626 Spiko tokenised funds.
- SPIKO_CHAIN_ID = 1
Backwards-compatible aliases for the initial USTBL integration.
- EUTBL_TOKEN_ADDRESS = '0xcbeb19549054cc0a6257a77736fc78c367216ce7'
EUTBL convenience aliases used by callers that target the Arbitrum product.