# Recurrency (Optional)

## Typed Struct (EIP712)

{% code overflow="wrap" %}

```solidity
Recurrency(uint16 max_repeats,uint32 chill_time,bool accumetable)
```

{% endcode %}

## Params

| Name          | Type   |
| ------------- | ------ |
| `max_repeats` | uint16 |
| `chill_time`  | uint32 |
| `accumetable` | bool   |

### max\_repeats

Number of time the same FCT can be executed

{% hint style="success" %}
Can be used whenever multiple spending is required, e.g. for recurring payments, subscriptions, etc.
{% endhint %}

### chill\_time

The minimum time between repetitive executions

{% hint style="info" %}
In seconds
{% endhint %}

### accumetable

When set to "false", the chill\_time is calculated from the last time the FCT was executed.\
When set to "true", chill time is calculated from the end timestamp of previous chill time, regardless if the FCT was executed or not.

{% hint style="info" %}
For example: The accumetable is set to "true" and chill\_time is set to "7 days".\
Now if three weeks has passed from last executing of the FCT, it is possible to execute the FCT three times immediately. &#x20;
{% endhint %}

{% hint style="success" %}
accumatable is useful for subscription when the payments interval are fixed and not influenced by the timing of the actual payments.
{% endhint %}
