Interacting with the Protocol
Creating a Position
function modifyPosition(
uint256 tokenId,
int256 depositOrWithdraw,
int256 borrowOrRepay,
uint256 interestRate,
bytes calldata permit
) external payable returns (
uint256 tokenId,
int256 depositOrWithdraw,
int256 borrowOrRepay,
uint256 collateral,
uint256 effectiveDebt);Modifying a Position
Closing a Position
Liquidating Positions
Redeeming nUSD for Collateral
Last updated

