🔗
SoftLink
WebsiteGithubMediumTwitter
  • Welcome
  • GETTING STARTED
    • White Paper
    • Overview
    • Quick Links
  • PROTOCOL
    • Reserves
    • Lending
    • Flash Loans
    • Gas-Free Flash Loans
    • Cross Chain
    • Fee Distribution
    • CFR Distribution
    • Staking
    • Locking
    • Governance
    • Looking Forward
  • DEVELOPERS
    • Addresses
    • Contracts
      • CoreReserveFactory
      • CoreReserve
      • LendingYieldManagers (LYM)
        • AaveLYM
        • CompoundLYM
        • EulerLYM
        • IronBankLYM
      • CoreFlashLoanParams
      • CoreFlashLoanReceiver
      • CoreRewardsDistributor
      • CoreStakingManager
      • CoreLockManager
      • SOFT
    • Interfaces
      • IFlashLoanReceiver
      • ILendingYieldManager
  • SUPPORT
    • Contact Us
Powered by GitBook
On this page
  • totalNativeDeposits
  • totalERC20Deposits
  • nativeDepositAmountFor
  • erc20DepositAmountFor
  • nativeDepositEntryAt
  • erc20DepositEntryAt
  • deposit
  • transferReserveDepositToLendingPool
  • transferFromLendingPoolToReserveDeposit
  • withdraw
  • flashLoanETH
  • flashLoanERC20
  1. DEVELOPERS
  2. Contracts

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
PreviousCoreReserveFactoryNextLendingYieldManagers (LYM)

Last updated 2 years ago