IFundingManager_v1.sol

Git Source

Functions

token

Returns the token.

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.

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.

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.

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

Last updated