Skip to main content

ERC4626StrategyFactory

Git Source

Inherits: BaseERC4626StrategyFactory

Title: ERC4626StrategyFactory

Author: Golem Foundation

Factory for deploying ERC4626 yield donating strategies

Uses CREATE2 for deterministic deployments; records deployments via BaseStrategyFactory ERC4626 INTEGRATION: This factory deploys strategies that can deposit into any ERC4626-compliant vault, including SparkDAO vaults, Yearn v3 vaults, or any other standard ERC4626 implementation. The underlying vault must have manipulation-resistant accounting.

Note: security-contact: [email protected]

Functions

_getCreationCode

Returns the creation code for the strategy contract

function _getCreationCode() internal pure override returns (bytes memory);

Returns

NameTypeDescription
<none>bytesThe bytecode of the strategy contract (without constructor args)