IMachineEndpoint
Inherits: IBridgeController, IMakinaGovernable
Functions
manageTransfer
Manages the transfer of tokens between a machine and a caliber. The transfer direction depends on the caller.
function manageTransfer(address token, uint256 amount, bytes calldata data) external;
Parameters
Name | Type | Description |
---|---|---|
token | address | The address of the token. |
amount | uint256 | The amount of tokens to transfer. |
data | bytes | ABI-encoded parameters required for bridge-related transfers. Ignored for transfers between a machine and its hub caliber. |