Overview
ETH Balance
0 ETH
ETH Value
$0.00Token Holdings
More Info
Private Name Tags
ContractCreator
Sponsored
Latest 25 from a total of 413 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x54d4fad3 | 125353929 | 6 hrs ago | IN | 0 ETH | 0.000001673594 | ||||
0x54d4fad3 | 125271533 | 2 days ago | IN | 0 ETH | 0.000001835696 | ||||
0x54d4fad3 | 125222628 | 3 days ago | IN | 0 ETH | 0.000001871782 | ||||
0x54d4fad3 | 125179756 | 4 days ago | IN | 0 ETH | 0.00000288537 | ||||
Withdraw | 125150780 | 4 days ago | IN | 0 ETH | 0.000014078255 | ||||
0x54d4fad3 | 125135165 | 5 days ago | IN | 0 ETH | 0.000001751097 | ||||
0x54d4fad3 | 125090545 | 6 days ago | IN | 0 ETH | 0.000001011004 | ||||
0x54d4fad3 | 125065772 | 6 days ago | IN | 0 ETH | 0.000004713807 | ||||
0x54d4fad3 | 125006389 | 8 days ago | IN | 0 ETH | 0.000002020323 | ||||
0x54d4fad3 | 124968930 | 9 days ago | IN | 0 ETH | 0.000000521861 | ||||
0x54d4fad3 | 124968928 | 9 days ago | IN | 0 ETH | 0.000000648017 | ||||
0x54d4fad3 | 124965732 | 9 days ago | IN | 0 ETH | 0.000001895395 | ||||
0x54d4fad3 | 124915519 | 10 days ago | IN | 0 ETH | 0.000001584845 | ||||
0x54d4fad3 | 124895647 | 10 days ago | IN | 0 ETH | 0.000002112904 | ||||
0x54d4fad3 | 124881121 | 11 days ago | IN | 0 ETH | 0.000001619488 | ||||
0x54d4fad3 | 124865316 | 11 days ago | IN | 0 ETH | 0.000001902689 | ||||
0x54d4fad3 | 124842201 | 12 days ago | IN | 0 ETH | 0.000001906798 | ||||
0x54d4fad3 | 124829686 | 12 days ago | IN | 0 ETH | 0.000000426808 | ||||
0x54d4fad3 | 124824919 | 12 days ago | IN | 0 ETH | 0.000001652617 | ||||
0x54d4fad3 | 124804454 | 13 days ago | IN | 0 ETH | 0.000002737711 | ||||
0x54d4fad3 | 124781295 | 13 days ago | IN | 0 ETH | 0.000001632854 | ||||
0x54d4fad3 | 124752187 | 14 days ago | IN | 0 ETH | 0.000001595055 | ||||
0x54d4fad3 | 124723027 | 14 days ago | IN | 0 ETH | 0.000005822471 | ||||
0x54d4fad3 | 124697453 | 15 days ago | IN | 0 ETH | 0.00000156347 | ||||
0x54d4fad3 | 124673334 | 16 days ago | IN | 0 ETH | 0.000002181767 |
Latest 9 internal transactions
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
109537775 | 366 days ago | 0.041691448780387 ETH | ||||
109537775 | 366 days ago | 0.000041733181962 ETH | ||||
109537775 | 366 days ago | 0.04173318196235 ETH | ||||
109519183 | 366 days ago | Contract Creation | 0 ETH | |||
109147900 | 375 days ago | 0.050822243589501 ETH | ||||
108264127 | 395 days ago | 0.489999999999999 ETH | ||||
108253573 | 396 days ago | Contract Creation | 0 ETH | |||
108253570 | 396 days ago | Contract Creation | 0 ETH | |||
108253567 | 396 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Contract Name:
vaultFactoryFOT
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENCED pragma solidity 0.6.12; /* /$$ /$$ /$$ /$$ | $$ | $$ | $$ | $$ /$$$$$$ /$$$$$$$/$$ /$$ | $$ | $$/$$$$$$ /$$ /$| $$/$$$$$$ /$$$$$$$ |____ $$/$$_____| $$ /$$/ | $$ / $$|____ $| $$ | $| $|_ $$_/ /$$_____/ /$$$$$$| $$ \ $$$$/ \ $$ $$/ /$$$$$$| $$ | $| $$ | $$ | $$$$$$ /$$__ $| $$ >$$ $$ \ $$$/ /$$__ $| $$ | $| $$ | $$ /$\____ $$ | $$$$$$| $$$$$$$/$$/\ $$ \ $/ | $$$$$$| $$$$$$| $$ | $$$$/$$$$$$$/ \_______/\_______|__/ \__/ \_/ \_______/\______/|__/ \___/|_______/ */ // An Open X Project import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "./Interfaces/IVelodromePair.sol"; import './Interfaces/IGauge.sol'; import "./Interfaces/IACX.sol"; import "./Interfaces/IWETH.sol"; import "./acxToken.sol"; import "./lpHelper.sol"; contract vaultFactoryFOT is Ownable, lpHelper{ using SafeMath for uint256; // The struct for the pool information. struct PoolInfo { address rewardToken; address underlyingLp; address acxToken; address gauge; uint256 totalStaked; address[] path; uint256 lastCollectionTimestamp; } // Array of pools and mapping to check if pair already exists. PoolInfo[] public Pools; mapping(address => bool) public pairExists; // Variables for fees. uint256 public bountyfeePer10K = 100; uint256 public performanceFeePer10K = 600; uint256 public zapFeePer10K = 10; uint256 public perfPool = 0; address public weth = 0x4200000000000000000000000000000000000006; uint private unlocked = 1; //reentrancy guard modifier lock() { require(unlocked == 1, 'OpenX LOCKED'); unlocked = 0; _; unlocked = 1; } // Method to get the length of pools. function poolsLength() public view returns (uint256){ return Pools.length; } // Method to add a new vault. function addVault(address _underlyingLp, address _gauge, address[] memory path) public onlyOwner{ require(pairExists[_underlyingLp] == false, "Pool Already Exists."); pairExists[_underlyingLp] = true; PoolInfo memory newPool; acxToken acx = new acxToken(string(abi.encodePacked('acx-', IVelodromePair(_underlyingLp).symbol())) , string(abi.encodePacked('Auto Compounding X ', IVelodromePair(_underlyingLp).symbol()))); newPool.acxToken = address(acx); newPool.gauge = _gauge; newPool.underlyingLp = _underlyingLp; newPool.rewardToken = IGauge(_gauge).rewardToken(); newPool.path = path; Pools.push(newPool); } // Method to update the path for token swaps. function updatePath(uint256 _pid, address[] memory _path) public onlyOwner { Pools[_pid].path = _path; } // Method to update the performance pool. function updatePerfPool(uint256 _pid) public onlyOwner{ perfPool = _pid; } // Method to update the fees. function updateFees(uint256 _bountyfeePer10K, uint256 _performanceFeePer10K, uint256 _zapFeePer10K) public onlyOwner { require(_bountyfeePer10K.add(_performanceFeePer10K).add(_zapFeePer10K) <= 1000, "Max 10%"); bountyfeePer10K = _bountyfeePer10K; performanceFeePer10K = _performanceFeePer10K; zapFeePer10K = _zapFeePer10K; } // Method to deposit into a pool. function deposit(uint256 _pid, uint256 _amount, address _to) public lock{ IERC20 lpToken = IERC20(Pools[_pid].underlyingLp); safeTransferFrom(address(lpToken), msg.sender, address(this), _amount); _deposit(_pid, _amount, _to); } // Internal method to handle the deposit logic. function _deposit(uint256 _pid, uint256 _amount, address _to) internal { IACX acxToken = IACX(Pools[_pid].acxToken); IERC20 lpToken = IERC20(Pools[_pid].underlyingLp); IGauge gauge = IGauge(Pools[_pid].gauge); uint256 totalSupply = acxToken.totalSupply(); if(totalSupply == 0){ acxToken.mint(_to, _amount); }else{ if(Pools[_pid].lastCollectionTimestamp != block.timestamp){ Pools[_pid].lastCollectionTimestamp = block.timestamp; claimBounty(_pid,_to); } uint256 lpBal = gauge.balanceOf(address(this)); uint256 _mintAmount = _amount.mul(totalSupply).div(lpBal); acxToken.mint(_to, _mintAmount); } lpToken.approve(address(gauge), _amount); gauge.deposit(_amount); Pools[_pid].totalStaked += _amount; } // Method to withdraw from a pool. function withdraw(uint256 _pid, uint256 _amount, address _to) public lock{ _withdraw(_pid, _amount, msg.sender, _to); } // Internal method to handle the withdrawal logic. function _withdraw(uint256 _pid, uint256 _amount,address _from, address _to) internal returns(uint256) { IACX acxToken = IACX(Pools[_pid].acxToken); IERC20 lpToken = IERC20(Pools[_pid].underlyingLp); IGauge gauge = IGauge(Pools[_pid].gauge); uint256 totalSupply = acxToken.totalSupply(); uint256 lpBal = gauge.balanceOf(address(this)); uint256 withdrawAmount = _amount.mul(lpBal).div(totalSupply); acxToken.burn(_from, _amount); gauge.withdraw(withdrawAmount); safeTransfer(address(lpToken), _to, withdrawAmount); Pools[_pid].totalStaked -= withdrawAmount; return withdrawAmount; } // Method to claim the bounty. function claimBounty(uint256 _pid, address _to) public { address rewardToken = Pools[_pid].rewardToken; IGauge gauge = IGauge(Pools[_pid].gauge); uint256 earned = gauge.earned(address(this)); if(earned < 1*10**17){ return; } uint256 bounty = earned.mul(bountyfeePer10K).div(10000); uint256 performance = earned.mul(bountyfeePer10K).div(10000); gauge.getReward(address(this)); safeTransfer(rewardToken, _to, bounty); earned = earned.sub(performance).sub(bounty); uint256 amount = _compound(_pid, earned); uint256 amountPerf = _compound(perfPool, performance); _deposit(perfPool, amountPerf, owner()); Pools[_pid].totalStaked += amount; IERC20(Pools[_pid].underlyingLp).approve(address(gauge), amount); gauge.deposit(amount); } // Method to handle the compounding. function _compound(uint256 _pid, uint256 _amount) internal returns(uint256){ uint256 len = Pools[_pid].path.length; address outToken = Pools[_pid].rewardToken; for(uint i; i < len; i++){ (_amount, outToken) = _swapToken(Pools[_pid].path[i], outToken, _amount); } if(len > 0){ return _addLiquidity(outToken, Pools[_pid].underlyingLp, _amount); }else{ return _addLiquidity(Pools[_pid].rewardToken, Pools[_pid].underlyingLp, _amount); } } // Method to zap. function zap(uint256 _pid,address _inToken, uint256 _amount, address[] memory _path, address _to) public payable lock { uint256 len = _path.length; uint256 balInAfter; uint256 balInBefore; if(_inToken == weth){ IWETH(weth).deposit{value: msg.value}(); }else{ balInBefore = IERC20(_inToken).balanceOf(address(this)); safeTransferFrom(_inToken, msg.sender, address(this), _amount); balInAfter = IERC20(_inToken).balanceOf(address(this)); _amount = balInAfter.sub(balInBefore); } for(uint i; i < len; i++){ (_amount, _inToken) = _swapToken(_path[i], _inToken, _amount); } _amount = _addLiquidity(_inToken, Pools[_pid].underlyingLp, _amount); uint256 feeAmount = _amount.mul(zapFeePer10K).div(10000); _deposit(_pid, feeAmount, owner()); _deposit(_pid, _amount.sub(feeAmount), _to); } function _unzapBoth(uint256 _pid,uint256 _amount,address token0,address token1, address _to) internal { _amount = _withdraw(_pid, _amount, msg.sender, address(this)); uint256 feeAmount = _amount.mul(zapFeePer10K).div(10000); _deposit(_pid, feeAmount, owner()); safeTransfer(Pools[_pid].underlyingLp, Pools[_pid].underlyingLp, _amount.sub(feeAmount)); uint256 token0BalBefore = IERC20(token0).balanceOf(address(this)); uint256 token1BalBefore = IERC20(token0).balanceOf(address(this)); (uint256 amount0, uint256 amount1) = IVelodromePair(Pools[_pid].underlyingLp).burn(address(this)); if (token0 == weth) { IWETH(weth).withdraw(amount0); safeTransferETH(_to, amount0); }else{ safeTransfer(token0, _to, IERC20(token0).balanceOf(address(this)).sub(token0BalBefore)); } if (token1 == weth) { IWETH(weth).withdraw(amount1); safeTransferETH(_to, amount1); }else{ safeTransfer(token1, _to, IERC20(token1).balanceOf(address(this)).sub(token1BalBefore)); } } function _unzapSingle(uint256 _pid,uint256 _amount,address _outToken,address[] memory _path, address token0,address token1, address _to, address pool) internal { _withdraw(_pid, _amount, msg.sender, pool); address outToken = _outToken; IVelodromePair(pool).burn(address(this)); uint256 amount0 = IERC20(token0).balanceOf(address(this)); uint256 amount1 = IERC20(token1).balanceOf(address(this)); _amount = 0; if(token0 == _outToken){ (_amount, _outToken) = _swapToken(pool, token1, amount1); _amount += amount0; }else{ (_amount, _outToken) = _swapToken(pool, token0, amount0); _amount += amount1; } for(uint i; i < _path.length; i++){ (_amount, _outToken) = _swapToken(_path[i], _outToken, _amount); } uint256 feeAmount = _amount.mul(zapFeePer10K).div(10000); if(outToken == weth){ IWETH(weth).withdraw(_amount); safeTransferETH(owner(), feeAmount); safeTransferETH(_to, _amount.sub(feeAmount)); }else{ safeTransfer(_outToken, owner(), feeAmount); safeTransfer(_outToken, _to, _amount.sub(feeAmount)); } } // Method to unzap. function unzap(uint256 _pid,address _outToken, uint256 _amount, address[] memory _path, address _to) public lock { address pool = Pools[_pid].underlyingLp; address token0 = IVelodromePair(pool).token0(); address token1 = IVelodromePair(pool).token1(); if(_outToken == address(0)){ _unzapBoth(_pid,_amount,token0,token1, _to); }else{ _unzapSingle(_pid,_amount,_outToken, _path, token0, token1, _to, pool); } } //Receive Eth receive() external payable{} function safeTransferETH(address to, uint _value) internal { (bool success,) = to.call{value:_value}(new bytes(0)); require(success, 'ETH_TRANSFER_FAILED'); } function safeTransferFrom(address token, address from, address to, uint value) internal { // bytes4(keccak256(bytes('transferFrom(address,address,uint256)'))); (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x23b872dd, from, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), 'TRANSFER_FROM_FAILED'); } function safeTransfer(address token, address to, uint value) internal { // bytes4(keccak256(bytes('transfer(address,uint256)'))); (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0xa9059cbb, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), 'TRANSFER_FAILED'); } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// 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; import "../../utils/Context.sol"; import "./IERC20.sol"; import "../../math/SafeMath.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name_, string memory symbol_) public { _name = name_; _symbol = symbol_; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal virtual { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } }
// 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; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract acxToken is ERC20, Ownable{ constructor(string memory symbol, string memory name) public ERC20(symbol, name) { } function mint(address _to, uint256 _amount) public onlyOwner{ _mint(_to, _amount); } function burn(address _from, uint256 _amount) public{ if(msg.sender != owner()){ require(msg.sender == _from, "No"); } _burn(_from, _amount); } }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; interface IACX{ function burn(address _to, uint256 _amount) external; function mint(address _to, uint256 _amount) external; function totalSupply() external returns(uint256); }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; interface IGauge{ function getReward(address account) external; function deposit(uint amount) external; function withdraw(uint amount) external; function balanceOf(address) external view returns (uint); function earned(address account) external view returns (uint); function rewardToken() external view returns (address); }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.12; interface IVelodromePair { function allowance(address owner, address spender)external view returns(uint256); function approve(address spender, uint256 amount)external returns(bool); function balanceOf(address account)external view returns(uint256); function burn(address to)external returns(uint256 amount0, uint256 amount1); function getAmountOut(uint256 amountIn, address tokenIn)external view returns(uint256); function getReserves() external view returns(uint256 _reserve0, uint256 _reserve1, uint256 _blockTimestampLast); function mint(address to)external returns(uint256 liquidity); function name() external view returns(string memory); function quote(address tokenIn, uint256 amountIn, uint256 granularity)external view returns(uint256 amountOut); function reserve0() external view returns(uint256); function reserve1() external view returns(uint256); function stable() external view returns(bool); function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes memory data)external; function symbol() external view returns(string memory); function token0() external view returns(address); function token1() external view returns(address); }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; interface IWETH { function deposit() external payable; function withdraw(uint256 value) external; }
// SPDX-License-Identifier: MIT import "@openzeppelin/contracts/math/SafeMath.sol"; import "./Interfaces/IVelodromePair.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; pragma solidity ^0.6.12; library Babylonian { function sqrt(uint256 y) internal pure returns (uint256 z) { if (y > 3) { z = y; uint256 x = y / 2 + 1; while (x < z) { z = x; x = (y / x + x) / 2; } } else if (y != 0) { z = 1; } // else z = 0 } } contract lpHelper { using SafeMath for uint256; function calculateSwapInAmount(uint256 reserveIn, uint256 reserveOut, uint256 userIn, bool stable,uint256 amountOut) public pure returns (uint256) { if(stable){ uint ratio = amountOut * 1e18 / (userIn) * reserveIn / reserveOut; return userIn * 1e18 / (ratio + 1e18); } return Babylonian .sqrt( reserveIn.mul(userIn.mul(3988000) + reserveIn.mul(3988009)) ) .sub(reserveIn.mul(1997)) / 1994; } function _addLiquidity(address _token, address _pair, uint256 _amount) internal returns (uint256 liquidity) { address token0 = IVelodromePair(_pair).token0(); address token1 = IVelodromePair(_pair).token1(); if(token0 != _token){ (uint256 amountIn,uint256 amountOut) = _swapTokenForLiq(_pair, token1, _amount); IERC20(token1).transfer(address(_pair), amountIn); IERC20(token0).transfer(address(_pair), amountOut); liquidity = IVelodromePair(_pair).mint(address(this)); }else{ (uint256 amountIn,uint256 amountOut) = _swapTokenForLiq(_pair, token0, _amount); IERC20(token0).transfer(address(_pair), amountIn); IERC20(token1).transfer(address(_pair), amountOut); liquidity = IVelodromePair(_pair).mint(address(this)); } } function _swapTokenForLiq(address _pair, address fromToken, uint256 amountIn) internal returns (uint256 inputAmount, uint256 amountOut) { IVelodromePair pair = IVelodromePair(_pair); (uint256 reserve0, uint256 reserve1,) = pair.getReserves(); bool stable = IVelodromePair(_pair).stable(); uint256 out = IVelodromePair(_pair).getAmountOut(amountIn, fromToken); if (fromToken == pair.token0()) { inputAmount = calculateSwapInAmount(reserve0, reserve1 , amountIn, stable, out); IERC20(fromToken).transfer(address(pair), inputAmount); amountOut = pair.getAmountOut(inputAmount, fromToken); pair.swap(0, amountOut, address(this), new bytes(0)); inputAmount = amountIn.sub(inputAmount); } else { inputAmount = calculateSwapInAmount(reserve1, reserve0 ,amountIn, stable, out); IERC20(fromToken).transfer(address(pair), inputAmount); amountOut = pair.getAmountOut(inputAmount, fromToken); pair.swap(amountOut, 0, address(this), new bytes(0)); inputAmount = amountIn.sub(inputAmount); } } function _swapToken(address _pair, address fromToken, uint256 amountIn) internal returns(uint256 amountOut, address outToken){ IVelodromePair pair = IVelodromePair(_pair); if (fromToken == pair.token0()) { outToken = pair.token1(); IERC20(fromToken).transfer(address(pair), amountIn); amountOut = pair.getAmountOut(amountIn, fromToken); pair.swap(0, amountOut, address(this), new bytes(0)); } else { outToken = pair.token0(); IERC20(fromToken).transfer(address(pair), amountIn); amountOut = pair.getAmountOut(amountIn, fromToken); pair.swap(amountOut, 0, address(this), new bytes(0)); } } }
// SPDX-License-Identifier: UNLICENCED pragma solidity 0.6.12; /* /$$ /$$ /$$ /$$ | $$ | $$ | $$ | $$ /$$$$$$ /$$$$$$$/$$ /$$ | $$ | $$/$$$$$$ /$$ /$| $$/$$$$$$ /$$$$$$$ |____ $$/$$_____| $$ /$$/ | $$ / $$|____ $| $$ | $| $|_ $$_/ /$$_____/ /$$$$$$| $$ \ $$$$/ \ $$ $$/ /$$$$$$| $$ | $| $$ | $$ | $$$$$$ /$$__ $| $$ >$$ $$ \ $$$/ /$$__ $| $$ | $| $$ | $$ /$\____ $$ | $$$$$$| $$$$$$$/$$/\ $$ \ $/ | $$$$$$| $$$$$$| $$ | $$$$/$$$$$$$/ \_______/\_______|__/ \__/ \_/ \_______/\______/|__/ \___/|_______/ */ // An Open X Project import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "./Interfaces/IVelodromePair.sol"; import './Interfaces/IGauge.sol'; import "./Interfaces/IACX.sol"; import "./Interfaces/IWETH.sol"; import "./acxToken.sol"; import "./lpHelper.sol"; contract vaultFactory is Ownable, lpHelper{ using SafeMath for uint256; // The struct for the pool information. struct PoolInfo { address rewardToken; address underlyingLp; address acxToken; address gauge; uint256 totalStaked; address[] path; uint256 lastCollectionTimestamp; } // Array of pools and mapping to check if pair already exists. PoolInfo[] public Pools; mapping(address => bool) public pairExists; // Variables for fees. uint256 public bountyfeePer10K = 100; uint256 public performanceFeePer10K = 600; uint256 public zapFeePer10K = 10; uint256 public perfPool = 0; address public weth = 0x4200000000000000000000000000000000000006; uint private unlocked = 1; //reentrancy guard modifier lock() { require(unlocked == 1, 'OpenX LOCKED'); unlocked = 0; _; unlocked = 1; } // Method to get the length of pools. function poolsLength() public view returns (uint256){ return Pools.length; } // Method to add a new vault. function addVault(address _underlyingLp, address _gauge, address[] memory path) public onlyOwner{ require(pairExists[_underlyingLp] == false, "Pool Already Exists."); pairExists[_underlyingLp] = true; PoolInfo memory newPool; acxToken acx = new acxToken(string(abi.encodePacked('acx-', IVelodromePair(_underlyingLp).symbol())) , string(abi.encodePacked('Auto Compounding X ', IVelodromePair(_underlyingLp).symbol()))); newPool.acxToken = address(acx); newPool.gauge = _gauge; newPool.underlyingLp = _underlyingLp; newPool.rewardToken = IGauge(_gauge).rewardToken(); newPool.path = path; Pools.push(newPool); } // Method to update the path for token swaps. function updatePath(uint256 _pid, address[] memory _path) public onlyOwner { Pools[_pid].path = _path; } // Method to update the performance pool. function updatePerfPool(uint256 _pid) public onlyOwner{ perfPool = _pid; } // Method to update the fees. function updateFees(uint256 _bountyfeePer10K, uint256 _performanceFeePer10K, uint256 _zapFeePer10K) public onlyOwner { require(_bountyfeePer10K.add(_performanceFeePer10K).add(_zapFeePer10K) <= 1000, "Max 10%"); bountyfeePer10K = _bountyfeePer10K; performanceFeePer10K = _performanceFeePer10K; zapFeePer10K = _zapFeePer10K; } // Method to deposit into a pool. function deposit(uint256 _pid, uint256 _amount, address _to) public lock{ IERC20 lpToken = IERC20(Pools[_pid].underlyingLp); safeTransferFrom(address(lpToken), msg.sender, address(this), _amount); _deposit(_pid, _amount, _to); } // Internal method to handle the deposit logic. function _deposit(uint256 _pid, uint256 _amount, address _to) internal { IACX acxToken = IACX(Pools[_pid].acxToken); IERC20 lpToken = IERC20(Pools[_pid].underlyingLp); IGauge gauge = IGauge(Pools[_pid].gauge); uint256 totalSupply = acxToken.totalSupply(); if(totalSupply == 0){ acxToken.mint(_to, _amount); }else{ if(Pools[_pid].lastCollectionTimestamp != block.timestamp){ Pools[_pid].lastCollectionTimestamp = block.timestamp; claimBounty(_pid,_to); } uint256 lpBal = gauge.balanceOf(address(this)); uint256 _mintAmount = _amount.mul(totalSupply).div(lpBal); acxToken.mint(_to, _mintAmount); } lpToken.approve(address(gauge), _amount); gauge.deposit(_amount); Pools[_pid].totalStaked += _amount; } // Method to withdraw from a pool. function withdraw(uint256 _pid, uint256 _amount, address _to) public lock{ _withdraw(_pid, _amount, msg.sender, _to); } // Internal method to handle the withdrawal logic. function _withdraw(uint256 _pid, uint256 _amount,address _from, address _to) internal returns(uint256) { IACX acxToken = IACX(Pools[_pid].acxToken); IERC20 lpToken = IERC20(Pools[_pid].underlyingLp); IGauge gauge = IGauge(Pools[_pid].gauge); uint256 totalSupply = acxToken.totalSupply(); uint256 lpBal = gauge.balanceOf(address(this)); uint256 withdrawAmount = _amount.mul(lpBal).div(totalSupply); acxToken.burn(_from, _amount); gauge.withdraw(withdrawAmount); safeTransfer(address(lpToken), _to, withdrawAmount); Pools[_pid].totalStaked -= withdrawAmount; return withdrawAmount; } // Method to claim the bounty. function claimBounty(uint256 _pid, address _to) public { address rewardToken = Pools[_pid].rewardToken; IGauge gauge = IGauge(Pools[_pid].gauge); uint256 earned = gauge.earned(address(this)); if(earned < 1*10**17){ return; } uint256 bounty = earned.mul(bountyfeePer10K).div(10000); uint256 performance = earned.mul(bountyfeePer10K).div(10000); gauge.getReward(address(this)); safeTransfer(rewardToken, _to, bounty); earned = earned.sub(performance).sub(bounty); uint256 amount = _compound(_pid, earned); uint256 amountPerf = _compound(perfPool, performance); _deposit(perfPool, amountPerf, owner()); Pools[_pid].totalStaked += amount; IERC20(Pools[_pid].underlyingLp).approve(address(gauge), amount); gauge.deposit(amount); } // Method to handle the compounding. function _compound(uint256 _pid, uint256 _amount) internal returns(uint256){ uint256 len = Pools[_pid].path.length; address outToken = Pools[_pid].rewardToken; for(uint i; i < len; i++){ (_amount, outToken) = _swapToken(Pools[_pid].path[i], outToken, _amount); } if(len > 0){ return _addLiquidity(outToken, Pools[_pid].underlyingLp, _amount); }else{ return _addLiquidity(Pools[_pid].rewardToken, Pools[_pid].underlyingLp, _amount); } } // Method to zap. function zap(uint256 _pid,address _inToken, uint256 _amount, address[] memory _path, address _to) public payable lock { uint256 len = _path.length; if(_inToken == weth){ IWETH(weth).deposit{value: msg.value}(); }else{ safeTransferFrom(_inToken, msg.sender, address(this), _amount); } for(uint i; i < len; i++){ (_amount, _inToken) = _swapToken(_path[i], _inToken, _amount); } _amount = _addLiquidity(_inToken, Pools[_pid].underlyingLp, _amount); uint256 feeAmount = _amount.mul(zapFeePer10K).div(10000); _deposit(_pid, feeAmount, owner()); _deposit(_pid, _amount.sub(feeAmount), _to); } // Method to unzap. function unzap(uint256 _pid,address _outToken, uint256 _amount, address[] memory _path, address _to) public lock { uint256 len = _path.length; address outToken = _outToken; address token0 = IVelodromePair(Pools[_pid].underlyingLp).token0(); address token1 = IVelodromePair(Pools[_pid].underlyingLp).token1(); if(_outToken == address(0)){ _amount = _withdraw(_pid, _amount, msg.sender, address(this)); uint256 feeAmount = _amount.mul(zapFeePer10K).div(10000); _deposit(_pid, feeAmount, owner()); safeTransfer(Pools[_pid].underlyingLp, Pools[_pid].underlyingLp, _amount.sub(feeAmount)); (uint256 amount0, uint256 amount1) = IVelodromePair(Pools[_pid].underlyingLp).burn(address(this)); if (token0 == weth) { IWETH(weth).withdraw(amount0); safeTransferETH(_to, amount0); }else{ safeTransfer(token0, _to, amount0); } if (token1 == weth) { IWETH(weth).withdraw(amount1); safeTransferETH(_to, amount1); }else{ safeTransfer(token1, _to, amount1); } }else{ _withdraw(_pid, _amount, msg.sender, Pools[_pid].underlyingLp); (uint256 amount0, uint256 amount1) = IVelodromePair(Pools[_pid].underlyingLp).burn(address(this)); if(token0 == outToken){ (_amount, outToken) = _swapToken(Pools[_pid].underlyingLp, token1, amount1); _amount += amount0; }else{ (_amount, outToken) = _swapToken(Pools[_pid].underlyingLp, token0, amount0); _amount += amount1; } for(uint i; i < len; i++){ (_amount, outToken) = _swapToken(_path[i], outToken, _amount); } uint256 feeAmount = _amount.mul(zapFeePer10K).div(10000); if(_outToken == weth){ IWETH(weth).withdraw(_amount); safeTransferETH(owner(), feeAmount); safeTransferETH(_to, _amount.sub(feeAmount)); }else{ safeTransfer(_outToken, owner(), feeAmount); safeTransfer(_outToken, _to, _amount.sub(feeAmount)); } } } //Receive Eth receive() external payable{} function safeTransferETH(address to, uint _value) internal { (bool success,) = to.call{value:_value}(new bytes(0)); require(success, 'ETH_TRANSFER_FAILED'); } function safeTransferFrom(address token, address from, address to, uint value) internal { // bytes4(keccak256(bytes('transferFrom(address,address,uint256)'))); (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x23b872dd, from, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), 'TRANSFER_FROM_FAILED'); } function safeTransfer(address token, address to, uint value) internal { // bytes4(keccak256(bytes('transfer(address,uint256)'))); (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0xa9059cbb, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), 'TRANSFER_FAILED'); } }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract acxToken is ERC20, Ownable{ constructor(string memory symbol, string memory name) public ERC20(symbol, name) { } function mint(address _to, uint256 _amount) public onlyOwner{ _mint(_to, _amount); } function burn(address _from, uint256 _amount) public{ if(msg.sender != owner()){ require(msg.sender == _from, "No"); } _burn(_from, _amount); } }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; interface IACX{ function burn(address _to, uint256 _amount) external; function mint(address _to, uint256 _amount) external; function totalSupply() external returns(uint256); }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; interface IGauge{ function getReward(address account) external; function deposit(uint amount) external; function withdraw(uint amount) external; function balanceOf(address) external view returns (uint); function earned(address account) external view returns (uint); function rewardToken() external view returns (address); }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.12; interface IVelodromePair { function allowance(address owner, address spender)external view returns(uint256); function approve(address spender, uint256 amount)external returns(bool); function balanceOf(address account)external view returns(uint256); function burn(address to)external returns(uint256 amount0, uint256 amount1); function getAmountOut(uint256 amountIn, address tokenIn)external view returns(uint256); function getReserves() external view returns(uint256 _reserve0, uint256 _reserve1, uint256 _blockTimestampLast); function mint(address to)external returns(uint256 liquidity); function name() external view returns(string memory); function quote(address tokenIn, uint256 amountIn, uint256 granularity)external view returns(uint256 amountOut); function reserve0() external view returns(uint256); function reserve1() external view returns(uint256); function stable() external view returns(bool); function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes memory data)external; function symbol() external view returns(string memory); function token0() external view returns(address); function token1() external view returns(address); }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; interface IWETH { function deposit() external payable; function withdraw(uint256 value) external; }
// SPDX-License-Identifier: MIT import "@openzeppelin/contracts/math/SafeMath.sol"; import "./Interfaces/IVelodromePair.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; pragma solidity ^0.6.12; library Babylonian { function sqrt(uint256 y) internal pure returns (uint256 z) { if (y > 3) { z = y; uint256 x = y / 2 + 1; while (x < z) { z = x; x = (y / x + x) / 2; } } else if (y != 0) { z = 1; } // else z = 0 } } contract lpHelper { using SafeMath for uint256; function calculateSwapInAmount(uint256 reserveIn, uint256 reserveOut, uint256 userIn, bool stable,uint256 amountOut) public pure returns (uint256) { if(stable){ uint ratio = amountOut * 1e18 / (userIn) * reserveIn / reserveOut; return userIn * 1e18 / (ratio + 1e18); } return Babylonian .sqrt( reserveIn.mul(userIn.mul(3988000) + reserveIn.mul(3988009)) ) .sub(reserveIn.mul(1997)) / 1994; } function _addLiquidity(address _token, address _pair, uint256 _amount) internal returns (uint256 liquidity) { address token0 = IVelodromePair(_pair).token0(); address token1 = IVelodromePair(_pair).token1(); if(token0 != _token){ (uint256 amountIn,uint256 amountOut) = _swapTokenForLiq(_pair, token1, _amount); IERC20(token1).transfer(address(_pair), amountIn); IERC20(token0).transfer(address(_pair), amountOut); liquidity = IVelodromePair(_pair).mint(address(this)); }else{ (uint256 amountIn,uint256 amountOut) = _swapTokenForLiq(_pair, token0, _amount); IERC20(token0).transfer(address(_pair), amountIn); IERC20(token1).transfer(address(_pair), amountOut); liquidity = IVelodromePair(_pair).mint(address(this)); } } function _swapTokenForLiq(address _pair, address fromToken, uint256 amountIn) internal returns (uint256 inputAmount, uint256 amountOut) { IVelodromePair pair = IVelodromePair(_pair); (uint256 reserve0, uint256 reserve1,) = pair.getReserves(); bool stable = IVelodromePair(_pair).stable(); uint256 out = IVelodromePair(_pair).getAmountOut(amountIn, fromToken); if (fromToken == pair.token0()) { inputAmount = calculateSwapInAmount(reserve0, reserve1 , amountIn, stable, out); (amountOut,) = _swapToken(_pair, fromToken, inputAmount); inputAmount = amountIn.sub(inputAmount); } else { inputAmount = calculateSwapInAmount(reserve1, reserve0 ,amountIn, stable, out); (amountOut,) = _swapToken(_pair, fromToken, inputAmount); inputAmount = amountIn.sub(inputAmount); } } function _swapToken(address _pair, address fromToken, uint256 amountIn) internal returns(uint256 amountOut, address outToken){ IVelodromePair pair = IVelodromePair(_pair); if (fromToken == pair.token0()) { outToken = pair.token1(); uint256 balInBefore = IERC20(fromToken).balanceOf(address(pair)); IERC20(fromToken).transfer(address(pair), amountIn); uint256 balInAfter = IERC20(fromToken).balanceOf(address(pair)); amountOut = pair.getAmountOut(balInAfter.sub(balInBefore), fromToken); uint256 balOutBefore = IERC20(outToken).balanceOf(address(this)); pair.swap(0, amountOut, address(this), new bytes(0)); uint256 balOutAfter = IERC20(outToken).balanceOf(address(this)); amountOut = balOutAfter.sub(balOutBefore); } else { outToken = pair.token0(); uint256 balInBefore = IERC20(fromToken).balanceOf(address(pair)); IERC20(fromToken).transfer(address(pair), amountIn); uint256 balInAfter = IERC20(fromToken).balanceOf(address(pair)); amountOut = pair.getAmountOut(balInAfter.sub(balInBefore), fromToken); uint256 balOutBefore = IERC20(outToken).balanceOf(address(this)); pair.swap(amountOut, 0, address(this), new bytes(0)); uint256 balOutAfter = IERC20(outToken).balanceOf(address(this)); amountOut = balOutAfter.sub(balOutBefore); } } }
{ "optimizer": { "enabled": true, "runs": 5000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"Pools","outputs":[{"internalType":"address","name":"rewardToken","type":"address"},{"internalType":"address","name":"underlyingLp","type":"address"},{"internalType":"address","name":"acxToken","type":"address"},{"internalType":"address","name":"gauge","type":"address"},{"internalType":"uint256","name":"totalStaked","type":"uint256"},{"internalType":"uint256","name":"lastCollectionTimestamp","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_underlyingLp","type":"address"},{"internalType":"address","name":"_gauge","type":"address"},{"internalType":"address[]","name":"path","type":"address[]"}],"name":"addVault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"bountyfeePer10K","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"reserveIn","type":"uint256"},{"internalType":"uint256","name":"reserveOut","type":"uint256"},{"internalType":"uint256","name":"userIn","type":"uint256"},{"internalType":"bool","name":"stable","type":"bool"},{"internalType":"uint256","name":"amountOut","type":"uint256"}],"name":"calculateSwapInAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"claimBounty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"pairExists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"perfPool","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"performanceFeePer10K","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolsLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_outToken","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address[]","name":"_path","type":"address[]"},{"internalType":"address","name":"_to","type":"address"}],"name":"unzap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_bountyfeePer10K","type":"uint256"},{"internalType":"uint256","name":"_performanceFeePer10K","type":"uint256"},{"internalType":"uint256","name":"_zapFeePer10K","type":"uint256"}],"name":"updateFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address[]","name":"_path","type":"address[]"}],"name":"updatePath","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePerfPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"weth","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_inToken","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address[]","name":"_path","type":"address[]"},{"internalType":"address","name":"_to","type":"address"}],"name":"zap","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"zapFeePer10K","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526064600355610258600455600a6005556000600655600780546001600160a01b03191673420000000000000000000000000000000000000617905560016008553480156200005157600080fd5b5060006200005e620000ae565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350620000b2565b3390565b615bdf80620000c26000396000f3fe608060405260043610620001935760003560e01c806373dfccca11620000df578063ac56d39c116200008b578063ec55045f1162000061578063ec55045f14620007cd578063ed17230b14620007e5578063f2fde38b14620007fd576200019b565b8063ac56d39c1462000687578063e3e01aad1462000757578063e910b36c1462000785576200019b565b80638da5cb5b11620000c15780638da5cb5b14620006145780638dbdbe6d146200062c578063a4f688fb146200066f576200019b565b806373dfccca146200058957806386079e3214620005fc576200019b565b8063321720db116200013f57806354d4fad3116200012157806354d4fad31462000476578063715018a614620004b357806372e617c814620004cb576200019b565b8063321720db14620003645780633fc8cef31462000442576200019b565b80631a56f64811620001755780631a56f64814620002b55780632242908514620003005780632716ae66146200033a576200019b565b80630ad58d2f14620001a05780630d55850914620001e5576200019b565b366200019b57005b600080fd5b348015620001ad57600080fd5b50620001e360048036036060811015620001c657600080fd5b50803590602081013590604001356001600160a01b031662000834565b005b348015620001f257600080fd5b50620001e3600480360360608110156200020b57600080fd5b6001600160a01b0382358116926020810135909116918101906060810160408201356401000000008111156200024057600080fd5b8201836020820111156200025357600080fd5b803590602001918460208302840111640100000000831117156200027657600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550620008aa945050505050565b348015620002c257600080fd5b50620002ec60048036036020811015620002db57600080fd5b50356001600160a01b031662001097565b604080519115158252519081900360200190f35b3480156200030d57600080fd5b50620001e3600480360360608110156200032657600080fd5b5080359060208101359060400135620010ac565b3480156200034757600080fd5b5062000352620011a2565b60408051918252519081900360200190f35b3480156200037157600080fd5b50620001e3600480360360a08110156200038a57600080fd5b8135916001600160a01b036020820135169160408201359190810190608081016060820135640100000000811115620003c257600080fd5b820183602082011115620003d557600080fd5b80359060200191846020830284011164010000000083111715620003f857600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550505090356001600160a01b03169150620011a89050565b3480156200044f57600080fd5b506200045a6200137c565b604080516001600160a01b039092168252519081900360200190f35b3480156200048357600080fd5b50620001e3600480360360408110156200049c57600080fd5b50803590602001356001600160a01b03166200138b565b348015620004c057600080fd5b50620001e362001704565b348015620004d857600080fd5b50620001e360048036036040811015620004f157600080fd5b813591908101906040810160208201356401000000008111156200051457600080fd5b8201836020820111156200052757600080fd5b803590602001918460208302840111640100000000831117156200054a57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550620017df945050505050565b3480156200059657600080fd5b50620005b760048036036020811015620005af57600080fd5b503562001892565b604080516001600160a01b039788168152958716602087015293861685850152919094166060840152608083019390935260a082019290925290519081900360c00190f35b3480156200060957600080fd5b5062000352620018e6565b3480156200062157600080fd5b506200045a620018ec565b3480156200063957600080fd5b50620001e3600480360360608110156200065257600080fd5b50803590602081013590604001356001600160a01b0316620018fb565b3480156200067c57600080fd5b5062000352620019a3565b620001e3600480360360a08110156200069f57600080fd5b8135916001600160a01b036020820135169160408201359190810190608081016060820135640100000000811115620006d757600080fd5b820183602082011115620006ea57600080fd5b803590602001918460208302840111640100000000831117156200070d57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550505090356001600160a01b03169150620019a99050565b3480156200076457600080fd5b50620001e3600480360360208110156200077d57600080fd5b503562001c70565b3480156200079257600080fd5b5062000352600480360360a0811015620007ab57600080fd5b5080359060208101359060408101359060608101351515906080013562001cee565b348015620007da57600080fd5b506200035262001da3565b348015620007f257600080fd5b506200035262001da9565b3480156200080a57600080fd5b50620001e3600480360360208110156200082357600080fd5b50356001600160a01b031662001daf565b6008546001146200088c576040805162461bcd60e51b815260206004820152600c60248201527f4f70656e58204c4f434b45440000000000000000000000000000000000000000604482015290519081900360640190fd5b60006008556200089f8383338462001ee2565b505060016008555050565b620008b46200218c565b6001600160a01b0316620008c7620018ec565b6001600160a01b03161462000923576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03831660009081526002602052604090205460ff161562000992576040805162461bcd60e51b815260206004820152601460248201527f506f6f6c20416c7265616479204578697374732e000000000000000000000000604482015290519081900360640190fd5b6001600160a01b038316600090815260026020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055620009dd62004654565b6000846001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b15801562000a1957600080fd5b505afa15801562000a2e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101562000a5857600080fd5b810190808051604051939291908464010000000082111562000a7957600080fd5b90830190602082018581111562000a8f57600080fd5b825164010000000081118282018810171562000aaa57600080fd5b82525081516020918201929091019080838360005b8381101562000ad957818101518382015260200162000abf565b50505050905090810190601f16801562000b075780820380516001836020036101000a031916815260200191505b5060405250505060405160200180807f6163782d0000000000000000000000000000000000000000000000000000000081525060040182805190602001908083835b6020831062000b6a5780518252601f19909201916020918201910162000b49565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051602081830303815290604052856001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b15801562000bd857600080fd5b505afa15801562000bed573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101562000c1757600080fd5b810190808051604051939291908464010000000082111562000c3857600080fd5b90830190602082018581111562000c4e57600080fd5b825164010000000081118282018810171562000c6957600080fd5b82525081516020918201929091019080838360005b8381101562000c9857818101518382015260200162000c7e565b50505050905090810190601f16801562000cc65780820380516001836020036101000a031916815260200191505b5060405250505060405160200180807f4175746f20436f6d706f756e64696e672058200000000000000000000000000081525060130182805190602001908083835b6020831062000d295780518252601f19909201916020918201910162000d08565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405260405162000d6b906200468f565b604080825283519082015282518190602080830191606084019187019080838360005b8381101562000da857818101518382015260200162000d8e565b50505050905090810190601f16801562000dd65780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b8381101562000e0b57818101518382015260200162000df1565b50505050905090810190601f16801562000e395780820380516001836020036101000a031916815260200191505b50945050505050604051809103906000f08015801562000e5d573d6000803e3d6000fd5b506001600160a01b038082166040808601919091528682166060860181905291881660208087019190915281517ff7c618c10000000000000000000000000000000000000000000000000000000081529151939450919263f7c618c192600480840193919291829003018186803b15801562000ed857600080fd5b505afa15801562000eed573d6000803e3d6000fd5b505050506040513d602081101562000f0457600080fd5b50516001600160a01b03908116835260a0830184815260018054808201825560009190915284517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6600790920291820180547fffffffffffffffffffffffff00000000000000000000000000000000000000009081169286169290921781556020808801517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf785018054851691881691909117905560408801517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf885018054851691881691909117905560608801517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf98501805490941696169590951790915560808601517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cfa83015591518051869462001083937fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cfb019201906200469d565b5060c0820151816006015550505050505050565b60026020526000908152604090205460ff1681565b620010b66200218c565b6001600160a01b0316620010c9620018ec565b6001600160a01b03161462001125576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6103e8620011408262001139868662002190565b9062002190565b111562001194576040805162461bcd60e51b815260206004820152600760248201527f4d61782031302500000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600392909255600455600555565b60015490565b60085460011462001200576040805162461bcd60e51b815260206004820152600c60248201527f4f70656e58204c4f434b45440000000000000000000000000000000000000000604482015290519081900360640190fd5b6000600881905560018054879081106200121657fe5b906000526020600020906007020160010160009054906101000a90046001600160a01b031690506000816001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b1580156200127957600080fd5b505afa1580156200128e573d6000803e3d6000fd5b505050506040513d6020811015620012a557600080fd5b5051604080517fd21220a700000000000000000000000000000000000000000000000000000000815290519192506000916001600160a01b0385169163d21220a7916004808301926020929190829003018186803b1580156200130757600080fd5b505afa1580156200131c573d6000803e3d6000fd5b505050506040513d60208110156200133357600080fd5b505190506001600160a01b0387166200135b57620013558887848488620021f4565b6200136d565b6200136d8887898886868a8a620026af565b50506001600855505050505050565b6007546001600160a01b031681565b6000600183815481106200139b57fe5b60009182526020822060079091020154600180546001600160a01b0390921693509085908110620013c857fe5b6000918252602080832060036007909302019190910154604080517e8cc26200000000000000000000000000000000000000000000000000000000815230600482015290516001600160a01b0390921694508492628cc26292602480840193829003018186803b1580156200143c57600080fd5b505afa15801562001451573d6000803e3d6000fd5b505050506040513d60208110156200146857600080fd5b5051905067016345785d8a0000811015620014865750505062001700565b6000620014ad612710620014a660035485620029e990919063ffffffff16565b9062002a47565b90506000620014cf612710620014a660035486620029e990919063ffffffff16565b9050836001600160a01b031663c00007b0306040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b1580156200152157600080fd5b505af115801562001536573d6000803e3d6000fd5b505050506200154785878462002ab0565b6200155f8262001558858462002c50565b9062002c50565b925060006200156f888562002cae565b90506000620015816006548462002cae565b90506200159b6006548262001595620018ec565b62002dec565b8160018a81548110620015aa57fe5b6000918252602090912060046007909202010180549091019055600180548a908110620015d357fe5b906000526020600020906007020160010160009054906101000a90046001600160a01b03166001600160a01b031663095ea7b387846040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b1580156200164f57600080fd5b505af115801562001664573d6000803e3d6000fd5b505050506040513d60208110156200167b57600080fd5b5050604080517fb6b55f250000000000000000000000000000000000000000000000000000000081526004810184905290516001600160a01b0388169163b6b55f2591602480830192600092919082900301818387803b158015620016df57600080fd5b505af1158015620016f4573d6000803e3d6000fd5b50505050505050505050505b5050565b6200170e6200218c565b6001600160a01b031662001721620018ec565b6001600160a01b0316146200177d576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b620017e96200218c565b6001600160a01b0316620017fc620018ec565b6001600160a01b03161462001858576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b80600183815481106200186757fe5b906000526020600020906007020160050190805190602001906200188d9291906200469d565b505050565b60018181548110620018a057fe5b60009182526020909120600790910201805460018201546002830154600384015460048501546006909501546001600160a01b0394851696509284169491841693169186565b60045481565b6000546001600160a01b031690565b60085460011462001953576040805162461bcd60e51b815260206004820152600c60248201527f4f70656e58204c4f434b45440000000000000000000000000000000000000000604482015290519081900360640190fd5b6000600881905560018054859081106200196957fe5b60009182526020909120600160079092020101546001600160a01b031690506200199681333086620031ff565b6200089f84848462002dec565b60055481565b60085460011462001a01576040805162461bcd60e51b815260206004820152600c60248201527f4f70656e58204c4f434b45440000000000000000000000000000000000000000604482015290519081900360640190fd5b60006008819055825160075490919081906001600160a01b038881169116141562001a9757600760009054906101000a90046001600160a01b03166001600160a01b031663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b15801562001a7757600080fd5b505af115801562001a8c573d6000803e3d6000fd5b505050505062001ba2565b604080516370a0823160e01b815230600482015290516001600160a01b038916916370a08231916024808301926020929190829003018186803b15801562001ade57600080fd5b505afa15801562001af3573d6000803e3d6000fd5b505050506040513d602081101562001b0a57600080fd5b5051905062001b1c87333089620031ff565b604080516370a0823160e01b815230600482015290516001600160a01b038916916370a08231916024808301926020929190829003018186803b15801562001b6357600080fd5b505afa15801562001b78573d6000803e3d6000fd5b505050506040513d602081101562001b8f57600080fd5b5051915062001b9f828262002c50565b95505b60005b8381101562001bdc5762001bcf86828151811062001bbf57fe5b60200260200101518989620033a8565b9850965060010162001ba5565b5062001c148760018a8154811062001bf057fe5b60009182526020909120600160079092020101546001600160a01b03168862003d85565b9550600062001c36612710620014a66005548a620029e990919063ffffffff16565b905062001c48898262001595620018ec565b62001c608962001c59898462002c50565b8762002dec565b5050600160085550505050505050565b62001c7a6200218c565b6001600160a01b031662001c8d620018ec565b6001600160a01b03161462001ce9576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600655565b6000821562001d4457600085878685670de0b6b3a7640000028162001d0f57fe5b04028162001d1957fe5b04905080670de0b6b3a76400000185670de0b6b3a7640000028162001d3a57fe5b0491505062001d9a565b6107ca62001d8e62001d59886107cd620029e9565b6200155862001d8862001d708b623cda29620029e9565b62001d7f8a623cda20620029e9565b8c9101620029e9565b62004237565b8162001d9657fe5b0490505b95945050505050565b60065481565b60035481565b62001db96200218c565b6001600160a01b031662001dcc620018ec565b6001600160a01b03161462001e28576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03811662001e6f5760405162461bcd60e51b815260040180806020018281038252602681526020018062005b636026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6000806001868154811062001ef357fe5b60009182526020822060026007909202010154600180546001600160a01b039092169350908890811062001f2357fe5b600091825260208220600160079092020181015481546001600160a01b0390911693508990811062001f5157fe5b906000526020600020906007020160030160009054906101000a90046001600160a01b031690506000836001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381600087803b15801562001fb657600080fd5b505af115801562001fcb573d6000803e3d6000fd5b505050506040513d602081101562001fe257600080fd5b5051604080516370a0823160e01b815230600482015290519192506000916001600160a01b038516916370a08231916024808301926020929190829003018186803b1580156200203157600080fd5b505afa15801562002046573d6000803e3d6000fd5b505050506040513d60208110156200205d57600080fd5b5051905060006200207483620014a68c85620029e9565b9050856001600160a01b0316639dc29fac8a8c6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015620020ce57600080fd5b505af1158015620020e3573d6000803e3d6000fd5b50505050836001600160a01b0316632e1a7d4d826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156200212e57600080fd5b505af115801562002143573d6000803e3d6000fd5b505050506200215485898362002ab0565b8060018c815481106200216357fe5b6000918252602090912060079091020160040180549190910390559a9950505050505050505050565b3390565b600082820183811015620021eb576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b90505b92915050565b620022028585333062001ee2565b9350600062002224612710620014a660055488620029e990919063ffffffff16565b905062002236868262001595620018ec565b620022aa600187815481106200224857fe5b906000526020600020906007020160010160009054906101000a90046001600160a01b0316600188815481106200227b57fe5b60009182526020909120600160079092020101546001600160a01b0316620022a4888562002c50565b62002ab0565b6000846001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015620022fa57600080fd5b505afa1580156200230f573d6000803e3d6000fd5b505050506040513d60208110156200232657600080fd5b5051604080516370a0823160e01b815230600482015290519192506000916001600160a01b038816916370a08231916024808301926020929190829003018186803b1580156200237557600080fd5b505afa1580156200238a573d6000803e3d6000fd5b505050506040513d6020811015620023a157600080fd5b5051600180549192506000918291908b908110620023bb57fe5b60009182526020822060016007909202010154604080517f89afcb4400000000000000000000000000000000000000000000000000000000815230600482015281516001600160a01b03909316936389afcb4493602480840194939192918390030190829087803b1580156200243057600080fd5b505af115801562002445573d6000803e3d6000fd5b505050506040513d60408110156200245c57600080fd5b50805160209091015160075491935091506001600160a01b03898116911614156200251357600754604080517f2e1a7d4d0000000000000000000000000000000000000000000000000000000081526004810185905290516001600160a01b0390921691632e1a7d4d9160248082019260009290919082900301818387803b158015620024e857600080fd5b505af1158015620024fd573d6000803e3d6000fd5b505050506200250d868362004290565b620025a1565b620025a18887620022a4878c6001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156200256c57600080fd5b505afa15801562002581573d6000803e3d6000fd5b505050506040513d60208110156200259857600080fd5b50519062002c50565b6007546001600160a01b03888116911614156200264a57600754604080517f2e1a7d4d0000000000000000000000000000000000000000000000000000000081526004810184905290516001600160a01b0390921691632e1a7d4d9160248082019260009290919082900301818387803b1580156200261f57600080fd5b505af115801562002634573d6000803e3d6000fd5b5050505062002644868262004290565b620026a3565b620026a38787620022a4868b6001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156200256c57600080fd5b50505050505050505050565b620026bd8888338462001ee2565b50604080517f89afcb44000000000000000000000000000000000000000000000000000000008152306004820152815188926001600160a01b038516926389afcb4492602480830193928290030181600087803b1580156200271e57600080fd5b505af115801562002733573d6000803e3d6000fd5b505050506040513d60408110156200274a57600080fd5b5050604080516370a0823160e01b815230600482015290516000916001600160a01b038816916370a0823191602480820192602092909190829003018186803b1580156200279757600080fd5b505afa158015620027ac573d6000803e3d6000fd5b505050506040513d6020811015620027c357600080fd5b5051604080516370a0823160e01b815230600482015290519192506000916001600160a01b038816916370a08231916024808301926020929190829003018186803b1580156200281257600080fd5b505afa15801562002827573d6000803e3d6000fd5b505050506040513d60208110156200283e57600080fd5b505160009a5090506001600160a01b03878116908a161415620028755762002868848783620033a8565b9083019a5098506200288a565b62002882848884620033a8565b9082019a5098505b60005b8851811015620028c657620028b8898281518110620028a857fe5b60200260200101518b8d620033a8565b909b5099506001016200288d565b506000620028e7612710620014a66005548e620029e990919063ffffffff16565b6007549091506001600160a01b0385811691161415620029b357600754604080517f2e1a7d4d000000000000000000000000000000000000000000000000000000008152600481018e905290516001600160a01b0390921691632e1a7d4d9160248082019260009290919082900301818387803b1580156200296857600080fd5b505af11580156200297d573d6000803e3d6000fd5b50505050620029966200298f620018ec565b8262004290565b620029ad86620029a78d8462002c50565b62004290565b620029db565b620029c98a620029c2620018ec565b8362002ab0565b620029db8a87620022a48e8562002c50565b505050505050505050505050565b600082620029fa57506000620021ee565b8282028284828162002a0857fe5b0414620021eb5760405162461bcd60e51b815260040180806020018281038252602181526020018062005b896021913960400191505060405180910390fd5b600080821162002a9e576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838162002aa857fe5b049392505050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000178152925182516000946060949389169392918291908083835b6020831062002b5d5780518252601f19909201916020918201910162002b3c565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811462002bc1576040519150601f19603f3d011682016040523d82523d6000602084013e62002bc6565b606091505b509150915081801562002bf757508051158062002bf7575080806020019051602081101562002bf457600080fd5b50515b62002c49576040805162461bcd60e51b815260206004820152600f60248201527f5452414e534645525f4641494c45440000000000000000000000000000000000604482015290519081900360640190fd5b5050505050565b60008282111562002ca8576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000806001848154811062002cbf57fe5b906000526020600020906007020160050180549050905060006001858154811062002ce657fe5b600091825260208220600790910201546001600160a01b031691505b8281101562002d655762002d576001878154811062002d1d57fe5b9060005260206000209060070201600501828154811062002d3a57fe5b6000918252602090912001546001600160a01b03168387620033a8565b909550915060010162002d02565b50811562002dae5762002da4816001878154811062002d8057fe5b60009182526020909120600160079092020101546001600160a01b03168662003d85565b92505050620021ee565b62002da46001868154811062002dc057fe5b6000918252602090912060079091020154600180546001600160a01b03909216918890811062002d8057fe5b60006001848154811062002dfc57fe5b60009182526020822060026007909202010154600180546001600160a01b039092169350908690811062002e2c57fe5b600091825260208220600160079092020181015481546001600160a01b0390911693508790811062002e5a57fe5b906000526020600020906007020160030160009054906101000a90046001600160a01b031690506000836001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381600087803b15801562002ebf57600080fd5b505af115801562002ed4573d6000803e3d6000fd5b505050506040513d602081101562002eeb57600080fd5b505190508062002f6c57836001600160a01b03166340c10f1986886040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801562002f4d57600080fd5b505af115801562002f62573d6000803e3d6000fd5b50505050620030cc565b426001888154811062002f7b57fe5b9060005260206000209060070201600601541462002fc357426001888154811062002fa257fe5b90600052602060002090600702016006018190555062002fc387866200138b565b6000826001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156200301357600080fd5b505afa15801562003028573d6000803e3d6000fd5b505050506040513d60208110156200303f57600080fd5b5051905060006200305682620014a68a86620029e9565b9050856001600160a01b03166340c10f1988836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015620030b057600080fd5b505af1158015620030c5573d6000803e3d6000fd5b5050505050505b826001600160a01b031663095ea7b383886040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b1580156200312457600080fd5b505af115801562003139573d6000803e3d6000fd5b505050506040513d60208110156200315057600080fd5b5050604080517fb6b55f250000000000000000000000000000000000000000000000000000000081526004810188905290516001600160a01b0384169163b6b55f2591602480830192600092919082900301818387803b158015620031b457600080fd5b505af1158015620031c9573d6000803e3d6000fd5b505050508560018881548110620031dc57fe5b600091825260209091206004600790920201018054909101905550505050505050565b604080516001600160a01b0385811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd0000000000000000000000000000000000000000000000000000000017815292518251600094606094938a169392918291908083835b60208310620032b45780518252601f19909201916020918201910162003293565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811462003318576040519150601f19603f3d011682016040523d82523d6000602084013e6200331d565b606091505b50915091508180156200334e5750805115806200334e57508080602001905160208110156200334b57600080fd5b50515b620033a0576040805162461bcd60e51b815260206004820152601460248201527f5452414e534645525f46524f4d5f4641494c4544000000000000000000000000604482015290519081900360640190fd5b505050505050565b6000806000859050806001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b158015620033ea57600080fd5b505afa158015620033ff573d6000803e3d6000fd5b505050506040513d60208110156200341657600080fd5b50516001600160a01b0386811691161415620038d957806001600160a01b031663d21220a76040518163ffffffff1660e01b815260040160206040518083038186803b1580156200346657600080fd5b505afa1580156200347b573d6000803e3d6000fd5b505050506040513d60208110156200349257600080fd5b5051604080516370a0823160e01b81526001600160a01b0384811660048301529151929450600092918816916370a0823191602480820192602092909190829003018186803b158015620034e557600080fd5b505afa158015620034fa573d6000803e3d6000fd5b505050506040513d60208110156200351157600080fd5b5051604080517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b0385811660048301526024820189905291519293509088169163a9059cbb916044808201926020929091908290030181600087803b1580156200358357600080fd5b505af115801562003598573d6000803e3d6000fd5b505050506040513d6020811015620035af57600080fd5b5050604080516370a0823160e01b81526001600160a01b03848116600483015291516000928916916370a08231916024808301926020929190829003018186803b158015620035fd57600080fd5b505afa15801562003612573d6000803e3d6000fd5b505050506040513d60208110156200362957600080fd5b505190506001600160a01b03831663f140a35a62003648838562002c50565b896040518363ffffffff1660e01b815260040180838152602001826001600160a01b031681526020019250505060206040518083038186803b1580156200368e57600080fd5b505afa158015620036a3573d6000803e3d6000fd5b505050506040513d6020811015620036ba57600080fd5b5051604080516370a0823160e01b815230600482015290519196506000916001600160a01b038716916370a08231916024808301926020929190829003018186803b1580156200370957600080fd5b505afa1580156200371e573d6000803e3d6000fd5b505050506040513d60208110156200373557600080fd5b505160408051600080825260208201928390527f022c0d9f00000000000000000000000000000000000000000000000000000000835260248201818152604483018b90523060648401819052608060848501908152845160a486018190529697506001600160a01b038b169663022c0d9f9694958e959394909390929160c4850191908083838b5b83811015620037d7578181015183820152602001620037bd565b50505050905090810190601f168015620038055780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1580156200382857600080fd5b505af11580156200383d573d6000803e3d6000fd5b505050506000856001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156200389157600080fd5b505afa158015620038a6573d6000803e3d6000fd5b505050506040513d6020811015620038bd57600080fd5b50519050620038cd818362002c50565b96505050505062003d7c565b806001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b1580156200391357600080fd5b505afa15801562003928573d6000803e3d6000fd5b505050506040513d60208110156200393f57600080fd5b5051604080516370a0823160e01b81526001600160a01b0384811660048301529151929450600092918816916370a0823191602480820192602092909190829003018186803b1580156200399257600080fd5b505afa158015620039a7573d6000803e3d6000fd5b505050506040513d6020811015620039be57600080fd5b5051604080517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b0385811660048301526024820189905291519293509088169163a9059cbb916044808201926020929091908290030181600087803b15801562003a3057600080fd5b505af115801562003a45573d6000803e3d6000fd5b505050506040513d602081101562003a5c57600080fd5b5050604080516370a0823160e01b81526001600160a01b03848116600483015291516000928916916370a08231916024808301926020929190829003018186803b15801562003aaa57600080fd5b505afa15801562003abf573d6000803e3d6000fd5b505050506040513d602081101562003ad657600080fd5b505190506001600160a01b03831663f140a35a62003af5838562002c50565b896040518363ffffffff1660e01b815260040180838152602001826001600160a01b031681526020019250505060206040518083038186803b15801562003b3b57600080fd5b505afa15801562003b50573d6000803e3d6000fd5b505050506040513d602081101562003b6757600080fd5b5051604080516370a0823160e01b815230600482015290519196506000916001600160a01b038716916370a08231916024808301926020929190829003018186803b15801562003bb657600080fd5b505afa15801562003bcb573d6000803e3d6000fd5b505050506040513d602081101562003be257600080fd5b505160408051600080825260208201928390527f022c0d9f000000000000000000000000000000000000000000000000000000008352602482018a8152604483018290523060648401819052608060848501908152845160a486018190529697506001600160a01b038b169663022c0d9f968e969394929160c4850191908083838a5b8381101562003c7f57818101518382015260200162003c65565b50505050905090810190601f16801562003cad5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801562003cd057600080fd5b505af115801562003ce5573d6000803e3d6000fd5b505050506000856001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801562003d3957600080fd5b505afa15801562003d4e573d6000803e3d6000fd5b505050506040513d602081101562003d6557600080fd5b5051905062003d75818362002c50565b9650505050505b50935093915050565b600080836001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b15801562003dc257600080fd5b505afa15801562003dd7573d6000803e3d6000fd5b505050506040513d602081101562003dee57600080fd5b5051604080517fd21220a700000000000000000000000000000000000000000000000000000000815290519192506000916001600160a01b0387169163d21220a7916004808301926020929190829003018186803b15801562003e5057600080fd5b505afa15801562003e65573d6000803e3d6000fd5b505050506040513d602081101562003e7c57600080fd5b505190506001600160a01b0382811690871614620040645760008062003ea48784886200439e565b91509150826001600160a01b031663a9059cbb88846040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801562003f0057600080fd5b505af115801562003f15573d6000803e3d6000fd5b505050506040513d602081101562003f2c57600080fd5b5050604080517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b0389811660048301526024820184905291519186169163a9059cbb916044808201926020929091908290030181600087803b15801562003f9b57600080fd5b505af115801562003fb0573d6000803e3d6000fd5b505050506040513d602081101562003fc757600080fd5b5050604080517f6a62784200000000000000000000000000000000000000000000000000000000815230600482015290516001600160a01b03891691636a6278429160248083019260209291908290030181600087803b1580156200402b57600080fd5b505af115801562004040573d6000803e3d6000fd5b505050506040513d60208110156200405757600080fd5b505194506200422e915050565b600080620040748785886200439e565b91509150836001600160a01b031663a9059cbb88846040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015620040d057600080fd5b505af1158015620040e5573d6000803e3d6000fd5b505050506040513d6020811015620040fc57600080fd5b5050604080517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b0389811660048301526024820184905291519185169163a9059cbb916044808201926020929091908290030181600087803b1580156200416b57600080fd5b505af115801562004180573d6000803e3d6000fd5b505050506040513d60208110156200419757600080fd5b5050604080517f6a62784200000000000000000000000000000000000000000000000000000000815230600482015290516001600160a01b03891691636a6278429160248083019260209291908290030181600087803b158015620041fb57600080fd5b505af115801562004210573d6000803e3d6000fd5b505050506040513d60208110156200422757600080fd5b5051945050505b50509392505050565b6000600382111562004280575080600160028204015b8181101562004279578091506002818285816200426657fe5b0401816200427057fe5b0490506200424d565b506200428b565b81156200428b575060015b919050565b604080516000808252602082019092526001600160a01b0384169083906040518082805190602001908083835b60208310620042de5780518252601f199092019160209182019101620042bd565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811462004342576040519150601f19603f3d011682016040523d82523d6000602084013e62004347565b606091505b50509050806200188d576040805162461bcd60e51b815260206004820152601360248201527f4554485f5452414e534645525f4641494c454400000000000000000000000000604482015290519081900360640190fd5b6000806000859050600080826001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015620043e357600080fd5b505afa158015620043f8573d6000803e3d6000fd5b505050506040513d60608110156200440f57600080fd5b508051602091820151604080517f22be3de100000000000000000000000000000000000000000000000000000000815290519295509093506000926001600160a01b038c16926322be3de1926004808201939291829003018186803b1580156200447857600080fd5b505afa1580156200448d573d6000803e3d6000fd5b505050506040513d6020811015620044a457600080fd5b5051604080517ff140a35a000000000000000000000000000000000000000000000000000000008152600481018a90526001600160a01b038b811660248301529151929350600092918c169163f140a35a91604480820192602092909190829003018186803b1580156200451757600080fd5b505afa1580156200452c573d6000803e3d6000fd5b505050506040513d60208110156200454357600080fd5b5051604080517f0dfe168100000000000000000000000000000000000000000000000000000000815290519192506001600160a01b03871691630dfe168191600480820192602092909190829003018186803b158015620045a357600080fd5b505afa158015620045b8573d6000803e3d6000fd5b505050506040513d6020811015620045cf57600080fd5b50516001600160a01b038a8116911614156200461a57620045f484848a858562001cee565b9650620046038a8a89620033a8565b50955062004612888862002c50565b965062004647565b6200462983858a858562001cee565b9650620046388a8a89620033a8565b50955062003d75888862002c50565b5050505050935093915050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082015260c081019190915290565b61140a806200475983390190565b8280548282559060005260206000209081019282156200470d579160200282015b828111156200470d57825182547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03909116178255602090920191600190910190620046be565b506200471b9291506200471f565b5090565b5b808211156200471b5780547fffffffffffffffffffffffff00000000000000000000000000000000000000001681556001016200472056fe60806040523480156200001157600080fd5b506040516200140a3803806200140a833981810160405260408110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b9083019060208201858111156200006e57600080fd5b82516401000000008111828201881017156200008957600080fd5b82525081516020918201929091019080838360005b83811015620000b85781810151838201526020016200009e565b50505050905090810190601f168015620000e65780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200010a57600080fd5b9083019060208201858111156200012057600080fd5b82516401000000008111828201881017156200013b57600080fd5b82525081516020918201929091019080838360005b838110156200016a57818101518382015260200162000150565b50505050905090810190601f168015620001985780820380516001836020036101000a031916815260200191505b50604052505082518391508290620001b89060039060208501906200024c565b508051620001ce9060049060208401906200024c565b50506005805460ff19166012179055506000620001ea62000248565b60058054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3505050620002e8565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200028f57805160ff1916838001178555620002bf565b82800160010185558215620002bf579182015b82811115620002bf578251825591602001919060010190620002a2565b50620002cd929150620002d1565b5090565b5b80821115620002cd5760008155600101620002d2565b61111280620002f86000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c8063715018a611610097578063a457c2d711610066578063a457c2d714610310578063a9059cbb1461033c578063dd62ed3e14610368578063f2fde38b1461039657610100565b8063715018a6146102b05780638da5cb5b146102b857806395d89b41146102dc5780639dc29fac146102e457610100565b8063313ce567116100d3578063313ce56714610212578063395093511461023057806340c10f191461025c57806370a082311461028a57610100565b806306fdde0314610105578063095ea7b31461018257806318160ddd146101c257806323b872dd146101dc575b600080fd5b61010d6103bc565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561014757818101518382015260200161012f565b50505050905090810190601f1680156101745780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101ae6004803603604081101561019857600080fd5b506001600160a01b038135169060200135610470565b604080519115158252519081900360200190f35b6101ca61048d565b60408051918252519081900360200190f35b6101ae600480360360608110156101f257600080fd5b506001600160a01b03813581169160208101359091169060400135610493565b61021a61051a565b6040805160ff9092168252519081900360200190f35b6101ae6004803603604081101561024657600080fd5b506001600160a01b038135169060200135610523565b6102886004803603604081101561027257600080fd5b506001600160a01b038135169060200135610571565b005b6101ca600480360360208110156102a057600080fd5b50356001600160a01b03166105f3565b61028861060e565b6102c06106e9565b604080516001600160a01b039092168252519081900360200190f35b61010d6106fd565b610288600480360360408110156102fa57600080fd5b506001600160a01b03813516906020013561077c565b6101ae6004803603604081101561032657600080fd5b506001600160a01b038135169060200135610803565b6101ae6004803603604081101561035257600080fd5b506001600160a01b03813516906020013561086b565b6101ca6004803603604081101561037e57600080fd5b506001600160a01b038135811691602001351661087f565b610288600480360360208110156103ac57600080fd5b50356001600160a01b03166108aa565b60038054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104665780601f1061043b57610100808354040283529160200191610466565b820191906000526020600020905b81548152906001019060200180831161044957829003601f168201915b5050505050905090565b600061048461047d6109e1565b84846109e5565b50600192915050565b60025490565b60006104a0848484610ad1565b610510846104ac6109e1565b61050b85604051806060016040528060288152602001611026602891396001600160a01b038a166000908152600160205260408120906104ea6109e1565b6001600160a01b031681526020810191909152604001600020549190610c2c565b6109e5565b5060019392505050565b60055460ff1690565b60006104846105306109e1565b8461050b85600160006105416109e1565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610cc3565b6105796109e1565b6001600160a01b031661058a6106e9565b6001600160a01b0316146105e5576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6105ef8282610d24565b5050565b6001600160a01b031660009081526020819052604090205490565b6106166109e1565b6001600160a01b03166106276106e9565b6001600160a01b031614610682576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580547fffffffffffffffffffffff0000000000000000000000000000000000000000ff169055565b60055461010090046001600160a01b031690565b60048054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104665780601f1061043b57610100808354040283529160200191610466565b6107846106e9565b6001600160a01b0316336001600160a01b0316146107f957336001600160a01b038316146107f9576040805162461bcd60e51b815260206004820152600260248201527f4e6f000000000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6105ef8282610e14565b60006104846108106109e1565b8461050b856040518060600160405280602581526020016110b8602591396001600061083a6109e1565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610c2c565b60006104846108786109e1565b8484610ad1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6108b26109e1565b6001600160a01b03166108c36106e9565b6001600160a01b03161461091e576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166109635760405162461bcd60e51b8152600401808060200182810382526026815260200180610fb86026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b03909216610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff909216919091179055565b3390565b6001600160a01b038316610a2a5760405162461bcd60e51b81526004018080602001828103825260248152602001806110946024913960400191505060405180910390fd5b6001600160a01b038216610a6f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610fde6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610b165760405162461bcd60e51b815260040180806020018281038252602581526020018061106f6025913960400191505060405180910390fd5b6001600160a01b038216610b5b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610f736023913960400191505060405180910390fd5b610b66838383610f10565b610ba381604051806060016040528060268152602001611000602691396001600160a01b0386166000908152602081905260409020549190610c2c565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610bd29082610cc3565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610cbb5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610c80578181015183820152602001610c68565b50505050905090810190601f168015610cad5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610d1d576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b038216610d7f576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610d8b60008383610f10565b600254610d989082610cc3565b6002556001600160a01b038216600090815260208190526040902054610dbe9082610cc3565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b038216610e595760405162461bcd60e51b815260040180806020018281038252602181526020018061104e6021913960400191505060405180910390fd5b610e6582600083610f10565b610ea281604051806060016040528060228152602001610f96602291396001600160a01b0385166000908152602081905260409020549190610c2c565b6001600160a01b038316600090815260208190526040902055600254610ec89082610f15565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b505050565b600082821115610f6c576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b5090039056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122007e91205e1ca69e30401d53581b0b94686e328074c56098e5e06ff8a9b14199a64736f6c634300060c00334f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a26469706673582212204fab2000aa70d2efa347c5c9ab9928a6a823da0c8a4cba37994adbe760d1997964736f6c634300060c0033
Deployed Bytecode
0x608060405260043610620001935760003560e01c806373dfccca11620000df578063ac56d39c116200008b578063ec55045f1162000061578063ec55045f14620007cd578063ed17230b14620007e5578063f2fde38b14620007fd576200019b565b8063ac56d39c1462000687578063e3e01aad1462000757578063e910b36c1462000785576200019b565b80638da5cb5b11620000c15780638da5cb5b14620006145780638dbdbe6d146200062c578063a4f688fb146200066f576200019b565b806373dfccca146200058957806386079e3214620005fc576200019b565b8063321720db116200013f57806354d4fad3116200012157806354d4fad31462000476578063715018a614620004b357806372e617c814620004cb576200019b565b8063321720db14620003645780633fc8cef31462000442576200019b565b80631a56f64811620001755780631a56f64814620002b55780632242908514620003005780632716ae66146200033a576200019b565b80630ad58d2f14620001a05780630d55850914620001e5576200019b565b366200019b57005b600080fd5b348015620001ad57600080fd5b50620001e360048036036060811015620001c657600080fd5b50803590602081013590604001356001600160a01b031662000834565b005b348015620001f257600080fd5b50620001e3600480360360608110156200020b57600080fd5b6001600160a01b0382358116926020810135909116918101906060810160408201356401000000008111156200024057600080fd5b8201836020820111156200025357600080fd5b803590602001918460208302840111640100000000831117156200027657600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550620008aa945050505050565b348015620002c257600080fd5b50620002ec60048036036020811015620002db57600080fd5b50356001600160a01b031662001097565b604080519115158252519081900360200190f35b3480156200030d57600080fd5b50620001e3600480360360608110156200032657600080fd5b5080359060208101359060400135620010ac565b3480156200034757600080fd5b5062000352620011a2565b60408051918252519081900360200190f35b3480156200037157600080fd5b50620001e3600480360360a08110156200038a57600080fd5b8135916001600160a01b036020820135169160408201359190810190608081016060820135640100000000811115620003c257600080fd5b820183602082011115620003d557600080fd5b80359060200191846020830284011164010000000083111715620003f857600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550505090356001600160a01b03169150620011a89050565b3480156200044f57600080fd5b506200045a6200137c565b604080516001600160a01b039092168252519081900360200190f35b3480156200048357600080fd5b50620001e3600480360360408110156200049c57600080fd5b50803590602001356001600160a01b03166200138b565b348015620004c057600080fd5b50620001e362001704565b348015620004d857600080fd5b50620001e360048036036040811015620004f157600080fd5b813591908101906040810160208201356401000000008111156200051457600080fd5b8201836020820111156200052757600080fd5b803590602001918460208302840111640100000000831117156200054a57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550620017df945050505050565b3480156200059657600080fd5b50620005b760048036036020811015620005af57600080fd5b503562001892565b604080516001600160a01b039788168152958716602087015293861685850152919094166060840152608083019390935260a082019290925290519081900360c00190f35b3480156200060957600080fd5b5062000352620018e6565b3480156200062157600080fd5b506200045a620018ec565b3480156200063957600080fd5b50620001e3600480360360608110156200065257600080fd5b50803590602081013590604001356001600160a01b0316620018fb565b3480156200067c57600080fd5b5062000352620019a3565b620001e3600480360360a08110156200069f57600080fd5b8135916001600160a01b036020820135169160408201359190810190608081016060820135640100000000811115620006d757600080fd5b820183602082011115620006ea57600080fd5b803590602001918460208302840111640100000000831117156200070d57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550505090356001600160a01b03169150620019a99050565b3480156200076457600080fd5b50620001e3600480360360208110156200077d57600080fd5b503562001c70565b3480156200079257600080fd5b5062000352600480360360a0811015620007ab57600080fd5b5080359060208101359060408101359060608101351515906080013562001cee565b348015620007da57600080fd5b506200035262001da3565b348015620007f257600080fd5b506200035262001da9565b3480156200080a57600080fd5b50620001e3600480360360208110156200082357600080fd5b50356001600160a01b031662001daf565b6008546001146200088c576040805162461bcd60e51b815260206004820152600c60248201527f4f70656e58204c4f434b45440000000000000000000000000000000000000000604482015290519081900360640190fd5b60006008556200089f8383338462001ee2565b505060016008555050565b620008b46200218c565b6001600160a01b0316620008c7620018ec565b6001600160a01b03161462000923576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03831660009081526002602052604090205460ff161562000992576040805162461bcd60e51b815260206004820152601460248201527f506f6f6c20416c7265616479204578697374732e000000000000000000000000604482015290519081900360640190fd5b6001600160a01b038316600090815260026020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055620009dd62004654565b6000846001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b15801562000a1957600080fd5b505afa15801562000a2e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101562000a5857600080fd5b810190808051604051939291908464010000000082111562000a7957600080fd5b90830190602082018581111562000a8f57600080fd5b825164010000000081118282018810171562000aaa57600080fd5b82525081516020918201929091019080838360005b8381101562000ad957818101518382015260200162000abf565b50505050905090810190601f16801562000b075780820380516001836020036101000a031916815260200191505b5060405250505060405160200180807f6163782d0000000000000000000000000000000000000000000000000000000081525060040182805190602001908083835b6020831062000b6a5780518252601f19909201916020918201910162000b49565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051602081830303815290604052856001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b15801562000bd857600080fd5b505afa15801562000bed573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101562000c1757600080fd5b810190808051604051939291908464010000000082111562000c3857600080fd5b90830190602082018581111562000c4e57600080fd5b825164010000000081118282018810171562000c6957600080fd5b82525081516020918201929091019080838360005b8381101562000c9857818101518382015260200162000c7e565b50505050905090810190601f16801562000cc65780820380516001836020036101000a031916815260200191505b5060405250505060405160200180807f4175746f20436f6d706f756e64696e672058200000000000000000000000000081525060130182805190602001908083835b6020831062000d295780518252601f19909201916020918201910162000d08565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405260405162000d6b906200468f565b604080825283519082015282518190602080830191606084019187019080838360005b8381101562000da857818101518382015260200162000d8e565b50505050905090810190601f16801562000dd65780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b8381101562000e0b57818101518382015260200162000df1565b50505050905090810190601f16801562000e395780820380516001836020036101000a031916815260200191505b50945050505050604051809103906000f08015801562000e5d573d6000803e3d6000fd5b506001600160a01b038082166040808601919091528682166060860181905291881660208087019190915281517ff7c618c10000000000000000000000000000000000000000000000000000000081529151939450919263f7c618c192600480840193919291829003018186803b15801562000ed857600080fd5b505afa15801562000eed573d6000803e3d6000fd5b505050506040513d602081101562000f0457600080fd5b50516001600160a01b03908116835260a0830184815260018054808201825560009190915284517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6600790920291820180547fffffffffffffffffffffffff00000000000000000000000000000000000000009081169286169290921781556020808801517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf785018054851691881691909117905560408801517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf885018054851691881691909117905560608801517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf98501805490941696169590951790915560808601517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cfa83015591518051869462001083937fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cfb019201906200469d565b5060c0820151816006015550505050505050565b60026020526000908152604090205460ff1681565b620010b66200218c565b6001600160a01b0316620010c9620018ec565b6001600160a01b03161462001125576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6103e8620011408262001139868662002190565b9062002190565b111562001194576040805162461bcd60e51b815260206004820152600760248201527f4d61782031302500000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600392909255600455600555565b60015490565b60085460011462001200576040805162461bcd60e51b815260206004820152600c60248201527f4f70656e58204c4f434b45440000000000000000000000000000000000000000604482015290519081900360640190fd5b6000600881905560018054879081106200121657fe5b906000526020600020906007020160010160009054906101000a90046001600160a01b031690506000816001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b1580156200127957600080fd5b505afa1580156200128e573d6000803e3d6000fd5b505050506040513d6020811015620012a557600080fd5b5051604080517fd21220a700000000000000000000000000000000000000000000000000000000815290519192506000916001600160a01b0385169163d21220a7916004808301926020929190829003018186803b1580156200130757600080fd5b505afa1580156200131c573d6000803e3d6000fd5b505050506040513d60208110156200133357600080fd5b505190506001600160a01b0387166200135b57620013558887848488620021f4565b6200136d565b6200136d8887898886868a8a620026af565b50506001600855505050505050565b6007546001600160a01b031681565b6000600183815481106200139b57fe5b60009182526020822060079091020154600180546001600160a01b0390921693509085908110620013c857fe5b6000918252602080832060036007909302019190910154604080517e8cc26200000000000000000000000000000000000000000000000000000000815230600482015290516001600160a01b0390921694508492628cc26292602480840193829003018186803b1580156200143c57600080fd5b505afa15801562001451573d6000803e3d6000fd5b505050506040513d60208110156200146857600080fd5b5051905067016345785d8a0000811015620014865750505062001700565b6000620014ad612710620014a660035485620029e990919063ffffffff16565b9062002a47565b90506000620014cf612710620014a660035486620029e990919063ffffffff16565b9050836001600160a01b031663c00007b0306040518263ffffffff1660e01b815260040180826001600160a01b03168152602001915050600060405180830381600087803b1580156200152157600080fd5b505af115801562001536573d6000803e3d6000fd5b505050506200154785878462002ab0565b6200155f8262001558858462002c50565b9062002c50565b925060006200156f888562002cae565b90506000620015816006548462002cae565b90506200159b6006548262001595620018ec565b62002dec565b8160018a81548110620015aa57fe5b6000918252602090912060046007909202010180549091019055600180548a908110620015d357fe5b906000526020600020906007020160010160009054906101000a90046001600160a01b03166001600160a01b031663095ea7b387846040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b1580156200164f57600080fd5b505af115801562001664573d6000803e3d6000fd5b505050506040513d60208110156200167b57600080fd5b5050604080517fb6b55f250000000000000000000000000000000000000000000000000000000081526004810184905290516001600160a01b0388169163b6b55f2591602480830192600092919082900301818387803b158015620016df57600080fd5b505af1158015620016f4573d6000803e3d6000fd5b50505050505050505050505b5050565b6200170e6200218c565b6001600160a01b031662001721620018ec565b6001600160a01b0316146200177d576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b620017e96200218c565b6001600160a01b0316620017fc620018ec565b6001600160a01b03161462001858576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b80600183815481106200186757fe5b906000526020600020906007020160050190805190602001906200188d9291906200469d565b505050565b60018181548110620018a057fe5b60009182526020909120600790910201805460018201546002830154600384015460048501546006909501546001600160a01b0394851696509284169491841693169186565b60045481565b6000546001600160a01b031690565b60085460011462001953576040805162461bcd60e51b815260206004820152600c60248201527f4f70656e58204c4f434b45440000000000000000000000000000000000000000604482015290519081900360640190fd5b6000600881905560018054859081106200196957fe5b60009182526020909120600160079092020101546001600160a01b031690506200199681333086620031ff565b6200089f84848462002dec565b60055481565b60085460011462001a01576040805162461bcd60e51b815260206004820152600c60248201527f4f70656e58204c4f434b45440000000000000000000000000000000000000000604482015290519081900360640190fd5b60006008819055825160075490919081906001600160a01b038881169116141562001a9757600760009054906101000a90046001600160a01b03166001600160a01b031663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b15801562001a7757600080fd5b505af115801562001a8c573d6000803e3d6000fd5b505050505062001ba2565b604080516370a0823160e01b815230600482015290516001600160a01b038916916370a08231916024808301926020929190829003018186803b15801562001ade57600080fd5b505afa15801562001af3573d6000803e3d6000fd5b505050506040513d602081101562001b0a57600080fd5b5051905062001b1c87333089620031ff565b604080516370a0823160e01b815230600482015290516001600160a01b038916916370a08231916024808301926020929190829003018186803b15801562001b6357600080fd5b505afa15801562001b78573d6000803e3d6000fd5b505050506040513d602081101562001b8f57600080fd5b5051915062001b9f828262002c50565b95505b60005b8381101562001bdc5762001bcf86828151811062001bbf57fe5b60200260200101518989620033a8565b9850965060010162001ba5565b5062001c148760018a8154811062001bf057fe5b60009182526020909120600160079092020101546001600160a01b03168862003d85565b9550600062001c36612710620014a66005548a620029e990919063ffffffff16565b905062001c48898262001595620018ec565b62001c608962001c59898462002c50565b8762002dec565b5050600160085550505050505050565b62001c7a6200218c565b6001600160a01b031662001c8d620018ec565b6001600160a01b03161462001ce9576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600655565b6000821562001d4457600085878685670de0b6b3a7640000028162001d0f57fe5b04028162001d1957fe5b04905080670de0b6b3a76400000185670de0b6b3a7640000028162001d3a57fe5b0491505062001d9a565b6107ca62001d8e62001d59886107cd620029e9565b6200155862001d8862001d708b623cda29620029e9565b62001d7f8a623cda20620029e9565b8c9101620029e9565b62004237565b8162001d9657fe5b0490505b95945050505050565b60065481565b60035481565b62001db96200218c565b6001600160a01b031662001dcc620018ec565b6001600160a01b03161462001e28576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03811662001e6f5760405162461bcd60e51b815260040180806020018281038252602681526020018062005b636026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6000806001868154811062001ef357fe5b60009182526020822060026007909202010154600180546001600160a01b039092169350908890811062001f2357fe5b600091825260208220600160079092020181015481546001600160a01b0390911693508990811062001f5157fe5b906000526020600020906007020160030160009054906101000a90046001600160a01b031690506000836001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381600087803b15801562001fb657600080fd5b505af115801562001fcb573d6000803e3d6000fd5b505050506040513d602081101562001fe257600080fd5b5051604080516370a0823160e01b815230600482015290519192506000916001600160a01b038516916370a08231916024808301926020929190829003018186803b1580156200203157600080fd5b505afa15801562002046573d6000803e3d6000fd5b505050506040513d60208110156200205d57600080fd5b5051905060006200207483620014a68c85620029e9565b9050856001600160a01b0316639dc29fac8a8c6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015620020ce57600080fd5b505af1158015620020e3573d6000803e3d6000fd5b50505050836001600160a01b0316632e1a7d4d826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156200212e57600080fd5b505af115801562002143573d6000803e3d6000fd5b505050506200215485898362002ab0565b8060018c815481106200216357fe5b6000918252602090912060079091020160040180549190910390559a9950505050505050505050565b3390565b600082820183811015620021eb576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b90505b92915050565b620022028585333062001ee2565b9350600062002224612710620014a660055488620029e990919063ffffffff16565b905062002236868262001595620018ec565b620022aa600187815481106200224857fe5b906000526020600020906007020160010160009054906101000a90046001600160a01b0316600188815481106200227b57fe5b60009182526020909120600160079092020101546001600160a01b0316620022a4888562002c50565b62002ab0565b6000846001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015620022fa57600080fd5b505afa1580156200230f573d6000803e3d6000fd5b505050506040513d60208110156200232657600080fd5b5051604080516370a0823160e01b815230600482015290519192506000916001600160a01b038816916370a08231916024808301926020929190829003018186803b1580156200237557600080fd5b505afa1580156200238a573d6000803e3d6000fd5b505050506040513d6020811015620023a157600080fd5b5051600180549192506000918291908b908110620023bb57fe5b60009182526020822060016007909202010154604080517f89afcb4400000000000000000000000000000000000000000000000000000000815230600482015281516001600160a01b03909316936389afcb4493602480840194939192918390030190829087803b1580156200243057600080fd5b505af115801562002445573d6000803e3d6000fd5b505050506040513d60408110156200245c57600080fd5b50805160209091015160075491935091506001600160a01b03898116911614156200251357600754604080517f2e1a7d4d0000000000000000000000000000000000000000000000000000000081526004810185905290516001600160a01b0390921691632e1a7d4d9160248082019260009290919082900301818387803b158015620024e857600080fd5b505af1158015620024fd573d6000803e3d6000fd5b505050506200250d868362004290565b620025a1565b620025a18887620022a4878c6001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156200256c57600080fd5b505afa15801562002581573d6000803e3d6000fd5b505050506040513d60208110156200259857600080fd5b50519062002c50565b6007546001600160a01b03888116911614156200264a57600754604080517f2e1a7d4d0000000000000000000000000000000000000000000000000000000081526004810184905290516001600160a01b0390921691632e1a7d4d9160248082019260009290919082900301818387803b1580156200261f57600080fd5b505af115801562002634573d6000803e3d6000fd5b5050505062002644868262004290565b620026a3565b620026a38787620022a4868b6001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156200256c57600080fd5b50505050505050505050565b620026bd8888338462001ee2565b50604080517f89afcb44000000000000000000000000000000000000000000000000000000008152306004820152815188926001600160a01b038516926389afcb4492602480830193928290030181600087803b1580156200271e57600080fd5b505af115801562002733573d6000803e3d6000fd5b505050506040513d60408110156200274a57600080fd5b5050604080516370a0823160e01b815230600482015290516000916001600160a01b038816916370a0823191602480820192602092909190829003018186803b1580156200279757600080fd5b505afa158015620027ac573d6000803e3d6000fd5b505050506040513d6020811015620027c357600080fd5b5051604080516370a0823160e01b815230600482015290519192506000916001600160a01b038816916370a08231916024808301926020929190829003018186803b1580156200281257600080fd5b505afa15801562002827573d6000803e3d6000fd5b505050506040513d60208110156200283e57600080fd5b505160009a5090506001600160a01b03878116908a161415620028755762002868848783620033a8565b9083019a5098506200288a565b62002882848884620033a8565b9082019a5098505b60005b8851811015620028c657620028b8898281518110620028a857fe5b60200260200101518b8d620033a8565b909b5099506001016200288d565b506000620028e7612710620014a66005548e620029e990919063ffffffff16565b6007549091506001600160a01b0385811691161415620029b357600754604080517f2e1a7d4d000000000000000000000000000000000000000000000000000000008152600481018e905290516001600160a01b0390921691632e1a7d4d9160248082019260009290919082900301818387803b1580156200296857600080fd5b505af11580156200297d573d6000803e3d6000fd5b50505050620029966200298f620018ec565b8262004290565b620029ad86620029a78d8462002c50565b62004290565b620029db565b620029c98a620029c2620018ec565b8362002ab0565b620029db8a87620022a48e8562002c50565b505050505050505050505050565b600082620029fa57506000620021ee565b8282028284828162002a0857fe5b0414620021eb5760405162461bcd60e51b815260040180806020018281038252602181526020018062005b896021913960400191505060405180910390fd5b600080821162002a9e576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838162002aa857fe5b049392505050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000178152925182516000946060949389169392918291908083835b6020831062002b5d5780518252601f19909201916020918201910162002b3c565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811462002bc1576040519150601f19603f3d011682016040523d82523d6000602084013e62002bc6565b606091505b509150915081801562002bf757508051158062002bf7575080806020019051602081101562002bf457600080fd5b50515b62002c49576040805162461bcd60e51b815260206004820152600f60248201527f5452414e534645525f4641494c45440000000000000000000000000000000000604482015290519081900360640190fd5b5050505050565b60008282111562002ca8576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b6000806001848154811062002cbf57fe5b906000526020600020906007020160050180549050905060006001858154811062002ce657fe5b600091825260208220600790910201546001600160a01b031691505b8281101562002d655762002d576001878154811062002d1d57fe5b9060005260206000209060070201600501828154811062002d3a57fe5b6000918252602090912001546001600160a01b03168387620033a8565b909550915060010162002d02565b50811562002dae5762002da4816001878154811062002d8057fe5b60009182526020909120600160079092020101546001600160a01b03168662003d85565b92505050620021ee565b62002da46001868154811062002dc057fe5b6000918252602090912060079091020154600180546001600160a01b03909216918890811062002d8057fe5b60006001848154811062002dfc57fe5b60009182526020822060026007909202010154600180546001600160a01b039092169350908690811062002e2c57fe5b600091825260208220600160079092020181015481546001600160a01b0390911693508790811062002e5a57fe5b906000526020600020906007020160030160009054906101000a90046001600160a01b031690506000836001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381600087803b15801562002ebf57600080fd5b505af115801562002ed4573d6000803e3d6000fd5b505050506040513d602081101562002eeb57600080fd5b505190508062002f6c57836001600160a01b03166340c10f1986886040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801562002f4d57600080fd5b505af115801562002f62573d6000803e3d6000fd5b50505050620030cc565b426001888154811062002f7b57fe5b9060005260206000209060070201600601541462002fc357426001888154811062002fa257fe5b90600052602060002090600702016006018190555062002fc387866200138b565b6000826001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156200301357600080fd5b505afa15801562003028573d6000803e3d6000fd5b505050506040513d60208110156200303f57600080fd5b5051905060006200305682620014a68a86620029e9565b9050856001600160a01b03166340c10f1988836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015620030b057600080fd5b505af1158015620030c5573d6000803e3d6000fd5b5050505050505b826001600160a01b031663095ea7b383886040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b1580156200312457600080fd5b505af115801562003139573d6000803e3d6000fd5b505050506040513d60208110156200315057600080fd5b5050604080517fb6b55f250000000000000000000000000000000000000000000000000000000081526004810188905290516001600160a01b0384169163b6b55f2591602480830192600092919082900301818387803b158015620031b457600080fd5b505af1158015620031c9573d6000803e3d6000fd5b505050508560018881548110620031dc57fe5b600091825260209091206004600790920201018054909101905550505050505050565b604080516001600160a01b0385811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd0000000000000000000000000000000000000000000000000000000017815292518251600094606094938a169392918291908083835b60208310620032b45780518252601f19909201916020918201910162003293565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811462003318576040519150601f19603f3d011682016040523d82523d6000602084013e6200331d565b606091505b50915091508180156200334e5750805115806200334e57508080602001905160208110156200334b57600080fd5b50515b620033a0576040805162461bcd60e51b815260206004820152601460248201527f5452414e534645525f46524f4d5f4641494c4544000000000000000000000000604482015290519081900360640190fd5b505050505050565b6000806000859050806001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b158015620033ea57600080fd5b505afa158015620033ff573d6000803e3d6000fd5b505050506040513d60208110156200341657600080fd5b50516001600160a01b0386811691161415620038d957806001600160a01b031663d21220a76040518163ffffffff1660e01b815260040160206040518083038186803b1580156200346657600080fd5b505afa1580156200347b573d6000803e3d6000fd5b505050506040513d60208110156200349257600080fd5b5051604080516370a0823160e01b81526001600160a01b0384811660048301529151929450600092918816916370a0823191602480820192602092909190829003018186803b158015620034e557600080fd5b505afa158015620034fa573d6000803e3d6000fd5b505050506040513d60208110156200351157600080fd5b5051604080517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b0385811660048301526024820189905291519293509088169163a9059cbb916044808201926020929091908290030181600087803b1580156200358357600080fd5b505af115801562003598573d6000803e3d6000fd5b505050506040513d6020811015620035af57600080fd5b5050604080516370a0823160e01b81526001600160a01b03848116600483015291516000928916916370a08231916024808301926020929190829003018186803b158015620035fd57600080fd5b505afa15801562003612573d6000803e3d6000fd5b505050506040513d60208110156200362957600080fd5b505190506001600160a01b03831663f140a35a62003648838562002c50565b896040518363ffffffff1660e01b815260040180838152602001826001600160a01b031681526020019250505060206040518083038186803b1580156200368e57600080fd5b505afa158015620036a3573d6000803e3d6000fd5b505050506040513d6020811015620036ba57600080fd5b5051604080516370a0823160e01b815230600482015290519196506000916001600160a01b038716916370a08231916024808301926020929190829003018186803b1580156200370957600080fd5b505afa1580156200371e573d6000803e3d6000fd5b505050506040513d60208110156200373557600080fd5b505160408051600080825260208201928390527f022c0d9f00000000000000000000000000000000000000000000000000000000835260248201818152604483018b90523060648401819052608060848501908152845160a486018190529697506001600160a01b038b169663022c0d9f9694958e959394909390929160c4850191908083838b5b83811015620037d7578181015183820152602001620037bd565b50505050905090810190601f168015620038055780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1580156200382857600080fd5b505af11580156200383d573d6000803e3d6000fd5b505050506000856001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156200389157600080fd5b505afa158015620038a6573d6000803e3d6000fd5b505050506040513d6020811015620038bd57600080fd5b50519050620038cd818362002c50565b96505050505062003d7c565b806001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b1580156200391357600080fd5b505afa15801562003928573d6000803e3d6000fd5b505050506040513d60208110156200393f57600080fd5b5051604080516370a0823160e01b81526001600160a01b0384811660048301529151929450600092918816916370a0823191602480820192602092909190829003018186803b1580156200399257600080fd5b505afa158015620039a7573d6000803e3d6000fd5b505050506040513d6020811015620039be57600080fd5b5051604080517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b0385811660048301526024820189905291519293509088169163a9059cbb916044808201926020929091908290030181600087803b15801562003a3057600080fd5b505af115801562003a45573d6000803e3d6000fd5b505050506040513d602081101562003a5c57600080fd5b5050604080516370a0823160e01b81526001600160a01b03848116600483015291516000928916916370a08231916024808301926020929190829003018186803b15801562003aaa57600080fd5b505afa15801562003abf573d6000803e3d6000fd5b505050506040513d602081101562003ad657600080fd5b505190506001600160a01b03831663f140a35a62003af5838562002c50565b896040518363ffffffff1660e01b815260040180838152602001826001600160a01b031681526020019250505060206040518083038186803b15801562003b3b57600080fd5b505afa15801562003b50573d6000803e3d6000fd5b505050506040513d602081101562003b6757600080fd5b5051604080516370a0823160e01b815230600482015290519196506000916001600160a01b038716916370a08231916024808301926020929190829003018186803b15801562003bb657600080fd5b505afa15801562003bcb573d6000803e3d6000fd5b505050506040513d602081101562003be257600080fd5b505160408051600080825260208201928390527f022c0d9f000000000000000000000000000000000000000000000000000000008352602482018a8152604483018290523060648401819052608060848501908152845160a486018190529697506001600160a01b038b169663022c0d9f968e969394929160c4850191908083838a5b8381101562003c7f57818101518382015260200162003c65565b50505050905090810190601f16801562003cad5780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b15801562003cd057600080fd5b505af115801562003ce5573d6000803e3d6000fd5b505050506000856001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801562003d3957600080fd5b505afa15801562003d4e573d6000803e3d6000fd5b505050506040513d602081101562003d6557600080fd5b5051905062003d75818362002c50565b9650505050505b50935093915050565b600080836001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b15801562003dc257600080fd5b505afa15801562003dd7573d6000803e3d6000fd5b505050506040513d602081101562003dee57600080fd5b5051604080517fd21220a700000000000000000000000000000000000000000000000000000000815290519192506000916001600160a01b0387169163d21220a7916004808301926020929190829003018186803b15801562003e5057600080fd5b505afa15801562003e65573d6000803e3d6000fd5b505050506040513d602081101562003e7c57600080fd5b505190506001600160a01b0382811690871614620040645760008062003ea48784886200439e565b91509150826001600160a01b031663a9059cbb88846040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801562003f0057600080fd5b505af115801562003f15573d6000803e3d6000fd5b505050506040513d602081101562003f2c57600080fd5b5050604080517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b0389811660048301526024820184905291519186169163a9059cbb916044808201926020929091908290030181600087803b15801562003f9b57600080fd5b505af115801562003fb0573d6000803e3d6000fd5b505050506040513d602081101562003fc757600080fd5b5050604080517f6a62784200000000000000000000000000000000000000000000000000000000815230600482015290516001600160a01b03891691636a6278429160248083019260209291908290030181600087803b1580156200402b57600080fd5b505af115801562004040573d6000803e3d6000fd5b505050506040513d60208110156200405757600080fd5b505194506200422e915050565b600080620040748785886200439e565b91509150836001600160a01b031663a9059cbb88846040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015620040d057600080fd5b505af1158015620040e5573d6000803e3d6000fd5b505050506040513d6020811015620040fc57600080fd5b5050604080517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b0389811660048301526024820184905291519185169163a9059cbb916044808201926020929091908290030181600087803b1580156200416b57600080fd5b505af115801562004180573d6000803e3d6000fd5b505050506040513d60208110156200419757600080fd5b5050604080517f6a62784200000000000000000000000000000000000000000000000000000000815230600482015290516001600160a01b03891691636a6278429160248083019260209291908290030181600087803b158015620041fb57600080fd5b505af115801562004210573d6000803e3d6000fd5b505050506040513d60208110156200422757600080fd5b5051945050505b50509392505050565b6000600382111562004280575080600160028204015b8181101562004279578091506002818285816200426657fe5b0401816200427057fe5b0490506200424d565b506200428b565b81156200428b575060015b919050565b604080516000808252602082019092526001600160a01b0384169083906040518082805190602001908083835b60208310620042de5780518252601f199092019160209182019101620042bd565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811462004342576040519150601f19603f3d011682016040523d82523d6000602084013e62004347565b606091505b50509050806200188d576040805162461bcd60e51b815260206004820152601360248201527f4554485f5452414e534645525f4641494c454400000000000000000000000000604482015290519081900360640190fd5b6000806000859050600080826001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015620043e357600080fd5b505afa158015620043f8573d6000803e3d6000fd5b505050506040513d60608110156200440f57600080fd5b508051602091820151604080517f22be3de100000000000000000000000000000000000000000000000000000000815290519295509093506000926001600160a01b038c16926322be3de1926004808201939291829003018186803b1580156200447857600080fd5b505afa1580156200448d573d6000803e3d6000fd5b505050506040513d6020811015620044a457600080fd5b5051604080517ff140a35a000000000000000000000000000000000000000000000000000000008152600481018a90526001600160a01b038b811660248301529151929350600092918c169163f140a35a91604480820192602092909190829003018186803b1580156200451757600080fd5b505afa1580156200452c573d6000803e3d6000fd5b505050506040513d60208110156200454357600080fd5b5051604080517f0dfe168100000000000000000000000000000000000000000000000000000000815290519192506001600160a01b03871691630dfe168191600480820192602092909190829003018186803b158015620045a357600080fd5b505afa158015620045b8573d6000803e3d6000fd5b505050506040513d6020811015620045cf57600080fd5b50516001600160a01b038a8116911614156200461a57620045f484848a858562001cee565b9650620046038a8a89620033a8565b50955062004612888862002c50565b965062004647565b6200462983858a858562001cee565b9650620046388a8a89620033a8565b50955062003d75888862002c50565b5050505050935093915050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082015260c081019190915290565b61140a806200475983390190565b8280548282559060005260206000209081019282156200470d579160200282015b828111156200470d57825182547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03909116178255602090920191600190910190620046be565b506200471b9291506200471f565b5090565b5b808211156200471b5780547fffffffffffffffffffffffff00000000000000000000000000000000000000001681556001016200472056fe60806040523480156200001157600080fd5b506040516200140a3803806200140a833981810160405260408110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b9083019060208201858111156200006e57600080fd5b82516401000000008111828201881017156200008957600080fd5b82525081516020918201929091019080838360005b83811015620000b85781810151838201526020016200009e565b50505050905090810190601f168015620000e65780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200010a57600080fd5b9083019060208201858111156200012057600080fd5b82516401000000008111828201881017156200013b57600080fd5b82525081516020918201929091019080838360005b838110156200016a57818101518382015260200162000150565b50505050905090810190601f168015620001985780820380516001836020036101000a031916815260200191505b50604052505082518391508290620001b89060039060208501906200024c565b508051620001ce9060049060208401906200024c565b50506005805460ff19166012179055506000620001ea62000248565b60058054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3505050620002e8565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200028f57805160ff1916838001178555620002bf565b82800160010185558215620002bf579182015b82811115620002bf578251825591602001919060010190620002a2565b50620002cd929150620002d1565b5090565b5b80821115620002cd5760008155600101620002d2565b61111280620002f86000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c8063715018a611610097578063a457c2d711610066578063a457c2d714610310578063a9059cbb1461033c578063dd62ed3e14610368578063f2fde38b1461039657610100565b8063715018a6146102b05780638da5cb5b146102b857806395d89b41146102dc5780639dc29fac146102e457610100565b8063313ce567116100d3578063313ce56714610212578063395093511461023057806340c10f191461025c57806370a082311461028a57610100565b806306fdde0314610105578063095ea7b31461018257806318160ddd146101c257806323b872dd146101dc575b600080fd5b61010d6103bc565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561014757818101518382015260200161012f565b50505050905090810190601f1680156101745780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101ae6004803603604081101561019857600080fd5b506001600160a01b038135169060200135610470565b604080519115158252519081900360200190f35b6101ca61048d565b60408051918252519081900360200190f35b6101ae600480360360608110156101f257600080fd5b506001600160a01b03813581169160208101359091169060400135610493565b61021a61051a565b6040805160ff9092168252519081900360200190f35b6101ae6004803603604081101561024657600080fd5b506001600160a01b038135169060200135610523565b6102886004803603604081101561027257600080fd5b506001600160a01b038135169060200135610571565b005b6101ca600480360360208110156102a057600080fd5b50356001600160a01b03166105f3565b61028861060e565b6102c06106e9565b604080516001600160a01b039092168252519081900360200190f35b61010d6106fd565b610288600480360360408110156102fa57600080fd5b506001600160a01b03813516906020013561077c565b6101ae6004803603604081101561032657600080fd5b506001600160a01b038135169060200135610803565b6101ae6004803603604081101561035257600080fd5b506001600160a01b03813516906020013561086b565b6101ca6004803603604081101561037e57600080fd5b506001600160a01b038135811691602001351661087f565b610288600480360360208110156103ac57600080fd5b50356001600160a01b03166108aa565b60038054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104665780601f1061043b57610100808354040283529160200191610466565b820191906000526020600020905b81548152906001019060200180831161044957829003601f168201915b5050505050905090565b600061048461047d6109e1565b84846109e5565b50600192915050565b60025490565b60006104a0848484610ad1565b610510846104ac6109e1565b61050b85604051806060016040528060288152602001611026602891396001600160a01b038a166000908152600160205260408120906104ea6109e1565b6001600160a01b031681526020810191909152604001600020549190610c2c565b6109e5565b5060019392505050565b60055460ff1690565b60006104846105306109e1565b8461050b85600160006105416109e1565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610cc3565b6105796109e1565b6001600160a01b031661058a6106e9565b6001600160a01b0316146105e5576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6105ef8282610d24565b5050565b6001600160a01b031660009081526020819052604090205490565b6106166109e1565b6001600160a01b03166106276106e9565b6001600160a01b031614610682576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580547fffffffffffffffffffffff0000000000000000000000000000000000000000ff169055565b60055461010090046001600160a01b031690565b60048054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104665780601f1061043b57610100808354040283529160200191610466565b6107846106e9565b6001600160a01b0316336001600160a01b0316146107f957336001600160a01b038316146107f9576040805162461bcd60e51b815260206004820152600260248201527f4e6f000000000000000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6105ef8282610e14565b60006104846108106109e1565b8461050b856040518060600160405280602581526020016110b8602591396001600061083a6109e1565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610c2c565b60006104846108786109e1565b8484610ad1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6108b26109e1565b6001600160a01b03166108c36106e9565b6001600160a01b03161461091e576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166109635760405162461bcd60e51b8152600401808060200182810382526026815260200180610fb86026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b03909216610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff909216919091179055565b3390565b6001600160a01b038316610a2a5760405162461bcd60e51b81526004018080602001828103825260248152602001806110946024913960400191505060405180910390fd5b6001600160a01b038216610a6f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610fde6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610b165760405162461bcd60e51b815260040180806020018281038252602581526020018061106f6025913960400191505060405180910390fd5b6001600160a01b038216610b5b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610f736023913960400191505060405180910390fd5b610b66838383610f10565b610ba381604051806060016040528060268152602001611000602691396001600160a01b0386166000908152602081905260409020549190610c2c565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610bd29082610cc3565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610cbb5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610c80578181015183820152602001610c68565b50505050905090810190601f168015610cad5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610d1d576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b038216610d7f576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610d8b60008383610f10565b600254610d989082610cc3565b6002556001600160a01b038216600090815260208190526040902054610dbe9082610cc3565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b038216610e595760405162461bcd60e51b815260040180806020018281038252602181526020018061104e6021913960400191505060405180910390fd5b610e6582600083610f10565b610ea281604051806060016040528060228152602001610f96602291396001600160a01b0385166000908152602081905260409020549190610c2c565b6001600160a01b038316600090815260208190526040902055600254610ec89082610f15565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b505050565b600082821115610f6c576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b5090039056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122007e91205e1ca69e30401d53581b0b94686e328074c56098e5e06ff8a9b14199a64736f6c634300060c00334f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a26469706673582212204fab2000aa70d2efa347c5c9ab9928a6a823da0c8a4cba37994adbe760d1997964736f6c634300060c0033
Deployed Bytecode Sourcemap
837:9794:18:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4208:122;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4208:122:18;;;;;;;;;;;-1:-1:-1;;;;;4208:122:18;;:::i;:::-;;1817:630;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1817:630:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1817:630:18;;-1:-1:-1;1817:630:18;;-1:-1:-1;;;;;1817:630:18:i;1229:42::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1229:42:18;-1:-1:-1;;;;;1229:42:18;;:::i;:::-;;;;;;;;;;;;;;;;;;2761:333;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2761:333:18;;;;;;;;;;;;:::i;1704:79::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;9302:433;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9302:433:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9302:433:18;;-1:-1:-1;;;9302:433:18;;-1:-1:-1;;;;;9302:433:18;;-1:-1:-1;9302:433:18;;-1:-1:-1;9302:433:18:i;1449:64::-;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;1449:64:18;;;;;;;;;;;;;;5028:767;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5028:767:18;;;;;;-1:-1:-1;;;;;5028:767:18;;:::i;1588:128:0:-;;;;;;;;;;;;;:::i;2497:107:18:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2497:107:18;;-1:-1:-1;2497:107:18;;-1:-1:-1;;;;;2497:107:18:i;1203:23::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1203:23:18;;:::i;:::-;;;;-1:-1:-1;;;;;1203:23:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1338:41;;;;;;;;;;;;;:::i;1027:75:0:-;;;;;;;;;;;;;:::i;3133:235:18:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3133:235:18;;;;;;;;;;;-1:-1:-1;;;;;3133:235:18;;:::i;1382:32::-;;;;;;;;;;;;;:::i;6318:831::-;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6318:831:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6318:831:18;;-1:-1:-1;;;6318:831:18;;-1:-1:-1;;;;;6318:831:18;;-1:-1:-1;6318:831:18;;-1:-1:-1;6318:831:18:i;2650:77::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2650:77:18;;:::i;497:426:17:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;497:426:17;;;;;;;;;;;;;;;;;;;;;;;;:::i;1417:27:18:-;;;;;;;;;;;;;:::i;1299:36::-;;;;;;;;;;;;;:::i;1847:216:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1847:216:0;-1:-1:-1;;;;;1847:216:0;;:::i;4208:122:18:-;1594:8;;1606:1;1594:13;1586:38;;;;;-1:-1:-1;;;1586:38:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;1638:1;1627:8;:12;4285:41:::1;4295:4:::0;4301:7;4310:10:::1;4322:3:::0;4285:9:::1;:41::i;:::-;-1:-1:-1::0;;1657:1:18;1646:8;:12;-1:-1:-1;;4208:122:18:o;1817:630::-;1219:12:0;:10;:12::i;:::-;-1:-1:-1;;;;;1208:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1208:23:0;;1200:68;;;;;-1:-1:-1;;;1200:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1925:25:18;::::1;;::::0;;;:10:::1;:25;::::0;;;;;::::1;;:34;1917:67;;;::::0;;-1:-1:-1;;;1917:67:18;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;1988:25:18;::::1;;::::0;;;:10:::1;:25;::::0;;;;:32;;;::::1;2016:4;1988:32;::::0;;2024:23:::1;;:::i;:::-;2051:12;2126:13;-1:-1:-1::0;;;;;2111:36:18::1;;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;::::0;;::::1;-1:-1:-1::0;;2111:38:18::1;::::0;::::1;;::::0;::::1;::::0;::::1;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;::::0;;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;;;;;::::0;::::1;;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;-1:-1:-1;2111:38:18::1;;;;;::::0;::::1;;::::0;;-1:-1:-1;2111:38:18;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;;::::1;;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;2086:64;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;::::0;;;;-1:-1:-1;;2086:64:18;;;;::::1;::::0;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2216:13;-1:-1:-1::0;;;;;2201:36:18::1;;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;::::0;;::::1;-1:-1:-1::0;;2201:38:18::1;::::0;::::1;;::::0;::::1;::::0;::::1;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;::::0;;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;;;;;::::0;::::1;;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;-1:-1:-1;2201:38:18::1;;;;;::::0;::::1;;::::0;;-1:-1:-1;2201:38:18;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;;::::1;;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;2161:79;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;::::0;;;;-1:-1:-1;;2161:79:18;;;;::::1;::::0;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2066:176;;;;;:::i;:::-;::::0;;;;;;;;;;;;;;::::1;::::0;;::::1;::::0;;;;;;::::1;::::0;;;;;::::1;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;2066:176:18;;::::1;::::0;;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;::::1;;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;;;;;2246:31:18;;::::1;:16;::::0;;::::1;:31:::0;;;;2281:22;;::::1;:13;::::0;::::1;:22:::0;;;2307:36;;::::1;:20;::::0;;::::1;:36:::0;;;;2369:28;;;;;;;2051:191;;-1:-1:-1;2281:22:18;;2369:26:::1;::::0;:28:::1;::::0;;::::1;::::0;2307:20;;2369:28;;;;;;2281:22;2369:28;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;2369:28:18;-1:-1:-1;;;;;2347:50:18;;::::1;::::0;;2401:12:::1;::::0;::::1;:19:::0;;;2424:5:::1;:19:::0;;;;::::1;::::0;;-1:-1:-1;2424:19:18;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;2369:28:::1;2424:19:::0;;::::1;::::0;;;;;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;::::1;::::0;::::1;::::0;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;;;;;;;;2347:50;;2424:19:::1;::::0;;;;::::1;::::0;::::1;:::i;:::-;;;;;;;;;;;;1271:1:0;;1817:630:18::0;;;:::o;1229:42::-;;;;;;;;;;;;;;;:::o;2761:333::-;1219:12:0;:10;:12::i;:::-;-1:-1:-1;;;;;1208:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1208:23:0;;1200:68;;;;;-1:-1:-1;;;1200:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2956:4:18::1;2890:62;2938:13:::0;2890:43:::1;:16:::0;2911:21;2890:20:::1;:43::i;:::-;:47:::0;::::1;:62::i;:::-;:70;;2882:90;;;::::0;;-1:-1:-1;;;2882:90:18;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;2976:15;:34:::0;;;;3014:20:::1;:44:::0;3062:12:::1;:28:::0;2761:333::o;1704:79::-;1767:5;:12;1704:79;:::o;9302:433::-;1594:8;;1606:1;1594:13;1586:38;;;;;-1:-1:-1;;;1586:38:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;1638:1;1627:8;:12;;;9434:5:::1;:11:::0;;9440:4;;9434:11;::::1;;;;;;;;;;;;;;;:24;;;;;;;;;;-1:-1:-1::0;;;;;9434:24:18::1;9419:39;;9462:14;9494:4;-1:-1:-1::0;;;;;9479:27:18::1;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;9479:29:18;9529::::1;::::0;;;;;;;9479;;-1:-1:-1;9512:14:18::1;::::0;-1:-1:-1;;;;;9529:27:18;::::1;::::0;::::1;::::0;:29:::1;::::0;;::::1;::::0;9479::::1;::::0;9529;;;;;;;:27;:29;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;9529:29:18;;-1:-1:-1;;;;;;9566:23:18;::::1;9563:169;;9595:43;9606:4;9611:7;9619:6;9626;9634:3;9595:10;:43::i;:::-;9563:169;;;9657:70;9670:4;9675:7;9683:9;9694:5;9701:6;9709;9717:3;9722:4;9657:12;:70::i;:::-;-1:-1:-1::0;;1657:1:18;1646:8;:12;-1:-1:-1;;;;;;9302:433:18:o;1449:64::-;;;-1:-1:-1;;;;;1449:64:18;;:::o;5028:767::-;5087:19;5109:5;5115:4;5109:11;;;;;;;;;;;;;;;;;;;;:23;;5158:11;;-1:-1:-1;;;;;5109:23:18;;;;-1:-1:-1;5109:23:18;5164:4;;5158:11;;;;;;;;;;;;;;:17;:11;;;;;:17;;;;;5197:27;;;;;;5218:4;5197:27;;;;;;-1:-1:-1;;;;;5158:17:18;;;;-1:-1:-1;5158:17:18;;5197:12;;:27;;;;;;;;;;5158:17;5197:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5197:27:18;;-1:-1:-1;5240:8:18;5231:17;;5228:37;;;5254:7;;;;;5228:37;5268:14;5285:38;5317:5;5285:27;5296:15;;5285:6;:10;;:27;;;;:::i;:::-;:31;;:38::i;:::-;5268:55;;5327:19;5349:38;5381:5;5349:27;5360:15;;5349:6;:10;;:27;;;;:::i;:38::-;5327:60;;5391:5;-1:-1:-1;;;;;5391:15:18;;5415:4;5391:30;;;;;;;;;;;;;-1:-1:-1;;;;;5391:30:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5426:38;5439:11;5452:3;5457:6;5426:12;:38::i;:::-;5478:35;5506:6;5478:23;:6;5489:11;5478:10;:23::i;:::-;:27;;:35::i;:::-;5469:44;;5517:14;5534:23;5544:4;5550:6;5534:9;:23::i;:::-;5517:40;;5562:18;5583:32;5593:8;;5603:11;5583:9;:32::i;:::-;5562:53;;5619:39;5628:8;;5638:10;5650:7;:5;:7::i;:::-;5619:8;:39::i;:::-;5690:6;5663:5;5669:4;5663:11;;;;;;;;;;;;;;;;:23;:11;;;;;:23;:33;;;;;;;-1:-1:-1;5708:11:18;;5714:4;;5708:11;;;;;;;;;;;;;;;;:24;;;;;;;;;;-1:-1:-1;;;;;5708:24:18;-1:-1:-1;;;;;5701:40:18;;5750:5;5758:6;5701:64;;;;;;;;;;;;;-1:-1:-1;;;;;5701:64:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5769:21:18;;;;;;;;;;;;;;-1:-1:-1;;;;;5769:13:18;;;;;:21;;;;;-1:-1:-1;;5769:21:18;;;;;;;-1:-1:-1;5769:13:18;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5028:767;;;;;;;;;;:::o;1588:128:0:-;1219:12;:10;:12::i;:::-;-1:-1:-1;;;;;1208:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1208:23:0;;1200:68;;;;;-1:-1:-1;;;1200:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1687:1:::1;1671:6:::0;;1650:40:::1;::::0;-1:-1:-1;;;;;1671:6:0;;::::1;::::0;1650:40:::1;::::0;1687:1;;1650:40:::1;1710:1;1693:19:::0;;;::::1;::::0;;1588:128::o;2497:107:18:-;1219:12:0;:10;:12::i;:::-;-1:-1:-1;;;;;1208:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1208:23:0;;1200:68;;;;;-1:-1:-1;;;1200:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2595:5:18::1;2576;2582:4;2576:11;;;;;;;;;;;;;;;;;;:16;;:24;;;;;;;;;;;;:::i;:::-;;2497:107:::0;;:::o;1203:23::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1203:23:18;;;;-1:-1:-1;1203:23:18;;;;;;;;;;;:::o;1338:41::-;;;;:::o;1027:75:0:-;1073:7;1092:6;-1:-1:-1;;;;;1092:6:0;1027:75;:::o;3133:235:18:-;1594:8;;1606:1;1594:13;1586:38;;;;;-1:-1:-1;;;1586:38:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;1638:1;1627:8;:12;;;3233:5:::1;:11:::0;;3239:4;;3233:11;::::1;;;;;;::::0;;;::::1;::::0;;;:24:::1;:11;::::0;;::::1;;:24;::::0;-1:-1:-1;;;;;3233:24:18::1;::::0;-1:-1:-1;3262:70:18::1;3233:24:::0;3297:10:::1;3317:4;3324:7:::0;3262:16:::1;:70::i;:::-;3336:28;3345:4;3351:7;3360:3;3336:8;:28::i;1382:32::-:0;;;;:::o;6318:831::-;1594:8;;1606:1;1594:13;1586:38;;;;;-1:-1:-1;;;1586:38:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;1638:1;1627:8;:12;;;6454;;6534:4:::1;::::0;6454:12;;1638:1;;;-1:-1:-1;;;;;6522:16:18;;::::1;6534:4:::0;::::1;6522:16;6519:306;;;6550:4;;;;;;;;;-1:-1:-1::0;;;;;6550:4:18::1;-1:-1:-1::0;;;;;6544:19:18::1;;6571:9;6544:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;6519:306;;;6611:41;::::0;;-1:-1:-1;;;6611:41:18;;6646:4:::1;6611:41;::::0;::::1;::::0;;;-1:-1:-1;;;;;6611:26:18;::::1;::::0;::::1;::::0;:41;;;;;::::1;::::0;;;;;;;;:26;:41;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;6611:41:18;;-1:-1:-1;6657:62:18::1;6674:8:::0;6684:10:::1;6704:4;6711:7:::0;6657:16:::1;:62::i;:::-;6737:41;::::0;;-1:-1:-1;;;6737:41:18;;6772:4:::1;6737:41;::::0;::::1;::::0;;;-1:-1:-1;;;;;6737:26:18;::::1;::::0;::::1;::::0;:41;;;;;::::1;::::0;;;;;;;;:26;:41;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;6737:41:18;;-1:-1:-1;6793:27:18::1;6737:41:::0;6808:11;6793:14:::1;:27::i;:::-;6783:37;;6519:306;6833:6;6829:96;6845:3;6841:1;:7;6829:96;;;6881:39;6892:5;6898:1;6892:8;;;;;;;;;;;;;;6902;6912:7;6881:10;:39::i;:::-;6859:61:::0;-1:-1:-1;6859:61:18;-1:-1:-1;6850:3:18::1;;6829:96;;;;6939:58;6953:8;6963:5;6969:4;6963:11;;;;;;;;;::::0;;;::::1;::::0;;;:24:::1;:11;::::0;;::::1;;:24;::::0;-1:-1:-1;;;;;6963:24:18::1;6989:7:::0;6939:13:::1;:58::i;:::-;6929:68;;7004:17;7024:36;7054:5;7024:25;7036:12;;7024:7;:11;;:25;;;;:::i;:36::-;7004:56;;7064:34;7073:4;7079:9;7090:7;:5;:7::i;7064:34::-;7102:43;7111:4:::0;7117:22:::1;:7:::0;7129:9;7117:11:::1;:22::i;:::-;7141:3;7102:8;:43::i;:::-;-1:-1:-1::0;;1657:1:18;1646:8;:12;-1:-1:-1;;;;;;;6318:831:18:o;2650:77::-;1219:12:0;:10;:12::i;:::-;-1:-1:-1;;;;;1208:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1208:23:0;;1200:68;;;;;-1:-1:-1;;;1200:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2708:8:18::1;:15:::0;2650:77::o;497:426:17:-;638:7;656:6;653:133;;;669:10;724;712:9;702:6;682:9;694:4;682:16;:27;;;;;;:39;:52;;;;;;669:65;;763:5;771:4;763:12;746:6;755:4;746:13;:30;;;;;;739:37;;;;;653:133;915:4;799:113;892:19;:9;906:4;892:13;:19::i;:::-;799:85;821:59;857:22;:9;871:7;857:13;:22::i;:::-;835:19;:6;846:7;835:10;:19::i;:::-;821:9;;835:44;821:13;:59::i;:::-;799:18;:85::i;:113::-;:120;;;;;;790:129;;497:426;;;;;;;;:::o;1417:27:18:-;;;;:::o;1299:36::-;;;;:::o;1847:216:0:-;1219:12;:10;:12::i;:::-;-1:-1:-1;;;;;1208:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1208:23:0;;1200:68;;;;;-1:-1:-1;;;1200:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1928:22:0;::::1;1920:73;;;;-1:-1:-1::0;;;1920:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2022:6;::::0;;2001:38:::1;::::0;-1:-1:-1;;;;;2001:38:0;;::::1;::::0;2022:6;::::1;::::0;2001:38:::1;::::0;::::1;2042:6;:17:::0;;;::::1;-1:-1:-1::0;;;;;2042:17:0;;;::::1;::::0;;;::::1;::::0;;1847:216::o;4385:608:18:-;4479:7;4492:13;4513:5;4519:4;4513:11;;;;;;;;;;;;;;;:20;:11;;;;;:20;;;4562:11;;-1:-1:-1;;;;;4513:20:18;;;;-1:-1:-1;4513:20:18;4568:4;;4562:11;;;;;;;;;;;;;:24;:11;;;;;:24;;;4613:11;;-1:-1:-1;;;;;4562:24:18;;;;-1:-1:-1;4619:4:18;;4613:11;;;;;;;;;;;;;;;;:17;;;;;;;;;;-1:-1:-1;;;;;4613:17:18;4591:40;;4635:19;4657:8;-1:-1:-1;;;;;4657:20:18;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4657:22:18;4699:30;;;-1:-1:-1;;;4699:30:18;;4723:4;4699:30;;;;;;4657:22;;-1:-1:-1;4683:13:18;;-1:-1:-1;;;;;4699:15:18;;;;;:30;;;;;4657:22;;4699:30;;;;;;;:15;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4699:30:18;;-1:-1:-1;4733:22:18;4758:35;4781:11;4758:18;:7;4699:30;4758:11;:18::i;:35::-;4733:60;;4800:8;-1:-1:-1;;;;;4800:13:18;;4814:5;4821:7;4800:29;;;;;;;;;;;;;-1:-1:-1;;;;;4800:29:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4833:5;-1:-1:-1;;;;;4833:14:18;;4848;4833:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4867:51;4888:7;4898:3;4903:14;4867:12;:51::i;:::-;4950:14;4923:5;4929:4;4923:11;;;;;;;;;;;;;;;;;;;;;:23;;:41;;;;;;;;4975:14;4385:608;-1:-1:-1;;;;;;;;;;4385:608:18:o;595:94:4:-;675:10;595:94;:::o;2411:151:1:-;2469:7;2493:5;;;2509:6;;;;2501:46;;;;;-1:-1:-1;;;2501:46:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;2557:1;-1:-1:-1;2411:151:1;;;;;:::o;7153:1019:18:-;7269:51;7279:4;7285:7;7294:10;7314:4;7269:9;:51::i;:::-;7259:61;;7325:17;7345:36;7375:5;7345:25;7357:12;;7345:7;:11;;:25;;;;:::i;:36::-;7325:56;;7387:34;7396:4;7402:9;7413:7;:5;:7::i;7387:34::-;7426:88;7439:5;7445:4;7439:11;;;;;;;;;;;;;;;;;;:24;;;;;;;;;;-1:-1:-1;;;;;7439:24:18;7465:5;7471:4;7465:11;;;;;;;;;;;;;;;;:24;:11;;;;;:24;;-1:-1:-1;;;;;7465:24:18;7491:22;:7;7503:9;7491:11;:22::i;:::-;7426:12;:88::i;:::-;7520:23;7553:6;-1:-1:-1;;;;;7546:24:18;;7579:4;7546:39;;;;;;;;;;;;;-1:-1:-1;;;;;7546:39:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7546:39:18;7616;;;-1:-1:-1;;;7616:39:18;;7649:4;7616:39;;;;;;7546;;-1:-1:-1;7590:23:18;;-1:-1:-1;;;;;7616:24:18;;;;;:39;;;;;7546;;7616;;;;;;;:24;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7616:39:18;7713:5;:11;;7616:39;;-1:-1:-1;7662:15:18;;;;7713:5;7719:4;;7713:11;;;;;;;;;;;;;:24;:11;;;;;:24;;7698:60;;;;;;7752:4;7698:60;;;;;;-1:-1:-1;;;;;7713:24:18;;;;7698:45;;:60;;;;;;;;;;;;;;;;7713:24;7698:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7698:60:18;;;;;;;7781:4;;7698:60;;-1:-1:-1;7698:60:18;-1:-1:-1;;;;;;7771:14:18;;;7781:4;;7771:14;7767:199;;;7799:4;;7793:29;;;;;;;;;;;;;;-1:-1:-1;;;;;7799:4:18;;;;7793:20;;:29;;;;;7799:4;;7793:29;;;;;;;;7799:4;;7793:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7828;7844:3;7849:7;7828:15;:29::i;:::-;7767:199;;;7873:87;7886:6;7894:3;7899:60;7943:15;7906:6;-1:-1:-1;;;;;7899:24:18;;7932:4;7899:39;;;;;;;;;;;;;-1:-1:-1;;;;;7899:39:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7899:39:18;;:43;:60::i;7873:87::-;7984:4;;-1:-1:-1;;;;;7974:14:18;;;7984:4;;7974:14;7970:199;;;8002:4;;7996:29;;;;;;;;;;;;;;-1:-1:-1;;;;;8002:4:18;;;;7996:20;;:29;;;;;8002:4;;7996:29;;;;;;;;8002:4;;7996:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8031;8047:3;8052:7;8031:15;:29::i;:::-;7970:199;;;8076:87;8089:6;8097:3;8102:60;8146:15;8109:6;-1:-1:-1;;;;;8102:24:18;;8135:4;8102:39;;;;;;;;;;;;;-1:-1:-1;;;;;8102:39:18;;;;;;;;;;;;;;;;;;;;;;;;;;8076:87;7153:1019;;;;;;;;;;:::o;8175:1103::-;8341:42;8351:4;8357:7;8366:10;8378:4;8341:9;:42::i;:::-;-1:-1:-1;8426:40:18;;;;;;8460:4;8426:40;;;;;;8409:9;;-1:-1:-1;;;;;8426:25:18;;;;;:40;;;;;;;;;;;8390:16;8426:25;:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;8426:40:18;8490:39;;-1:-1:-1;;;8490:39:18;;8523:4;8490:39;;;;;;8472:15;;-1:-1:-1;;;;;8490:24:18;;;;;:39;;;;;8426:40;;8490:39;;;;;;;;:24;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8490:39:18;8553;;;-1:-1:-1;;;8553:39:18;;8586:4;8553:39;;;;;;8490;;-1:-1:-1;8535:15:18;;-1:-1:-1;;;;;8553:24:18;;;;;:39;;;;;8490;;8553;;;;;;;:24;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8553:39:18;8607:1;;-1:-1:-1;8553:39:18;-1:-1:-1;;;;;;8616:19:18;;;;;;;8613:212;;;8665:33;8676:4;8682:6;8690:7;8665:10;:33::i;:::-;8704:18;;;;-1:-1:-1;8642:56:18;-1:-1:-1;8613:212:18;;;8761:33;8772:4;8778:6;8786:7;8761:10;:33::i;:::-;8801:18;;;;-1:-1:-1;8738:56:18;-1:-1:-1;8613:212:18;8834:6;8830:109;8846:5;:12;8842:1;:16;8830:109;;;8893:40;8904:5;8910:1;8904:8;;;;;;;;;;;;;;8914:9;8925:7;8893:10;:40::i;:::-;8870:63;;-1:-1:-1;8870:63:18;-1:-1:-1;8860:3:18;;8830:109;;;;8944:17;8964:36;8994:5;8964:25;8976:12;;8964:7;:11;;:25;;;;:::i;:36::-;9020:4;;8944:56;;-1:-1:-1;;;;;;9008:16:18;;;9020:4;;9008:16;9005:270;;;9037:4;;9031:29;;;;;;;;;;;;;;-1:-1:-1;;;;;9037:4:18;;;;9031:20;;:29;;;;;9037:4;;9031:29;;;;;;;;9037:4;;9031:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9066:35;9082:7;:5;:7::i;:::-;9091:9;9066:15;:35::i;:::-;9107:44;9123:3;9128:22;:7;9140:9;9128:11;:22::i;:::-;9107:15;:44::i;:::-;9005:270;;;9167:43;9180:9;9191:7;:5;:7::i;:::-;9200:9;9167:12;:43::i;:::-;9217:52;9230:9;9241:3;9246:22;:7;9258:9;9246:11;:22::i;9217:52::-;8175:1103;;;;;;;;;;;;:::o;3134:184:1:-;3192:7;3208:6;3204:20;;-1:-1:-1;3223:1:1;3216:8;;3204:20;3239:5;;;3243:1;3239;:5;:1;3255:5;;;;;:10;3247:56;;;;-1:-1:-1;;;3247:56:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3732:133;3790:7;3814:1;3810;:5;3802:44;;;;;-1:-1:-1;;;3802:44:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;3860:1;3856;:5;;;;;;;3732:133;-1:-1:-1;;;3732:133:1:o;10311:317:18:-;10490:45;;;-1:-1:-1;;;;;10490:45:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10479:57;;;;10444:12;;10458:17;;10479:10;;;;10490:45;10479:57;;;10490:45;10479:57;;10490:45;10479:57;;;;;;;;;;-1:-1:-1;;10479:57:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10443:93;;;;10547:7;:57;;;;-1:-1:-1;10559:11:18;;:16;;:44;;;10590:4;10579:24;;;;;;;;;;;;;;;-1:-1:-1;10579:24:18;10559:44;10539:85;;;;;-1:-1:-1;;;10539:85:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;10311:317;;;;;:::o;2791:138:1:-;2849:7;2874:1;2869;:6;;2861:49;;;;;-1:-1:-1;;;2861:49:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2920:5:1;;;2791:138::o;5836:460:18:-;5903:7;5915:11;5929:5;5935:4;5929:11;;;;;;;;;;;;;;;;;;:16;;:23;;;;5915:37;;5956:16;5975:5;5981:4;5975:11;;;;;;;;;;;;;;;;;;;;:23;-1:-1:-1;;;;;5975:23:18;;-1:-1:-1;6002:108:18;6018:3;6014:1;:7;6002:108;;;6055:50;6066:5;6072:4;6066:11;;;;;;;;;;;;;;;;;;:16;;6083:1;6066:19;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6066:19:18;6087:8;6097:7;6055:10;:50::i;:::-;6033:72;;-1:-1:-1;6033:72:18;-1:-1:-1;6023:3:18;;6002:108;;;-1:-1:-1;6116:7:18;;6113:180;;6136:58;6150:8;6160:5;6166:4;6160:11;;;;;;;;;;;;;;;;:24;:11;;;;;:24;;-1:-1:-1;;;;;6160:24:18;6186:7;6136:13;:58::i;:::-;6129:65;;;;;;6113:180;6215:73;6229:5;6235:4;6229:11;;;;;;;;;;;;;;;;;;;;;:23;;6254:11;;-1:-1:-1;;;;;6229:23:18;;;;6260:4;;6254:11;;;;;3420:749;3495:13;3516:5;3522:4;3516:11;;;;;;;;;;;;;;;:20;:11;;;;;:20;;;3565:11;;-1:-1:-1;;;;;3516:20:18;;;;-1:-1:-1;3516:20:18;3571:4;;3565:11;;;;;;;;;;;;;:24;:11;;;;;:24;;;3616:11;;-1:-1:-1;;;;;3565:24:18;;;;-1:-1:-1;3622:4:18;;3616:11;;;;;;;;;;;;;;;;:17;;;;;;;;;;-1:-1:-1;;;;;3616:17:18;3594:40;;3638:19;3660:8;-1:-1:-1;;;;;3660:20:18;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3660:22:18;;-1:-1:-1;3690:16:18;3687:369;;3712:8;-1:-1:-1;;;;;3712:13:18;;3726:3;3731:7;3712:27;;;;;;;;;;;;;-1:-1:-1;;;;;3712:27:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3687:369;;;3795:15;3756:5;3762:4;3756:11;;;;;;;;;;;;;;;;;;:35;;;:54;3753:150;;3855:15;3817:5;3823:4;3817:11;;;;;;;;;;;;;;;;;;:35;;:53;;;;3876:21;3888:4;3893:3;3876:11;:21::i;:::-;3907:13;3923:5;-1:-1:-1;;;;;3923:15:18;;3947:4;3923:30;;;;;;;;;;;;;-1:-1:-1;;;;;3923:30:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3923:30:18;;-1:-1:-1;3960:19:18;3982:35;3923:30;3982:24;:7;3994:11;3982;:24::i;:35::-;3960:57;;4020:8;-1:-1:-1;;;;;4020:13:18;;4034:3;4039:11;4020:31;;;;;;;;;;;;;-1:-1:-1;;;;;4020:31:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3687:369;;;4061:7;-1:-1:-1;;;;;4061:15:18;;4085:5;4093:7;4061:40;;;;;;;;;;;;;-1:-1:-1;;;;;4061:40:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4105:22:18;;;;;;;;;;;;;;-1:-1:-1;;;;;4105:13:18;;;;;:22;;;;;-1:-1:-1;;4105:22:18;;;;;;;-1:-1:-1;4105:13:18;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4158:7;4131:5;4137:4;4131:11;;;;;;;;;;;;;;;;:23;:11;;;;;:23;:34;;;;;;;-1:-1:-1;;;;;;;3420:749:18:o;9950:358::-;10159:51;;;-1:-1:-1;;;;;10159:51:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10148:63;;;;10113:12;;10127:17;;10148:10;;;;10159:51;10148:63;;;10159:51;10148:63;;10159:51;10148:63;;;;;;;;;;-1:-1:-1;;10148:63:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10112:99;;;;10222:7;:57;;;;-1:-1:-1;10234:11:18;;:16;;:44;;;10265:4;10254:24;;;;;;;;;;;;;;;-1:-1:-1;10254:24:18;10234:44;10214:90;;;;;-1:-1:-1;;;10214:90:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;9950:358;;;;;;:::o;2462:1269:17:-;2551:17;2570:16;2591:19;2628:5;2591:43;;2654:4;-1:-1:-1;;;;;2654:11:17;;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2654:13:17;-1:-1:-1;;;;;2641:26:17;;;;;;2637:1091;;;2684:4;-1:-1:-1;;;;;2684:11:17;;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2684:13:17;2723:42;;;-1:-1:-1;;;2723:42:17;;-1:-1:-1;;;;;2723:42:17;;;;;;;;;2684:13;;-1:-1:-1;2701:19:17;;2723:27;;;;;;:42;;;;;2684:13;;2723:42;;;;;;;;:27;:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2723:42:17;2768:51;;;;;;-1:-1:-1;;;;;2768:51:17;;;;;;;;;;;;;;;2723:42;;-1:-1:-1;2768:26:17;;;;;;:51;;;;;2723:42;;2768:51;;;;;;;;-1:-1:-1;2768:26:17;:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2843:42:17;;;-1:-1:-1;;;2843:42:17;;-1:-1:-1;;;;;2843:42:17;;;;;;;;;2822:18;;2843:27;;;;;:42;;;;;2768:51;;2843:42;;;;;;;:27;:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2843:42:17;;-1:-1:-1;;;;;;2901:17:17;;;2919:27;2843:42;2934:11;2919:14;:27::i;:::-;2948:9;2901:57;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2901:57:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2901:57:17;2985:41;;;-1:-1:-1;;;2985:41:17;;3020:4;2985:41;;;;;;2901:57;;-1:-1:-1;2962:20:17;;-1:-1:-1;;;;;2985:26:17;;;;;:41;;;;;2901:57;;2985:41;;;;;;;:26;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2985:41:17;3068:12;;;3039:1;3068:12;;;;;;;;;;3029:52;;;;;;;;;;;;;;;3061:4;3029:52;;;;;;;;;;;;;;;;;;;;;2985:41;;-1:-1:-1;;;;;;3029:9:17;;;;;3039:1;;3042:9;;3061:4;;3068:12;;3029:52;;;;;;;3068:12;3029:52;;3068:12;3039:1;3029:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3084:19;3113:8;-1:-1:-1;;;;;3106:26:17;;3141:4;3106:41;;;;;;;;;;;;;-1:-1:-1;;;;;3106:41:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3106:41:17;;-1:-1:-1;3162:29:17;3106:41;3178:12;3162:15;:29::i;:::-;3150:41;;2637:1091;;;;;;;3216:4;-1:-1:-1;;;;;3216:11:17;;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3216:13:17;3255:42;;;-1:-1:-1;;;3255:42:17;;-1:-1:-1;;;;;3255:42:17;;;;;;;;;3216:13;;-1:-1:-1;3233:19:17;;3255:27;;;;;;:42;;;;;3216:13;;3255:42;;;;;;;;:27;:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3255:42:17;3300:51;;;;;;-1:-1:-1;;;;;3300:51:17;;;;;;;;;;;;;;;3255:42;;-1:-1:-1;3300:26:17;;;;;;:51;;;;;3255:42;;3300:51;;;;;;;;-1:-1:-1;3300:26:17;:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3375:42:17;;;-1:-1:-1;;;3375:42:17;;-1:-1:-1;;;;;3375:42:17;;;;;;;;;3354:18;;3375:27;;;;;:42;;;;;3300:51;;3375:42;;;;;;;:27;:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3375:42:17;;-1:-1:-1;;;;;;3433:17:17;;;3451:27;3375:42;3466:11;3451:14;:27::i;:::-;3480:9;3433:57;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3433:57:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3433:57:17;3517:41;;;-1:-1:-1;;;3517:41:17;;3552:4;3517:41;;;;;;3433:57;;-1:-1:-1;3494:20:17;;-1:-1:-1;;;;;3517:26:17;;;;;:41;;;;;3433:57;;3517:41;;;;;;;:26;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3517:41:17;3600:12;;;3582:1;3600:12;;;;;;;;;;3561:52;;;;;;;;;;;;;;;3593:4;3561:52;;;;;;;;;;;;;;;;;;;;;3517:41;;-1:-1:-1;;;;;;3561:9:17;;;;;3571;;3593:4;;3561:52;;;;;;3600:12;3561:52;;3600:12;3582:1;3561:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3616:19;3645:8;-1:-1:-1;;;;;3638:26:17;;3673:4;3638:41;;;;;;;;;;;;;-1:-1:-1;;;;;3638:41:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3638:41:17;;-1:-1:-1;3694:29:17;3638:41;3710:12;3694:15;:29::i;:::-;3682:41;;2637:1091;;;;;2462:1269;;;;;;;:::o;927:745::-;1016:17;1039:14;1071:5;-1:-1:-1;;;;;1056:28:17;;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1056:30:17;1107;;;;;;;;1056;;-1:-1:-1;1090:14:17;;-1:-1:-1;;;;;1107:28:17;;;;;:30;;;;;1056;;1107;;;;;;;:28;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1107:30:17;;-1:-1:-1;;;;;;1144:16:17;;;;;;;1141:528;;1167:16;1184:17;1205:40;1222:5;1229:6;1237:7;1205:16;:40::i;:::-;1166:79;;;;1257:6;-1:-1:-1;;;;;1250:23:17;;1282:5;1290:8;1250:49;;;;;;;;;;;;;-1:-1:-1;;;;;1250:49:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1302:50:17;;;;;;-1:-1:-1;;;;;1302:50:17;;;;;;;;;;;;;;;:23;;;;;;:50;;;;;1250:49;;1302:50;;;;;;;;-1:-1:-1;1302:23:17;:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1367:41:17;;;;;;1402:4;1367:41;;;;;;-1:-1:-1;;;;;1367:26:17;;;;;:41;;;;;1302:50;;1367:41;;;;;;;-1:-1:-1;1367:26:17;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1367:41:17;;-1:-1:-1;1141:528:17;;-1:-1:-1;;1141:528:17;;1423:16;1440:17;1461:40;1478:5;1485:6;1493:7;1461:16;:40::i;:::-;1422:79;;;;1513:6;-1:-1:-1;;;;;1506:23:17;;1538:5;1546:8;1506:49;;;;;;;;;;;;;-1:-1:-1;;;;;1506:49:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1558:50:17;;;;;;-1:-1:-1;;;;;1558:50:17;;;;;;;;;;;;;;;:23;;;;;;:50;;;;;1506:49;;1558:50;;;;;;;;-1:-1:-1;1558:23:17;:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1623:41:17;;;;;;1658:4;1623:41;;;;;;-1:-1:-1;;;;;1623:26:17;;;;;:41;;;;;1558:50;;1623:41;;;;;;;-1:-1:-1;1623:26:17;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1623:41:17;;-1:-1:-1;;;1141:528:17;927:745;;;;;;;:::o;232:207::-;280:9;302:1;298;:5;294:127;;;-1:-1:-1;312:1:17;336;332;328:5;;:9;340:48;351:1;347;:5;340:48;;;361:1;357:5;;383:1;378;374;370;:5;;;;;;:9;369:15;;;;;;365:19;;340:48;;;294:127;;;;401:6;;397:24;;-1:-1:-1;416:1:17;397:24;232:207;;;:::o;9785:161:18:-;9887:12;;;9848;9887;;;;;;;;;-1:-1:-1;;;;;9865:7:18;;;9879:6;;9865:35;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;9865:35:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9847:53;;;9911:7;9903:39;;;;;-1:-1:-1;;;9903:39:18;;;;;;;;;;;;;;;;;;;;;;;;;;;1676:783:17;1772:19;1793:17;1815:19;1852:5;1815:43;;1862:16;1880;1901:4;-1:-1:-1;;;;;1901:16:17;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1901:18:17;;;;;;;;1936:30;;;;;;;1901:18;;-1:-1:-1;1901:18:17;;-1:-1:-1;1922:11:17;;-1:-1:-1;;;;;1936:28:17;;;;;:30;;;;;1901:18;1936:30;;;;;;:28;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1936:30:17;1983:55;;;;;;;;;;;;-1:-1:-1;;;;;1983:55:17;;;;;;;;;1936:30;;-1:-1:-1;1969:11:17;;1983:34;;;;;;:55;;;;;1936:30;;1983:55;;;;;;;;:34;:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1983:55:17;2058:13;;;;;;;;1983:55;;-1:-1:-1;;;;;;2058:11:17;;;;;:13;;;;;1983:55;;2058:13;;;;;;;;:11;:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2058:13:17;-1:-1:-1;;;;;2045:26:17;;;;;;2041:415;;;2090:65;2112:8;2122;2133;2143:6;2151:3;2090:21;:65::i;:::-;2076:79;;2174:41;2185:5;2192:9;2203:11;2174:10;:41::i;:::-;-1:-1:-1;2159:56:17;-1:-1:-1;2232:25:17;:8;2245:11;2232:12;:25::i;:::-;2218:39;;2041:415;;;2285:64;2307:8;2317;2327;2337:6;2345:3;2285:21;:64::i;:::-;2271:78;;2369:41;2380:5;2387:9;2398:11;2369:10;:41::i;:::-;-1:-1:-1;2354:56:17;-1:-1:-1;2427:25:17;:8;2440:11;2427:12;:25::i;2041:415::-;1676:783;;;;;;;;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;
Swarm Source
ipfs://4fab2000aa70d2efa347c5c9ab9928a6a823da0c8a4cba37994adbe760d19979
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.