# Interactions

#### **setMinRampTime**

Allows to set MinRampTime

```solidity
function setMinRampTime(uint256 _minRampTime) external;

```

**Parameters**

| Name           | Type      | Description                     |
| -------------- | --------- | ------------------------------- |
| `_minRampTime` | `uint256` | The new minimum ramp time value |

**Access:** only Owner

#### **stopRamp**

Allows guardians to cancel an ongoing A ramp in emergencies

```solidity
function stopRamp() external;

```

**Access:** only Owner

#### **rampA**

Allows to gradually ramp the A coefficient within allowed bounds

```solidity
function rampA(uint256 _futureA, uint256 _futureTime) external;

```

**Parameters**

| Name          | Type      | Description                                  |
| ------------- | --------- | -------------------------------------------- |
| `_futureA`    | `uint256` | The target value of A                        |
| `_futureTime` | `uint256` | UNIX timestamp when the ramp should complete |

**Access:** only Owner

### View Functions

#### **getA**

Returns the current amplification coefficient value, accounting for any ongoing ramp.

```solidity
function getA()
    public
    view
    returns (uint256);

```

**Returns**

| Name     | Type      | Description                                                                          |
| -------- | --------- | ------------------------------------------------------------------------------------ |
| `<none>` | `uint256` | The current A value (interpolated if ramp is in progress, otherwise the final value) |

**Behavior:**

* If no ramp is active: returns the stable A value
* If ramp is in progress: returns linearly interpolated value based on elapsed time
* Uses precise mathematical interpolation for smooth transitions

#### **isRamping**

Checks whether a ramp operation is currently in progress.

```solidity
function isRamping()
    external
    view
    returns (bool);

```

**Returns**

| Name     | Type   | Description                                   |
| -------- | ------ | --------------------------------------------- |
| `<none>` | `bool` | `true` if a ramp is active, `false` otherwise |
