Deposit and Withdraw/Redeem
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 Amount
of dynaset tokens to mint order as the dynaset's dynasetTokens list.
Burns _amount
dynaset 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.
Last updated