External Entry Points
There are many actors that can interact with Maple's contracts, so this page serves the purpose to outline all possible entry points for each actor.
Enter and Exit Functions
Deposit
DepositWithPermit
Mint
MintWithPermit
Redeem
Withdraw
RequestRedeem
RequestWithdraw
Remove Shares
ERC20 functions
approve
transfer
transferFrom
skim
scheduleCall
- Although publicly callable, only calls scheduled by Governor and PoolDelegates can have state changing capabilitiies.
liquidatePortion
- Used by keepers to perform liquidations.
Borrower Permissioned Functions
AcceptBorrower
CloseLoan
DrawdownFunds
MakePayments
PostCollateral
ProposeNewTerms
RemoveCollateral
ReturnFunds
SetPendingBorrower
Governor Permissioned Functions
activatePoolManager
setMapleTreasury
setMigrationAdmin
setPriceOracle
setSecurityAdmin
setDefaultTimelockParameters
setMigrationAdmin
setValidBorrower
setValidFactory
setValidPoolAsset
setValidPoolDelegate
setValidPoolDeployer
setManualOverridePrice
setMinCoverAmount
setMaxCoverLiquidationPercent
setPlatformManagementFeeRate
setPlatformOriginationFeeRate
setPlatformServiceFeeRate
setTimelockWindow
setTimelockWindows
Security Admin Permissioned Functions
setProtocolPause
Pool Delegate Permissioned Functions
transferOwnedPoolManager
Pool Delegate only functionality
setPendingPoolDelegate
acceptPendingPoolDelegate
addLoanManager
removeLoanManager
setAllowedLender
setDelegateManagementFeeRate
setLiquidityCap
setOpenToPublic
setWithdrawalManager
acceptNewTerms
fund
withdrawCover
Pool Delegate and Governor Permissioned Functions
setAllowedSlippage
setMinRatio
impairLoan
removeLoanImpairment
finishCollateralLiquidation
triggerDefault
Pool Delegate and Governor Permissioned Functions
updateAccounting
Pool Delegate only functionality
setExitConfig
Last modified 2mo ago