IMorphoSetters

Git Source

Functions

createMarket

function createMarket(address underlying, uint16 reserveFactor, uint16 p2pIndexCursor) external;

increaseP2PDeltas

function increaseP2PDeltas(address underlying, uint256 amount) external;

claimToTreasury

function claimToTreasury(address[] calldata underlyings, uint256[] calldata amounts) external;

setPositionsManager

function setPositionsManager(address positionsManager) external;

setRewardsManager

function setRewardsManager(address rewardsManager) external;

setTreasuryVault

function setTreasuryVault(address treasuryVault) external;

setDefaultIterations

function setDefaultIterations(Types.Iterations memory defaultIterations) external;

setP2PIndexCursor

function setP2PIndexCursor(address underlying, uint16 p2pIndexCursor) external;

setReserveFactor

function setReserveFactor(address underlying, uint16 newReserveFactor) external;

setAssetIsCollateralOnPool

function setAssetIsCollateralOnPool(address underlying, bool isCollateral) external;

setAssetIsCollateral

function setAssetIsCollateral(address underlying, bool isCollateral) external;

setIsClaimRewardsPaused

function setIsClaimRewardsPaused(bool isPaused) external;

setIsPaused

function setIsPaused(address underlying, bool isPaused) external;

setIsPausedForAllMarkets

function setIsPausedForAllMarkets(bool isPaused) external;

setIsSupplyPaused

function setIsSupplyPaused(address underlying, bool isPaused) external;

setIsSupplyCollateralPaused

function setIsSupplyCollateralPaused(address underlying, bool isPaused) external;

setIsBorrowPaused

function setIsBorrowPaused(address underlying, bool isPaused) external;

setIsRepayPaused

function setIsRepayPaused(address underlying, bool isPaused) external;

setIsWithdrawPaused

function setIsWithdrawPaused(address underlying, bool isPaused) external;

setIsWithdrawCollateralPaused

function setIsWithdrawCollateralPaused(address underlying, bool isPaused) external;

setIsLiquidateBorrowPaused

function setIsLiquidateBorrowPaused(address underlying, bool isPaused) external;

setIsLiquidateCollateralPaused

function setIsLiquidateCollateralPaused(address underlying, bool isPaused) external;

setIsP2PDisabled

function setIsP2PDisabled(address underlying, bool isP2PDisabled) external;

setIsDeprecated

function setIsDeprecated(address underlying, bool isDeprecated) external;