Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 35 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Harvest | 11196673 | 1549 days ago | IN | 0 ETH | 0.04510303 | ||||
Harvest | 11189680 | 1550 days ago | IN | 0 ETH | 0.03410606 | ||||
Harvest | 11185271 | 1551 days ago | IN | 0 ETH | 0.06647898 | ||||
Harvest | 11180166 | 1552 days ago | IN | 0 ETH | 0.05443469 | ||||
Harvest | 11176475 | 1552 days ago | IN | 0 ETH | 0.0606558 | ||||
Harvest | 11169971 | 1553 days ago | IN | 0 ETH | 0.0264397 | ||||
Harvest | 11161002 | 1555 days ago | IN | 0 ETH | 0.0264397 | ||||
Harvest | 11154254 | 1556 days ago | IN | 0 ETH | 0.03964191 | ||||
Harvest | 11150790 | 1556 days ago | IN | 0 ETH | 0.09264634 | ||||
Harvest | 11148009 | 1557 days ago | IN | 0 ETH | 0.03768664 | ||||
Harvest | 11144655 | 1557 days ago | IN | 0 ETH | 0.07715855 | ||||
Harvest | 11141188 | 1558 days ago | IN | 0 ETH | 0.035495 | ||||
Harvest | 11138030 | 1558 days ago | IN | 0 ETH | 0.0399597 | ||||
Harvest | 11134423 | 1559 days ago | IN | 0 ETH | 0.04354775 | ||||
Harvest | 11132476 | 1559 days ago | IN | 0 ETH | 0.07195808 | ||||
Harvest | 11128125 | 1560 days ago | IN | 0 ETH | 0.02488443 | ||||
Harvest | 11124831 | 1560 days ago | IN | 0 ETH | 0.04199247 | ||||
Harvest | 11121373 | 1561 days ago | IN | 0 ETH | 0.027995 | ||||
Harvest | 11118520 | 1561 days ago | IN | 0 ETH | 0.0336825 | ||||
Harvest | 11111563 | 1562 days ago | IN | 0 ETH | 0.06636022 | ||||
Harvest | 11108438 | 1563 days ago | IN | 0 ETH | 0.05555739 | ||||
Harvest | 11104546 | 1563 days ago | IN | 0 ETH | 0.00110937 | ||||
Harvest | 11101372 | 1564 days ago | IN | 0 ETH | 0.12908799 | ||||
Harvest | 11095093 | 1565 days ago | IN | 0 ETH | 0.05910054 | ||||
Harvest | 11088483 | 1566 days ago | IN | 0 ETH | 0.03394685 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
StrategyCurveBUSDVoterProxy
Compiler Version
v0.5.17+commit.d19bba13
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-10-11 */ // SPDX-License-Identifier: MIT pragma solidity ^0.5.17; /** * @dev Interface of the ERC20 standard as defined in the EIP. Does not include * the optional functions; to access them see {ERC20Detailed}. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. * * _Available since v2.4.0._ */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @dev Converts an `address` into `address payable`. Note that this is * simply a type cast: the actual underlying value is not changed. * * _Available since v2.4.0._ */ function toPayable(address account) internal pure returns (address payable) { return address(uint160(account)); } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. * * _Available since v2.4.0._ */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-call-value (bool success, ) = recipient.call.value(amount)(""); require(success, "Address: unable to send value, recipient may have reverted"); } } /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for ERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. // A Solidity high level call has three parts: // 1. The target address is checked to verify it contains contract code // 2. The call itself is made, and success asserted // 3. The return value is decoded, which in turn checks the size of the returned data. // solhint-disable-next-line max-line-length require(address(token).isContract(), "SafeERC20: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = address(token).call(data); require(success, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // interface IController { function withdraw(address, uint256) external; function balanceOf(address) external view returns (uint256); function earn(address, uint256) external; function want(address) external view returns (address); function rewards() external view returns (address); function vaults(address) external view returns (address); function strategies(address) external view returns (address); } // interface Gauge { function deposit(uint256) external; function balanceOf(address) external view returns (uint256); function withdraw(uint256) external; } // interface Mintr { function mint(address) external; } // interface Uni { function swapExactTokensForTokens( uint256, uint256, address[] calldata, address, uint256 ) external; } // interface ICurveFi { function get_virtual_price() external view returns (uint256); function add_liquidity( // sBTC pool uint256[3] calldata amounts, uint256 min_mint_amount ) external; function add_liquidity( // bUSD pool uint256[4] calldata amounts, uint256 min_mint_amount ) external; function remove_liquidity_imbalance(uint256[4] calldata amounts, uint256 max_burn_amount) external; function remove_liquidity(uint256 _amount, uint256[4] calldata amounts) external; function exchange( int128 from, int128 to, uint256 _from_amount, uint256 _min_to_amount ) external; } interface Zap { function remove_liquidity_one_coin( uint256, int128, uint256 ) external; } // // NOTE: Basically an alias for Vaults interface yERC20 { function deposit(uint256 _amount) external; function withdraw(uint256 _amount) external; function getPricePerFullShare() external view returns (uint256); } // interface VoterProxy { function withdraw( address _gauge, address _token, uint256 _amount ) external returns (uint256); function balanceOf(address _gauge) external view returns (uint256); function withdrawAll(address _gauge, address _token) external returns (uint256); function deposit(address _gauge, address _token) external; function harvest(address _gauge) external; function lock() external; } // contract StrategyCurveBUSDVoterProxy { using SafeERC20 for IERC20; using Address for address; using SafeMath for uint256; address public constant want = address(0x3B3Ac5386837Dc563660FB6a0937DFAa5924333B); address public constant crv = address(0xD533a949740bb3306d119CC777fa900bA034cd52); address public constant uni = address(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); address public constant weth = address(0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2); // used for crv <> weth <> dai route address public constant dai = address(0x6B175474E89094C44Da98b954EedeAC495271d0F); address public constant ydai = address(0xC2cB1040220768554cf699b0d863A3cd4324ce32); address public constant curve = address(0x79a8C46DeA5aDa233ABaFFD40F3A0A2B1e5A4F27); address public constant gauge = address(0x69Fb7c45726cfE2baDeE8317005d3F94bE838840); address public constant voter = address(0xF147b8125d2ef93FB6965Db97D6746952a133934); uint256 public keepCRV = 1000; uint256 public constant keepCRVMax = 10000; uint256 public performanceFee = 500; uint256 public constant performanceMax = 10000; uint256 public withdrawalFee = 50; uint256 public constant withdrawalMax = 10000; address public proxy; address public governance; address public controller; address public strategist; constructor(address _controller) public { governance = msg.sender; strategist = msg.sender; controller = _controller; } function getName() external pure returns (string memory) { return "StrategyCurveBUSDVoterProxy"; } function setStrategist(address _strategist) external { require(msg.sender == governance, "!governance"); strategist = _strategist; } function setKeepCRV(uint256 _keepCRV) external { require(msg.sender == governance, "!governance"); keepCRV = _keepCRV; } function setWithdrawalFee(uint256 _withdrawalFee) external { require(msg.sender == governance, "!governance"); withdrawalFee = _withdrawalFee; } function setPerformanceFee(uint256 _performanceFee) external { require(msg.sender == governance, "!governance"); performanceFee = _performanceFee; } function setProxy(address _proxy) external { require(msg.sender == governance, "!governance"); proxy = _proxy; } function deposit() public { uint256 _want = IERC20(want).balanceOf(address(this)); if (_want > 0) { IERC20(want).safeTransfer(proxy, _want); VoterProxy(proxy).deposit(gauge, want); } } // Controller only function for creating additional rewards from dust function withdraw(IERC20 _asset) external returns (uint256 balance) { require(msg.sender == controller, "!controller"); require(want != address(_asset), "want"); require(crv != address(_asset), "crv"); require(ydai != address(_asset), "ydai"); require(dai != address(_asset), "dai"); balance = _asset.balanceOf(address(this)); _asset.safeTransfer(controller, balance); } // Withdraw partial funds, normally used with a vault withdrawal function withdraw(uint256 _amount) external { require(msg.sender == controller, "!controller"); uint256 _balance = IERC20(want).balanceOf(address(this)); if (_balance < _amount) { _amount = _withdrawSome(_amount.sub(_balance)); _amount = _amount.add(_balance); } uint256 _fee = _amount.mul(withdrawalFee).div(withdrawalMax); IERC20(want).safeTransfer(IController(controller).rewards(), _fee); address _vault = IController(controller).vaults(address(want)); require(_vault != address(0), "!vault"); // additional protection so we don't burn the funds IERC20(want).safeTransfer(_vault, _amount.sub(_fee)); } // Withdraw all funds, normally used when migrating strategies function withdrawAll() external returns (uint256 balance) { require(msg.sender == controller, "!controller"); _withdrawAll(); balance = IERC20(want).balanceOf(address(this)); address _vault = IController(controller).vaults(address(want)); require(_vault != address(0), "!vault"); // additional protection so we don't burn the funds IERC20(want).safeTransfer(_vault, balance); } function _withdrawAll() internal { VoterProxy(proxy).withdrawAll(gauge, want); } function harvest() public { require(msg.sender == strategist || msg.sender == governance, "!authorized"); VoterProxy(proxy).harvest(gauge); uint256 _crv = IERC20(crv).balanceOf(address(this)); if (_crv > 0) { uint256 _keepCRV = _crv.mul(keepCRV).div(keepCRVMax); IERC20(crv).safeTransfer(voter, _keepCRV); _crv = _crv.sub(_keepCRV); IERC20(crv).safeApprove(uni, 0); IERC20(crv).safeApprove(uni, _crv); address[] memory path = new address[](3); path[0] = crv; path[1] = weth; path[2] = dai; Uni(uni).swapExactTokensForTokens(_crv, uint256(0), path, address(this), now.add(1800)); } uint256 _dai = IERC20(dai).balanceOf(address(this)); if (_dai > 0) { IERC20(dai).safeApprove(ydai, 0); IERC20(dai).safeApprove(ydai, _dai); yERC20(ydai).deposit(_dai); } uint256 _ydai = IERC20(ydai).balanceOf(address(this)); if (_ydai > 0) { IERC20(ydai).safeApprove(curve, 0); IERC20(ydai).safeApprove(curve, _ydai); ICurveFi(curve).add_liquidity([_ydai, 0, 0, 0], 0); } uint256 _want = IERC20(want).balanceOf(address(this)); if (_want > 0) { uint256 _fee = _want.mul(performanceFee).div(performanceMax); IERC20(want).safeTransfer(IController(controller).rewards(), _fee); deposit(); } VoterProxy(proxy).lock(); } function _withdrawSome(uint256 _amount) internal returns (uint256) { return VoterProxy(proxy).withdraw(gauge, want, _amount); } function balanceOfWant() public view returns (uint256) { return IERC20(want).balanceOf(address(this)); } function balanceOfPool() public view returns (uint256) { return VoterProxy(proxy).balanceOf(gauge); } function balanceOf() public view returns (uint256) { return balanceOfWant().add(balanceOfPool()); } function setGovernance(address _governance) external { require(msg.sender == governance, "!governance"); governance = _governance; } function setController(address _controller) external { require(msg.sender == governance, "!governance"); controller = _controller; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_controller","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"constant":true,"inputs":[],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"balanceOfPool","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"balanceOfWant","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"controller","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"crv","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"curve","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"dai","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"deposit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"gauge","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getName","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"governance","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"harvest","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"keepCRV","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"keepCRVMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"performanceFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"performanceMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"proxy","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_controller","type":"address"}],"name":"setController","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_governance","type":"address"}],"name":"setGovernance","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_keepCRV","type":"uint256"}],"name":"setKeepCRV","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_performanceFee","type":"uint256"}],"name":"setPerformanceFee","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_proxy","type":"address"}],"name":"setProxy","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_strategist","type":"address"}],"name":"setStrategist","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_withdrawalFee","type":"uint256"}],"name":"setWithdrawalFee","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"strategist","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"uni","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"voter","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"want","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"weth","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"contract IERC20","name":"_asset","type":"address"}],"name":"withdraw","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"withdrawAll","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"withdrawalFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"withdrawalMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ydai","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526103e86000556101f4600155603260025534801561002157600080fd5b506040516122c83803806122c88339818101604052602081101561004457600080fd5b505160048054336001600160a01b03199182168117909255600680548216909217909155600580549091166001600160a01b039092169190911790556122398061008f6000396000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c8063853828b611610125578063c1a3d44c116100ad578063e9751f6b1161007c578063e9751f6b1461037b578063ec5568891461048d578063edc9af9514610495578063f4b9fa751461049d578063f77c4791146104a557610211565b8063c1a3d44c14610457578063c7b9d5301461045f578063d0e30db014610485578063d5c1ff731461037b57610211565b8063955383bd116100f4578063955383bd146103c957806397107d6d146103e6578063a6f19c841461040c578063ab033ea914610414578063ac1e50251461043a57610211565b8063853828b61461038b57806387788782146103935780638bc7e8c41461039b57806392eefe9b146103a357610211565b806346c96aac116101a857806370897b231161017757806370897b231461034e5780637165485d1461036b578063722713f7146103735780637cc791131461037b5780637fef901a1461038357610211565b806346c96aac1461031057806351cff8d9146103185780635aa6e6751461033e5780636a4874a11461034657610211565b80632e1a7d4d116101e45780632e1a7d4d146102d9578063366cd4f3146102f85780633fc8cef3146103005780634641257d1461030857610211565b8063115880861461021657806317d7de7c146102305780631f1fcd51146102ad5780631fe4a686146102d1575b600080fd5b61021e6104ad565b60408051918252519081900360200190f35b61023861053d565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561027257818101518382015260200161025a565b50505050905090810190601f16801561029f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102b5610574565b604080516001600160a01b039092168252519081900360200190f35b6102b5610586565b6102f6600480360360208110156102ef57600080fd5b5035610595565b005b6102b5610859565b6102b5610871565b6102f6610889565b6102b5611131565b61021e6004803603602081101561032e57600080fd5b50356001600160a01b0316611149565b6102b5611393565b6102b56113a2565b6102f66004803603602081101561036457600080fd5b50356113ba565b6102b561140c565b61021e611424565b61021e61144a565b61021e611450565b61021e611456565b61021e611619565b61021e61161f565b6102f6600480360360208110156103b957600080fd5b50356001600160a01b0316611625565b6102f6600480360360208110156103df57600080fd5b5035611694565b6102f6600480360360208110156103fc57600080fd5b50356001600160a01b03166116e6565b6102b5611755565b6102f66004803603602081101561042a57600080fd5b50356001600160a01b031661176d565b6102f66004803603602081101561045057600080fd5b50356117dc565b61021e61182e565b6102f66004803603602081101561047557600080fd5b50356001600160a01b031661187d565b6102f66118ec565b6102b5611a2b565b6102b5611a3a565b6102b5611a52565b6102b5611a6a565b600354604080516370a0823160e01b81527369fb7c45726cfe2badee8317005d3f94be838840600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561050c57600080fd5b505afa158015610520573d6000803e3d6000fd5b505050506040513d602081101561053657600080fd5b5051905090565b60408051808201909152601b81527f5374726174656779437572766542555344566f74657250726f78790000000000602082015290565b60008051602061216483398151915281565b6006546001600160a01b031681565b6005546001600160a01b031633146105e2576040805162461bcd60e51b815260206004820152600b60248201526a10b1b7b73a3937b63632b960a91b604482015290519081900360640190fd5b604080516370a0823160e01b81523060048201529051600091600080516020612164833981519152916370a0823191602480820192602092909190829003018186803b15801561063157600080fd5b505afa158015610645573d6000803e3d6000fd5b505050506040513d602081101561065b57600080fd5b50519050818110156106945761067f61067a838363ffffffff611a7916565b611ac4565b9150610691828263ffffffff611b7116565b91505b60006106bd6127106106b160025486611bcb90919063ffffffff16565b9063ffffffff611c2416565b9050610758600560009054906101000a90046001600160a01b03166001600160a01b0316639ec5a8946040518163ffffffff1660e01b815260040160206040518083038186803b15801561071057600080fd5b505afa158015610724573d6000803e3d6000fd5b505050506040513d602081101561073a57600080fd5b5051600080516020612164833981519152908363ffffffff611c6616565b60055460408051632988bb9f60e21b8152600080516020612164833981519152600482015290516000926001600160a01b03169163a622ee7c916024808301926020929190829003018186803b1580156107b157600080fd5b505afa1580156107c5573d6000803e3d6000fd5b505050506040513d60208110156107db57600080fd5b505190506001600160a01b038116610823576040805162461bcd60e51b8152602060048201526006602482015265085d985d5b1d60d21b604482015290519081900360640190fd5b61085381610837868563ffffffff611a7916565b600080516020612164833981519152919063ffffffff611c6616565b50505050565b73c2cb1040220768554cf699b0d863a3cd4324ce3281565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b6006546001600160a01b03163314806108ac57506004546001600160a01b031633145b6108eb576040805162461bcd60e51b815260206004820152600b60248201526a08585d5d1a1bdc9a5e995960aa1b604482015290519081900360640190fd5b6003546040805163072e008f60e11b81527369fb7c45726cfe2badee8317005d3f94be838840600482015290516001600160a01b0390921691630e5c011e9160248082019260009290919082900301818387803b15801561094b57600080fd5b505af115801561095f573d6000803e3d6000fd5b5050604080516370a0823160e01b815230600482015290516000935073d533a949740bb3306d119cc777fa900ba034cd5292506370a0823191602480820192602092909190829003018186803b1580156109b857600080fd5b505afa1580156109cc573d6000803e3d6000fd5b505050506040513d60208110156109e257600080fd5b505190508015610c97576000610a096127106106b160005485611bcb90919063ffffffff16565b9050610a4473d533a949740bb3306d119cc777fa900ba034cd5273f147b8125d2ef93fb6965db97d6746952a1339348363ffffffff611c6616565b610a54828263ffffffff611a7916565b9150610a9073d533a949740bb3306d119cc777fa900ba034cd52737a250d5630b4cf539739df2c5dacb4c659f2488d600063ffffffff611cbd16565b610ac973d533a949740bb3306d119cc777fa900ba034cd52737a250d5630b4cf539739df2c5dacb4c659f2488d8463ffffffff611cbd16565b6040805160038082526080820190925260609160208201838038833901905050905073d533a949740bb3306d119cc777fa900ba034cd5281600081518110610b0d57fe5b60200260200101906001600160a01b031690816001600160a01b03168152505073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281600181518110610b4f57fe5b60200260200101906001600160a01b031690816001600160a01b031681525050736b175474e89094c44da98b954eedeac495271d0f81600281518110610b9157fe5b6001600160a01b0390921660209283029190910190910152737a250d5630b4cf539739df2c5dacb4c659f2488d6338ed17398460008430610bda4261070863ffffffff611b7116565b6040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03166001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b83811015610c53578181015183820152602001610c3b565b505050509050019650505050505050600060405180830381600087803b158015610c7c57600080fd5b505af1158015610c90573d6000803e3d6000fd5b5050505050505b604080516370a0823160e01b81523060048201529051600091736b175474e89094c44da98b954eedeac495271d0f916370a0823191602480820192602092909190829003018186803b158015610cec57600080fd5b505afa158015610d00573d6000803e3d6000fd5b505050506040513d6020811015610d1657600080fd5b505190508015610e0657610d5a736b175474e89094c44da98b954eedeac495271d0f73c2cb1040220768554cf699b0d863a3cd4324ce32600063ffffffff611cbd16565b610d93736b175474e89094c44da98b954eedeac495271d0f73c2cb1040220768554cf699b0d863a3cd4324ce328363ffffffff611cbd16565b73c2cb1040220768554cf699b0d863a3cd4324ce326001600160a01b031663b6b55f25826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610ded57600080fd5b505af1158015610e01573d6000803e3d6000fd5b505050505b604080516370a0823160e01b8152306004820152905160009173c2cb1040220768554cf699b0d863a3cd4324ce32916370a0823191602480820192602092909190829003018186803b158015610e5b57600080fd5b505afa158015610e6f573d6000803e3d6000fd5b505050506040513d6020811015610e8557600080fd5b505190508015610fc657610ec973c2cb1040220768554cf699b0d863a3cd4324ce327379a8c46dea5ada233abaffd40f3a0a2b1e5a4f27600063ffffffff611cbd16565b610f0273c2cb1040220768554cf699b0d863a3cd4324ce327379a8c46dea5ada233abaffd40f3a0a2b1e5a4f278363ffffffff611cbd16565b7379a8c46dea5ada233abaffd40f3a0a2b1e5a4f276001600160a01b031663029b2f3460405180608001604052808481526020016000815260200160008152602001600081525060006040518363ffffffff1660e01b81526004018083600460200280838360005b83811015610f82578181015183820152602001610f6a565b5050505090500182815260200192505050600060405180830381600087803b158015610fad57600080fd5b505af1158015610fc1573d6000803e3d6000fd5b505050505b604080516370a0823160e01b81523060048201529051600091600080516020612164833981519152916370a0823191602480820192602092909190829003018186803b15801561101557600080fd5b505afa158015611029573d6000803e3d6000fd5b505050506040513d602081101561103f57600080fd5b5051905080156110c35760006110666127106106b160015485611bcb90919063ffffffff16565b90506110b9600560009054906101000a90046001600160a01b03166001600160a01b0316639ec5a8946040518163ffffffff1660e01b815260040160206040518083038186803b15801561071057600080fd5b6110c16118ec565b505b600360009054906101000a90046001600160a01b03166001600160a01b031663f83d08ba6040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561111357600080fd5b505af1158015611127573d6000803e3d6000fd5b5050505050505050565b73f147b8125d2ef93fb6965db97d6746952a13393481565b6005546000906001600160a01b03163314611199576040805162461bcd60e51b815260206004820152600b60248201526a10b1b7b73a3937b63632b960a91b604482015290519081900360640190fd5b6000805160206121648339815191526001600160a01b03831614156111ee576040805162461bcd60e51b815260206004808301919091526024820152631dd85b9d60e21b604482015290519081900360640190fd5b73d533a949740bb3306d119cc777fa900ba034cd526001600160a01b0383161415611246576040805162461bcd60e51b815260206004820152600360248201526231b93b60e91b604482015290519081900360640190fd5b73c2cb1040220768554cf699b0d863a3cd4324ce326001600160a01b03831614156112a1576040805162461bcd60e51b815260206004808301919091526024820152637964616960e01b604482015290519081900360640190fd5b736b175474e89094c44da98b954eedeac495271d0f6001600160a01b03831614156112f9576040805162461bcd60e51b815260206004820152600360248201526264616960e81b604482015290519081900360640190fd5b604080516370a0823160e01b815230600482015290516001600160a01b038416916370a08231916024808301926020929190829003018186803b15801561133f57600080fd5b505afa158015611353573d6000803e3d6000fd5b505050506040513d602081101561136957600080fd5b505160055490915061138e906001600160a01b0384811691168363ffffffff611c6616565b919050565b6004546001600160a01b031681565b73d533a949740bb3306d119cc777fa900ba034cd5281565b6004546001600160a01b03163314611407576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600155565b7379a8c46dea5ada233abaffd40f3a0a2b1e5a4f2781565b60006114456114316104ad565b61143961182e565b9063ffffffff611b7116565b905090565b61271081565b60005481565b6005546000906001600160a01b031633146114a6576040805162461bcd60e51b815260206004820152600b60248201526a10b1b7b73a3937b63632b960a91b604482015290519081900360640190fd5b6114ae611dd0565b604080516370a0823160e01b81523060048201529051600080516020612164833981519152916370a08231916024808301926020929190829003018186803b1580156114f957600080fd5b505afa15801561150d573d6000803e3d6000fd5b505050506040513d602081101561152357600080fd5b505160055460408051632988bb9f60e21b8152600080516020612164833981519152600482015290519293506000926001600160a01b039092169163a622ee7c91602480820192602092909190829003018186803b15801561158457600080fd5b505afa158015611598573d6000803e3d6000fd5b505050506040513d60208110156115ae57600080fd5b505190506001600160a01b0381166115f6576040805162461bcd60e51b8152602060048201526006602482015265085d985d5b1d60d21b604482015290519081900360640190fd5b611615600080516020612164833981519152828463ffffffff611c6616565b5090565b60015481565b60025481565b6004546001600160a01b03163314611672576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031633146116e1576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600055565b6004546001600160a01b03163314611733576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b7369fb7c45726cfe2badee8317005d3f94be83884081565b6004546001600160a01b031633146117ba576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b03163314611829576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600255565b604080516370a0823160e01b81523060048201529051600091600080516020612164833981519152916370a0823191602480820192602092909190829003018186803b15801561050c57600080fd5b6004546001600160a01b031633146118ca576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b604080516370a0823160e01b81523060048201529051600091600080516020612164833981519152916370a0823191602480820192602092909190829003018186803b15801561193b57600080fd5b505afa15801561194f573d6000803e3d6000fd5b505050506040513d602081101561196557600080fd5b505190508015611a285760035461199b90600080516020612164833981519152906001600160a01b03168363ffffffff611c6616565b60035460408051631f2c13e160e31b81527369fb7c45726cfe2badee8317005d3f94be8388406004820152600080516020612164833981519152602482015290516001600160a01b039092169163f9609f089160448082019260009290919082900301818387803b158015611a0f57600080fd5b505af1158015611a23573d6000803e3d6000fd5b505050505b50565b6003546001600160a01b031681565b737a250d5630b4cf539739df2c5dacb4c659f2488d81565b736b175474e89094c44da98b954eedeac495271d0f81565b6005546001600160a01b031681565b6000611abb83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611e73565b90505b92915050565b60035460408051636ce5768960e11b81527369fb7c45726cfe2badee8317005d3f94be838840600482015260008051602061216483398151915260248201526044810184905290516000926001600160a01b03169163d9caed1291606480830192602092919082900301818787803b158015611b3f57600080fd5b505af1158015611b53573d6000803e3d6000fd5b505050506040513d6020811015611b6957600080fd5b505192915050565b600082820183811015611abb576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600082611bda57506000611abe565b82820282848281611be757fe5b0414611abb5760405162461bcd60e51b81526004018080602001828103825260218152602001806121846021913960400191505060405180910390fd5b6000611abb83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611f0a565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611cb8908490611f6f565b505050565b801580611d43575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015611d1557600080fd5b505afa158015611d29573d6000803e3d6000fd5b505050506040513d6020811015611d3f57600080fd5b5051155b611d7e5760405162461bcd60e51b81526004018080602001828103825260368152602001806121cf6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052611cb8908490611f6f565b600354604080516301395c5960e31b81527369fb7c45726cfe2badee8317005d3f94be8388406004820152600080516020612164833981519152602482015290516001600160a01b03909216916309cae2c8916044808201926020929091908290030181600087803b158015611e4557600080fd5b505af1158015611e59573d6000803e3d6000fd5b505050506040513d6020811015611e6f57600080fd5b5050565b60008184841115611f025760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611ec7578181015183820152602001611eaf565b50505050905090810190601f168015611ef45780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008183611f595760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611ec7578181015183820152602001611eaf565b506000838581611f6557fe5b0495945050505050565b611f81826001600160a01b0316612127565b611fd2576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106120105780518252601f199092019160209182019101611ff1565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612072576040519150601f19603f3d011682016040523d82523d6000602084013e612077565b606091505b5091509150816120ce576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b805115610853578080602001905160208110156120ea57600080fd5b50516108535760405162461bcd60e51b815260040180806020018281038252602a8152602001806121a5602a913960400191505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061215b57508115155b94935050505056fe0000000000000000000000003b3ac5386837dc563660fb6a0937dfaa5924333b536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a265627a7a7231582069fe316e0b1e7d111e50d5bc10029abb8027b3b46a31adbddb25543a8414207464736f6c634300051100320000000000000000000000009e65ad11b299ca0abefc2799ddb6314ef2d91080
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102115760003560e01c8063853828b611610125578063c1a3d44c116100ad578063e9751f6b1161007c578063e9751f6b1461037b578063ec5568891461048d578063edc9af9514610495578063f4b9fa751461049d578063f77c4791146104a557610211565b8063c1a3d44c14610457578063c7b9d5301461045f578063d0e30db014610485578063d5c1ff731461037b57610211565b8063955383bd116100f4578063955383bd146103c957806397107d6d146103e6578063a6f19c841461040c578063ab033ea914610414578063ac1e50251461043a57610211565b8063853828b61461038b57806387788782146103935780638bc7e8c41461039b57806392eefe9b146103a357610211565b806346c96aac116101a857806370897b231161017757806370897b231461034e5780637165485d1461036b578063722713f7146103735780637cc791131461037b5780637fef901a1461038357610211565b806346c96aac1461031057806351cff8d9146103185780635aa6e6751461033e5780636a4874a11461034657610211565b80632e1a7d4d116101e45780632e1a7d4d146102d9578063366cd4f3146102f85780633fc8cef3146103005780634641257d1461030857610211565b8063115880861461021657806317d7de7c146102305780631f1fcd51146102ad5780631fe4a686146102d1575b600080fd5b61021e6104ad565b60408051918252519081900360200190f35b61023861053d565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561027257818101518382015260200161025a565b50505050905090810190601f16801561029f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102b5610574565b604080516001600160a01b039092168252519081900360200190f35b6102b5610586565b6102f6600480360360208110156102ef57600080fd5b5035610595565b005b6102b5610859565b6102b5610871565b6102f6610889565b6102b5611131565b61021e6004803603602081101561032e57600080fd5b50356001600160a01b0316611149565b6102b5611393565b6102b56113a2565b6102f66004803603602081101561036457600080fd5b50356113ba565b6102b561140c565b61021e611424565b61021e61144a565b61021e611450565b61021e611456565b61021e611619565b61021e61161f565b6102f6600480360360208110156103b957600080fd5b50356001600160a01b0316611625565b6102f6600480360360208110156103df57600080fd5b5035611694565b6102f6600480360360208110156103fc57600080fd5b50356001600160a01b03166116e6565b6102b5611755565b6102f66004803603602081101561042a57600080fd5b50356001600160a01b031661176d565b6102f66004803603602081101561045057600080fd5b50356117dc565b61021e61182e565b6102f66004803603602081101561047557600080fd5b50356001600160a01b031661187d565b6102f66118ec565b6102b5611a2b565b6102b5611a3a565b6102b5611a52565b6102b5611a6a565b600354604080516370a0823160e01b81527369fb7c45726cfe2badee8317005d3f94be838840600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561050c57600080fd5b505afa158015610520573d6000803e3d6000fd5b505050506040513d602081101561053657600080fd5b5051905090565b60408051808201909152601b81527f5374726174656779437572766542555344566f74657250726f78790000000000602082015290565b60008051602061216483398151915281565b6006546001600160a01b031681565b6005546001600160a01b031633146105e2576040805162461bcd60e51b815260206004820152600b60248201526a10b1b7b73a3937b63632b960a91b604482015290519081900360640190fd5b604080516370a0823160e01b81523060048201529051600091600080516020612164833981519152916370a0823191602480820192602092909190829003018186803b15801561063157600080fd5b505afa158015610645573d6000803e3d6000fd5b505050506040513d602081101561065b57600080fd5b50519050818110156106945761067f61067a838363ffffffff611a7916565b611ac4565b9150610691828263ffffffff611b7116565b91505b60006106bd6127106106b160025486611bcb90919063ffffffff16565b9063ffffffff611c2416565b9050610758600560009054906101000a90046001600160a01b03166001600160a01b0316639ec5a8946040518163ffffffff1660e01b815260040160206040518083038186803b15801561071057600080fd5b505afa158015610724573d6000803e3d6000fd5b505050506040513d602081101561073a57600080fd5b5051600080516020612164833981519152908363ffffffff611c6616565b60055460408051632988bb9f60e21b8152600080516020612164833981519152600482015290516000926001600160a01b03169163a622ee7c916024808301926020929190829003018186803b1580156107b157600080fd5b505afa1580156107c5573d6000803e3d6000fd5b505050506040513d60208110156107db57600080fd5b505190506001600160a01b038116610823576040805162461bcd60e51b8152602060048201526006602482015265085d985d5b1d60d21b604482015290519081900360640190fd5b61085381610837868563ffffffff611a7916565b600080516020612164833981519152919063ffffffff611c6616565b50505050565b73c2cb1040220768554cf699b0d863a3cd4324ce3281565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b6006546001600160a01b03163314806108ac57506004546001600160a01b031633145b6108eb576040805162461bcd60e51b815260206004820152600b60248201526a08585d5d1a1bdc9a5e995960aa1b604482015290519081900360640190fd5b6003546040805163072e008f60e11b81527369fb7c45726cfe2badee8317005d3f94be838840600482015290516001600160a01b0390921691630e5c011e9160248082019260009290919082900301818387803b15801561094b57600080fd5b505af115801561095f573d6000803e3d6000fd5b5050604080516370a0823160e01b815230600482015290516000935073d533a949740bb3306d119cc777fa900ba034cd5292506370a0823191602480820192602092909190829003018186803b1580156109b857600080fd5b505afa1580156109cc573d6000803e3d6000fd5b505050506040513d60208110156109e257600080fd5b505190508015610c97576000610a096127106106b160005485611bcb90919063ffffffff16565b9050610a4473d533a949740bb3306d119cc777fa900ba034cd5273f147b8125d2ef93fb6965db97d6746952a1339348363ffffffff611c6616565b610a54828263ffffffff611a7916565b9150610a9073d533a949740bb3306d119cc777fa900ba034cd52737a250d5630b4cf539739df2c5dacb4c659f2488d600063ffffffff611cbd16565b610ac973d533a949740bb3306d119cc777fa900ba034cd52737a250d5630b4cf539739df2c5dacb4c659f2488d8463ffffffff611cbd16565b6040805160038082526080820190925260609160208201838038833901905050905073d533a949740bb3306d119cc777fa900ba034cd5281600081518110610b0d57fe5b60200260200101906001600160a01b031690816001600160a01b03168152505073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281600181518110610b4f57fe5b60200260200101906001600160a01b031690816001600160a01b031681525050736b175474e89094c44da98b954eedeac495271d0f81600281518110610b9157fe5b6001600160a01b0390921660209283029190910190910152737a250d5630b4cf539739df2c5dacb4c659f2488d6338ed17398460008430610bda4261070863ffffffff611b7116565b6040518663ffffffff1660e01b81526004018086815260200185815260200180602001846001600160a01b03166001600160a01b03168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b83811015610c53578181015183820152602001610c3b565b505050509050019650505050505050600060405180830381600087803b158015610c7c57600080fd5b505af1158015610c90573d6000803e3d6000fd5b5050505050505b604080516370a0823160e01b81523060048201529051600091736b175474e89094c44da98b954eedeac495271d0f916370a0823191602480820192602092909190829003018186803b158015610cec57600080fd5b505afa158015610d00573d6000803e3d6000fd5b505050506040513d6020811015610d1657600080fd5b505190508015610e0657610d5a736b175474e89094c44da98b954eedeac495271d0f73c2cb1040220768554cf699b0d863a3cd4324ce32600063ffffffff611cbd16565b610d93736b175474e89094c44da98b954eedeac495271d0f73c2cb1040220768554cf699b0d863a3cd4324ce328363ffffffff611cbd16565b73c2cb1040220768554cf699b0d863a3cd4324ce326001600160a01b031663b6b55f25826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610ded57600080fd5b505af1158015610e01573d6000803e3d6000fd5b505050505b604080516370a0823160e01b8152306004820152905160009173c2cb1040220768554cf699b0d863a3cd4324ce32916370a0823191602480820192602092909190829003018186803b158015610e5b57600080fd5b505afa158015610e6f573d6000803e3d6000fd5b505050506040513d6020811015610e8557600080fd5b505190508015610fc657610ec973c2cb1040220768554cf699b0d863a3cd4324ce327379a8c46dea5ada233abaffd40f3a0a2b1e5a4f27600063ffffffff611cbd16565b610f0273c2cb1040220768554cf699b0d863a3cd4324ce327379a8c46dea5ada233abaffd40f3a0a2b1e5a4f278363ffffffff611cbd16565b7379a8c46dea5ada233abaffd40f3a0a2b1e5a4f276001600160a01b031663029b2f3460405180608001604052808481526020016000815260200160008152602001600081525060006040518363ffffffff1660e01b81526004018083600460200280838360005b83811015610f82578181015183820152602001610f6a565b5050505090500182815260200192505050600060405180830381600087803b158015610fad57600080fd5b505af1158015610fc1573d6000803e3d6000fd5b505050505b604080516370a0823160e01b81523060048201529051600091600080516020612164833981519152916370a0823191602480820192602092909190829003018186803b15801561101557600080fd5b505afa158015611029573d6000803e3d6000fd5b505050506040513d602081101561103f57600080fd5b5051905080156110c35760006110666127106106b160015485611bcb90919063ffffffff16565b90506110b9600560009054906101000a90046001600160a01b03166001600160a01b0316639ec5a8946040518163ffffffff1660e01b815260040160206040518083038186803b15801561071057600080fd5b6110c16118ec565b505b600360009054906101000a90046001600160a01b03166001600160a01b031663f83d08ba6040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561111357600080fd5b505af1158015611127573d6000803e3d6000fd5b5050505050505050565b73f147b8125d2ef93fb6965db97d6746952a13393481565b6005546000906001600160a01b03163314611199576040805162461bcd60e51b815260206004820152600b60248201526a10b1b7b73a3937b63632b960a91b604482015290519081900360640190fd5b6000805160206121648339815191526001600160a01b03831614156111ee576040805162461bcd60e51b815260206004808301919091526024820152631dd85b9d60e21b604482015290519081900360640190fd5b73d533a949740bb3306d119cc777fa900ba034cd526001600160a01b0383161415611246576040805162461bcd60e51b815260206004820152600360248201526231b93b60e91b604482015290519081900360640190fd5b73c2cb1040220768554cf699b0d863a3cd4324ce326001600160a01b03831614156112a1576040805162461bcd60e51b815260206004808301919091526024820152637964616960e01b604482015290519081900360640190fd5b736b175474e89094c44da98b954eedeac495271d0f6001600160a01b03831614156112f9576040805162461bcd60e51b815260206004820152600360248201526264616960e81b604482015290519081900360640190fd5b604080516370a0823160e01b815230600482015290516001600160a01b038416916370a08231916024808301926020929190829003018186803b15801561133f57600080fd5b505afa158015611353573d6000803e3d6000fd5b505050506040513d602081101561136957600080fd5b505160055490915061138e906001600160a01b0384811691168363ffffffff611c6616565b919050565b6004546001600160a01b031681565b73d533a949740bb3306d119cc777fa900ba034cd5281565b6004546001600160a01b03163314611407576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600155565b7379a8c46dea5ada233abaffd40f3a0a2b1e5a4f2781565b60006114456114316104ad565b61143961182e565b9063ffffffff611b7116565b905090565b61271081565b60005481565b6005546000906001600160a01b031633146114a6576040805162461bcd60e51b815260206004820152600b60248201526a10b1b7b73a3937b63632b960a91b604482015290519081900360640190fd5b6114ae611dd0565b604080516370a0823160e01b81523060048201529051600080516020612164833981519152916370a08231916024808301926020929190829003018186803b1580156114f957600080fd5b505afa15801561150d573d6000803e3d6000fd5b505050506040513d602081101561152357600080fd5b505160055460408051632988bb9f60e21b8152600080516020612164833981519152600482015290519293506000926001600160a01b039092169163a622ee7c91602480820192602092909190829003018186803b15801561158457600080fd5b505afa158015611598573d6000803e3d6000fd5b505050506040513d60208110156115ae57600080fd5b505190506001600160a01b0381166115f6576040805162461bcd60e51b8152602060048201526006602482015265085d985d5b1d60d21b604482015290519081900360640190fd5b611615600080516020612164833981519152828463ffffffff611c6616565b5090565b60015481565b60025481565b6004546001600160a01b03163314611672576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031633146116e1576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600055565b6004546001600160a01b03163314611733576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b7369fb7c45726cfe2badee8317005d3f94be83884081565b6004546001600160a01b031633146117ba576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b03163314611829576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600255565b604080516370a0823160e01b81523060048201529051600091600080516020612164833981519152916370a0823191602480820192602092909190829003018186803b15801561050c57600080fd5b6004546001600160a01b031633146118ca576040805162461bcd60e51b815260206004820152600b60248201526a21676f7665726e616e636560a81b604482015290519081900360640190fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b604080516370a0823160e01b81523060048201529051600091600080516020612164833981519152916370a0823191602480820192602092909190829003018186803b15801561193b57600080fd5b505afa15801561194f573d6000803e3d6000fd5b505050506040513d602081101561196557600080fd5b505190508015611a285760035461199b90600080516020612164833981519152906001600160a01b03168363ffffffff611c6616565b60035460408051631f2c13e160e31b81527369fb7c45726cfe2badee8317005d3f94be8388406004820152600080516020612164833981519152602482015290516001600160a01b039092169163f9609f089160448082019260009290919082900301818387803b158015611a0f57600080fd5b505af1158015611a23573d6000803e3d6000fd5b505050505b50565b6003546001600160a01b031681565b737a250d5630b4cf539739df2c5dacb4c659f2488d81565b736b175474e89094c44da98b954eedeac495271d0f81565b6005546001600160a01b031681565b6000611abb83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611e73565b90505b92915050565b60035460408051636ce5768960e11b81527369fb7c45726cfe2badee8317005d3f94be838840600482015260008051602061216483398151915260248201526044810184905290516000926001600160a01b03169163d9caed1291606480830192602092919082900301818787803b158015611b3f57600080fd5b505af1158015611b53573d6000803e3d6000fd5b505050506040513d6020811015611b6957600080fd5b505192915050565b600082820183811015611abb576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600082611bda57506000611abe565b82820282848281611be757fe5b0414611abb5760405162461bcd60e51b81526004018080602001828103825260218152602001806121846021913960400191505060405180910390fd5b6000611abb83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611f0a565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611cb8908490611f6f565b505050565b801580611d43575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b158015611d1557600080fd5b505afa158015611d29573d6000803e3d6000fd5b505050506040513d6020811015611d3f57600080fd5b5051155b611d7e5760405162461bcd60e51b81526004018080602001828103825260368152602001806121cf6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052611cb8908490611f6f565b600354604080516301395c5960e31b81527369fb7c45726cfe2badee8317005d3f94be8388406004820152600080516020612164833981519152602482015290516001600160a01b03909216916309cae2c8916044808201926020929091908290030181600087803b158015611e4557600080fd5b505af1158015611e59573d6000803e3d6000fd5b505050506040513d6020811015611e6f57600080fd5b5050565b60008184841115611f025760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611ec7578181015183820152602001611eaf565b50505050905090810190601f168015611ef45780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008183611f595760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611ec7578181015183820152602001611eaf565b506000838581611f6557fe5b0495945050505050565b611f81826001600160a01b0316612127565b611fd2576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106120105780518252601f199092019160209182019101611ff1565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612072576040519150601f19603f3d011682016040523d82523d6000602084013e612077565b606091505b5091509150816120ce576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b805115610853578080602001905160208110156120ea57600080fd5b50516108535760405162461bcd60e51b815260040180806020018281038252602a8152602001806121a5602a913960400191505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061215b57508115155b94935050505056fe0000000000000000000000003b3ac5386837dc563660fb6a0937dfaa5924333b536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a265627a7a7231582069fe316e0b1e7d111e50d5bc10029abb8027b3b46a31adbddb25543a8414207464736f6c63430005110032
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000009e65ad11b299ca0abefc2799ddb6314ef2d91080
-----Decoded View---------------
Arg [0] : _controller (address): 0x9E65Ad11b299CA0Abefc2799dDB6314Ef2d91080
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000009e65ad11b299ca0abefc2799ddb6314ef2d91080
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ 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.