# IFundingManager\_v1.sol

[Git Source](https://github.com/InverterNetwork/inverter-contracts/blob/649b450f02fc8b735c128ff0821467e71966c666/src/modules/fundingManager/IFundingManager_v1.sol)

### Functions

#### token

Returns the token.

```solidity
function token() external view returns (IERC20);
```

**Returns**

| Name     | Type     | Description |
| -------- | -------- | ----------- |
| `<none>` | `IERC20` | The token.  |

#### transferOrchestratorToken

Transfer a specified amount of Tokens to a designated receiver address.

*This function MUST be restricted to be called only by the {Orchestrator\_v1}.*

*This function CAN update internal user balances to account for the new token balance.*

```solidity
function transferOrchestratorToken(address to, uint amount) external;
```

**Parameters**

| Name     | Type      | Description                               |
| -------- | --------- | ----------------------------------------- |
| `to`     | `address` | The address that will receive the tokens. |
| `amount` | `uint256` | The amount of tokens to be transfered.    |

### Events

#### TransferOrchestratorToken

Event emitted when a transferal of orchestrator tokens takes place.

```solidity
event TransferOrchestratorToken(address indexed _to, uint _amount);
```

**Parameters**

| Name      | Type      | Description                                          |
| --------- | --------- | ---------------------------------------------------- |
| `_to`     | `address` | The address that will receive the underlying tokens. |
| `_amount` | `uint256` | The amount of underlying tokens transfered.          |

#### OrchestratorTokenSet

Event emitted when collateral token has been set.

```solidity
event OrchestratorTokenSet(address indexed token, uint8 decimals);
```

**Parameters**

| Name       | Type      | Description                                                              |
| ---------- | --------- | ------------------------------------------------------------------------ |
| `token`    | `address` | The token that serves as collateral token making up the curve's reserve. |
| `decimals` | `uint8`   |                                                                          |
