๐คนManage entrypoints
This section contains documentation about managing Yupana protocol contract.
Entrypoints
setGlobalFactors
Updates closeFactorF
, liqIncentiveF
, priceFeedProxy
, maxMarkets
storage values.
addMarket
Allow creating a new market with binded yToken
.
setTokenFactors
Updates collateralFactorF
, reserveFactorF
, interestRateModel
, maxBorrowRate
, threshold
values of yToken by provided tokenId
.
setBorrowPause
Start/stop borrowing for some token by it's tokenId
.
withdrawReserve
Withdraws token admin rewards from the market. Receives tokenId
related to reserves and amount
of tokens to withdraw.
setAdmin
A classic method for changing contract admin address.
setAdminupdateMetadata
Updates metadata of yToken related to passed tokenId
.
Last updated