Flashloans

If you HODL an unmigrated token on KaiaFun, liquidity is locked in our contracts until you dump on the curve. You've got it -- IDLE locked value discovered. Developers and research firms can leverage memecoin-made liquidity to access flash loans with competitive rates and powerful capital.

IFlashLoanProvider

interface IFlashLoanProvider {
 function flashLoan(
    address receiverAddress,
    address[] calldata assets,
    uint256[] calldata amounts,
    bytes calldata params
  ) external;
}

IFlashLoanReceiver

interface IFlashLoanReceiver {
    function executeOperation(
        address[] calldata assets,
        uint256[] calldata amounts,
        uint256[] calldata fees,
        bytes calldata params
    ) external returns (bool);
}

Last updated