AlphaProVaultFactory

The contract that creates liquidity vaults.

createVault

function createVault(
  VaultParams calldata params,
) external returns (address vaultAddress)

Creates a vault for a given set of vault parameters.

Parameters:

Returns:

numVaults

function numVaults() external view returns (uint256)

Return Value:

setProtocolFee

function setProtocolFee(uint256 _protocolFee) external onlyGovernance

Sets the protocol fee as a % of fees received from Uniswap. Can only be called by Charm Governance.

Parameters:

setGovernance

function setGovernance(address _governance) external onlyGovernance

The first step to change the address of Charm Governance. Can only called by Charm Governance.

Parameters:

acceptGovernance

function acceptGovernance() external

The second step to to change the address of Charm Governance. Can only be called by the address assigned to _governance.

State Changes:

Getter functions for public variables

Getter functions are automatically generated for the following public variables:

Last updated