Skip to main content

PairLockedLoans

Git Source

Inherits: AmmalgamPair

Functions​

_initialize​

Reverts during proxy construction so createPair cannot deploy new pairs using this restricted implementation.

function _initialize() internal pure override;

borrow​

function borrow(address, uint256, uint256, bytes calldata) public pure override;

borrowLiquidity​

function borrowLiquidity(address, uint256, bytes calldata) external pure override returns (uint256, uint256);

withdraw​

function withdraw(
address
) external pure override;

burn​

function burn(
address
) external pure override returns (uint256, uint256);

Errors​

BORROW_LOCKED​

error BORROW_LOCKED();

WITHDRAW_LOCKED​

error WITHDRAW_LOCKED();

BURN_LOCKED​

error BURN_LOCKED();

INIT_LOCKED​

error INIT_LOCKED();