DynasetTvlOracle
Oracles allows to determine the Nav of a dynaset in USDC value. It is used in the contribution forge to determine the price of an LP token.
dynasetTvlUsdc() public view override returns (uint256 totalUSDC) {Returns the Net asset Value of the Dynaset in converting the underlying to usdc value and summing up all of them.
tokenUsdcValue(address _token, uint256 _amount) external view override returns (uint256 usdcValue) Returns the value of a specific token in usdc value using chainlink oracle
dynasetUsdcValuePerShare() external view override returns (uint256) {value of the share of a dynaset in USDC value
Last updated
Was this helpful?
