setGlobalFactors
params of setGlobalParams -> storage upd
Sets global factor constants to storage.
Types
Parameter
Type
Description
closeFactorF
nat
close factor
as float number multiplied by precision
= 1000000000000000000n; (1e+18)
liqIncentiveF
nat
liquidation incentive
as float number multiplied by precision
= 1000000000000000000n; (1e+18)
interestRateModel
address
priceFeed proxy contract instance
maxMarkets
nat
maximum amount of markets allowed to enter and borrow
Usage
Errors
yToken/not-admin
-sender
is not contract admin.
Last updated