Deposit and Withdraw/Redeem
returns (uint256 sharesToMint)
Mint new dynaset tokens by providing the proportional amount of each underlying token's balance relative to the proportion of dynaset tokens minted. function can only be called by the forge contracts and min/max amounts checks are implemented in forge contracts.
For any underlying tokens which are not initialized, the caller must provide the proportional share of the minimum balance for the token rather than the actual balance.
dynasetAmountOut Amountof dynaset tokens to mint order as the dynaset's dynasetTokens list.
_amountdynaset tokens in exchange for the amounts of each underlying token's balance proportional to the ratio of tokens burned to total dynaset supply. function can only be called by the forge contracts and min/max amounts checks are implemented in forge contracts.
dynasetAmountIn Exact amount of dynaset tokens to burn