๐ŸคนManage entrypoints

This section contains documentation about managing Yupana protocol contract.

Entrypoints

setGlobalFactors

Updates closeFactorF, liqIncentiveF, priceFeedProxy, maxMarkets storage values.

pagesetGlobalFactors

addMarket

Allow creating a new market with binded yToken.

pageaddMarket

setTokenFactors

Updates collateralFactorF, reserveFactorF, interestRateModel, maxBorrowRate, threshold values of yToken by provided tokenId.

pagesetTokenFactors

setBorrowPause

Start/stop borrowing for some token by it's tokenId.

pagesetBorrowPause

withdrawReserve

Withdraws token admin rewards from the market. Receives tokenId related to reserves and amount of tokens to withdraw.

pagewithdrawReserve

setAdmin

A classic method for changing contract admin address.

pagesetAdmin

updateMetadata

Updates metadata of yToken related to passed tokenId.

pageupdateMetadata

Last updated