More Info
Private Name Tags
ContractCreator
Multichain Info
No addresses found
Latest 25 from a total of 2,992 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Stake ETH | 5243877 | 302 days ago | IN | 8 ETH | 0.00000199 | ||||
Stake ETH | 5033619 | 306 days ago | IN | 3.99 ETH | 0.00006814 | ||||
Stake ETH | 4998369 | 307 days ago | IN | 2.79 ETH | 0.00002511 | ||||
Stake ETH | 4936145 | 309 days ago | IN | 1 ETH | 0.00002195 | ||||
Stake ETH | 4936026 | 309 days ago | IN | 1.4 ETH | 0.00002282 | ||||
Stake ETH | 4933992 | 309 days ago | IN | 2 ETH | 0.00003459 | ||||
Stake ETH | 4919438 | 309 days ago | IN | 1 ETH | 0.00003259 | ||||
Stake ETH | 4913018 | 309 days ago | IN | 2.79 ETH | 0.00005633 | ||||
Stake ETH | 4911362 | 309 days ago | IN | 2 ETH | 0.0000738 | ||||
Stake ETH | 4877330 | 310 days ago | IN | 1 ETH | 0.00004934 | ||||
Stake ETH | 4865044 | 310 days ago | IN | 1 ETH | 0.00002171 | ||||
Stake ETH | 4851578 | 311 days ago | IN | 30.5 ETH | 0.00000575 | ||||
Stake ETH | 4850293 | 311 days ago | IN | 2 ETH | 0.0000023 | ||||
Stake ETH | 4729366 | 313 days ago | IN | 140 ETH | 0.00001802 | ||||
Stake ETH | 4710479 | 314 days ago | IN | 8 ETH | 0.00002371 | ||||
Stake ETH | 4698768 | 314 days ago | IN | 9.9 ETH | 0.00000228 | ||||
Stake ETH | 4608231 | 316 days ago | IN | 5.95 ETH | 0.00000414 | ||||
Stake ETH | 4581089 | 317 days ago | IN | 1.5 ETH | 0.00000206 | ||||
Stake ETH | 4524486 | 318 days ago | IN | 2.1 ETH | 0.00000203 | ||||
Stake ETH | 4389021 | 321 days ago | IN | 52 ETH | 0.00000188 | ||||
Stake ETH | 4374132 | 322 days ago | IN | 38 ETH | 0.00000139 | ||||
Stake ETH | 4246333 | 325 days ago | IN | 1 ETH | 0.00000209 | ||||
Stake ETH | 4210530 | 326 days ago | IN | 1 ETH | 0.00000375 | ||||
Stake ETH | 4165662 | 327 days ago | IN | 1 ETH | 0.00000256 | ||||
Stake ETH | 4109417 | 328 days ago | IN | 54 ETH | 0.0000008 |
Latest 25 internal transactions (View All)
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
18268791 | 13 hrs ago | 0.075 ETH | ||||
18268791 | 13 hrs ago | 0.075 ETH | ||||
18145912 | 3 days ago | 3.1 ETH | ||||
18145912 | 3 days ago | 3.1 ETH | ||||
18081539 | 4 days ago | 0.15 ETH | ||||
18081539 | 4 days ago | 0.15 ETH | ||||
18078631 | 4 days ago | 0.00200097 ETH | ||||
18078631 | 4 days ago | 0.00200097 ETH | ||||
17884312 | 9 days ago | 0.005 ETH | ||||
17884312 | 9 days ago | 0.005 ETH | ||||
17821534 | 10 days ago | 0.025 ETH | ||||
17821534 | 10 days ago | 0.025 ETH | ||||
17615870 | 15 days ago | 0.014 ETH | ||||
17615870 | 15 days ago | 0.014 ETH | ||||
17526204 | 17 days ago | 0.00032 ETH | ||||
17526204 | 17 days ago | 0.00032 ETH | ||||
17261231 | 23 days ago | 0.00987606 ETH | ||||
17261231 | 23 days ago | 0.00987606 ETH | ||||
17193293 | 25 days ago | 915 ETH | ||||
16930511 | 31 days ago | 5,000 ETH | ||||
16930503 | 31 days ago | 10,000 ETH | ||||
16930503 | 31 days ago | 10,000 ETH | ||||
16822369 | 34 days ago | 8,200 ETH | ||||
16534643 | 40 days ago | 10 ETH | ||||
16534643 | 40 days ago | 10 ETH |
Loading...
Loading
Contract Name:
FixedStakingRewards
Compiler Version
v0.6.6+commit.6c089d02
Optimization Enabled:
Yes with 999999 runs
Other Settings:
istanbul EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity =0.6.6; import "@openzeppelin/contracts/math/Math.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/utils/ReentrancyGuard.sol"; import "./interfaces/IWETH.sol"; import "./interfaces/IFewFactory.sol"; import "./interfaces/IFewWrappedToken.sol"; import "./BlastManager.sol"; import "./libraries/TransferHelper.sol"; // Inheritance import "./interfaces/IFixedStakingRewards.sol"; contract FixedStakingRewards is IFixedStakingRewards, ReentrancyGuard, BlastManager { using SafeMath for uint256; using SafeERC20 for IERC20; address public immutable override WETH; address public immutable override fewFactory; /* ========== STATE VARIABLES ========== */ address public override rewardsToken; address public override rewardSetter; uint256 public override stakingInfoCount; // info about rewards for a particular staking token struct StakingInfo { uint256 id; address stakingToken; uint256 rewardPerTokenPerSecond; uint256 totalSupply; uint256 periodFinish; mapping(address => uint256) lastUpdateTime; mapping(address => uint256) balances; mapping(address => uint256) rewards; } mapping (uint256 => StakingInfo) public stakingInfos; /* ========== CONSTRUCTOR ========== */ constructor(address _WETH, address _fewFactory, address _rewardsToken) public { WETH = _WETH; fewFactory = _fewFactory; rewardSetter = msg.sender; rewardsToken = _rewardsToken; } receive() external payable { assert(msg.sender == WETH); // only accept ETH via fallback from the WETH contract } /* ========== VIEWS ========== */ function rewardPerTokenPerSecond(uint256 index) external override view returns (uint256) { return stakingInfos[index].rewardPerTokenPerSecond; } function totalSupply(uint256 index) external override view returns (uint256) { return stakingInfos[index].totalSupply; } function periodFinish(uint256 index) public override view returns (uint256) { return stakingInfos[index].periodFinish; } function lastTimeRewardApplicable(uint256 index) public override view returns (uint256) { return Math.min(block.timestamp, periodFinish(index)); } function lastUpdateTimeOf(uint256 index, address account) external override view returns (uint256) { return stakingInfos[index].lastUpdateTime[account]; } function balanceOf(uint256 index, address account) external override view returns (uint256) { return stakingInfos[index].balances[account]; } function rewardOf(uint256 index, address account) external override view returns (uint256) { return stakingInfos[index].rewards[account]; } function earned(uint256 index, address account) public override view returns (uint256) { StakingInfo storage info = stakingInfos[index]; return info.balances[account].mul( info.rewardPerTokenPerSecond ).mul( lastTimeRewardApplicable(index).sub(info.lastUpdateTime[account]) ).div( 1e18 ).add( info.rewards[account] ); } /* ========== MUTATIVE FUNCTIONS ========== */ function stakeWithPermit(uint256 index, uint256 amount, uint deadline, uint8 v, bytes32 r, bytes32 s) external override nonReentrant updateReward(index, msg.sender) { require(amount > 0, "Cannot stake 0"); StakingInfo storage info = stakingInfos[index]; require(info.stakingToken != address(0), 'FixedStakingRewards::stakeWithPermit: not deployed yet'); info.totalSupply = info.totalSupply.add(amount); info.balances[msg.sender] = info.balances[msg.sender].add(amount); // permit IUniswapV2ERC20(address(info.stakingToken)).permit(msg.sender, address(this), amount, deadline, v, r, s); IERC20(info.stakingToken).safeTransferFrom(msg.sender, address(this), amount); if (IFewFactory(fewFactory).getWrappedToken(info.stakingToken) == address(0)) { IFewFactory(fewFactory).createToken(info.stakingToken); } address fewWrappedToken = IFewFactory(fewFactory).getWrappedToken(info.stakingToken); IERC20(info.stakingToken).approve(fewWrappedToken, amount); IFewWrappedToken(fewWrappedToken).wrapTo(amount, address(this)); emit Staked(index, info.stakingToken, msg.sender, amount); } function stake(uint256 index, uint256 amount) external override nonReentrant updateReward(index, msg.sender) { require(amount > 0, "Cannot stake 0"); StakingInfo storage info = stakingInfos[index]; require(info.stakingToken != address(0), 'FixedStakingRewards::stake: not deployed yet'); info.totalSupply = info.totalSupply.add(amount); info.balances[msg.sender] = info.balances[msg.sender].add(amount); IERC20(info.stakingToken).safeTransferFrom(msg.sender, address(this), amount); if (IFewFactory(fewFactory).getWrappedToken(info.stakingToken) == address(0)) { IFewFactory(fewFactory).createToken(info.stakingToken); } address fewWrappedToken = IFewFactory(fewFactory).getWrappedToken(info.stakingToken); IERC20(info.stakingToken).approve(fewWrappedToken, amount); IFewWrappedToken(fewWrappedToken).wrapTo(amount, address(this)); emit Staked(index, info.stakingToken, msg.sender, amount); } function stakeETH(uint256 index) external override payable nonReentrant updateReward(index, msg.sender) { uint256 amount = msg.value; require(amount > 0, "Cannot stake 0"); StakingInfo storage info = stakingInfos[index]; require(info.stakingToken != address(0), 'FixedStakingRewards::stake: not deployed yet'); require(info.stakingToken == WETH, 'FixedStakingRewards::stake: not ETH'); info.totalSupply = info.totalSupply.add(amount); info.balances[msg.sender] = info.balances[msg.sender].add(amount); IWETH(WETH).deposit{value: amount}(); if (IFewFactory(fewFactory).getWrappedToken(info.stakingToken) == address(0)) { IFewFactory(fewFactory).createToken(info.stakingToken); } address fewWrappedToken = IFewFactory(fewFactory).getWrappedToken(info.stakingToken); IERC20(info.stakingToken).approve(fewWrappedToken, amount); IFewWrappedToken(fewWrappedToken).wrapTo(amount, address(this)); emit Staked(index, info.stakingToken, msg.sender, amount); } function withdraw(uint256 index, uint256 amount) public override nonReentrant updateReward(index, msg.sender) { require(amount > 0, "Cannot withdraw 0"); StakingInfo storage info = stakingInfos[index]; require(info.stakingToken != address(0), 'FixedStakingRewards::withdraw: not deployed yet'); info.totalSupply = info.totalSupply.sub(amount); info.balances[msg.sender] = info.balances[msg.sender].sub(amount); address fewWrappedToken = IFewFactory(fewFactory).getWrappedToken(info.stakingToken); IFewWrappedToken(fewWrappedToken).unwrapTo(amount, msg.sender); emit Withdrawn(index, info.stakingToken, msg.sender, amount); } function withdrawETH(uint256 index, uint256 amount) public override nonReentrant updateReward(index, msg.sender) { require(amount > 0, "Cannot withdraw 0"); StakingInfo storage info = stakingInfos[index]; require(info.stakingToken != address(0), 'FixedStakingRewards::withdraw: not deployed yet'); require(info.stakingToken == WETH, 'FixedStakingRewards::stake: not ETH'); info.totalSupply = info.totalSupply.sub(amount); info.balances[msg.sender] = info.balances[msg.sender].sub(amount); address fewWrappedToken = IFewFactory(fewFactory).getWrappedToken(info.stakingToken); IFewWrappedToken(fewWrappedToken).unwrapTo(amount, address(this)); IWETH(WETH).withdraw(amount); TransferHelper.safeTransferETH(msg.sender, amount); emit Withdrawn(index, info.stakingToken, msg.sender, amount); } function getReward(uint256 index) public override nonReentrant updateReward(index, msg.sender) { StakingInfo storage info = stakingInfos[index]; require(info.stakingToken != address(0), 'FixedStakingRewards::getReward: not deployed yet'); uint256 reward = info.rewards[msg.sender]; if (reward > 0) { info.rewards[msg.sender] = 0; IERC20(rewardsToken).safeTransfer(msg.sender, reward); emit RewardPaid(index, info.stakingToken, msg.sender, reward); } } function exit(uint256 index) external override { StakingInfo storage info = stakingInfos[index]; require(info.stakingToken != address(0), 'FixedStakingRewards::exit: not deployed yet'); withdraw(index, info.balances[msg.sender]); getReward(index); } function updateRewardFor(uint256 index, address account) external override nonReentrant updateReward(index, account) { } /* ========== RESTRICTED FUNCTIONS ========== */ // deploy a staking reward info for the staking token function deploy(address stakingToken, uint256 _rewardPerTokenPerSecond, uint256 _periodFinish) external override returns(uint256) { require(msg.sender == rewardSetter, 'FixedStakingRewards::deploy: FORBIDDEN'); require(_periodFinish > block.timestamp, 'FixedStakingRewards::deploy: future date required'); require(stakingToken != address(0), 'FixedStakingRewards::deploy: invalid staking token'); stakingInfoCount++; StakingInfo memory newInfo = StakingInfo({ id: stakingInfoCount, stakingToken: stakingToken, rewardPerTokenPerSecond: _rewardPerTokenPerSecond, totalSupply: 0, periodFinish: _periodFinish }); stakingInfos[newInfo.id] = newInfo; emit StakingCreated(stakingInfoCount, stakingToken, msg.sender, _rewardPerTokenPerSecond, _periodFinish); return stakingInfoCount; } function setRewardPerTokenPerSecond(uint256 index, uint256 _rewardPerTokenPerSecond) external override { require(msg.sender == rewardSetter, 'FixedStakingRewards::set: FORBIDDEN'); StakingInfo storage info = stakingInfos[index]; require(info.stakingToken != address(0), 'FixedStakingRewards::set: not deployed yet'); info.rewardPerTokenPerSecond = _rewardPerTokenPerSecond; emit SetRewardPerTokenPerSecond(index, info.stakingToken, msg.sender, _rewardPerTokenPerSecond); } function setPeriodFinish(uint256 index, uint256 _periodFinish) external override { require(msg.sender == rewardSetter, 'FixedStakingRewards::set: FORBIDDEN'); require(_periodFinish > block.timestamp, 'FixedStakingRewards::set: future date required'); StakingInfo storage info = stakingInfos[index]; require(info.stakingToken != address(0), 'FixedStakingRewards::set: not deployed yet'); require(info.periodFinish > block.timestamp, 'FixedStakingRewards::set: period finished'); info.periodFinish = _periodFinish; emit SetPeriodFinish(index, info.stakingToken, msg.sender, _periodFinish); } function setRewardSetter(address _rewardSetter) external override { require(_rewardSetter != address(0), 'FixedStakingRewards::set: Address 0'); require(msg.sender == rewardSetter, 'FixedStakingRewards::set: FORBIDDEN'); rewardSetter = _rewardSetter; emit SetRewardSetter(msg.sender, _rewardSetter); } /* ========== MODIFIERS ========== */ modifier updateReward(uint256 index, address account) { StakingInfo storage info = stakingInfos[index]; require(info.stakingToken != address(0), 'FixedStakingRewards::updateReward: not deployed yet'); if (account != address(0)) { info.rewards[account] = earned(index, account); info.lastUpdateTime[account] = lastTimeRewardApplicable(index); } _; } /* ========== EVENTS ========== */ event StakingCreated(uint256 index, address stakingToken, address indexed user, uint256 _rewardPerTokenPerSecond, uint256 _periodFinish); event Staked(uint256 index, address stakingToken, address indexed user, uint256 amount); event Withdrawn(uint256 index, address stakingToken, address indexed user, uint256 amount); event RewardPaid(uint256 index, address stakingToken, address indexed user, uint256 reward); event SetRewardPerTokenPerSecond(uint256 index, address stakingToken, address indexed user, uint256 _rewardPerTokenPerSecond); event SetPeriodFinish(uint256 index, address stakingToken, address indexed user, uint256 _periodFinish); event SetRewardSetter(address indexed rewardSetter, address _rewardSetter); }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow, so we distribute return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2); } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @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, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, 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 (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @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) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @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) { 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, reverting 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) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting 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) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * 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, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * 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, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ 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); }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "./IERC20.sol"; import "../../math/SafeMath.sol"; import "../../utils/Address.sol"; /** * @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 IERC20;` 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)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ 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. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "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"); } } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.2 <0.8.0; /** * @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) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @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]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor () internal { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: BUSL-1.1 pragma solidity =0.6.6; import './interfaces/IBlast.sol'; import './interfaces/IBlastPoints.sol'; import './interfaces/IBlastManager.sol'; contract BlastManager is IBlastManager { IBlast public constant BLAST = IBlast(0x4300000000000000000000000000000000000002); address public override manager; modifier onlyManager() { require(msg.sender == manager, "FORBIDDEN"); _; } constructor() public { manager = msg.sender; BLAST.configureAutomaticYield(); BLAST.configureClaimableGas(); } function claimGas(address recipient, bool isMax) external override onlyManager returns (uint256) { if (isMax) { return BLAST.claimMaxGas(address(this), recipient); } else { return BLAST.claimAllGas(address(this), recipient); } } function setManager(address _manager) external override onlyManager { manager = _manager; } function setGasMode(address blastGas) external override onlyManager { IBlast(blastGas).configureClaimableGas(); } function setPointsOperator(address blastPoints, address operator) external override onlyManager { // This method can be called only once, and operator must be an EOA. IBlastPoints(blastPoints).configurePointsOperator(operator); } }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; interface IBlast{ function configureAutomaticYield() external; function configureClaimableGas() external; function claimAllGas(address contractAddress, address recipient) external returns (uint256); function claimMaxGas(address contractAddress, address recipientOfGas) external returns (uint256); }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; interface IBlastManager { function manager() external view returns (address); function claimGas(address recipient, bool isMax) external returns (uint256); function setManager(address _manager) external; function setGasMode(address blastGas) external; function setPointsOperator(address blastPoints, address operator) external; }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; interface IBlastPoints { function configurePointsOperator(address operator) external; }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; /// @title Minimal ERC20 interface for Uniswap /// @notice Contains a subset of the full ERC20 interface that is used in Uniswap V3 interface IERC20Minimal { /// @notice Returns the balance of a token /// @param account The account for which to look up the number of tokens it has, i.e. its balance /// @return The number of tokens held by the account function balanceOf(address account) external view returns (uint256); /// @notice Transfers the amount of token from the `msg.sender` to the recipient /// @param recipient The account that will receive the amount transferred /// @param amount The number of tokens to send from the sender to the recipient /// @return Returns true for a successful transfer, false for an unsuccessful transfer function transfer(address recipient, uint256 amount) external returns (bool); /// @notice Returns the current allowance given to a spender by an owner /// @param owner The account of the token owner /// @param spender The account of the token spender /// @return The current allowance granted by `owner` to `spender` function allowance(address owner, address spender) external view returns (uint256); /// @notice Sets the allowance of a spender from the `msg.sender` to the value `amount` /// @param spender The account which will be allowed to spend a given amount of the owners tokens /// @param amount The amount of tokens allowed to be used by `spender` /// @return Returns true for a successful approval, false for unsuccessful function approve(address spender, uint256 amount) external returns (bool); /// @notice Transfers `amount` tokens from `sender` to `recipient` up to the allowance given to the `msg.sender` /// @param sender The account from which the transfer will be initiated /// @param recipient The recipient of the transfer /// @param amount The amount of the transfer /// @return Returns true for a successful transfer, false for unsuccessful function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /// @notice Event emitted when tokens are transferred from one address to another, either via `#transfer` or `#transferFrom`. /// @param from The account from which the tokens were sent, i.e. the balance decreased /// @param to The account to which the tokens were sent, i.e. the balance increased /// @param value The amount of tokens that were transferred event Transfer(address indexed from, address indexed to, uint256 value); /// @notice Event emitted when the approval amount for the spender of a given owner's tokens changes. /// @param owner The account that approved spending of its tokens /// @param spender The account for which the spending allowance was modified /// @param value The new allowance from the owner to the spender event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; interface IFewFactory { event WrappedTokenCreated(address indexed originalToken, address wrappedToken, uint); function getWrappedToken(address originalToken) external view returns (address wrappedToken); function allWrappedTokens(uint) external view returns (address wrappedToken); function parameter() external view returns (address); function allWrappedTokensLength() external view returns (uint); function paused() external view returns (bool); function createToken(address originalToken) external returns (address wrappedToken); }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; import "../interfaces/IUniswapV2ERC20.sol"; interface IFewWrappedToken is IUniswapV2ERC20 { event Mint(address indexed minter, uint256 amount, address indexed to); event Burn(address indexed burner, uint256 amount, address indexed to); event Wrap(address indexed sender, uint256 amount, address indexed to); event Unwrap(address indexed sender, uint256 amount, address indexed to); function factory() external view returns (address); function token() external view returns (address); function mint(address account, uint256 amount) external; function burn(uint256 amount) external; function burnFrom(address account, uint256 amount) external; function wrapTo(uint256 amount, address to) external returns (uint256); function wrap(uint256 amount) external returns (uint256); function unwrapTo(uint256 amount, address to) external returns (uint256); function unwrap(uint256 amount) external returns (uint256); }
pragma solidity >=0.4.24; interface IFixedStakingRewards { // Views function WETH() external pure returns (address); function fewFactory() external pure returns (address); function rewardsToken() external view returns (address); function rewardSetter() external view returns (address); function stakingInfoCount() external view returns (uint256); function rewardPerTokenPerSecond(uint256 index) external view returns (uint256); function totalSupply(uint256 index) external view returns (uint256); function periodFinish(uint256 index) external view returns (uint256); function lastTimeRewardApplicable(uint256 index) external view returns (uint256); function lastUpdateTimeOf(uint256 index, address account) external view returns (uint256); function balanceOf(uint256 index, address account) external view returns (uint256); function rewardOf(uint256 index, address account) external view returns (uint256); function earned(uint256 index, address account) external view returns (uint256); // Mutative function stakeWithPermit(uint256 index, uint256 amount, uint deadline, uint8 v, bytes32 r, bytes32 s) external; function stake(uint256 index, uint256 amount) external; function stakeETH(uint256 index) external payable; function withdraw(uint256 index, uint256 amount) external; function withdrawETH(uint256 index, uint256 amount) external; function getReward(uint256 index) external; function exit(uint256 index) external; function updateRewardFor(uint256 index, address account) external; function deploy(address stakingToken, uint256 _rewardPerTokenPerSecond, uint256 _periodFinish) external returns (uint256); function setRewardPerTokenPerSecond(uint256 index, uint256 _rewardPerTokenPerSecond) external; function setPeriodFinish(uint256 index, uint256 _periodFinish) external; function setRewardSetter(address _rewardSetter) external; event StakingCreated(uint256 index, address stakingToken, address indexed user, uint256 _rewardPerTokenPerSecond, uint256 _periodFinish); event Staked(uint256 index, address stakingToken, address indexed user, uint256 amount); event Withdrawn(uint256 index, address stakingToken, address indexed user, uint256 amount); event RewardPaid(uint256 index, address stakingToken, address indexed user, uint256 reward); event SetRewardPerTokenPerSecond(uint256 index, address stakingToken, address indexed user, uint256 _rewardPerTokenPerSecond); event SetPeriodFinish(uint256 index, address stakingToken, address indexed user, uint256 _periodFinish); event SetRewardSetter(address indexed rewardSetter, address _rewardSetter); }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; interface IUniswapV2ERC20 is IERC20 { function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; interface IWETH { function deposit() external payable; function transfer(address to, uint value) external returns (bool); function withdraw(uint) external; }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.6.0; import '../interfaces/IERC20Minimal.sol'; /// @title TransferHelper /// @notice Contains helper methods for interacting with ERC20 tokens that do not consistently return true/false library TransferHelper { /// @notice Transfers tokens from msg.sender to a recipient /// @dev Calls transfer on token contract, errors with TF if transfer fails /// @param token The contract address of the token which will be transferred /// @param to The recipient of the transfer /// @param value The value of the transfer function safeTransfer( address token, address to, uint256 value ) internal { (bool success, bytes memory data) = token.call(abi.encodeWithSelector(IERC20Minimal.transfer.selector, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), 'TF'); } function safeTransferETH( address to, uint256 value ) internal { (bool success, ) = to.call{value: value}(new bytes(0)); require(success, 'TransferHelper::safeTransferETH: ETH transfer failed'); } }
{ "optimizer": { "enabled": true, "runs": 999999 }, "evmVersion": "istanbul", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_WETH","type":"address"},{"internalType":"address","name":"_fewFactory","type":"address"},{"internalType":"address","name":"_rewardsToken","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"address","name":"stakingToken","type":"address"},{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"address","name":"stakingToken","type":"address"},{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"_periodFinish","type":"uint256"}],"name":"SetPeriodFinish","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"address","name":"stakingToken","type":"address"},{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"_rewardPerTokenPerSecond","type":"uint256"}],"name":"SetRewardPerTokenPerSecond","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"rewardSetter","type":"address"},{"indexed":false,"internalType":"address","name":"_rewardSetter","type":"address"}],"name":"SetRewardSetter","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"address","name":"stakingToken","type":"address"},{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"address","name":"stakingToken","type":"address"},{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"_rewardPerTokenPerSecond","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_periodFinish","type":"uint256"}],"name":"StakingCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"address","name":"stakingToken","type":"address"},{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[],"name":"BLAST","outputs":[{"internalType":"contract IBlast","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"bool","name":"isMax","type":"bool"}],"name":"claimGas","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"stakingToken","type":"address"},{"internalType":"uint256","name":"_rewardPerTokenPerSecond","type":"uint256"},{"internalType":"uint256","name":"_periodFinish","type":"uint256"}],"name":"deploy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"address","name":"account","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"exit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fewFactory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"address","name":"account","type":"address"}],"name":"lastUpdateTimeOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"address","name":"account","type":"address"}],"name":"rewardOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"rewardPerTokenPerSecond","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardSetter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"blastGas","type":"address"}],"name":"setGasMode","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_manager","type":"address"}],"name":"setManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"uint256","name":"_periodFinish","type":"uint256"}],"name":"setPeriodFinish","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"blastPoints","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"setPointsOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"uint256","name":"_rewardPerTokenPerSecond","type":"uint256"}],"name":"setRewardPerTokenPerSecond","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_rewardSetter","type":"address"}],"name":"setRewardSetter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"stakeETH","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"stakeWithPermit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingInfoCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"stakingInfos","outputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"address","name":"stakingToken","type":"address"},{"internalType":"uint256","name":"rewardPerTokenPerSecond","type":"uint256"},{"internalType":"uint256","name":"totalSupply","type":"uint256"},{"internalType":"uint256","name":"periodFinish","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"address","name":"account","type":"address"}],"name":"updateRewardFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c06040523480156200001157600080fd5b50604051620049f9380380620049f9833981810160405260608110156200003757600080fd5b50805160208201516040928301516001600081815581546001600160a01b0319163317909155845163388a0bbd60e11b8152945193949293919273430000000000000000000000000000000000000292637114177a9260048084019391929182900301818387803b158015620000ac57600080fd5b505af1158015620000c1573d6000803e3d6000fd5b505050507343000000000000000000000000000000000000026001600160a01b0316634e606c476040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156200011557600080fd5b505af11580156200012a573d6000803e3d6000fd5b50505050606083811b6001600160601b03199081166080529083901b1660a05260038054336001600160a01b031991821617909155600280549091166001600160a01b039283161790559182169116614812620001e760003980610ccb528061126f5280611a025280611add5280611ba55280612226528061230452806123cc52806129275280612a025280612aca52806131d9525080610204528061205b52806121655280612e0552806130a9528061333752506148126000f3fe6080604052600436106101e75760003560e01c8063910e056d11610102578063d1af0c7d11610095578063eeca156211610064578063eeca1562146107b4578063f4e92768146107de578063f996f5c414610824578063fa2c6c4c1461088e5761022d565b8063d1af0c7d146106cb578063df22a9df146106e0578063e220831d14610726578063e39c08fc1461076e5761022d565b8063c7cdea37116100d1578063c7cdea37146105c7578063c8b11dfe146105f7578063cfda54781461063f578063d0ebdbe71461068b5761022d565b8063910e056d1461052d57806397d7577614610573578063ad5c464814610588578063bd85b0391461059d5761022d565b8063481c6a751161017a5780636ecc20da116101495780636ecc20da1461048c5780637b0472f0146104a95780637f8661a1146104d957806386f4700c146105035761022d565b8063481c6a75146103e757806351d32e81146103fc5780635668b02e1461042c57806361539de7146104775761022d565b80632ae09290116101b65780632ae09290146103015780632d195bd2146103315780633656eec214610371578063441a3e70146103b75761022d565b80630437bbbf146102325780631c4b774b14610272578063230e3ea41461029c578063293ba4df146102c35761022d565b3661022d573373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161461022b57fe5b005b600080fd5b34801561023e57600080fd5b5061022b6004803603602081101561025557600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166108b8565b34801561027e57600080fd5b5061022b6004803603602081101561029557600080fd5b5035610a10565b3480156102a857600080fd5b506102b1610cc3565b60408051918252519081900360200190f35b3480156102cf57600080fd5b506102d8610cc9565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561030d57600080fd5b5061022b6004803603604081101561032457600080fd5b5080359060200135610ced565b34801561033d57600080fd5b5061022b6004803603602081101561035457600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610e45565b34801561037d57600080fd5b506102b16004803603604081101561039457600080fd5b508035906020013573ffffffffffffffffffffffffffffffffffffffff16610f2e565b3480156103c357600080fd5b5061022b600480360360408110156103da57600080fd5b5080359060200135610f68565b3480156103f357600080fd5b506102d86113f2565b34801561040857600080fd5b5061022b6004803603604081101561041f57600080fd5b508035906020013561140e565b34801561043857600080fd5b5061022b600480360360c081101561044f57600080fd5b5080359060208101359060408101359060ff6060820135169060808101359060a0013561161a565b34801561048357600080fd5b506102d8611dd4565b61022b600480360360208110156104a257600080fd5b5035611df0565b3480156104b557600080fd5b5061022b600480360360408110156104cc57600080fd5b50803590602001356125f7565b3480156104e557600080fd5b5061022b600480360360208110156104fc57600080fd5b5035612cf5565b34801561050f57600080fd5b506102b16004803603602081101561052657600080fd5b5035612d9d565b34801561053957600080fd5b506102b16004803603604081101561055057600080fd5b508035906020013573ffffffffffffffffffffffffffffffffffffffff16612db2565b34801561057f57600080fd5b506102d8612deb565b34801561059457600080fd5b506102d8612e03565b3480156105a957600080fd5b506102b1600480360360208110156105c057600080fd5b5035612e27565b3480156105d357600080fd5b5061022b600480360360408110156105ea57600080fd5b5080359060200135612e3c565b34801561060357600080fd5b506102b16004803603604081101561061a57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135151561340c565b34801561064b57600080fd5b506102b16004803603606081101561066257600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602081013590604001356135de565b34801561069757600080fd5b5061022b600480360360208110156106ae57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16613819565b3480156106d757600080fd5b506102d86138e6565b3480156106ec57600080fd5b5061022b6004803603604081101561070357600080fd5b508035906020013573ffffffffffffffffffffffffffffffffffffffff16613902565b34801561073257600080fd5b5061022b6004803603604081101561074957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516613a87565b34801561077a57600080fd5b506102b16004803603604081101561079157600080fd5b508035906020013573ffffffffffffffffffffffffffffffffffffffff16613ba8565b3480156107c057600080fd5b506102b1600480360360208110156107d757600080fd5b5035613c7e565b3480156107ea57600080fd5b506102b16004803603604081101561080157600080fd5b508035906020013573ffffffffffffffffffffffffffffffffffffffff16613c92565b34801561083057600080fd5b5061084e6004803603602081101561084757600080fd5b5035613cca565b6040805195865273ffffffffffffffffffffffffffffffffffffffff90941660208601528484019290925260608401526080830152519081900360a00190f35b34801561089a57600080fd5b506102b1600480360360208110156108b157600080fd5b5035613d10565b73ffffffffffffffffffffffffffffffffffffffff8116610924576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806144cc6023913960400191505060405180910390fd5b60035473ffffffffffffffffffffffffffffffffffffffff163314610994576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602381526020018061470a6023913960400191505060405180910390fd5b6003805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff00000000000000000000000000000000000000009091168117909155604080519182525133917f4c83e2ec7d2576b57f1249fb32f2251a0e894b5a75a7cea0710433f941467393919081900360200190a250565b60026000541415610a8257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600090815581815260056020526040902060018101548291339173ffffffffffffffffffffffffffffffffffffffff16610b09576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603381526020018061462c6033913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821615610b8957610b2f8383613ba8565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600783016020526040902055610b6083613c7e565b73ffffffffffffffffffffffffffffffffffffffff831660009081526005830160205260409020555b6000848152600560205260409020600181015473ffffffffffffffffffffffffffffffffffffffff16610c07576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603081526020018061472d6030913960400191505060405180910390fd5b3360009081526007820160205260409020548015610cb657336000818152600784016020526040812055600254610c579173ffffffffffffffffffffffffffffffffffffffff9091169083613d25565b60018201546040805188815273ffffffffffffffffffffffffffffffffffffffff9290921660208301528181018390525133917f56a43be815d86b39dc4d398124c956790410b5e9cf70d477de0299f25fc18313919081900360600190a25b5050600160005550505050565b60045481565b7f000000000000000000000000000000000000000000000000000000000000000081565b60035473ffffffffffffffffffffffffffffffffffffffff163314610d5d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602381526020018061470a6023913960400191505060405180910390fd5b6000828152600560205260409020600181015473ffffffffffffffffffffffffffffffffffffffff16610ddb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614787602a913960400191505060405180910390fd5b6002810182905560018101546040805185815273ffffffffffffffffffffffffffffffffffffffff9290921660208301528181018490525133917f489b02a324174d90cc8404cc090c7e460a82b4265386b907642c3f7c0cf6135d919081900360600190a2505050565b60015473ffffffffffffffffffffffffffffffffffffffff163314610ecb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f464f5242494444454e0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b8073ffffffffffffffffffffffffffffffffffffffff16634e606c476040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610f1357600080fd5b505af1158015610f27573d6000803e3d6000fd5b5050505050565b600082815260056020908152604080832073ffffffffffffffffffffffffffffffffffffffff851684526006019091529020545b92915050565b60026000541415610fda57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600090815582815260056020526040902060018101548391339173ffffffffffffffffffffffffffffffffffffffff16611061576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603381526020018061462c6033913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216156110e1576110878383613ba8565b73ffffffffffffffffffffffffffffffffffffffff831660009081526007830160205260409020556110b883613c7e565b73ffffffffffffffffffffffffffffffffffffffff831660009081526005830160205260409020555b6000841161115057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f43616e6e6f742077697468647261772030000000000000000000000000000000604482015290519081900360640190fd5b6000858152600560205260409020600181015473ffffffffffffffffffffffffffffffffffffffff166111ce576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f81526020018061465f602f913960400191505060405180910390fd5b60038101546111e3908663ffffffff613db716565b600382015533600090815260068201602052604090205461120a908663ffffffff613db716565b336000908152600683016020908152604080832093909355600184015483517fa7dc2d7800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9182166004820152935192937f00000000000000000000000000000000000000000000000000000000000000009091169263a7dc2d7892602480840193919291829003018186803b1580156112b557600080fd5b505afa1580156112c9573d6000803e3d6000fd5b505050506040513d60208110156112df57600080fd5b5051604080517f5dbd605900000000000000000000000000000000000000000000000000000000815260048101899052336024820152905191925073ffffffffffffffffffffffffffffffffffffffff831691635dbd6059916044808201926020929091908290030181600087803b15801561135a57600080fd5b505af115801561136e573d6000803e3d6000fd5b505050506040513d602081101561138457600080fd5b505060018201546040805189815273ffffffffffffffffffffffffffffffffffffffff9290921660208301528181018890525133917fe5df19de43c8c04fd192bc68e484b2593570925fbb6ad8c07ccafbc2aa5c37a1919081900360600190a2505060016000555050505050565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60035473ffffffffffffffffffffffffffffffffffffffff16331461147e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602381526020018061470a6023913960400191505060405180910390fd5b4281116114d6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e815260200180614538602e913960400191505060405180910390fd5b6000828152600560205260409020600181015473ffffffffffffffffffffffffffffffffffffffff16611554576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614787602a913960400191505060405180910390fd5b428160040154116115b0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602981526020018061468e6029913960400191505060405180910390fd5b6004810182905560018101546040805185815273ffffffffffffffffffffffffffffffffffffffff9290921660208301528181018490525133917f26ca4f2c112cdb5d1b470fb2918f489441dc66d6e1aef6ddcdb1b023a26100b4919081900360600190a2505050565b6002600054141561168c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600090815586815260056020526040902060018101548791339173ffffffffffffffffffffffffffffffffffffffff16611713576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603381526020018061462c6033913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821615611793576117398383613ba8565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260078301602052604090205561176a83613c7e565b73ffffffffffffffffffffffffffffffffffffffff831660009081526005830160205260409020555b6000881161180257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f43616e6e6f74207374616b652030000000000000000000000000000000000000604482015290519081900360640190fd5b6000898152600560205260409020600181015473ffffffffffffffffffffffffffffffffffffffff16611880576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260368152602001806145f66036913960400191505060405180910390fd5b6003810154611895908a63ffffffff613e2e16565b60038201553360009081526006820160205260409020546118bc908a63ffffffff613e2e16565b33600081815260068401602052604080822093909355600184015483517fd505accf0000000000000000000000000000000000000000000000000000000081526004810193909352306024840152604483018d9052606483018c905260ff8b16608484015260a483018a905260c48301899052925173ffffffffffffffffffffffffffffffffffffffff9093169263d505accf9260e480820193929182900301818387803b15801561196d57600080fd5b505af1158015611981573d6000803e3d6000fd5b50505060018201546119b2915073ffffffffffffffffffffffffffffffffffffffff1633308c63ffffffff613ea216565b6001810154604080517fa7dc2d7800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff928316600482015290516000927f0000000000000000000000000000000000000000000000000000000000000000169163a7dc2d78916024808301926020929190829003018186803b158015611a4857600080fd5b505afa158015611a5c573d6000803e3d6000fd5b505050506040513d6020811015611a7257600080fd5b505173ffffffffffffffffffffffffffffffffffffffff161415611b55576001810154604080517fc21ab7f900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff928316600482015290517f00000000000000000000000000000000000000000000000000000000000000009092169163c21ab7f9916024808201926020929091908290030181600087803b158015611b2857600080fd5b505af1158015611b3c573d6000803e3d6000fd5b505050506040513d6020811015611b5257600080fd5b50505b6001810154604080517fa7dc2d7800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff928316600482015290516000927f0000000000000000000000000000000000000000000000000000000000000000169163a7dc2d78916024808301926020929190829003018186803b158015611beb57600080fd5b505afa158015611bff573d6000803e3d6000fd5b505050506040513d6020811015611c1557600080fd5b50516001830154604080517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8085166004830152602482018f9052915193945091169163095ea7b3916044808201926020929091908290030181600087803b158015611c9757600080fd5b505af1158015611cab573d6000803e3d6000fd5b505050506040513d6020811015611cc157600080fd5b5050604080517f26599850000000000000000000000000000000000000000000000000000000008152600481018c9052306024820152905173ffffffffffffffffffffffffffffffffffffffff83169163265998509160448083019260209291908290030181600087803b158015611d3857600080fd5b505af1158015611d4c573d6000803e3d6000fd5b505050506040513d6020811015611d6257600080fd5b50506001820154604080518d815273ffffffffffffffffffffffffffffffffffffffff9290921660208301528181018c90525133917f7edb7e181699d1db1f6e3ac27fb17e1db8ac69aeb22eec366e72528c0886726a919081900360600190a250506001600055505050505050505050565b60035473ffffffffffffffffffffffffffffffffffffffff1681565b60026000541415611e6257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600090815581815260056020526040902060018101548291339173ffffffffffffffffffffffffffffffffffffffff16611ee9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603381526020018061462c6033913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821615611f6957611f0f8383613ba8565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600783016020526040902055611f4083613c7e565b73ffffffffffffffffffffffffffffffffffffffff831660009081526005830160205260409020555b3480611fd657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f43616e6e6f74207374616b652030000000000000000000000000000000000000604482015290519081900360640190fd5b6000858152600560205260409020600181015473ffffffffffffffffffffffffffffffffffffffff16612054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c8152602001806147b1602c913960400191505060405180910390fd5b60018101547f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff9081169116146120ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806145156023913960400191505060405180910390fd5b60038101546120ff908363ffffffff613e2e16565b6003820155336000908152600682016020526040902054612126908363ffffffff613e2e16565b3360009081526006830160205260408082209290925581517fd0e30db000000000000000000000000000000000000000000000000000000000815291517f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169263d0e30db092869260048084019382900301818588803b1580156121be57600080fd5b505af11580156121d2573d6000803e3d6000fd5b5050506001830154604080517fa7dc2d7800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff92831660048201529051600094507f0000000000000000000000000000000000000000000000000000000000000000909216925063a7dc2d78916024808301926020929190829003018186803b15801561226f57600080fd5b505afa158015612283573d6000803e3d6000fd5b505050506040513d602081101561229957600080fd5b505173ffffffffffffffffffffffffffffffffffffffff16141561237c576001810154604080517fc21ab7f900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff928316600482015290517f00000000000000000000000000000000000000000000000000000000000000009092169163c21ab7f9916024808201926020929091908290030181600087803b15801561234f57600080fd5b505af1158015612363573d6000803e3d6000fd5b505050506040513d602081101561237957600080fd5b50505b6001810154604080517fa7dc2d7800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff928316600482015290516000927f0000000000000000000000000000000000000000000000000000000000000000169163a7dc2d78916024808301926020929190829003018186803b15801561241257600080fd5b505afa158015612426573d6000803e3d6000fd5b505050506040513d602081101561243c57600080fd5b50516001830154604080517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff808516600483015260248201889052915193945091169163095ea7b3916044808201926020929091908290030181600087803b1580156124be57600080fd5b505af11580156124d2573d6000803e3d6000fd5b505050506040513d60208110156124e857600080fd5b5050604080517f2659985000000000000000000000000000000000000000000000000000000000815260048101859052306024820152905173ffffffffffffffffffffffffffffffffffffffff83169163265998509160448083019260209291908290030181600087803b15801561255f57600080fd5b505af1158015612573573d6000803e3d6000fd5b505050506040513d602081101561258957600080fd5b505060018201546040805189815273ffffffffffffffffffffffffffffffffffffffff9290921660208301528181018590525133917f7edb7e181699d1db1f6e3ac27fb17e1db8ac69aeb22eec366e72528c0886726a919081900360600190a2505060016000555050505050565b6002600054141561266957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600090815582815260056020526040902060018101548391339173ffffffffffffffffffffffffffffffffffffffff166126f0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603381526020018061462c6033913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821615612770576127168383613ba8565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260078301602052604090205561274783613c7e565b73ffffffffffffffffffffffffffffffffffffffff831660009081526005830160205260409020555b600084116127df57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f43616e6e6f74207374616b652030000000000000000000000000000000000000604482015290519081900360640190fd5b6000858152600560205260409020600181015473ffffffffffffffffffffffffffffffffffffffff1661285d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c8152602001806147b1602c913960400191505060405180910390fd5b6003810154612872908663ffffffff613e2e16565b6003820155336000908152600682016020526040902054612899908663ffffffff613e2e16565b33600081815260068401602052604090209190915560018201546128d79173ffffffffffffffffffffffffffffffffffffffff909116903088613ea2565b6001810154604080517fa7dc2d7800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff928316600482015290516000927f0000000000000000000000000000000000000000000000000000000000000000169163a7dc2d78916024808301926020929190829003018186803b15801561296d57600080fd5b505afa158015612981573d6000803e3d6000fd5b505050506040513d602081101561299757600080fd5b505173ffffffffffffffffffffffffffffffffffffffff161415612a7a576001810154604080517fc21ab7f900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff928316600482015290517f00000000000000000000000000000000000000000000000000000000000000009092169163c21ab7f9916024808201926020929091908290030181600087803b158015612a4d57600080fd5b505af1158015612a61573d6000803e3d6000fd5b505050506040513d6020811015612a7757600080fd5b50505b6001810154604080517fa7dc2d7800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff928316600482015290516000927f0000000000000000000000000000000000000000000000000000000000000000169163a7dc2d78916024808301926020929190829003018186803b158015612b1057600080fd5b505afa158015612b24573d6000803e3d6000fd5b505050506040513d6020811015612b3a57600080fd5b50516001830154604080517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8085166004830152602482018b9052915193945091169163095ea7b3916044808201926020929091908290030181600087803b158015612bbc57600080fd5b505af1158015612bd0573d6000803e3d6000fd5b505050506040513d6020811015612be657600080fd5b5050604080517f2659985000000000000000000000000000000000000000000000000000000000815260048101889052306024820152905173ffffffffffffffffffffffffffffffffffffffff83169163265998509160448083019260209291908290030181600087803b158015612c5d57600080fd5b505af1158015612c71573d6000803e3d6000fd5b505050506040513d6020811015612c8757600080fd5b505060018201546040805189815273ffffffffffffffffffffffffffffffffffffffff9290921660208301528181018890525133917f7edb7e181699d1db1f6e3ac27fb17e1db8ac69aeb22eec366e72528c0886726a919081900360600190a2505060016000555050505050565b6000818152600560205260409020600181015473ffffffffffffffffffffffffffffffffffffffff16612d73576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180614566602b913960400191505060405180910390fd5b336000908152600682016020526040902054612d90908390610f68565b612d9982610a10565b5050565b60009081526005602052604090206004015490565b600082815260056020908152604080832073ffffffffffffffffffffffffffffffffffffffff8516845260070190915290205492915050565b73430000000000000000000000000000000000000281565b7f000000000000000000000000000000000000000000000000000000000000000081565b60009081526005602052604090206003015490565b60026000541415612eae57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600090815582815260056020526040902060018101548391339173ffffffffffffffffffffffffffffffffffffffff16612f35576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603381526020018061462c6033913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821615612fb557612f5b8383613ba8565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600783016020526040902055612f8c83613c7e565b73ffffffffffffffffffffffffffffffffffffffff831660009081526005830160205260409020555b6000841161302457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f43616e6e6f742077697468647261772030000000000000000000000000000000604482015290519081900360640190fd5b6000858152600560205260409020600181015473ffffffffffffffffffffffffffffffffffffffff166130a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f81526020018061465f602f913960400191505060405180910390fd5b60018101547f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff908116911614613138576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806145156023913960400191505060405180910390fd5b600381015461314d908663ffffffff613db716565b6003820155336000908152600682016020526040902054613174908663ffffffff613db716565b336000908152600683016020908152604080832093909355600184015483517fa7dc2d7800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9182166004820152935192937f00000000000000000000000000000000000000000000000000000000000000009091169263a7dc2d7892602480840193919291829003018186803b15801561321f57600080fd5b505afa158015613233573d6000803e3d6000fd5b505050506040513d602081101561324957600080fd5b5051604080517f5dbd605900000000000000000000000000000000000000000000000000000000815260048101899052306024820152905191925073ffffffffffffffffffffffffffffffffffffffff831691635dbd6059916044808201926020929091908290030181600087803b1580156132c457600080fd5b505af11580156132d8573d6000803e3d6000fd5b505050506040513d60208110156132ee57600080fd5b5050604080517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260048101889052905173ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001691632e1a7d4d91602480830192600092919082900301818387803b15801561337e57600080fd5b505af1158015613392573d6000803e3d6000fd5b505050506133a03387613f3d565b60018201546040805189815273ffffffffffffffffffffffffffffffffffffffff9290921660208301528181018890525133917fe5df19de43c8c04fd192bc68e484b2593570925fbb6ad8c07ccafbc2aa5c37a1919081900360600190a2505060016000555050505050565b60015460009073ffffffffffffffffffffffffffffffffffffffff16331461349557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f464f5242494444454e0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b811561355657604080517f662aa11d00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff8516602482015290517343000000000000000000000000000000000000029163662aa11d9160448083019260209291908290030181600087803b15801561352357600080fd5b505af1158015613537573d6000803e3d6000fd5b505050506040513d602081101561354d57600080fd5b50519050610f62565b604080517f954fa5ee00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff8516602482015290517343000000000000000000000000000000000000029163954fa5ee9160448083019260209291908290030181600087803b15801561352357600080fd5b60035460009073ffffffffffffffffffffffffffffffffffffffff163314613651576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806144ef6026913960400191505060405180910390fd5b4282116136a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260318152602001806145916031913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8416613715576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806146d86032913960400191505060405180910390fd5b600480546001019055613726614486565b506040805160a0810182526004805480835273ffffffffffffffffffffffffffffffffffffffff88811660208086018281528688018b815260006060808a018281526080808c018f815299845260058752928c90208b51815594516001860180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169190991617909755915160028401559451600383015594519086015593548651908152938401528285018890529082018690529251919233927f2653f51ed9277db0c62d8ede289ee82133008b91693aef81baf753637439e6479281900390910190a250506004545b9392505050565b60015473ffffffffffffffffffffffffffffffffffffffff16331461389f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f464f5242494444454e0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60025473ffffffffffffffffffffffffffffffffffffffff1681565b6002600054141561397457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600090815582815260056020526040902060018101548391839173ffffffffffffffffffffffffffffffffffffffff166139fb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603381526020018061462c6033913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821615613a7b57613a218383613ba8565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600783016020526040902055613a5283613c7e565b73ffffffffffffffffffffffffffffffffffffffff831660009081526005830160205260409020555b50506001600055505050565b60015473ffffffffffffffffffffffffffffffffffffffff163314613b0d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f464f5242494444454e0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b8173ffffffffffffffffffffffffffffffffffffffff166336b91f2b826040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b158015613b8c57600080fd5b505af1158015613ba0573d6000803e3d6000fd5b505050505050565b600082815260056020818152604080842073ffffffffffffffffffffffffffffffffffffffff86168552600781018352818520549381019092528320549091613c7691613c6a90670de0b6b3a764000090613c5e90613c1690613c0a8b613c7e565b9063ffffffff613db716565b600287015473ffffffffffffffffffffffffffffffffffffffff8a166000908152600689016020526040902054613c529163ffffffff61407516565b9063ffffffff61407516565b9063ffffffff6140e816565b9063ffffffff613e2e16565b949350505050565b6000610f6242613c8d84612d9d565b614169565b600082815260056020818152604080842073ffffffffffffffffffffffffffffffffffffffff86168552909201905290205492915050565b60056020526000908152604090208054600182015460028301546003840154600490940154929373ffffffffffffffffffffffffffffffffffffffff9092169290919085565b60009081526005602052604090206002015490565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052613db290849061417f565b505050565b600082821115613e2857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60008282018381101561381257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6040805173ffffffffffffffffffffffffffffffffffffffff80861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd00000000000000000000000000000000000000000000000000000000179052613f3790859061417f565b50505050565b6040805160008082526020820190925273ffffffffffffffffffffffffffffffffffffffff84169083906040518082805190602001908083835b60208310613fb457805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101613f77565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114614016576040519150601f19603f3d011682016040523d82523d6000602084013e61401b565b606091505b5050905080613db2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260348152602001806145c26034913960400191505060405180910390fd5b60008261408457506000610f62565b8282028284828161409157fe5b0414613812576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806146b76021913960400191505060405180910390fd5b600080821161415857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161416157fe5b049392505050565b60008183106141785781613812565b5090919050565b60606141e1826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166142579092919063ffffffff16565b805190915015613db25780806020019051602081101561420057600080fd5b5051613db2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061475d602a913960400191505060405180910390fd5b6060613c7684846000858561426b856143c2565b6142d657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b6020831061434057805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101614303565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146143a2576040519150601f19603f3d011682016040523d82523d6000602084013e6143a7565b606091505b50915091506143b78282866143c8565b979650505050505050565b3b151590565b606083156143d7575081613812565b8251156143e75782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561444b578181015183820152602001614433565b50505050905090810190601f1680156144785780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6040518060a0016040528060008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600081526020016000815260200160008152509056fe46697865645374616b696e67526577617264733a3a7365743a2041646472657373203046697865645374616b696e67526577617264733a3a6465706c6f793a20464f5242494444454e46697865645374616b696e67526577617264733a3a7374616b653a206e6f742045544846697865645374616b696e67526577617264733a3a7365743a20667574757265206461746520726571756972656446697865645374616b696e67526577617264733a3a657869743a206e6f74206465706c6f7965642079657446697865645374616b696e67526577617264733a3a6465706c6f793a2066757475726520646174652072657175697265645472616e7366657248656c7065723a3a736166655472616e736665724554483a20455448207472616e73666572206661696c656446697865645374616b696e67526577617264733a3a7374616b65576974685065726d69743a206e6f74206465706c6f7965642079657446697865645374616b696e67526577617264733a3a7570646174655265776172643a206e6f74206465706c6f7965642079657446697865645374616b696e67526577617264733a3a77697468647261773a206e6f74206465706c6f7965642079657446697865645374616b696e67526577617264733a3a7365743a20706572696f642066696e6973686564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7746697865645374616b696e67526577617264733a3a6465706c6f793a20696e76616c6964207374616b696e6720746f6b656e46697865645374616b696e67526577617264733a3a7365743a20464f5242494444454e46697865645374616b696e67526577617264733a3a6765745265776172643a206e6f74206465706c6f796564207965745361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656446697865645374616b696e67526577617264733a3a7365743a206e6f74206465706c6f7965642079657446697865645374616b696e67526577617264733a3a7374616b653a206e6f74206465706c6f79656420796574a264697066735822122026ae6d03fb305bbb9b84295e8b75a1f944b0979b917ac6fc394746926139668664736f6c634300060600330000000000000000000000004300000000000000000000000000000000000004000000000000000000000000455b20131d59f01d082df1225154fda813e8cee90000000000000000000000008bd2cdadce9c978af3ddbd6c0c8488be1bfd7e94
Deployed Bytecode
0x6080604052600436106101e75760003560e01c8063910e056d11610102578063d1af0c7d11610095578063eeca156211610064578063eeca1562146107b4578063f4e92768146107de578063f996f5c414610824578063fa2c6c4c1461088e5761022d565b8063d1af0c7d146106cb578063df22a9df146106e0578063e220831d14610726578063e39c08fc1461076e5761022d565b8063c7cdea37116100d1578063c7cdea37146105c7578063c8b11dfe146105f7578063cfda54781461063f578063d0ebdbe71461068b5761022d565b8063910e056d1461052d57806397d7577614610573578063ad5c464814610588578063bd85b0391461059d5761022d565b8063481c6a751161017a5780636ecc20da116101495780636ecc20da1461048c5780637b0472f0146104a95780637f8661a1146104d957806386f4700c146105035761022d565b8063481c6a75146103e757806351d32e81146103fc5780635668b02e1461042c57806361539de7146104775761022d565b80632ae09290116101b65780632ae09290146103015780632d195bd2146103315780633656eec214610371578063441a3e70146103b75761022d565b80630437bbbf146102325780631c4b774b14610272578063230e3ea41461029c578063293ba4df146102c35761022d565b3661022d573373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000004300000000000000000000000000000000000004161461022b57fe5b005b600080fd5b34801561023e57600080fd5b5061022b6004803603602081101561025557600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166108b8565b34801561027e57600080fd5b5061022b6004803603602081101561029557600080fd5b5035610a10565b3480156102a857600080fd5b506102b1610cc3565b60408051918252519081900360200190f35b3480156102cf57600080fd5b506102d8610cc9565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561030d57600080fd5b5061022b6004803603604081101561032457600080fd5b5080359060200135610ced565b34801561033d57600080fd5b5061022b6004803603602081101561035457600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610e45565b34801561037d57600080fd5b506102b16004803603604081101561039457600080fd5b508035906020013573ffffffffffffffffffffffffffffffffffffffff16610f2e565b3480156103c357600080fd5b5061022b600480360360408110156103da57600080fd5b5080359060200135610f68565b3480156103f357600080fd5b506102d86113f2565b34801561040857600080fd5b5061022b6004803603604081101561041f57600080fd5b508035906020013561140e565b34801561043857600080fd5b5061022b600480360360c081101561044f57600080fd5b5080359060208101359060408101359060ff6060820135169060808101359060a0013561161a565b34801561048357600080fd5b506102d8611dd4565b61022b600480360360208110156104a257600080fd5b5035611df0565b3480156104b557600080fd5b5061022b600480360360408110156104cc57600080fd5b50803590602001356125f7565b3480156104e557600080fd5b5061022b600480360360208110156104fc57600080fd5b5035612cf5565b34801561050f57600080fd5b506102b16004803603602081101561052657600080fd5b5035612d9d565b34801561053957600080fd5b506102b16004803603604081101561055057600080fd5b508035906020013573ffffffffffffffffffffffffffffffffffffffff16612db2565b34801561057f57600080fd5b506102d8612deb565b34801561059457600080fd5b506102d8612e03565b3480156105a957600080fd5b506102b1600480360360208110156105c057600080fd5b5035612e27565b3480156105d357600080fd5b5061022b600480360360408110156105ea57600080fd5b5080359060200135612e3c565b34801561060357600080fd5b506102b16004803603604081101561061a57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135151561340c565b34801561064b57600080fd5b506102b16004803603606081101561066257600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602081013590604001356135de565b34801561069757600080fd5b5061022b600480360360208110156106ae57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16613819565b3480156106d757600080fd5b506102d86138e6565b3480156106ec57600080fd5b5061022b6004803603604081101561070357600080fd5b508035906020013573ffffffffffffffffffffffffffffffffffffffff16613902565b34801561073257600080fd5b5061022b6004803603604081101561074957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516613a87565b34801561077a57600080fd5b506102b16004803603604081101561079157600080fd5b508035906020013573ffffffffffffffffffffffffffffffffffffffff16613ba8565b3480156107c057600080fd5b506102b1600480360360208110156107d757600080fd5b5035613c7e565b3480156107ea57600080fd5b506102b16004803603604081101561080157600080fd5b508035906020013573ffffffffffffffffffffffffffffffffffffffff16613c92565b34801561083057600080fd5b5061084e6004803603602081101561084757600080fd5b5035613cca565b6040805195865273ffffffffffffffffffffffffffffffffffffffff90941660208601528484019290925260608401526080830152519081900360a00190f35b34801561089a57600080fd5b506102b1600480360360208110156108b157600080fd5b5035613d10565b73ffffffffffffffffffffffffffffffffffffffff8116610924576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806144cc6023913960400191505060405180910390fd5b60035473ffffffffffffffffffffffffffffffffffffffff163314610994576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602381526020018061470a6023913960400191505060405180910390fd5b6003805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff00000000000000000000000000000000000000009091168117909155604080519182525133917f4c83e2ec7d2576b57f1249fb32f2251a0e894b5a75a7cea0710433f941467393919081900360200190a250565b60026000541415610a8257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600090815581815260056020526040902060018101548291339173ffffffffffffffffffffffffffffffffffffffff16610b09576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603381526020018061462c6033913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821615610b8957610b2f8383613ba8565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600783016020526040902055610b6083613c7e565b73ffffffffffffffffffffffffffffffffffffffff831660009081526005830160205260409020555b6000848152600560205260409020600181015473ffffffffffffffffffffffffffffffffffffffff16610c07576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603081526020018061472d6030913960400191505060405180910390fd5b3360009081526007820160205260409020548015610cb657336000818152600784016020526040812055600254610c579173ffffffffffffffffffffffffffffffffffffffff9091169083613d25565b60018201546040805188815273ffffffffffffffffffffffffffffffffffffffff9290921660208301528181018390525133917f56a43be815d86b39dc4d398124c956790410b5e9cf70d477de0299f25fc18313919081900360600190a25b5050600160005550505050565b60045481565b7f000000000000000000000000455b20131d59f01d082df1225154fda813e8cee981565b60035473ffffffffffffffffffffffffffffffffffffffff163314610d5d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602381526020018061470a6023913960400191505060405180910390fd5b6000828152600560205260409020600181015473ffffffffffffffffffffffffffffffffffffffff16610ddb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614787602a913960400191505060405180910390fd5b6002810182905560018101546040805185815273ffffffffffffffffffffffffffffffffffffffff9290921660208301528181018490525133917f489b02a324174d90cc8404cc090c7e460a82b4265386b907642c3f7c0cf6135d919081900360600190a2505050565b60015473ffffffffffffffffffffffffffffffffffffffff163314610ecb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f464f5242494444454e0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b8073ffffffffffffffffffffffffffffffffffffffff16634e606c476040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610f1357600080fd5b505af1158015610f27573d6000803e3d6000fd5b5050505050565b600082815260056020908152604080832073ffffffffffffffffffffffffffffffffffffffff851684526006019091529020545b92915050565b60026000541415610fda57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600090815582815260056020526040902060018101548391339173ffffffffffffffffffffffffffffffffffffffff16611061576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603381526020018061462c6033913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216156110e1576110878383613ba8565b73ffffffffffffffffffffffffffffffffffffffff831660009081526007830160205260409020556110b883613c7e565b73ffffffffffffffffffffffffffffffffffffffff831660009081526005830160205260409020555b6000841161115057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f43616e6e6f742077697468647261772030000000000000000000000000000000604482015290519081900360640190fd5b6000858152600560205260409020600181015473ffffffffffffffffffffffffffffffffffffffff166111ce576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f81526020018061465f602f913960400191505060405180910390fd5b60038101546111e3908663ffffffff613db716565b600382015533600090815260068201602052604090205461120a908663ffffffff613db716565b336000908152600683016020908152604080832093909355600184015483517fa7dc2d7800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9182166004820152935192937f000000000000000000000000455b20131d59f01d082df1225154fda813e8cee99091169263a7dc2d7892602480840193919291829003018186803b1580156112b557600080fd5b505afa1580156112c9573d6000803e3d6000fd5b505050506040513d60208110156112df57600080fd5b5051604080517f5dbd605900000000000000000000000000000000000000000000000000000000815260048101899052336024820152905191925073ffffffffffffffffffffffffffffffffffffffff831691635dbd6059916044808201926020929091908290030181600087803b15801561135a57600080fd5b505af115801561136e573d6000803e3d6000fd5b505050506040513d602081101561138457600080fd5b505060018201546040805189815273ffffffffffffffffffffffffffffffffffffffff9290921660208301528181018890525133917fe5df19de43c8c04fd192bc68e484b2593570925fbb6ad8c07ccafbc2aa5c37a1919081900360600190a2505060016000555050505050565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60035473ffffffffffffffffffffffffffffffffffffffff16331461147e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602381526020018061470a6023913960400191505060405180910390fd5b4281116114d6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e815260200180614538602e913960400191505060405180910390fd5b6000828152600560205260409020600181015473ffffffffffffffffffffffffffffffffffffffff16611554576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614787602a913960400191505060405180910390fd5b428160040154116115b0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602981526020018061468e6029913960400191505060405180910390fd5b6004810182905560018101546040805185815273ffffffffffffffffffffffffffffffffffffffff9290921660208301528181018490525133917f26ca4f2c112cdb5d1b470fb2918f489441dc66d6e1aef6ddcdb1b023a26100b4919081900360600190a2505050565b6002600054141561168c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600090815586815260056020526040902060018101548791339173ffffffffffffffffffffffffffffffffffffffff16611713576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603381526020018061462c6033913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821615611793576117398383613ba8565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260078301602052604090205561176a83613c7e565b73ffffffffffffffffffffffffffffffffffffffff831660009081526005830160205260409020555b6000881161180257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f43616e6e6f74207374616b652030000000000000000000000000000000000000604482015290519081900360640190fd5b6000898152600560205260409020600181015473ffffffffffffffffffffffffffffffffffffffff16611880576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260368152602001806145f66036913960400191505060405180910390fd5b6003810154611895908a63ffffffff613e2e16565b60038201553360009081526006820160205260409020546118bc908a63ffffffff613e2e16565b33600081815260068401602052604080822093909355600184015483517fd505accf0000000000000000000000000000000000000000000000000000000081526004810193909352306024840152604483018d9052606483018c905260ff8b16608484015260a483018a905260c48301899052925173ffffffffffffffffffffffffffffffffffffffff9093169263d505accf9260e480820193929182900301818387803b15801561196d57600080fd5b505af1158015611981573d6000803e3d6000fd5b50505060018201546119b2915073ffffffffffffffffffffffffffffffffffffffff1633308c63ffffffff613ea216565b6001810154604080517fa7dc2d7800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff928316600482015290516000927f000000000000000000000000455b20131d59f01d082df1225154fda813e8cee9169163a7dc2d78916024808301926020929190829003018186803b158015611a4857600080fd5b505afa158015611a5c573d6000803e3d6000fd5b505050506040513d6020811015611a7257600080fd5b505173ffffffffffffffffffffffffffffffffffffffff161415611b55576001810154604080517fc21ab7f900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff928316600482015290517f000000000000000000000000455b20131d59f01d082df1225154fda813e8cee99092169163c21ab7f9916024808201926020929091908290030181600087803b158015611b2857600080fd5b505af1158015611b3c573d6000803e3d6000fd5b505050506040513d6020811015611b5257600080fd5b50505b6001810154604080517fa7dc2d7800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff928316600482015290516000927f000000000000000000000000455b20131d59f01d082df1225154fda813e8cee9169163a7dc2d78916024808301926020929190829003018186803b158015611beb57600080fd5b505afa158015611bff573d6000803e3d6000fd5b505050506040513d6020811015611c1557600080fd5b50516001830154604080517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8085166004830152602482018f9052915193945091169163095ea7b3916044808201926020929091908290030181600087803b158015611c9757600080fd5b505af1158015611cab573d6000803e3d6000fd5b505050506040513d6020811015611cc157600080fd5b5050604080517f26599850000000000000000000000000000000000000000000000000000000008152600481018c9052306024820152905173ffffffffffffffffffffffffffffffffffffffff83169163265998509160448083019260209291908290030181600087803b158015611d3857600080fd5b505af1158015611d4c573d6000803e3d6000fd5b505050506040513d6020811015611d6257600080fd5b50506001820154604080518d815273ffffffffffffffffffffffffffffffffffffffff9290921660208301528181018c90525133917f7edb7e181699d1db1f6e3ac27fb17e1db8ac69aeb22eec366e72528c0886726a919081900360600190a250506001600055505050505050505050565b60035473ffffffffffffffffffffffffffffffffffffffff1681565b60026000541415611e6257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600090815581815260056020526040902060018101548291339173ffffffffffffffffffffffffffffffffffffffff16611ee9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603381526020018061462c6033913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821615611f6957611f0f8383613ba8565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600783016020526040902055611f4083613c7e565b73ffffffffffffffffffffffffffffffffffffffff831660009081526005830160205260409020555b3480611fd657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f43616e6e6f74207374616b652030000000000000000000000000000000000000604482015290519081900360640190fd5b6000858152600560205260409020600181015473ffffffffffffffffffffffffffffffffffffffff16612054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c8152602001806147b1602c913960400191505060405180910390fd5b60018101547f000000000000000000000000430000000000000000000000000000000000000473ffffffffffffffffffffffffffffffffffffffff9081169116146120ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806145156023913960400191505060405180910390fd5b60038101546120ff908363ffffffff613e2e16565b6003820155336000908152600682016020526040902054612126908363ffffffff613e2e16565b3360009081526006830160205260408082209290925581517fd0e30db000000000000000000000000000000000000000000000000000000000815291517f000000000000000000000000430000000000000000000000000000000000000473ffffffffffffffffffffffffffffffffffffffff169263d0e30db092869260048084019382900301818588803b1580156121be57600080fd5b505af11580156121d2573d6000803e3d6000fd5b5050506001830154604080517fa7dc2d7800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff92831660048201529051600094507f000000000000000000000000455b20131d59f01d082df1225154fda813e8cee9909216925063a7dc2d78916024808301926020929190829003018186803b15801561226f57600080fd5b505afa158015612283573d6000803e3d6000fd5b505050506040513d602081101561229957600080fd5b505173ffffffffffffffffffffffffffffffffffffffff16141561237c576001810154604080517fc21ab7f900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff928316600482015290517f000000000000000000000000455b20131d59f01d082df1225154fda813e8cee99092169163c21ab7f9916024808201926020929091908290030181600087803b15801561234f57600080fd5b505af1158015612363573d6000803e3d6000fd5b505050506040513d602081101561237957600080fd5b50505b6001810154604080517fa7dc2d7800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff928316600482015290516000927f000000000000000000000000455b20131d59f01d082df1225154fda813e8cee9169163a7dc2d78916024808301926020929190829003018186803b15801561241257600080fd5b505afa158015612426573d6000803e3d6000fd5b505050506040513d602081101561243c57600080fd5b50516001830154604080517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff808516600483015260248201889052915193945091169163095ea7b3916044808201926020929091908290030181600087803b1580156124be57600080fd5b505af11580156124d2573d6000803e3d6000fd5b505050506040513d60208110156124e857600080fd5b5050604080517f2659985000000000000000000000000000000000000000000000000000000000815260048101859052306024820152905173ffffffffffffffffffffffffffffffffffffffff83169163265998509160448083019260209291908290030181600087803b15801561255f57600080fd5b505af1158015612573573d6000803e3d6000fd5b505050506040513d602081101561258957600080fd5b505060018201546040805189815273ffffffffffffffffffffffffffffffffffffffff9290921660208301528181018590525133917f7edb7e181699d1db1f6e3ac27fb17e1db8ac69aeb22eec366e72528c0886726a919081900360600190a2505060016000555050505050565b6002600054141561266957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600090815582815260056020526040902060018101548391339173ffffffffffffffffffffffffffffffffffffffff166126f0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603381526020018061462c6033913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821615612770576127168383613ba8565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260078301602052604090205561274783613c7e565b73ffffffffffffffffffffffffffffffffffffffff831660009081526005830160205260409020555b600084116127df57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f43616e6e6f74207374616b652030000000000000000000000000000000000000604482015290519081900360640190fd5b6000858152600560205260409020600181015473ffffffffffffffffffffffffffffffffffffffff1661285d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c8152602001806147b1602c913960400191505060405180910390fd5b6003810154612872908663ffffffff613e2e16565b6003820155336000908152600682016020526040902054612899908663ffffffff613e2e16565b33600081815260068401602052604090209190915560018201546128d79173ffffffffffffffffffffffffffffffffffffffff909116903088613ea2565b6001810154604080517fa7dc2d7800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff928316600482015290516000927f000000000000000000000000455b20131d59f01d082df1225154fda813e8cee9169163a7dc2d78916024808301926020929190829003018186803b15801561296d57600080fd5b505afa158015612981573d6000803e3d6000fd5b505050506040513d602081101561299757600080fd5b505173ffffffffffffffffffffffffffffffffffffffff161415612a7a576001810154604080517fc21ab7f900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff928316600482015290517f000000000000000000000000455b20131d59f01d082df1225154fda813e8cee99092169163c21ab7f9916024808201926020929091908290030181600087803b158015612a4d57600080fd5b505af1158015612a61573d6000803e3d6000fd5b505050506040513d6020811015612a7757600080fd5b50505b6001810154604080517fa7dc2d7800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff928316600482015290516000927f000000000000000000000000455b20131d59f01d082df1225154fda813e8cee9169163a7dc2d78916024808301926020929190829003018186803b158015612b1057600080fd5b505afa158015612b24573d6000803e3d6000fd5b505050506040513d6020811015612b3a57600080fd5b50516001830154604080517f095ea7b300000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8085166004830152602482018b9052915193945091169163095ea7b3916044808201926020929091908290030181600087803b158015612bbc57600080fd5b505af1158015612bd0573d6000803e3d6000fd5b505050506040513d6020811015612be657600080fd5b5050604080517f2659985000000000000000000000000000000000000000000000000000000000815260048101889052306024820152905173ffffffffffffffffffffffffffffffffffffffff83169163265998509160448083019260209291908290030181600087803b158015612c5d57600080fd5b505af1158015612c71573d6000803e3d6000fd5b505050506040513d6020811015612c8757600080fd5b505060018201546040805189815273ffffffffffffffffffffffffffffffffffffffff9290921660208301528181018890525133917f7edb7e181699d1db1f6e3ac27fb17e1db8ac69aeb22eec366e72528c0886726a919081900360600190a2505060016000555050505050565b6000818152600560205260409020600181015473ffffffffffffffffffffffffffffffffffffffff16612d73576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b815260200180614566602b913960400191505060405180910390fd5b336000908152600682016020526040902054612d90908390610f68565b612d9982610a10565b5050565b60009081526005602052604090206004015490565b600082815260056020908152604080832073ffffffffffffffffffffffffffffffffffffffff8516845260070190915290205492915050565b73430000000000000000000000000000000000000281565b7f000000000000000000000000430000000000000000000000000000000000000481565b60009081526005602052604090206003015490565b60026000541415612eae57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600090815582815260056020526040902060018101548391339173ffffffffffffffffffffffffffffffffffffffff16612f35576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603381526020018061462c6033913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821615612fb557612f5b8383613ba8565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600783016020526040902055612f8c83613c7e565b73ffffffffffffffffffffffffffffffffffffffff831660009081526005830160205260409020555b6000841161302457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f43616e6e6f742077697468647261772030000000000000000000000000000000604482015290519081900360640190fd5b6000858152600560205260409020600181015473ffffffffffffffffffffffffffffffffffffffff166130a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f81526020018061465f602f913960400191505060405180910390fd5b60018101547f000000000000000000000000430000000000000000000000000000000000000473ffffffffffffffffffffffffffffffffffffffff908116911614613138576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806145156023913960400191505060405180910390fd5b600381015461314d908663ffffffff613db716565b6003820155336000908152600682016020526040902054613174908663ffffffff613db716565b336000908152600683016020908152604080832093909355600184015483517fa7dc2d7800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9182166004820152935192937f000000000000000000000000455b20131d59f01d082df1225154fda813e8cee99091169263a7dc2d7892602480840193919291829003018186803b15801561321f57600080fd5b505afa158015613233573d6000803e3d6000fd5b505050506040513d602081101561324957600080fd5b5051604080517f5dbd605900000000000000000000000000000000000000000000000000000000815260048101899052306024820152905191925073ffffffffffffffffffffffffffffffffffffffff831691635dbd6059916044808201926020929091908290030181600087803b1580156132c457600080fd5b505af11580156132d8573d6000803e3d6000fd5b505050506040513d60208110156132ee57600080fd5b5050604080517f2e1a7d4d00000000000000000000000000000000000000000000000000000000815260048101889052905173ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000043000000000000000000000000000000000000041691632e1a7d4d91602480830192600092919082900301818387803b15801561337e57600080fd5b505af1158015613392573d6000803e3d6000fd5b505050506133a03387613f3d565b60018201546040805189815273ffffffffffffffffffffffffffffffffffffffff9290921660208301528181018890525133917fe5df19de43c8c04fd192bc68e484b2593570925fbb6ad8c07ccafbc2aa5c37a1919081900360600190a2505060016000555050505050565b60015460009073ffffffffffffffffffffffffffffffffffffffff16331461349557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f464f5242494444454e0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b811561355657604080517f662aa11d00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff8516602482015290517343000000000000000000000000000000000000029163662aa11d9160448083019260209291908290030181600087803b15801561352357600080fd5b505af1158015613537573d6000803e3d6000fd5b505050506040513d602081101561354d57600080fd5b50519050610f62565b604080517f954fa5ee00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff8516602482015290517343000000000000000000000000000000000000029163954fa5ee9160448083019260209291908290030181600087803b15801561352357600080fd5b60035460009073ffffffffffffffffffffffffffffffffffffffff163314613651576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806144ef6026913960400191505060405180910390fd5b4282116136a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260318152602001806145916031913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8416613715576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806146d86032913960400191505060405180910390fd5b600480546001019055613726614486565b506040805160a0810182526004805480835273ffffffffffffffffffffffffffffffffffffffff88811660208086018281528688018b815260006060808a018281526080808c018f815299845260058752928c90208b51815594516001860180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169190991617909755915160028401559451600383015594519086015593548651908152938401528285018890529082018690529251919233927f2653f51ed9277db0c62d8ede289ee82133008b91693aef81baf753637439e6479281900390910190a250506004545b9392505050565b60015473ffffffffffffffffffffffffffffffffffffffff16331461389f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f464f5242494444454e0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60025473ffffffffffffffffffffffffffffffffffffffff1681565b6002600054141561397457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600090815582815260056020526040902060018101548391839173ffffffffffffffffffffffffffffffffffffffff166139fb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603381526020018061462c6033913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff821615613a7b57613a218383613ba8565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600783016020526040902055613a5283613c7e565b73ffffffffffffffffffffffffffffffffffffffff831660009081526005830160205260409020555b50506001600055505050565b60015473ffffffffffffffffffffffffffffffffffffffff163314613b0d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f464f5242494444454e0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b8173ffffffffffffffffffffffffffffffffffffffff166336b91f2b826040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b158015613b8c57600080fd5b505af1158015613ba0573d6000803e3d6000fd5b505050505050565b600082815260056020818152604080842073ffffffffffffffffffffffffffffffffffffffff86168552600781018352818520549381019092528320549091613c7691613c6a90670de0b6b3a764000090613c5e90613c1690613c0a8b613c7e565b9063ffffffff613db716565b600287015473ffffffffffffffffffffffffffffffffffffffff8a166000908152600689016020526040902054613c529163ffffffff61407516565b9063ffffffff61407516565b9063ffffffff6140e816565b9063ffffffff613e2e16565b949350505050565b6000610f6242613c8d84612d9d565b614169565b600082815260056020818152604080842073ffffffffffffffffffffffffffffffffffffffff86168552909201905290205492915050565b60056020526000908152604090208054600182015460028301546003840154600490940154929373ffffffffffffffffffffffffffffffffffffffff9092169290919085565b60009081526005602052604090206002015490565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052613db290849061417f565b505050565b600082821115613e2857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60008282018381101561381257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6040805173ffffffffffffffffffffffffffffffffffffffff80861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd00000000000000000000000000000000000000000000000000000000179052613f3790859061417f565b50505050565b6040805160008082526020820190925273ffffffffffffffffffffffffffffffffffffffff84169083906040518082805190602001908083835b60208310613fb457805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101613f77565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114614016576040519150601f19603f3d011682016040523d82523d6000602084013e61401b565b606091505b5050905080613db2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260348152602001806145c26034913960400191505060405180910390fd5b60008261408457506000610f62565b8282028284828161409157fe5b0414613812576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806146b76021913960400191505060405180910390fd5b600080821161415857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161416157fe5b049392505050565b60008183106141785781613812565b5090919050565b60606141e1826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166142579092919063ffffffff16565b805190915015613db25780806020019051602081101561420057600080fd5b5051613db2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061475d602a913960400191505060405180910390fd5b6060613c7684846000858561426b856143c2565b6142d657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b6020831061434057805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101614303565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146143a2576040519150601f19603f3d011682016040523d82523d6000602084013e6143a7565b606091505b50915091506143b78282866143c8565b979650505050505050565b3b151590565b606083156143d7575081613812565b8251156143e75782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561444b578181015183820152602001614433565b50505050905090810190601f1680156144785780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6040518060a0016040528060008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600081526020016000815260200160008152509056fe46697865645374616b696e67526577617264733a3a7365743a2041646472657373203046697865645374616b696e67526577617264733a3a6465706c6f793a20464f5242494444454e46697865645374616b696e67526577617264733a3a7374616b653a206e6f742045544846697865645374616b696e67526577617264733a3a7365743a20667574757265206461746520726571756972656446697865645374616b696e67526577617264733a3a657869743a206e6f74206465706c6f7965642079657446697865645374616b696e67526577617264733a3a6465706c6f793a2066757475726520646174652072657175697265645472616e7366657248656c7065723a3a736166655472616e736665724554483a20455448207472616e73666572206661696c656446697865645374616b696e67526577617264733a3a7374616b65576974685065726d69743a206e6f74206465706c6f7965642079657446697865645374616b696e67526577617264733a3a7570646174655265776172643a206e6f74206465706c6f7965642079657446697865645374616b696e67526577617264733a3a77697468647261773a206e6f74206465706c6f7965642079657446697865645374616b696e67526577617264733a3a7365743a20706572696f642066696e6973686564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7746697865645374616b696e67526577617264733a3a6465706c6f793a20696e76616c6964207374616b696e6720746f6b656e46697865645374616b696e67526577617264733a3a7365743a20464f5242494444454e46697865645374616b696e67526577617264733a3a6765745265776172643a206e6f74206465706c6f796564207965745361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656446697865645374616b696e67526577617264733a3a7365743a206e6f74206465706c6f7965642079657446697865645374616b696e67526577617264733a3a7374616b653a206e6f74206465706c6f79656420796574a264697066735822122026ae6d03fb305bbb9b84295e8b75a1f944b0979b917ac6fc394746926139668664736f6c63430006060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000004300000000000000000000000000000000000004000000000000000000000000455b20131d59f01d082df1225154fda813e8cee90000000000000000000000008bd2cdadce9c978af3ddbd6c0c8488be1bfd7e94
-----Decoded View---------------
Arg [0] : _WETH (address): 0x4300000000000000000000000000000000000004
Arg [1] : _fewFactory (address): 0x455b20131D59f01d082df1225154fDA813E8CeE9
Arg [2] : _rewardsToken (address): 0x8bd2cdaDCe9c978af3DDbd6c0C8488bE1BfD7e94
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000004300000000000000000000000000000000000004
Arg [1] : 000000000000000000000000455b20131d59f01d082df1225154fda813e8cee9
Arg [2] : 0000000000000000000000008bd2cdadce9c978af3ddbd6c0c8488be1bfd7e94
Loading...
Loading
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ 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.