3 txs
4 calls
constructor
constructor(address _eulerEarnImpl)
functions
eulerEarnImpl
viewfunction eulerEarnImpl() view returns (address)
eulerEarnVaults
viewfunction eulerEarnVaults(uint256) view returns (address)
getEulerEarnVaultsListLength
viewfunction getEulerEarnVaultsListLength() view returns (uint256)
getEulerEarnVaultsListSlice
viewfunction getEulerEarnVaultsListSlice(uint256 _start, uint256 _end) view returns (address[])
isValidDeployment
viewfunction isValidDeployment(address _earnVaultAddress) view returns (bool)
deployEulerEarn
nonpayablefunction deployEulerEarn(address _asset, string _name, string _symbol, uint256 _initialCashAllocationPoints, uint24 _smearingPeriod) returns (address)
events
DeployEulerEarn
event DeployEulerEarn(address indexed _owner, address _eulerEarnVault, address indexed _asset)
errors
FailedDeployment
error FailedDeployment()
InsufficientBalance
error InsufficientBalance(uint256 balance, uint256 needed)
InvalidQuery
error InvalidQuery()
creation bytecode
0x60a0604052348015600e575f5ffd5b5060405161081c38038061081c833981016040819052602b91603b565b6001600160a01b03166080526066565b5f60208284031215604a575f5ffd5b81516001600160a01b0381168114605f575f5ffd5b9392505050565b6080516107986100845f395f818160cc015261028b01526107985ff3fe608060405234801561000f575f5ffd5b506004361061006f575f3560e01c80636ee0787a1161004d5780636ee0787a146100ee578063c20dd2f614610129578063e02cb6df1461013c575f5ffd5b80632082bd631461007357806337d1f76e1461009c57806343836790146100c7575b5f5ffd5b61008661008136600461046d565b61014c565b604051610093919061048d565b60405180910390f35b6100af6100aa3660046104d8565b61025d565b6040516001600160a01b039091168152602001610093565b6100af7f000000000000000000000000000000000000000000000000000000000000000081565b6101196100fc36600461050a565b6001600160a01b03165f9081526001602052604090205460ff1690565b6040519015158152602001610093565b6100af6101373660046105c9565b610284565b5f54604051908152602001610093565b5f546060906001830161015d578092505b8383108061016a57508083115b156101885760405163019e4cb160e41b815260040160405180910390fd5b5f6101938585610676565b67ffffffffffffffff8111156101ab576101ab61052a565b6040519080825280602002602001820160405280156101d4578160200160208202803683370190505b5090505f5b6101e38686610676565b811015610252575f6101f58288610689565b815481106102055761020561069c565b905f5260205f20015f9054906101000a90046001600160a01b03168282815181106102325761023261069c565b6001600160a01b03909216602092830291909101909101526001016101d9565b509150505b92915050565b5f818154811061026b575f80fd5b5f918252602090912001546001600160a01b0316905081565b5f5f6102af7f00000000000000000000000000000000000000000000000000000000000000006103fd565b6040805160c0810182523381526001600160a01b038a811660208301528183018a9052606082018990526080820188905262ffffff871660a08301529151632814541960e21b8152929350919083169063a0515064906103139084906004016106de565b5f604051808303815f87803b15801561032a575f5ffd5b505af115801561033c573d5f5f3e3d5ffd5b50505f8054600180820183557f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e56390910180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b038881169182179092558084526020838152604094859020805460ff191690941790935592519283528c1693503392507f406210430d4452916b4b60141a3a4db26583ee5fb7c04d0e9c494b8f1bd10bce910160405180910390a3509695505050505050565b5f610257828280763d602d80600a3d3981f3363d3d373d3d3d363d730000008360601b60e81c175f526e5af43d82803e903d91602b57fd5bf38360781b176020526037600983f090506001600160a01b0381166102575760405163b06ebf3d60e01b815260040160405180910390fd5b5f5f6040838503121561047e575f5ffd5b50508035926020909101359150565b602080825282518282018190525f918401906040840190835b818110156104cd5783516001600160a01b03168352602093840193909201916001016104a6565b509095945050505050565b5f602082840312156104e8575f5ffd5b5035919050565b80356001600160a01b0381168114610505575f5ffd5b919050565b5f6020828403121561051a575f5ffd5b610523826104ef565b9392505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f83011261054d575f5ffd5b813567ffffffffffffffff8111156105675761056761052a565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156105965761059661052a565b6040528181528382016020018510156105ad575f5ffd5b816020850160208301375f918101602001919091529392505050565b5f5f5f5f5f60a086880312156105dd575f5ffd5b6105e6866104ef565b9450602086013567ffffffffffffffff811115610601575f5ffd5b61060d8882890161053e565b945050604086013567ffffffffffffffff811115610629575f5ffd5b6106358882890161053e565b93505060608601359150608086013562ffffff81168114610654575f5ffd5b809150509295509295909350565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561025757610257610662565b8082018082111561025757610257610662565b634e487b7160e01b5f52603260045260245ffd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160a01b0382511660208201526001600160a01b0360208301511660408201525f604083015160c0606084015261071f60e08401826106b0565b90506060840151601f1984830301608085015261073c82826106b0565b915050608084015160a084015262ffffff60a08501511660c0840152809150509291505056fea2646970667358221220c4390cf6cbc65d6f10f907476e77696caed51bb940f0ff94d604c5c4dc45a95d64736f6c634300081b0033000000000000000000000000ba42141648dfd74388f3541c1d80fa9387043da9