VaultFactoryOwnerCore ​
Inherits:Variables, Events, Error
Governance auth, modifiers, factory admin passthrough, spell.
Functions ​
onlyGovernance ​
modifier onlyGovernance() ;onlyTeamOrGovernance ​
modifier onlyTeamOrGovernance() ;onlyDustPosAuthOrTeamOrGovernance ​
modifier onlyDustPosAuthOrTeamOrGovernance() ;constructor ​
constructor(IFluidVaultFactory_OwnerWrapper factory_, ILiquidity_OwnerWrapper liquidity_) ;_getGovernance ​
Reads governance address from Liquidity's EIP1967 proxy admin slot
function _getGovernance() internal view returns (address);setDeployer ​
Sets a deployer on VaultFactory. Governance only.
function setDeployer(address deployer_, bool allowed_) external onlyGovernance;setGlobalAuth ​
Sets a global auth on VaultFactory. Governance only.
function setGlobalAuth(address globalAuth_, bool allowed_) external onlyGovernance;setVaultAuth ​
Sets a vault auth on VaultFactory. Governance only.
function setVaultAuth(address vault_, address vaultAuth_, bool allowed_) external onlyGovernance;setVaultDeploymentLogic ​
Sets a vault deployment logic on VaultFactory. Governance only.
function setVaultDeploymentLogic(address deploymentLogic_, bool allowed_) external onlyGovernance;spell ​
Executes arbitrary delegatecall on VaultFactory. Governance only due to unrestricted power.
function spell(address target_, bytes memory data_) external onlyGovernance returns (bytes memory);transferFactoryOwnership ​
Transfers ownership of the VaultFactory to a new address. Governance only.
function transferFactoryOwnership(address newOwner_) external onlyGovernance;spellApprove ​
When delegatecalled from VaultFactory via spell, writes ERC721 approval at getApproved storage slot 6. Only executable in VaultFactory context (address(this) must be FACTORY).
function spellApprove(uint256 id_, address spender_) external;_transferToTeam ​
Approves this contract for the NFT via spell, then transfers to TEAM_MULTISIG.
function _transferToTeam(address from_, uint256 tokenId_) internal;