param of setCoeffParams -> storage with params
Last updated 3 years ago
varF params that multiplied by precision passed in
varF
precision
type setCoeffParams is [@layout:comb] record [ kinkF : nat; baseRateF : nat; multiplierF : nat; jumpMultiplierF : nat; ]
Sets params values to corresponding values at storage.
params
const interest = await tezos.contract.at(interestModelAddress); const operation = await interest.methods.setCoefficients( 800000000000000000, 634195839, 7134703196, 31709791983 ).send(); await operation.confirmation();
interest = ContractInterface.from_michelson(code) # or client.contract(contract_address)... call = interest.setCoefficients( kinkF = 800000000000000000, baseRateF = 634195839, multiplierF = 7134703196, jumpMultiplierF = 31709791983 ) opg = call.inject()
rateParams