setTokenFactors
params of setTokenParams -> storage with [ tokens[tokenId] ] upd
Last updated
params of setTokenParams -> storage with [ tokens[tokenId] ] upd
Last updated
Updates token-related factors of the protocol by tokenId
of yToken.
The yToken
contract expects that underlying token info of tokenId
is updated by calling and in the same block before this call.
tokenId
nat
token identifier
collateralFactorF
nat
collateral factor
as float number multiplied by precision
= 1000000000000000000n; (1e+18)
reserveFactorF
nat
reserve factor
as float number multiplied by precision
= 1000000000000000000n; (1e+18)
interestRateModel
address
priceFeed proxy contract instance
maxBorrowRate
nat
threshold
nat
liquidReserveRateF
nat
yToken/not-admin
- sender
is not contract admin.
yToken/need-update
- token price and interest not updated (see warning above)