# setCoefficients

{% hint style="info" %}
`varF` params that multiplied by `precision` passed in [`rateParams`](https://yupana-finance.gitbook.io/yupana-document-portal/developer-space/interestrate-contract/..#common-usage)
{% endhint %}

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

Sets `params` values to corresponding values at storage.

### Usage

{% tabs %}
{% tab title="🌮 Taquito" %}

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

{% endtab %}

{% tab title="🐍   Pytezos" %}

```python
interest = ContractInterface.from_michelson(code) # or client.contract(contract_address)...
call = interest.setCoefficients(
      kinkF = 800000000000000000,
      baseRateF = 634195839,
      multiplierF = 7134703196,
      jumpMultiplierF = 31709791983
)
opg = call.inject()
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://yupana-finance.gitbook.io/yupana-document-portal/developer-space/interestrate-contract/admin-methods/setcoefficients.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
