ISpokeCoreFactory
Inherits: IBridgeAdapterFactory
Functions
isCaliberMailbox
Address => Whether this is a CaliberMailbox instance deployed by this factory.
function isCaliberMailbox(address mailbox) external view returns (bool);
createCaliber
Deploys a new Caliber instance.
function createCaliber(
    ICaliber.CaliberInitParams calldata cParams,
    IMakinaGovernable.MakinaGovernableInitParams calldata mgParams,
    address accountingToken,
    address hubMachine,
    bytes32 salt
) external returns (address caliber);
Parameters
| Name | Type | Description | 
|---|---|---|
cParams | ICaliber.CaliberInitParams | The caliber initialization parameters. | 
mgParams | IMakinaGovernable.MakinaGovernableInitParams | The makina governable initialization parameters. | 
accountingToken | address | The address of the accounting token. | 
hubMachine | address | The address of the hub machine. | 
salt | bytes32 | The salt used to deploy the Caliber deterministically. | 
Returns
| Name | Type | Description | 
|---|---|---|
caliber | address | The address of the deployed Caliber instance. | 
Events
CaliberMailboxCreated
event CaliberMailboxCreated(address indexed mailbox, address indexed caliber, address indexed hubMachine);