AssetoOffchainProduct
Documentation for eth_defi.tokenised_fund.asseto.offchain_api.AssetoOffchainProduct Python class.
- class AssetoOffchainProduct
Bases:
objectAn EVM Asseto product from the public product registry.
The Asseto registry also has XRPL products. Those are intentionally omitted because this integration is for EVM
VaultBaseadapters.- Variables
product_id – Asseto’s off-chain product identifier.
product_name – Product key required by the detail endpoint’s
productNameheader.contract_address – Token contract address used for matching an EVM vault adapter.
Attributes summary
Asseto's off-chain product identifier.
Product key used in API request headers.
Human-readable product name.
Token symbol.
Asseto product category, such as
udaorstoken.EVM chain id hosting the token.
Human-readable EVM chain name.
Token contract address.
Product denomination token symbol.
Product denomination token address.
Asseto-displayed total value locked in the denomination.
Asseto-displayed annual percentage yield as a percentage.
Short product introduction.
Product protocol and legal disclosure text.
Methods summary
__init__(product_id, product_name, ...)- product_id: int
Asseto’s off-chain product identifier.
- product_name: str
Product key used in API request headers.
- full_name: Optional[str]
Human-readable product name.
- symbol: Optional[str]
Token symbol.
- product_type: Optional[str]
Asseto product category, such as
udaorstoken.
- chain_id: int
EVM chain id hosting the token.
- chain_name: Optional[str]
Human-readable EVM chain name.
- contract_address: eth_typing.evm.HexAddress
Token contract address.
- denomination_symbol: Optional[str]
Product denomination token symbol.
- denomination_address: Optional[eth_typing.evm.HexAddress]
Product denomination token address.
- tvl: Optional[decimal.Decimal]
Asseto-displayed total value locked in the denomination.
- apy: Optional[decimal.Decimal]
Asseto-displayed annual percentage yield as a percentage.
- introduction: Optional[str]
Short product introduction.
- protocol: Optional[str]
Product protocol and legal disclosure text.
- __init__(product_id, product_name, full_name, symbol, product_type, chain_id, chain_name, contract_address, denomination_symbol, denomination_address, tvl, apy, introduction, protocol)
- Parameters
product_id (int) –
product_name (str) –
chain_id (int) –
contract_address (eth_typing.evm.HexAddress) –
denomination_address (Optional[eth_typing.evm.HexAddress]) –
tvl (Optional[decimal.Decimal]) –
apy (Optional[decimal.Decimal]) –
- Return type
None