IMidnightAllowlistGateFactory
Git Source - Generated with forge doc
Title: IMidnightAllowlistGateFactory
Interface of the CREATE2 factory deploying MidnightAllowlistGate instances.
Functions
deployMidnightAllowlistGate
Deploys a new MidnightAllowlistGate via CREATE2.
function deployMidnightAllowlistGate(address owner, bytes32 salt) external returns (address gate);
Parameters
| Name | Type | Description |
|---|---|---|
owner | address | The initial owner of the deployed gate. |
salt | bytes32 | The CREATE2 salt. |
Returns
| Name | Type | Description |
|---|---|---|
gate | address | The address of the deployed gate. |
isDeployedGate
Whether gate was deployed by this factory.
function isDeployedGate(address gate) external view returns (bool);
Events
MidnightAllowlistGateDeployed
event MidnightAllowlistGateDeployed(address indexed gate, address indexed owner, bytes32 salt);