Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 1.89 KB

File metadata and controls

45 lines (29 loc) · 1.89 KB

Opportunity

Properties

Name Type Description Notes
id String Unique opportunity identifier. [optional]
providerId ProviderIdEnum Lending protocol (`MORPHO` or `AAVE`). [optional]
type TypeEnum Opportunity kind — vault or market. [optional]
chainId String Chain identifier as a string (e.g. "1" for Ethereum mainnet). [optional]
address String Primary contract address for the vault or market. [optional]
name String Display name of the opportunity. [optional]
symbol String Symbol or share token ticker for the position asset. [optional]
principalAsset EarnAsset Underlying token the user deposits (principal). [optional]
positionAsset EarnAsset Token representing the user’s position in the protocol (e.g. vault share). [optional]
totalAssets String Human-readable total value locked / assets in the opportunity. [optional]
liquidity String Human-readable available liquidity. [optional]
apy Apy APY breakdown; values are percentages (e.g. 4.25 means 4.25%). [optional]
performanceFee String Performance fee as a human-readable decimal string. [optional]
managementFee String Management fee as a human-readable decimal string. [optional]
exposure List<Exposure> Optional per-asset exposure breakdown. [optional]

Enum: ProviderIdEnum

Name Value
MORPHO "MORPHO"
AAVE "AAVE"

Enum: TypeEnum

Name Value
VAULT "VAULT"
MARKET "MARKET"