# 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 |


---

# 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://docs.tapio.finance/smart-contracts/rampacontroller/interactions.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.
