CoreReserveFactory

CoreReserveFactory V0

createReserve

The createReserve function

function createReserve(CreateReserveParams calldata _params) external payable nonReentrant whenNotPaused returns (address)
struct CreateReserveParams {
    CoreReserve.ReserveType reserveType;
    bool isNativeTokenReserve;
    address reserveToken;
    uint256 reserveTokenInitialAmount;
}

Last updated