titus-finance / core

MIT License
0 stars 0 forks source link

[Feature] Vault's Withdrawal Function #2

Open satyvm opened 3 weeks ago

satyvm commented 3 weeks ago

Basic functionality to withdraw assets from the vault for Nth deposit round.

  1. Instant Withdraw - During the current deposit round without any penalties.
  2. Standard Withdraw - After the execution phase.

Params for Deposits ->

  1. Withdrawal's Account Address
  2. Vault Address
  3. Amount of Deposit
  4. Type of Deposited Assets
  5. Deposit Round - to check if it is instant or standard withdrawal
satyvm commented 3 weeks ago

Currently, not focusing on the "Type of Deposited Assets" as "phantom CollateralType" is a generic parameter.