CoreReserve

CoreReserve V0

totalNativeDeposits

The totalNativeDeposits function

function totalNativeDeposits() external view returns (uint256) 

totalERC20Deposits

The totalERC20Deposits function

function totalERC20Deposits() external view returns (uint256) 

nativeDepositAmountFor

The nativeDepositAmountFor function

function nativeDepositAmountFor(address _depositor) external view returns (uint256)

erc20DepositAmountFor

The erc20DepositAmountFor function

function erc20DepositAmountFor(address _depositor) external view returns (uint256)

nativeDepositEntryAt

The nativeDepositEntryAt function

function nativeDepositEntryAt(uint256 _index) external view returns (address, uint256)

erc20DepositEntryAt

The erc20DepositEntryAt function

function erc20DepositEntryAt(uint256 _index) external view returns (address, uint256)

deposit

The deposit function

function deposit(uint256 _depositAmount, address _creationDepositor) external payable nonReentrant whenNotPaused

transferReserveDepositToLendingPool

The transferReserveDepositToLendingPool function

function transferReserveDepositToLendingPool(bool _isNativeTokenReserve, uint256 _proportionOfExistingDeposit, address _lendingYieldManagerAddress) external

transferFromLendingPoolToReserveDeposit

The transferFromLendingPoolToReserveDeposit function

function transferFromLendingPoolToReserveDeposit(bool _isNativeTokenReserve, uint256 _withdrawAmount, address _lendingYieldManagerAddress, address _lendingInterestBearingTokenAddress) external

withdraw

The totalNativeDeposits function

function withdraw(uint256 _withdrawAmount) external nonReentrant whenNotPaused

flashLoanETH

The flashLoanETH function

struct FlashLoanParams {
    address receiver;
    uint256 amount;
    bytes params;
}

function flashLoanETH(FlashLoanParams calldata _params) external nonReentrant whenNotPaused

flashLoanERC20

The flashLoanERC20 function

function flashLoanERC20(FlashLoanParams calldata _params) external nonReentrant whenNotPaused

Last updated