You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Shivansh070707 The requirement as we discussed in our previous call is to prevent direct withdrawals since we expect 100% of funds to be utilized in strategies. You are there for supposed to override the withdraw and redeem functions so they cannot be called directly. Add a new function that will allow users request withdrawals.
The entire logic to support this operation should be added too.
User requests to redeem x amount of their share tokens.
Off-chain services pick it up.
Off-chain pull funds from an existing strategy, sends a tx to the vault along with the latest pnl of the vault.
This will update the price of the share token before we exercise the redemption, which will finalize the withdrawal.
The text was updated successfully, but these errors were encountered:
@Shivansh070707 The requirement as we discussed in our previous call is to prevent direct withdrawals since we expect 100% of funds to be utilized in strategies. You are there for supposed to override the withdraw and redeem functions so they cannot be called directly. Add a new function that will allow users request withdrawals.
The entire logic to support this operation should be added too.
The text was updated successfully, but these errors were encountered: