Skip to content
LogoLogo

IMachinePeriphery

Git Source

Functions

initialize

Initializer of the contract.

function initialize(bytes calldata _data) external;

Parameters

NameTypeDescription
_databytesThe initialization data, if any.

machine

Address of the associated machine.

function machine() external view returns (address);

Returns

NameTypeDescription
<none>address

setMachine

Sets the machine address.

function setMachine(address _machine) external;

Parameters

NameTypeDescription
_machineaddress

Events

MachineSet

event MachineSet(address indexed machine);

Parameters

NameTypeDescription
machineaddress