0 txs
1 call
constructor
constructor((address evc, address balanceTracker, address permit2, bool isHarvestCoolDownCheckOn) _integrationsParams)
functions
balanceForwarderEnabled
viewfunction balanceForwarderEnabled(address _account) view returns (bool)
balanceTrackerAddress
viewfunction balanceTrackerAddress() view returns (address)
EVC
viewfunction EVC() view returns (address)
claimStrategyReward
nonpayablefunction claimStrategyReward(address _strategy, address _reward, address _recipient, bool _forfeitRecentReward)
disableBalanceForwarder
nonpayablefunction disableBalanceForwarder()
disableRewardForStrategy
nonpayablefunction disableRewardForStrategy(address _strategy, address _reward, bool _forfeitRecentReward)
enableBalanceForwarder
nonpayablefunction enableBalanceForwarder()
enableRewardForStrategy
nonpayablefunction enableRewardForStrategy(address _strategy, address _reward)
optInStrategyRewards
nonpayablefunction optInStrategyRewards(address _strategy)
optOutStrategyRewards
nonpayablefunction optOutStrategyRewards(address _strategy)
events
ClaimStrategyReward
event ClaimStrategyReward(address indexed strategy, address indexed reward, address indexed recipient, bool forfeitRecentReward)
DisableBalanceForwarder
event DisableBalanceForwarder(address indexed user)
DisableRewardForStrategy
event DisableRewardForStrategy(address indexed strategy, address indexed reward, bool forfeitRecentReward)
EnableBalanceForwarder
event EnableBalanceForwarder(address indexed user)
EnableRewardForStrategy
event EnableRewardForStrategy(address indexed strategy, address indexed reward)
OptInStrategyRewards
event OptInStrategyRewards(address indexed strategy)
OptOutStrategyRewards
event OptOutStrategyRewards(address indexed strategy)
errors
ControllerDisabled
error ControllerDisabled()
EulerEarnRewardsNotSupported
error EulerEarnRewardsNotSupported()
EVC_InvalidAddress
error EVC_InvalidAddress()
NotAuthorized
error NotAuthorized()
Reentrancy
error Reentrancy()
StrategyShouldBeActive
error StrategyShouldBeActive()
ViewReentrancy
error ViewReentrancy()
creation bytecode
0x610100604052348015610010575f5ffd5b5060405161113f38038061113f83398101604081905261002f916100a5565b805181906001600160a01b03811661005a57604051638133abd160e01b815260040160405180910390fd5b6001600160a01b039081166080526020820151811660a05260408201511660c05260600151151560e05250610133565b80516001600160a01b03811681146100a0575f5ffd5b919050565b5f60808284031280156100b6575f5ffd5b50604051608081016001600160401b03811182821017156100e557634e487b7160e01b5f52604160045260245ffd5b6040526100f18361008a565b81526100ff6020840161008a565b60208201526101106040840161008a565b604082015260608301518015158114610127575f5ffd5b60608201529392505050565b60805160a05160c05160e051610fb66101895f395f50505f50505f818161072401528181610a0e01528181610a9901528181610b590152610be701525f818160f701528181610d030152610d3e0152610fb65ff3fe608060405234801561000f575f5ffd5b50600436106100b9575f3560e01c8063c312985011610072578063ece6a7fa11610058578063ece6a7fa1461016a578063ed0e518714610172578063efb913eb14610185575f5ffd5b8063c312985014610134578063e15c82ec14610147575f5ffd5b8063612bddc9116100a2578063612bddc9146100da57806364b1cdd6146100ed578063a70354a1146100f5575f5ffd5b80632419b45b146100bd57806341233a98146100d2575b5f5ffd5b6100d06100cb366004610dcb565b610198565b005b6100d061036f565b6100d06100e8366004610e02565b6103aa565b6100d06104f0565b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b0390911681526020015b60405180910390f35b6100d0610142366004610e31565b610574565b61015a610155366004610e02565b6106d2565b604051901515815260200161012b565b610117610718565b6100d0610180366004610e79565b610746565b6100d0610193366004610e02565b6108b3565b6101a0610960565b6001600160a01b0382165f9081527f557a0cdd38e5249281b5bc89e23dd8e4f8f0223d657d77792700289d81047f0460205260409020547f557a0cdd38e5249281b5bc89e23dd8e4f8f0223d657d77792700289d81047f0090600190600160e81b900460ff16600281111561021757610217610ed2565b146102355760405163c7f5bd2f60e01b815260040160405180910390fd5b826001600160a01b031663ece6a7fa6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610271573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102959190610ee6565b6040516349846a6560e11b81526001600160a01b03858116600483015284811660248301529190911690639308d4ca906044016020604051808303815f875af11580156102e4573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103089190610f01565b50816001600160a01b0316836001600160a01b03167f1d0a27159b34a192eccde576dcda8ba08e88d63d4f589efd5f4df1db5328b5ef60405160405180910390a3505f516020610f615f395f51905f5280546001600160f81b0316600160f81b1790555050565b610377610960565b6103876103826109d5565b6109e3565b5f516020610f615f395f51905f5280546001600160f81b0316600160f81b179055565b6103b2610960565b6001600160a01b0381165f9081527f557a0cdd38e5249281b5bc89e23dd8e4f8f0223d657d77792700289d81047f0460205260409020547f557a0cdd38e5249281b5bc89e23dd8e4f8f0223d657d77792700289d81047f0090600190600160e81b900460ff16600281111561042957610429610ed2565b146104475760405163c7f5bd2f60e01b815260040160405180910390fd5b816001600160a01b03166364b1cdd66040518163ffffffff1660e01b81526004015f604051808303815f87803b15801561047f575f5ffd5b505af1158015610491573d5f5f3e3d5ffd5b50506040516001600160a01b03851692507fd1d3839eb2b22d27368ae75c2d7f14e3d83d25685b44d1434c26686f2cf0c3a591505f90a2505f516020610f615f395f51905f5280546001600160f81b0316600160f81b17905550565b50565b6104f8610960565b5f61053d6105046109d5565b6001600160a01b03165f9081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace00602052604090205490565b905061055061054a6109d5565b82610b2e565b505f516020610f615f395f51905f5280546001600160f81b0316600160f81b179055565b61057c610960565b826001600160a01b031663ece6a7fa6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105b8573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105dc9190610ee6565b60405163cbf5ecb760e01b81526001600160a01b03858116600483015284811660248301528315156044830152919091169063cbf5ecb7906064016020604051808303815f875af1158015610633573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106579190610f01565b50816001600160a01b0316836001600160a01b03167f31a14f7a614b4e621d456fa3b6d68a4536d4e0d1323554b97d0f2edf5684cf0c8360405161069f911515815260200190565b60405180910390a35f516020610f615f395f51905f5280546001600160f81b0316600160f81b179055505050565b505050565b5f6106db610c7c565b506001600160a01b03165f9081527f557a0cdd38e5249281b5bc89e23dd8e4f8f0223d657d77792700289d81047f07602052604090205460ff1690565b5f610721610c7c565b507f000000000000000000000000000000000000000000000000000000000000000090565b61074e610960565b836001600160a01b031663ece6a7fa6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561078a573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107ae9190610ee6565b60405163098ddd3960e21b81526001600160a01b038681166004830152858116602483015284811660448301528315156064830152919091169063263774e4906084016020604051808303815f875af115801561080d573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108319190610f1c565b50816001600160a01b0316836001600160a01b0316856001600160a01b03167fc38cd84e65deb5c9bad63846ede7f6c8ff0b633982f4f17b892ad42e323fef7084604051610883911515815260200190565b60405180910390a45f516020610f615f395f51905f5280546001600160f81b0316600160f81b1790555b50505050565b6108bb610960565b806001600160a01b03166341233a986040518163ffffffff1660e01b81526004015f604051808303815f87803b1580156108f3575f5ffd5b505af1158015610905573d5f5f3e3d5ffd5b50506040516001600160a01b03841692507f249499ac39549c1f328a01192a3d11dd7254642778b31009aa41b0910672216a91505f90a25f516020610f615f395f51905f5280546001600160f81b0316600160f81b17905550565b5f516020610f615f395f51905f52547f557a0cdd38e5249281b5bc89e23dd8e4f8f0223d657d77792700289d81047f009060ff600160f81b90910416600119016109bd5760405163558a1e0360e11b815260040160405180910390fd5b60060180546001600160f81b0316600160f91b179055565b5f6109de610cf7565b905090565b7f557a0cdd38e5249281b5bc89e23dd8e4f8f0223d657d77792700289d81047f006001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016610a4b5760405163ea57f09160e01b815260040160405180910390fd5b6001600160a01b038281165f818152600784016020526040808220805460ff1981169091559051636fc4fdc160e01b8152600481019390935260248301829052604483019190915260ff16917f00000000000000000000000000000000000000000000000000000000000000001690636fc4fdc1906064015f604051808303815f87803b158015610ada575f5ffd5b505af1158015610aec573d5f5f3e3d5ffd5b5050505080156106cd576040516001600160a01b038416907f1d70b8d32feabda141e3388180ae3eb7917f99625957ba61a1b67b36e347bffd905f90a2505050565b7f557a0cdd38e5249281b5bc89e23dd8e4f8f0223d657d77792700289d81047f006001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016610b965760405163ea57f09160e01b815260040160405180910390fd5b6001600160a01b038381165f8181526007840160205260408082208054600160ff198216179091559051636fc4fdc160e01b8152600481019390935260248301869052604483019190915260ff16917f00000000000000000000000000000000000000000000000000000000000000001690636fc4fdc1906064015f604051808303815f87803b158015610c28575f5ffd5b505af1158015610c3a573d5f5f3e3d5ffd5b50505050806108ad576040516001600160a01b038516907f61b0c1321b6052aab3860df0992d2cdeac5fcfc382c5beed91cf3022fcf07b53905f90a250505050565b5f516020610f615f395f51905f52547f557a0cdd38e5249281b5bc89e23dd8e4f8f0223d657d77792700289d81047f009060ff600160f81b90910416600119016104ed5760088101546001600160a01b0316331480610cda57503330145b6104ed57604051630622e97b60e51b815260040160405180910390fd5b5f336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168103610db257604051630c281d0f60e11b81525f60048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906318503a1e906024016040805180830381865afa158015610d8a573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dae9190610f33565b5090505b919050565b6001600160a01b03811681146104ed575f5ffd5b5f5f60408385031215610ddc575f5ffd5b8235610de781610db7565b91506020830135610df781610db7565b809150509250929050565b5f60208284031215610e12575f5ffd5b8135610e1d81610db7565b9392505050565b80151581146104ed575f5ffd5b5f5f5f60608486031215610e43575f5ffd5b8335610e4e81610db7565b92506020840135610e5e81610db7565b91506040840135610e6e81610e24565b809150509250925092565b5f5f5f5f60808587031215610e8c575f5ffd5b8435610e9781610db7565b93506020850135610ea781610db7565b92506040850135610eb781610db7565b91506060850135610ec781610e24565b939692955090935050565b634e487b7160e01b5f52602160045260245ffd5b5f60208284031215610ef6575f5ffd5b8151610e1d81610db7565b5f60208284031215610f11575f5ffd5b8151610e1d81610e24565b5f60208284031215610f2c575f5ffd5b5051919050565b5f5f60408385031215610f44575f5ffd5b8251610f4f81610db7565b6020840151909250610df781610e2456fe557a0cdd38e5249281b5bc89e23dd8e4f8f0223d657d77792700289d81047f06a264697066735822122034c9eccecb12a0c5d10fa3d2ef29afb23f3f6fe764fe8d79c5b9c00c11cb935964736f6c634300081b00330000000000000000000000000c9a3dd6b8f28529d72d7f9ce918d493519ee3830000000000000000000000000d52d06ceb8dcdeeb40cfd9f17489b350dd7f8a3000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba30000000000000000000000000000000000000000000000000000000000000001