Skip to main content

IVaultV2AllowlistGateFactory

Git Source - Generated with forge doc

Title: IVaultV2AllowlistGateFactory

Interface of the CREATE2 factory deploying VaultV2AllowlistGate instances.

Functions​

deployVaultV2AllowlistGate​

Deploys a new VaultV2AllowlistGate via CREATE2.

function deployVaultV2AllowlistGate(address owner, bytes32 salt) external returns (address gate);

Parameters

NameTypeDescription
owneraddressThe initial owner of the deployed gate.
saltbytes32The CREATE2 salt.

Returns

NameTypeDescription
gateaddressThe address of the deployed gate.

isDeployedGate​

Whether gate was deployed by this factory.

function isDeployedGate(address gate) external view returns (bool);

Events​

VaultV2AllowlistGateDeployed​

event VaultV2AllowlistGateDeployed(address indexed gate, address indexed owner, bytes32 salt);