Overview
ETH Balance
0 ETH
ETH Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 1 internal transaction
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
7858002 | 388 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Contract Name:
BoosterOwnerLite
Compiler Version
v0.6.12+commit.27d51765
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; interface IOwner { //booster lite function setFactories(address _rfactory, address _sfactory, address _tfactory) external; function shutdownSystem() external; function isShutdown() external view returns(bool); function poolLength() external view returns(uint256); function poolInfo(uint256) external view returns(address,address,address,address,address,bool); function setFeeManager(address _feeM) external; function setOwner(address _owner) external; //rescue function setDistribution(address _distributor, address _rewardDeposit, address _treasury) external; function setExtraReward(address _token, uint256 _option) external; //stash function setExtraReward(address _token) external; function setRewardHook(address _hook) external; //stash factory function setImplementation(address _v1, address _v2, address _v3) external; } // prettier-ignore interface IBoosterOwnerLite { function transferOwnership(address _owner) external; function acceptOwnership() external; function setFactories(address _rfactory, address _sfactory, address _tfactory) external; function setFeeManager(address _feeM) external; function shutdownSystem() external; function queueForceShutdown() external; function forceShutdownSystem() external; function execute( address _to, uint256 _value, bytes calldata _data) external returns (bool, bytes memory); function setRescueTokenDistribution(address _distributor, address _rewardDeposit, address _treasury) external; function setRescueTokenReward(address _token, uint256 _option) external; function setStashExtraReward(address _stash, address _token) external; function setStashRewardHook(address _stash, address _hook) external; function setStashFactoryImplementation(address _v1, address _v2, address _v3) external; } /** * @title BoosterOwnerLite * @author ConvexFinance * @notice Immutable booster owner that requires all pools to be shutdown before shutting down the entire convex system * @dev A timelock is required if forcing a shutdown if there is a bugged pool that can not be withdrawn from. * Allow arbitrary calls to other contracts, but limit how calls are made to Booster. * A lite version of the original Booster for use on sidechains */ contract BoosterOwnerLite is IBoosterOwnerLite{ address public immutable poolManager; address public immutable booster; address public immutable stashFactory; address public immutable rescueStash; address public owner; address public pendingowner; bool public isSealed; uint256 public constant FORCE_DELAY = 30 days; bool public isForceTimerStarted; uint256 public forceTimestamp; event ShutdownStarted(uint256 executableTimestamp); event ShutdownExecuted(); event TransferOwnership(address pendingOwner); event AcceptedOwnership(address newOwner); event OwnershipSealed(); /** * @param _owner Owner (e.g. CVX multisig) * @param _poolManager PoolManager (e.g. PoolManagerSecondaryProxy or 0xD20904e5916113D11414F083229e9C8C6F91D1e1) * @param _booster The booster (e.g. 0xF403C135812408BFbE8713b5A23a04b3D48AAE31) * @param _stashFactory Creates stashes (e.g. 0x884da067B66677e72530df91eabb6e3CE69c2bE4) * @param _rescueStash Rescues tokens for subsequent vlCVX redistribution (e.g. 0x01140351069af98416cC08b16424b9E765436531) */ constructor( address _owner, address _poolManager, address _booster, address _stashFactory, address _rescueStash, bool _seal ) public { owner = _owner; poolManager = _poolManager; booster = _booster; stashFactory = _stashFactory; rescueStash = _rescueStash; isSealed = _seal; } modifier onlyOwner() { require(owner == msg.sender, "!owner"); _; } function transferOwnership(address _owner) external override onlyOwner{ pendingowner = _owner; emit TransferOwnership(_owner); } function acceptOwnership() external override { require(pendingowner == msg.sender, "!pendingowner"); owner = pendingowner; pendingowner = address(0); emit AcceptedOwnership(owner); } function sealOwnership() external onlyOwner{ isSealed = true; emit OwnershipSealed(); } function setBoosterOwner() external onlyOwner{ //allow reverting ownership until sealed require(!isSealed, "ownership sealed"); //transfer booster ownership to this owner IOwner(booster).setOwner(owner); } function setFactories(address _rfactory, address _sfactory, address _tfactory) external override onlyOwner{ IOwner(booster).setFactories(_rfactory, _sfactory, _tfactory); } function setFeeManager(address _feeM) external override onlyOwner{ IOwner(booster).setFeeManager(_feeM); } function shutdownSystem() external override onlyOwner{ require(IOwner(poolManager).isShutdown(),"!poolMgrShutdown"); //check that all pools are already shutdown uint256 poolCount = IOwner(booster).poolLength(); for(uint256 i = 0; i < poolCount; i++){ (,,,,,bool isshutdown) = IOwner(booster).poolInfo(i); require(isshutdown, "!poolShutdown"); } //complete the shutdown process IOwner(booster).shutdownSystem(); emit ShutdownExecuted(); } //queue a forced shutdown that does not require pools to already be shutdown //this should only be needed if a pool is broken and withdrawAll() does not //correctly return enough lp tokens function queueForceShutdown() external override onlyOwner{ require(IOwner(poolManager).isShutdown(),"!poolMgrShutdown"); require(!isForceTimerStarted, "already started"); isForceTimerStarted = true; forceTimestamp = block.timestamp + FORCE_DELAY; emit ShutdownStarted(forceTimestamp); } //force shutdown the system after timer has expired function forceShutdownSystem() external override onlyOwner{ require(isForceTimerStarted, "!timer start"); require(block.timestamp > forceTimestamp, "!timer finish"); IOwner(booster).shutdownSystem(); emit ShutdownExecuted(); } //allow arbitrary calls to any contract other than the booster, as some contracts //may use ownership as booster.owner() instead of local variable function execute( address _to, uint256 _value, bytes calldata _data ) external override onlyOwner returns (bool, bytes memory) { require(_to != booster, "!invalid target"); (bool success, bytes memory result) = _to.call{value:_value}(_data); return (success, result); } // --- Helper functions for other systems, could also just use execute() --- //TokenRescue setDistribution function setRescueTokenDistribution(address _distributor, address _rewardDeposit, address _treasury) external override onlyOwner{ IOwner(rescueStash).setDistribution(_distributor, _rewardDeposit, _treasury); } //TokenRescue setExtraReward function setRescueTokenReward(address _token, uint256 _option) external override onlyOwner{ IOwner(rescueStash).setExtraReward(_token, _option); } //stash v3 - set extra reward function setStashExtraReward(address _stash, address _token) external override onlyOwner{ IOwner(_stash).setExtraReward(_token); } //stash v3 - set reward hook function setStashRewardHook(address _stash, address _hook) external override onlyOwner{ IOwner(_stash).setRewardHook(_hook); } //stash factory - set implementation function setStashFactoryImplementation(address _v1, address _v2, address _v3) external override onlyOwner{ IOwner(stashFactory).setImplementation(_v1, _v2, _v3); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_poolManager","type":"address"},{"internalType":"address","name":"_booster","type":"address"},{"internalType":"address","name":"_stashFactory","type":"address"},{"internalType":"address","name":"_rescueStash","type":"address"},{"internalType":"bool","name":"_seal","type":"bool"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newOwner","type":"address"}],"name":"AcceptedOwnership","type":"event"},{"anonymous":false,"inputs":[],"name":"OwnershipSealed","type":"event"},{"anonymous":false,"inputs":[],"name":"ShutdownExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"executableTimestamp","type":"uint256"}],"name":"ShutdownStarted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"pendingOwner","type":"address"}],"name":"TransferOwnership","type":"event"},{"inputs":[],"name":"FORCE_DELAY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"booster","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"execute","outputs":[{"internalType":"bool","name":"","type":"bool"},{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forceShutdownSystem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forceTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isForceTimerStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingowner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolManager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"queueForceShutdown","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rescueStash","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sealOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setBoosterOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_rfactory","type":"address"},{"internalType":"address","name":"_sfactory","type":"address"},{"internalType":"address","name":"_tfactory","type":"address"}],"name":"setFactories","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeM","type":"address"}],"name":"setFeeManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_distributor","type":"address"},{"internalType":"address","name":"_rewardDeposit","type":"address"},{"internalType":"address","name":"_treasury","type":"address"}],"name":"setRescueTokenDistribution","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_option","type":"uint256"}],"name":"setRescueTokenReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_stash","type":"address"},{"internalType":"address","name":"_token","type":"address"}],"name":"setStashExtraReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_v1","type":"address"},{"internalType":"address","name":"_v2","type":"address"},{"internalType":"address","name":"_v3","type":"address"}],"name":"setStashFactoryImplementation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_stash","type":"address"},{"internalType":"address","name":"_hook","type":"address"}],"name":"setStashRewardHook","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"shutdownSystem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stashFactory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
61010060405234801561001157600080fd5b50604051611703380380611703833981810160405260c081101561003457600080fd5b5080516020820151604083015160608085015160808087015160a097880151600080546001600160a01b0319166001600160a01b03998a1617815587861b6001600160601b031990811690945286861b841690995283851b831660c0529381901b90911660e0526001805460ff60a01b1916600160a01b941515949094029390931790925592841694918416939283169216906115d2906101319039806108c4528061137852806114845250806104c05280610b305250806106b05280610744528061082552806109305280610a785280610d6d5280611093528061118352806112825250806105e55280610e55528061141852506115d26000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c80638da5cb5b116100de578063cb246a9311610097578063dc4c90d311610071578063dc4c90d31461045c578063f2e2e43a14610464578063f2fde38b14610490578063fbdc9a29146104b657610173565b8063cb246a9314610414578063cd170ae41461041c578063da4a898e1461045457610173565b80638da5cb5b146102e657806395fd55e6146102ee578063a1827da8146102f6578063b61d27f6146102fe578063c6def07614610404578063c7633d951461040c57610173565b80634bff48cb116101305780634bff48cb1461021c578063631f9852146102245780636e1fdc2b146102405780636e5162b01461027857806379ba5097146102a65780637bd3b995146102ae57610173565b8063068eb19e146101785780630dd182d31461019c5780632f150c17146101cc578063354af919146101e657806345c71d7c146101ee578063472d35b9146101f6575b600080fd5b6101806104be565b604080516001600160a01b039092168252519081900360200190f35b6101ca600480360360408110156101b257600080fd5b506001600160a01b03813581169160200135166104e2565b005b6101d4610595565b60408051918252519081900360200190f35b6101ca61059b565b6101806108c2565b6101ca6004803603602081101561020c57600080fd5b50356001600160a01b03166108e6565b6101ca6109b8565b61022c610ad6565b604080519115158252519081900360200190f35b6101ca6004803603606081101561025657600080fd5b506001600160a01b038135811691602081013582169160409091013516610ae6565b6101ca6004803603604081101561028e57600080fd5b506001600160a01b0381358116916020013516610bdc565b6101ca610c73565b6101ca600480360360608110156102c457600080fd5b506001600160a01b038135811691602081013582169160409091013516610d23565b610180610dfc565b6101ca610e0b565b6101ca610fbf565b6103836004803603606081101561031457600080fd5b6001600160a01b038235169160208101359181019060608101604082013564010000000081111561034457600080fd5b82018360208201111561035657600080fd5b8035906020019184600183028401116401000000008311171561037857600080fd5b509092509050611045565b60405180831515815260200180602001828103825283818151815260200191508051906020019080838360005b838110156103c85781810151838201526020016103b0565b50505050905090810190601f1680156103f55780820380516001836020036101000a031916815260200191505b50935050505060405180910390f35b610180611181565b6101ca6111a5565b61022c61131e565b6101ca6004803603606081101561043257600080fd5b506001600160a01b03813581169160208101358216916040909101351661132e565b610180611407565b610180611416565b6101ca6004803603604081101561047a57600080fd5b506001600160a01b03813516906020013561143a565b6101ca600480360360208110156104a657600080fd5b50356001600160a01b03166114f9565b6101d4611595565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000546001600160a01b0316331461052a576040805162461bcd60e51b815260206004820152600660248201526510b7bbb732b960d11b604482015290519081900360640190fd5b816001600160a01b0316632223686f826040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b15801561057957600080fd5b505af115801561058d573d6000803e3d6000fd5b505050505050565b60025481565b6000546001600160a01b031633146105e3576040805162461bcd60e51b815260206004820152600660248201526510b7bbb732b960d11b604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf86d6906040518163ffffffff1660e01b815260040160206040518083038186803b15801561063c57600080fd5b505afa158015610650573d6000803e3d6000fd5b505050506040513d602081101561066657600080fd5b50516106ac576040805162461bcd60e51b815260206004820152601060248201526f10b837b7b626b3b929b43aba3237bbb760811b604482015290519081900360640190fd5b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663081e3eda6040518163ffffffff1660e01b815260040160206040518083038186803b15801561070757600080fd5b505afa15801561071b573d6000803e3d6000fd5b505050506040513d602081101561073157600080fd5b5051905060005b818110156108225760007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631526fe27836040518263ffffffff1660e01b81526004018082815260200191505060c06040518083038186803b1580156107a657600080fd5b505afa1580156107ba573d6000803e3d6000fd5b505050506040513d60c08110156107d057600080fd5b5060a00151905080610819576040805162461bcd60e51b815260206004820152600d60248201526c10b837b7b629b43aba3237bbb760991b604482015290519081900360640190fd5b50600101610738565b507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663354af9196040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561087e57600080fd5b505af1158015610892573d6000803e3d6000fd5b50506040517f5a05a29d5ecece2d4f30720adf1a7449fc1ecb9a884a14629d08d3d2257ab905925060009150a150565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000546001600160a01b0316331461092e576040805162461bcd60e51b815260206004820152600660248201526510b7bbb732b960d11b604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663472d35b9826040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b15801561099d57600080fd5b505af11580156109b1573d6000803e3d6000fd5b5050505050565b6000546001600160a01b03163314610a00576040805162461bcd60e51b815260206004820152600660248201526510b7bbb732b960d11b604482015290519081900360640190fd5b600154600160a01b900460ff1615610a52576040805162461bcd60e51b815260206004820152601060248201526f1bdddb995c9cda1a5c081cd9585b195960821b604482015290519081900360640190fd5b60008054604080516313af403560e01b81526001600160a01b03928316600482015290517f0000000000000000000000000000000000000000000000000000000000000000909216926313af40359260248084019382900301818387803b158015610abc57600080fd5b505af1158015610ad0573d6000803e3d6000fd5b50505050565b600154600160a01b900460ff1681565b6000546001600160a01b03163314610b2e576040805162461bcd60e51b815260206004820152600660248201526510b7bbb732b960d11b604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632fa6cbe98484846040518463ffffffff1660e01b815260040180846001600160a01b03168152602001836001600160a01b03168152602001826001600160a01b031681526020019350505050600060405180830381600087803b158015610bbf57600080fd5b505af1158015610bd3573d6000803e3d6000fd5b50505050505050565b6000546001600160a01b03163314610c24576040805162461bcd60e51b815260206004820152600660248201526510b7bbb732b960d11b604482015290519081900360640190fd5b816001600160a01b0316630d5225de826040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b15801561057957600080fd5b6001546001600160a01b03163314610cc2576040805162461bcd60e51b815260206004820152600d60248201526c10b832b73234b733b7bbb732b960991b604482015290519081900360640190fd5b60018054600080546001600160a01b038084166001600160a01b03199283161792839055921690925560408051929091168252517fdee73dbb93c269d51b00ff594df7b23f8aca381762449174e5ba16bd163d88f1916020908290030190a1565b6000546001600160a01b03163314610d6b576040805162461bcd60e51b815260206004820152600660248201526510b7bbb732b960d11b604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316637bd3b9958484846040518463ffffffff1660e01b815260040180846001600160a01b03168152602001836001600160a01b03168152602001826001600160a01b031681526020019350505050600060405180830381600087803b158015610bbf57600080fd5b6000546001600160a01b031681565b6000546001600160a01b03163314610e53576040805162461bcd60e51b815260206004820152600660248201526510b7bbb732b960d11b604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663bf86d6906040518163ffffffff1660e01b815260040160206040518083038186803b158015610eac57600080fd5b505afa158015610ec0573d6000803e3d6000fd5b505050506040513d6020811015610ed657600080fd5b5051610f1c576040805162461bcd60e51b815260206004820152601060248201526f10b837b7b626b3b929b43aba3237bbb760811b604482015290519081900360640190fd5b600154600160a81b900460ff1615610f6d576040805162461bcd60e51b815260206004820152600f60248201526e185b1c9958591e481cdd185c9d1959608a1b604482015290519081900360640190fd5b6001805460ff60a81b1916600160a81b1790554262278d0001600281905560408051918252517f0af5f8b3a72c4ee1999f5b5a19fc41c0425c6823019b9e6c060272afd59ff56d9181900360200190a1565b6000546001600160a01b03163314611007576040805162461bcd60e51b815260206004820152600660248201526510b7bbb732b960d11b604482015290519081900360640190fd5b6001805460ff60a01b1916600160a01b1790556040517f64b89df6876b705bd433440503434130927ad7dc459ea1545a9b9d0dd1984b8090600090a1565b600080546060906001600160a01b03163314611091576040805162461bcd60e51b815260206004820152600660248201526510b7bbb732b960d11b604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316866001600160a01b0316141561110a576040805162461bcd60e51b815260206004820152600f60248201526e085a5b9d985b1a59081d185c99d95d608a1b604482015290519081900360640190fd5b60006060876001600160a01b0316878787604051808383808284376040519201945060009350909150508083038185875af1925050503d806000811461116c576040519150601f19603f3d011682016040523d82523d6000602084013e611171565b606091505b5090999098509650505050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000546001600160a01b031633146111ed576040805162461bcd60e51b815260206004820152600660248201526510b7bbb732b960d11b604482015290519081900360640190fd5b600154600160a81b900460ff1661123a576040805162461bcd60e51b815260206004820152600c60248201526b085d1a5b595c881cdd185c9d60a21b604482015290519081900360640190fd5b6002544211611280576040805162461bcd60e51b815260206004820152600d60248201526c042e8d2dacae440ccd2dcd2e6d609b1b604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663354af9196040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156112db57600080fd5b505af11580156112ef573d6000803e3d6000fd5b50506040517f5a05a29d5ecece2d4f30720adf1a7449fc1ecb9a884a14629d08d3d2257ab905925060009150a1565b600154600160a81b900460ff1681565b6000546001600160a01b03163314611376576040805162461bcd60e51b815260206004820152600660248201526510b7bbb732b960d11b604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663535cc8148484846040518463ffffffff1660e01b815260040180846001600160a01b03168152602001836001600160a01b03168152602001826001600160a01b031681526020019350505050600060405180830381600087803b158015610bbf57600080fd5b6001546001600160a01b031681565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000546001600160a01b03163314611482576040805162461bcd60e51b815260206004820152600660248201526510b7bbb732b960d11b604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663677c845283836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561057957600080fd5b6000546001600160a01b03163314611541576040805162461bcd60e51b815260206004820152600660248201526510b7bbb732b960d11b604482015290519081900360640190fd5b600180546001600160a01b0383166001600160a01b0319909116811790915560408051918252517fcfaaa26691e16e66e73290fc725eee1a6b4e0e693a1640484937aac25ffb55a49181900360200190a150565b62278d008156fea2646970667358221220c262974b3698cdb21c7bf993aa0b30d05cfe219acafc3413683d853c41ec726364736f6c634300060c0033000000000000000000000000fe11e75a51cac91516468ccb6bda3582f5f68cfd000000000000000000000000f24074a1a6ad620adc14745f9cc1fb1e7ba6ca7100000000000000000000000098ef32edd24e2c92525e59afc4475c1242a30184000000000000000000000000a1ffacb9bb1852997d2a5931659a56272dc858f400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101735760003560e01c80638da5cb5b116100de578063cb246a9311610097578063dc4c90d311610071578063dc4c90d31461045c578063f2e2e43a14610464578063f2fde38b14610490578063fbdc9a29146104b657610173565b8063cb246a9314610414578063cd170ae41461041c578063da4a898e1461045457610173565b80638da5cb5b146102e657806395fd55e6146102ee578063a1827da8146102f6578063b61d27f6146102fe578063c6def07614610404578063c7633d951461040c57610173565b80634bff48cb116101305780634bff48cb1461021c578063631f9852146102245780636e1fdc2b146102405780636e5162b01461027857806379ba5097146102a65780637bd3b995146102ae57610173565b8063068eb19e146101785780630dd182d31461019c5780632f150c17146101cc578063354af919146101e657806345c71d7c146101ee578063472d35b9146101f6575b600080fd5b6101806104be565b604080516001600160a01b039092168252519081900360200190f35b6101ca600480360360408110156101b257600080fd5b506001600160a01b03813581169160200135166104e2565b005b6101d4610595565b60408051918252519081900360200190f35b6101ca61059b565b6101806108c2565b6101ca6004803603602081101561020c57600080fd5b50356001600160a01b03166108e6565b6101ca6109b8565b61022c610ad6565b604080519115158252519081900360200190f35b6101ca6004803603606081101561025657600080fd5b506001600160a01b038135811691602081013582169160409091013516610ae6565b6101ca6004803603604081101561028e57600080fd5b506001600160a01b0381358116916020013516610bdc565b6101ca610c73565b6101ca600480360360608110156102c457600080fd5b506001600160a01b038135811691602081013582169160409091013516610d23565b610180610dfc565b6101ca610e0b565b6101ca610fbf565b6103836004803603606081101561031457600080fd5b6001600160a01b038235169160208101359181019060608101604082013564010000000081111561034457600080fd5b82018360208201111561035657600080fd5b8035906020019184600183028401116401000000008311171561037857600080fd5b509092509050611045565b60405180831515815260200180602001828103825283818151815260200191508051906020019080838360005b838110156103c85781810151838201526020016103b0565b50505050905090810190601f1680156103f55780820380516001836020036101000a031916815260200191505b50935050505060405180910390f35b610180611181565b6101ca6111a5565b61022c61131e565b6101ca6004803603606081101561043257600080fd5b506001600160a01b03813581169160208101358216916040909101351661132e565b610180611407565b610180611416565b6101ca6004803603604081101561047a57600080fd5b506001600160a01b03813516906020013561143a565b6101ca600480360360208110156104a657600080fd5b50356001600160a01b03166114f9565b6101d4611595565b7f000000000000000000000000a1ffacb9bb1852997d2a5931659a56272dc858f481565b6000546001600160a01b0316331461052a576040805162461bcd60e51b815260206004820152600660248201526510b7bbb732b960d11b604482015290519081900360640190fd5b816001600160a01b0316632223686f826040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b15801561057957600080fd5b505af115801561058d573d6000803e3d6000fd5b505050505050565b60025481565b6000546001600160a01b031633146105e3576040805162461bcd60e51b815260206004820152600660248201526510b7bbb732b960d11b604482015290519081900360640190fd5b7f000000000000000000000000f24074a1a6ad620adc14745f9cc1fb1e7ba6ca716001600160a01b031663bf86d6906040518163ffffffff1660e01b815260040160206040518083038186803b15801561063c57600080fd5b505afa158015610650573d6000803e3d6000fd5b505050506040513d602081101561066657600080fd5b50516106ac576040805162461bcd60e51b815260206004820152601060248201526f10b837b7b626b3b929b43aba3237bbb760811b604482015290519081900360640190fd5b60007f00000000000000000000000098ef32edd24e2c92525e59afc4475c1242a301846001600160a01b031663081e3eda6040518163ffffffff1660e01b815260040160206040518083038186803b15801561070757600080fd5b505afa15801561071b573d6000803e3d6000fd5b505050506040513d602081101561073157600080fd5b5051905060005b818110156108225760007f00000000000000000000000098ef32edd24e2c92525e59afc4475c1242a301846001600160a01b0316631526fe27836040518263ffffffff1660e01b81526004018082815260200191505060c06040518083038186803b1580156107a657600080fd5b505afa1580156107ba573d6000803e3d6000fd5b505050506040513d60c08110156107d057600080fd5b5060a00151905080610819576040805162461bcd60e51b815260206004820152600d60248201526c10b837b7b629b43aba3237bbb760991b604482015290519081900360640190fd5b50600101610738565b507f00000000000000000000000098ef32edd24e2c92525e59afc4475c1242a301846001600160a01b031663354af9196040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561087e57600080fd5b505af1158015610892573d6000803e3d6000fd5b50506040517f5a05a29d5ecece2d4f30720adf1a7449fc1ecb9a884a14629d08d3d2257ab905925060009150a150565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000546001600160a01b0316331461092e576040805162461bcd60e51b815260206004820152600660248201526510b7bbb732b960d11b604482015290519081900360640190fd5b7f00000000000000000000000098ef32edd24e2c92525e59afc4475c1242a301846001600160a01b031663472d35b9826040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b15801561099d57600080fd5b505af11580156109b1573d6000803e3d6000fd5b5050505050565b6000546001600160a01b03163314610a00576040805162461bcd60e51b815260206004820152600660248201526510b7bbb732b960d11b604482015290519081900360640190fd5b600154600160a01b900460ff1615610a52576040805162461bcd60e51b815260206004820152601060248201526f1bdddb995c9cda1a5c081cd9585b195960821b604482015290519081900360640190fd5b60008054604080516313af403560e01b81526001600160a01b03928316600482015290517f00000000000000000000000098ef32edd24e2c92525e59afc4475c1242a30184909216926313af40359260248084019382900301818387803b158015610abc57600080fd5b505af1158015610ad0573d6000803e3d6000fd5b50505050565b600154600160a01b900460ff1681565b6000546001600160a01b03163314610b2e576040805162461bcd60e51b815260206004820152600660248201526510b7bbb732b960d11b604482015290519081900360640190fd5b7f000000000000000000000000a1ffacb9bb1852997d2a5931659a56272dc858f46001600160a01b0316632fa6cbe98484846040518463ffffffff1660e01b815260040180846001600160a01b03168152602001836001600160a01b03168152602001826001600160a01b031681526020019350505050600060405180830381600087803b158015610bbf57600080fd5b505af1158015610bd3573d6000803e3d6000fd5b50505050505050565b6000546001600160a01b03163314610c24576040805162461bcd60e51b815260206004820152600660248201526510b7bbb732b960d11b604482015290519081900360640190fd5b816001600160a01b0316630d5225de826040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b15801561057957600080fd5b6001546001600160a01b03163314610cc2576040805162461bcd60e51b815260206004820152600d60248201526c10b832b73234b733b7bbb732b960991b604482015290519081900360640190fd5b60018054600080546001600160a01b038084166001600160a01b03199283161792839055921690925560408051929091168252517fdee73dbb93c269d51b00ff594df7b23f8aca381762449174e5ba16bd163d88f1916020908290030190a1565b6000546001600160a01b03163314610d6b576040805162461bcd60e51b815260206004820152600660248201526510b7bbb732b960d11b604482015290519081900360640190fd5b7f00000000000000000000000098ef32edd24e2c92525e59afc4475c1242a301846001600160a01b0316637bd3b9958484846040518463ffffffff1660e01b815260040180846001600160a01b03168152602001836001600160a01b03168152602001826001600160a01b031681526020019350505050600060405180830381600087803b158015610bbf57600080fd5b6000546001600160a01b031681565b6000546001600160a01b03163314610e53576040805162461bcd60e51b815260206004820152600660248201526510b7bbb732b960d11b604482015290519081900360640190fd5b7f000000000000000000000000f24074a1a6ad620adc14745f9cc1fb1e7ba6ca716001600160a01b031663bf86d6906040518163ffffffff1660e01b815260040160206040518083038186803b158015610eac57600080fd5b505afa158015610ec0573d6000803e3d6000fd5b505050506040513d6020811015610ed657600080fd5b5051610f1c576040805162461bcd60e51b815260206004820152601060248201526f10b837b7b626b3b929b43aba3237bbb760811b604482015290519081900360640190fd5b600154600160a81b900460ff1615610f6d576040805162461bcd60e51b815260206004820152600f60248201526e185b1c9958591e481cdd185c9d1959608a1b604482015290519081900360640190fd5b6001805460ff60a81b1916600160a81b1790554262278d0001600281905560408051918252517f0af5f8b3a72c4ee1999f5b5a19fc41c0425c6823019b9e6c060272afd59ff56d9181900360200190a1565b6000546001600160a01b03163314611007576040805162461bcd60e51b815260206004820152600660248201526510b7bbb732b960d11b604482015290519081900360640190fd5b6001805460ff60a01b1916600160a01b1790556040517f64b89df6876b705bd433440503434130927ad7dc459ea1545a9b9d0dd1984b8090600090a1565b600080546060906001600160a01b03163314611091576040805162461bcd60e51b815260206004820152600660248201526510b7bbb732b960d11b604482015290519081900360640190fd5b7f00000000000000000000000098ef32edd24e2c92525e59afc4475c1242a301846001600160a01b0316866001600160a01b0316141561110a576040805162461bcd60e51b815260206004820152600f60248201526e085a5b9d985b1a59081d185c99d95d608a1b604482015290519081900360640190fd5b60006060876001600160a01b0316878787604051808383808284376040519201945060009350909150508083038185875af1925050503d806000811461116c576040519150601f19603f3d011682016040523d82523d6000602084013e611171565b606091505b5090999098509650505050505050565b7f00000000000000000000000098ef32edd24e2c92525e59afc4475c1242a3018481565b6000546001600160a01b031633146111ed576040805162461bcd60e51b815260206004820152600660248201526510b7bbb732b960d11b604482015290519081900360640190fd5b600154600160a81b900460ff1661123a576040805162461bcd60e51b815260206004820152600c60248201526b085d1a5b595c881cdd185c9d60a21b604482015290519081900360640190fd5b6002544211611280576040805162461bcd60e51b815260206004820152600d60248201526c042e8d2dacae440ccd2dcd2e6d609b1b604482015290519081900360640190fd5b7f00000000000000000000000098ef32edd24e2c92525e59afc4475c1242a301846001600160a01b031663354af9196040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156112db57600080fd5b505af11580156112ef573d6000803e3d6000fd5b50506040517f5a05a29d5ecece2d4f30720adf1a7449fc1ecb9a884a14629d08d3d2257ab905925060009150a1565b600154600160a81b900460ff1681565b6000546001600160a01b03163314611376576040805162461bcd60e51b815260206004820152600660248201526510b7bbb732b960d11b604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663535cc8148484846040518463ffffffff1660e01b815260040180846001600160a01b03168152602001836001600160a01b03168152602001826001600160a01b031681526020019350505050600060405180830381600087803b158015610bbf57600080fd5b6001546001600160a01b031681565b7f000000000000000000000000f24074a1a6ad620adc14745f9cc1fb1e7ba6ca7181565b6000546001600160a01b03163314611482576040805162461bcd60e51b815260206004820152600660248201526510b7bbb732b960d11b604482015290519081900360640190fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663677c845283836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561057957600080fd5b6000546001600160a01b03163314611541576040805162461bcd60e51b815260206004820152600660248201526510b7bbb732b960d11b604482015290519081900360640190fd5b600180546001600160a01b0383166001600160a01b0319909116811790915560408051918252517fcfaaa26691e16e66e73290fc725eee1a6b4e0e693a1640484937aac25ffb55a49181900360200190a150565b62278d008156fea2646970667358221220c262974b3698cdb21c7bf993aa0b30d05cfe219acafc3413683d853c41ec726364736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000fe11e75a51cac91516468ccb6bda3582f5f68cfd000000000000000000000000f24074a1a6ad620adc14745f9cc1fb1e7ba6ca7100000000000000000000000098ef32edd24e2c92525e59afc4475c1242a30184000000000000000000000000a1ffacb9bb1852997d2a5931659a56272dc858f400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001
-----Decoded View---------------
Arg [0] : _owner (address): 0xFe11E75A51CAC91516468cCb6bda3582F5F68Cfd
Arg [1] : _poolManager (address): 0xf24074a1A6ad620aDC14745F9cc1fB1e7BA6CA71
Arg [2] : _booster (address): 0x98Ef32edd24e2c92525E59afc4475C1242a30184
Arg [3] : _stashFactory (address): 0xa1FfACb9bb1852997d2A5931659A56272DC858F4
Arg [4] : _rescueStash (address): 0x0000000000000000000000000000000000000000
Arg [5] : _seal (bool): True
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 000000000000000000000000fe11e75a51cac91516468ccb6bda3582f5f68cfd
Arg [1] : 000000000000000000000000f24074a1a6ad620adc14745f9cc1fb1e7ba6ca71
Arg [2] : 00000000000000000000000098ef32edd24e2c92525e59afc4475c1242a30184
Arg [3] : 000000000000000000000000a1ffacb9bb1852997d2a5931659a56272dc858f4
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000001
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.