Skip to main content

VaultV2AllowlistGateFactory

Git Source - Generated with forge doc

Inherits: IVaultV2AllowlistGateFactory

Title: VaultV2AllowlistGateFactory

CREATE2 factory deploying VaultV2AllowlistGate instances.

State Variables​

isDeployedGate​

Whether gate was deployed by this factory.

mapping(address => bool) public isDeployedGate;

Parameters

NameTypeDescription
<none>address

Returns

NameTypeDescription
<none>bool

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.