๐ŸคนManage entrypoints

This section contains documentation about managing Yupana protocol contract.

Entrypoints

setGlobalFactors

Updates closeFactorF, liqIncentiveF, priceFeedProxy, maxMarkets storage values.

setGlobalFactors

addMarket

Allow creating a new market with binded yToken.

addMarket

setTokenFactors

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

setTokenFactors

setBorrowPause

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

setBorrowPause

withdrawReserve

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

withdrawReserve

setAdmin

A classic method for changing contract admin address.

setAdmin

updateMetadata

Updates metadata of yToken related to passed tokenId.

updateMetadata

Last updated