Skip to content

Interface

Deposits

startDeposit

function startDeposit(uint256 _usdcAmount) external

Allows a user to initiate the deposit. Currently supports USDC only.

Parameters

NameTypeDescription
_usdcAmountuint256the amount to be deposited

completeDeposit

function completeDeposit(bytes32 _depositRequestId) external

Completes the deposit process initiated via startDeposit().

Parameters

NameTypeDescription
_depositRequestIdbytes32the 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

NameTypeDescription
_lpAmountuint256the 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