setCoefficients

param of setCoeffParams -> storage with params

varF params that multiplied by precision passed in rateParams

type setCoeffParams     is [@layout:comb] record [
  kinkF                 : nat;
  baseRateF             : nat;
  multiplierF           : nat;
  jumpMultiplierF       : nat;
]

Sets params values to corresponding values at storage.

Usage

const interest = await tezos.contract.at(interestModelAddress);
const operation = await interest.methods.setCoefficients(
      800000000000000000,
      634195839,
      7134703196,
      31709791983
    ).send();
await operation.confirmation();

Last updated