Interface
Deposits
startDeposit
function startDeposit(uint256 _usdcAmount) external
Allows a user to initiate the deposit. Currently supports USDC only.
Parameters
Name | Type | Description |
---|---|---|
_usdcAmount | uint256 | the amount to be deposited |
completeDeposit
function completeDeposit(bytes32 _depositRequestId) external
Completes the deposit process initiated via startDeposit().
Parameters
Name | Type | Description |
---|---|---|
_depositRequestId | bytes32 | the ID of the deposit request |
Withdrawals
startWithdrawal
function startWithdrawal(uint256 _lpAmount) external
Allows liquidity providers to initiate the withdrawal which can then be completed via completeWithdrawal()
Parameters
Name | Type | Description |
---|---|---|
_lpAmount | uint256 | the amount of LP tokens to be burnt |
completeWithdrawal
function completeWithdrawal() external
Completes the withdrawal process initiated via startWithdrawal().
retryPerformWithdrawalRequest
function retryPerformWithdrawalRequest() external
Allows the LP to retry the withdrawal request if the Chainlink Functions failed to execute it