AssetoOffchainProduct

Documentation for eth_defi.tokenised_fund.asseto.offchain_api.AssetoOffchainProduct Python class.

class AssetoOffchainProduct

Bases: object

An 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 VaultBase adapters.

Variables
  • product_id – Asseto’s off-chain product identifier.

  • product_name – Product key required by the detail endpoint’s productName header.

  • contract_address – Token contract address used for matching an EVM vault adapter.

Attributes summary

product_id

Asseto's off-chain product identifier.

product_name

Product key used in API request headers.

full_name

Human-readable product name.

symbol

Token symbol.

product_type

Asseto product category, such as uda or stoken.

chain_id

EVM chain id hosting the token.

chain_name

Human-readable EVM chain name.

contract_address

Token contract address.

denomination_symbol

Product denomination token symbol.

denomination_address

Product denomination token address.

tvl

Asseto-displayed total value locked in the denomination.

apy

Asseto-displayed annual percentage yield as a percentage.

introduction

Short product introduction.

protocol

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 uda or stoken.

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
Return type

None