Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Vault's Withdrawal Function #2

Open
satyvm opened this issue Jul 5, 2024 · 1 comment
Open

[Feature] Vault's Withdrawal Function #2

satyvm opened this issue Jul 5, 2024 · 1 comment

Comments

@satyvm
Copy link
Collaborator

satyvm commented Jul 5, 2024

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
Copy link
Collaborator Author

satyvm commented Jul 5, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant