Skip to main content

IMachineEndpoint

Git Source

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

NameTypeDescription
tokenaddressThe address of the token.
amountuint256The amount of tokens to transfer.
databytesABI-encoded parameters required for bridge-related transfers. Ignored for transfers between a machine and its hub caliber.