More Info
Private Name Tags
ContractCreator
TokenTracker
Sponsored
Latest 25 from a total of 3,899 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Reinvest | 34091649 | 702 days ago | IN | 0 POL | 0.00126774 | ||||
Reinvest | 34000389 | 704 days ago | IN | 0 POL | 0.00132949 | ||||
Reinvest | 33984963 | 704 days ago | IN | 0 POL | 0.00132923 | ||||
Reinvest | 33970689 | 705 days ago | IN | 0 POL | 0.00128845 | ||||
Reinvest | 33956166 | 705 days ago | IN | 0 POL | 0.00132949 | ||||
Reinvest | 33938368 | 706 days ago | IN | 0 POL | 0.00132949 | ||||
Reinvest | 33921867 | 706 days ago | IN | 0 POL | 0.00131345 | ||||
Reinvest | 33906372 | 706 days ago | IN | 0 POL | 0.00132975 | ||||
Reinvest | 33891714 | 707 days ago | IN | 0 POL | 0.00132923 | ||||
Reinvest | 33876622 | 707 days ago | IN | 0 POL | 0.00132949 | ||||
Reinvest | 33858753 | 707 days ago | IN | 0 POL | 0.00132949 | ||||
Reinvest | 33844675 | 708 days ago | IN | 0 POL | 0.00132975 | ||||
Reinvest | 33830672 | 708 days ago | IN | 0 POL | 0.00135475 | ||||
Reinvest | 33813761 | 709 days ago | IN | 0 POL | 0.00135475 | ||||
Reinvest | 33798723 | 709 days ago | IN | 0 POL | 0.00132975 | ||||
Reinvest | 33784050 | 709 days ago | IN | 0 POL | 0.00135475 | ||||
Reinvest | 33770048 | 710 days ago | IN | 0 POL | 0.00126345 | ||||
Reinvest | 33755473 | 710 days ago | IN | 0 POL | 0.00128871 | ||||
Reinvest | 33740938 | 710 days ago | IN | 0 POL | 0.00132949 | ||||
Reinvest | 33726404 | 711 days ago | IN | 0 POL | 0.00132949 | ||||
Reinvest | 33710535 | 711 days ago | IN | 0 POL | 0.00132949 | ||||
Reinvest | 33695043 | 711 days ago | IN | 0 POL | 0.00135449 | ||||
Reinvest | 33680129 | 712 days ago | IN | 0 POL | 0.00130423 | ||||
Reinvest | 33665411 | 712 days ago | IN | 0 POL | 0.00126319 | ||||
Reinvest | 33647490 | 713 days ago | IN | 0 POL | 0.00128845 |
Latest 1 internal transaction
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
19918274 | 1069 days ago | Contract Creation | 0 POL |
Loading...
Loading
Contract Name:
StakedLPToken04
Compiler Version
v0.5.16+commit.9c3226ce
Contract Source Code (Solidity)
/** *Submitted for verification at polygonscan.com on 2021-10-06 */ // File: contracts\libraries\SafeMath.sol pragma solidity =0.5.16; // From https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/math/Math.sol // Subject to the MIT license. /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the addition of two unsigned integers, reverting with custom message on overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, errorMessage); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on underflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot underflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction underflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on underflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot underflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, errorMessage); return c; } /** * @dev Returns the integer division of two unsigned integers. * Reverts on division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. * Reverts with custom message on division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: contracts\ImpermaxERC20.sol pragma solidity =0.5.16; // This contract is basically UniswapV2ERC20 with small modifications // src: https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/UniswapV2ERC20.sol contract ImpermaxERC20 { using SafeMath for uint; string public name; string public symbol; uint8 public decimals = 18; uint public totalSupply; mapping(address => uint) public balanceOf; mapping(address => mapping(address => uint)) public allowance; bytes32 public DOMAIN_SEPARATOR; mapping(address => uint) public nonces; event Transfer(address indexed from, address indexed to, uint value); event Approval(address indexed owner, address indexed spender, uint value); constructor() public {} function _setName(string memory _name, string memory _symbol) internal { name = _name; symbol = _symbol; uint chainId; assembly { chainId := chainid } DOMAIN_SEPARATOR = keccak256( abi.encode( keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"), keccak256(bytes(_name)), keccak256(bytes("1")), chainId, address(this) ) ); } function _mint(address to, uint value) internal { totalSupply = totalSupply.add(value); balanceOf[to] = balanceOf[to].add(value); emit Transfer(address(0), to, value); } function _burn(address from, uint value) internal { balanceOf[from] = balanceOf[from].sub(value); totalSupply = totalSupply.sub(value); emit Transfer(from, address(0), value); } function _approve(address owner, address spender, uint value) private { allowance[owner][spender] = value; emit Approval(owner, spender, value); } function _transfer(address from, address to, uint value) internal { balanceOf[from] = balanceOf[from].sub(value, "Impermax: TRANSFER_TOO_HIGH"); balanceOf[to] = balanceOf[to].add(value); emit Transfer(from, to, value); } function approve(address spender, uint value) external returns (bool) { _approve(msg.sender, spender, value); return true; } function transfer(address to, uint value) external returns (bool) { _transfer(msg.sender, to, value); return true; } function transferFrom(address from, address to, uint value) external returns (bool) { if (allowance[from][msg.sender] != uint(-1)) { allowance[from][msg.sender] = allowance[from][msg.sender].sub(value, "Impermax: TRANSFER_NOT_ALLOWED"); } _transfer(from, to, value); return true; } function _checkSignature(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s, bytes32 typehash) internal { require(deadline >= block.timestamp, "Impermax: EXPIRED"); bytes32 digest = keccak256( abi.encodePacked( '\x19\x01', DOMAIN_SEPARATOR, keccak256(abi.encode(typehash, owner, spender, value, nonces[owner]++, deadline)) ) ); address recoveredAddress = ecrecover(digest, v, r, s); require(recoveredAddress != address(0) && recoveredAddress == owner, "Impermax: INVALID_SIGNATURE"); } // keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"); bytes32 public constant PERMIT_TYPEHASH = 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9; function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external { _checkSignature(owner, spender, value, deadline, v, r, s, PERMIT_TYPEHASH); _approve(owner, spender, value); } } // File: contracts\interfaces\IERC20.sol pragma solidity >=0.5.0; interface IERC20 { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); } // File: contracts\interfaces\IPoolToken.sol pragma solidity >=0.5.0; interface IPoolToken { /*** Impermax ERC20 ***/ event Transfer(address indexed from, address indexed to, uint value); event Approval(address indexed owner, address indexed spender, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; /*** Pool Token ***/ event Mint(address indexed sender, address indexed minter, uint mintAmount, uint mintTokens); event Redeem(address indexed sender, address indexed redeemer, uint redeemAmount, uint redeemTokens); event Sync(uint totalBalance); function underlying() external view returns (address); function factory() external view returns (address); function totalBalance() external view returns (uint); function MINIMUM_LIQUIDITY() external pure returns (uint); function exchangeRate() external returns (uint); function mint(address minter) external returns (uint mintTokens); function redeem(address redeemer) external returns (uint redeemAmount); function skim(address to) external; function sync() external; function _setFactory() external; } // File: contracts\PoolToken.sol pragma solidity =0.5.16; contract PoolToken is IPoolToken, ImpermaxERC20 { uint internal constant initialExchangeRate = 1e18; address public underlying; address public factory; uint public totalBalance; uint public constant MINIMUM_LIQUIDITY = 1000; event Mint(address indexed sender, address indexed minter, uint mintAmount, uint mintTokens); event Redeem(address indexed sender, address indexed redeemer, uint redeemAmount, uint redeemTokens); event Sync(uint totalBalance); /*** Initialize ***/ // called once by the factory function _setFactory() external { require(factory == address(0), "Impermax: FACTORY_ALREADY_SET"); factory = msg.sender; } /*** PoolToken ***/ function _update() internal { totalBalance = IERC20(underlying).balanceOf(address(this)); emit Sync(totalBalance); } function exchangeRate() public returns (uint) { uint _totalSupply = totalSupply; // gas savings uint _totalBalance = totalBalance; // gas savings if (_totalSupply == 0 || _totalBalance == 0) return initialExchangeRate; return _totalBalance.mul(1e18).div(_totalSupply); } // this low-level function should be called from another contract function mint(address minter) external nonReentrant update returns (uint mintTokens) { uint balance = IERC20(underlying).balanceOf(address(this)); uint mintAmount = balance.sub(totalBalance); mintTokens = mintAmount.mul(1e18).div(exchangeRate()); if(totalSupply == 0) { // permanently lock the first MINIMUM_LIQUIDITY tokens mintTokens = mintTokens.sub(MINIMUM_LIQUIDITY); _mint(address(0), MINIMUM_LIQUIDITY); } require(mintTokens > 0, "Impermax: MINT_AMOUNT_ZERO"); _mint(minter, mintTokens); emit Mint(msg.sender, minter, mintAmount, mintTokens); } // this low-level function should be called from another contract function redeem(address redeemer) external nonReentrant update returns (uint redeemAmount) { uint redeemTokens = balanceOf[address(this)]; redeemAmount = redeemTokens.mul(exchangeRate()).div(1e18); require(redeemAmount > 0, "Impermax: REDEEM_AMOUNT_ZERO"); require(redeemAmount <= totalBalance, "Impermax: INSUFFICIENT_CASH"); _burn(address(this), redeemTokens); _safeTransfer(redeemer, redeemAmount); emit Redeem(msg.sender, redeemer, redeemAmount, redeemTokens); } // force real balance to match totalBalance function skim(address to) external nonReentrant { _safeTransfer(to, IERC20(underlying).balanceOf(address(this)).sub(totalBalance)); } // force totalBalance to match real balance function sync() external nonReentrant update {} /*** Utilities ***/ // same safe transfer function used by UniSwapV2 (with fixed underlying) bytes4 private constant SELECTOR = bytes4(keccak256(bytes("transfer(address,uint256)"))); function _safeTransfer(address to, uint amount) internal { (bool success, bytes memory data) = underlying.call(abi.encodeWithSelector(SELECTOR, to, amount)); require(success && (data.length == 0 || abi.decode(data, (bool))), "Impermax: TRANSFER_FAILED"); } // prevents a contract from calling itself, directly or indirectly. bool internal _notEntered = true; modifier nonReentrant() { require(_notEntered, "Impermax: REENTERED"); _notEntered = false; _; _notEntered = true; } // update totalBalance with current balance modifier update() { _; _update(); } } // File: contracts\interfaces\IStakingRewards.sol pragma solidity >=0.5.0; interface IStakingRewards { function rewardsToken() external view returns (address); function stakingToken() external view returns (address); function balanceOf(address account) external view returns (uint256); function earned(address account) external view returns (uint256); function stake(uint256 amount) external; function withdraw(uint256 amount) external; function getReward() external; } // File: contracts\interfaces\IUniswapV2Router01.sol pragma solidity >=0.5.0; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); } // File: contracts\interfaces\IUniswapV2Pair.sol pragma solidity >=0.5.0; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); } // File: contracts\libraries\SafeToken.sol pragma solidity 0.5.16; interface ERC20Interface { function balanceOf(address user) external view returns (uint256); } library SafeToken { function myBalance(address token) internal view returns (uint256) { return ERC20Interface(token).balanceOf(address(this)); } function balanceOf(address token, address user) internal view returns (uint256) { return ERC20Interface(token).balanceOf(user); } function safeApprove(address token, address to, uint256 value) internal { // bytes4(keccak256(bytes('approve(address,uint256)'))); (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x095ea7b3, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), "!safeApprove"); } function safeTransfer(address token, address to, uint256 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))), "!safeTransfer"); } function safeTransferFrom(address token, address from, address to, uint256 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))), "!safeTransferFrom"); } function safeTransferETH(address to, uint256 value) internal { (bool success, ) = to.call.value(value)(new bytes(0)); require(success, "!safeTransferETH"); } } // File: contracts\libraries\Math.sol pragma solidity =0.5.16; // a library for performing various math operations // forked from: https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/libraries/Math.sol library Math { function min(uint x, uint y) internal pure returns (uint z) { z = x < y ? x : y; } // babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method) function sqrt(uint y) internal pure returns (uint z) { if (y > 3) { z = y; uint x = y / 2 + 1; while (x < z) { z = x; x = (y / x + x) / 2; } } else if (y != 0) { z = 1; } } } // File: contracts\StakedLPToken04.sol pragma solidity =0.5.16; interface IDragonLair { function leave(uint256 _dQuickAmount) external; } contract StakedLPToken04 is IUniswapV2Pair, PoolToken { using SafeToken for address; bool public constant isStakedLPToken = true; string public constant stakedLPTokenType = "04"; address public stakingRewards; address public router; address public WETH; address public token0; address public token1; uint256 public constant REINVEST_BOUNTY = 0.02e18; address public constant rewardsToken = 0xf28164A485B0B2C90639E47b0f377b4a438a16B1; address public constant QUICK = 0x831753DD7087CaC61aB5644b308642cc1c33Dc13; event Reinvest(address indexed caller, uint256 reward, uint256 bounty); function _initialize( address _stakingRewards, address _underlying, address _token0, address _token1, address _router, address _WETH ) external { require(factory == address(0), "StakedLPToken: FACTORY_ALREADY_SET"); // sufficient check factory = msg.sender; _setName("Staked Uniswap V2", "STKD-UNI-V2"); stakingRewards = _stakingRewards; underlying = _underlying; token0 = _token0; token1 = _token1; router = _router; WETH = _WETH; rewardsToken.safeApprove(address(_router), uint256(-1)); _WETH.safeApprove(address(_router), uint256(-1)); _underlying.safeApprove(address(_stakingRewards), uint256(-1)); } /*** PoolToken Overrides ***/ function _update() internal { totalBalance = IStakingRewards(stakingRewards).balanceOf(address(this)); emit Sync(totalBalance); } // this low-level function should be called from another contract function mint(address minter) external nonReentrant update returns (uint mintTokens) { uint mintAmount = underlying.myBalance(); IStakingRewards(stakingRewards).stake(mintAmount); mintTokens = mintAmount.mul(1e18).div(exchangeRate()); if(totalSupply == 0) { // permanently lock the first MINIMUM_LIQUIDITY tokens mintTokens = mintTokens.sub(MINIMUM_LIQUIDITY); _mint(address(0), MINIMUM_LIQUIDITY); } require(mintTokens > 0, "StakedLPToken: MINT_AMOUNT_ZERO"); _mint(minter, mintTokens); emit Mint(msg.sender, minter, mintAmount, mintTokens); } // this low-level function should be called from another contract function redeem(address redeemer) external nonReentrant update returns (uint redeemAmount) { uint redeemTokens = balanceOf[address(this)]; redeemAmount = redeemTokens.mul(exchangeRate()).div(1e18); require(redeemAmount > 0, "StakedLPToken: REDEEM_AMOUNT_ZERO"); require(redeemAmount <= totalBalance, "StakedLPToken: INSUFFICIENT_CASH"); _burn(address(this), redeemTokens); IStakingRewards(stakingRewards).withdraw(redeemAmount); _safeTransfer(redeemer, redeemAmount); emit Redeem(msg.sender, redeemer, redeemAmount, redeemTokens); } /*** Reinvest ***/ function _optimalDepositA(uint256 amountA, uint256 reserveA) internal pure returns (uint256) { uint256 a = uint256(1997).mul(reserveA); uint256 b = amountA.mul(1000).mul(reserveA).mul(3988); uint256 c = Math.sqrt(a.mul(a).add(b)); return c.sub(a).div(1994); } function approveRouter(address token, uint256 amount) internal { if (IERC20(token).allowance(address(this), router) >= amount) return; token.safeApprove(address(router), uint256(-1)); } function swapExactTokensForTokens(address tokenIn, address tokenOut, uint256 amount) internal { address[] memory path = new address[](2); path[0] = address(tokenIn); path[1] = address(tokenOut); approveRouter(tokenIn, amount); IUniswapV2Router01(router).swapExactTokensForTokens(amount, 0, path, address(this), now); } function addLiquidity(address tokenA, address tokenB, uint256 amountA, uint256 amountB) internal returns (uint256 liquidity) { approveRouter(tokenA, amountA); approveRouter(tokenB, amountB); (,,liquidity) = IUniswapV2Router01(router).addLiquidity(tokenA, tokenB, amountA, amountB, 0, 0, address(this), now); } function _getReward() internal returns (uint256) { IStakingRewards(stakingRewards).getReward(); return rewardsToken.myBalance(); } function getReward() external nonReentrant returns (uint256) { require(msg.sender == tx.origin); return _getReward(); } function reinvest() external nonReentrant update { require(msg.sender == tx.origin); // 1. Withdraw all the rewards. uint256 reward = _getReward(); if (reward == 0) return; // 2. Send the reward bounty to the caller. uint256 bounty = reward.mul(REINVEST_BOUNTY) / 1e18; rewardsToken.safeTransfer(msg.sender, bounty); // 3.0 Unwrap QUICK IDragonLair(rewardsToken).leave(rewardsToken.myBalance()); // 3. Convert all the remaining rewards to token0 or token1. address tokenA; address tokenB; if (token0 == QUICK || token1 == QUICK) { (tokenA, tokenB) = token0 == QUICK ? (token0, token1) : (token1, token0); } else { swapExactTokensForTokens(QUICK, WETH, QUICK.myBalance()); if (token0 == WETH || token1 == WETH) { (tokenA, tokenB) = token0 == WETH ? (token0, token1) : (token1, token0); } else { swapExactTokensForTokens(WETH, token0, WETH.myBalance()); (tokenA, tokenB) = (token0, token1); } } // 4. Convert tokenA to LP Token underlyings. uint256 totalAmountA = tokenA.myBalance(); assert(totalAmountA > 0); (uint256 r0, uint256 r1,) = IUniswapV2Pair(underlying).getReserves(); uint256 reserveA = tokenA == token0 ? r0 : r1; uint256 swapAmount = _optimalDepositA(totalAmountA, reserveA); swapExactTokensForTokens(tokenA, tokenB, swapAmount); uint256 liquidity = addLiquidity(tokenA, tokenB, totalAmountA.sub(swapAmount), tokenB.myBalance()); // 5. Stake the LP Tokens. IStakingRewards(stakingRewards).stake(liquidity); emit Reinvest(msg.sender, reward, bounty); } /*** Mirrored From uniswapV2Pair ***/ function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast) { (reserve0, reserve1, blockTimestampLast) = IUniswapV2Pair(underlying).getReserves(); // if no token has been minted yet mirror uniswap getReserves if (totalSupply == 0) return (reserve0, reserve1, blockTimestampLast); // else, return the underlying reserves of this contract uint256 _totalBalance = totalBalance; uint256 _totalSupply = IUniswapV2Pair(underlying).totalSupply(); reserve0 = safe112(_totalBalance.mul(reserve0).div(_totalSupply)); reserve1 = safe112(_totalBalance.mul(reserve1).div(_totalSupply)); require(reserve0 > 100 && reserve1 > 100, "StakedLPToken: INSUFFICIENT_RESERVES"); } function price0CumulativeLast() external view returns (uint256) { return IUniswapV2Pair(underlying).price0CumulativeLast(); } function price1CumulativeLast() external view returns (uint256) { return IUniswapV2Pair(underlying).price1CumulativeLast(); } /*** Utilities ***/ function safe112(uint n) internal pure returns (uint112) { require(n < 2**112, "StakedLPToken: SAFE112"); return uint112(n); } } // File: contracts\StakedLPTokenFactory04.sol pragma solidity =0.5.16; contract StakedLPTokenFactory04 { address public router; address public WETH; mapping(address => address) public getStakedLPToken; address[] public allStakedLPToken; event StakedLPTokenCreated(address indexed token0, address indexed token1, address indexed stakingRewards, address stakedLPToken, uint); constructor(address _router, address _WETH) public { router = _router; WETH = _WETH; } function allStakedLPTokenLength() external view returns (uint) { return allStakedLPToken.length; } function createStakedLPToken(address stakingRewards) external returns (address stakedLPToken) { require(getStakedLPToken[stakingRewards] == address(0), "StakedLPTokenFactory: STAKING_REWARDS_EXISTS"); address pair = IStakingRewards(stakingRewards).stakingToken(); address token0 = IUniswapV2Pair(pair).token0(); address token1 = IUniswapV2Pair(pair).token1(); bytes memory bytecode = type(StakedLPToken04).creationCode; assembly { stakedLPToken := create2(0, add(bytecode, 32), mload(bytecode), stakingRewards) } StakedLPToken04(stakedLPToken)._initialize(stakingRewards, pair, token0, token1, router, WETH); getStakedLPToken[stakingRewards] = stakedLPToken; allStakedLPToken.push(stakedLPToken); emit StakedLPTokenCreated(token0, token1, stakingRewards, stakedLPToken, allStakedLPToken.length); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"mintAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"mintTokens","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"redeemer","type":"address"},{"indexed":false,"internalType":"uint256","name":"redeemAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"redeemTokens","type":"uint256"}],"name":"Redeem","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"bounty","type":"uint256"}],"name":"Reinvest","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"totalBalance","type":"uint256"}],"name":"Sync","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"constant":true,"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MINIMUM_LIQUIDITY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"QUICK","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"REINVEST_BOUNTY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"WETH","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_stakingRewards","type":"address"},{"internalType":"address","name":"_underlying","type":"address"},{"internalType":"address","name":"_token0","type":"address"},{"internalType":"address","name":"_token1","type":"address"},{"internalType":"address","name":"_router","type":"address"},{"internalType":"address","name":"_WETH","type":"address"}],"name":"_initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"_setFactory","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"exchangeRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getReserves","outputs":[{"internalType":"uint112","name":"reserve0","type":"uint112"},{"internalType":"uint112","name":"reserve1","type":"uint112"},{"internalType":"uint32","name":"blockTimestampLast","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"getReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"isStakedLPToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"mint","outputs":[{"internalType":"uint256","name":"mintTokens","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"price0CumulativeLast","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"price1CumulativeLast","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"redeemer","type":"address"}],"name":"redeem","outputs":[{"internalType":"uint256","name":"redeemAmount","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"reinvest","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"rewardsToken","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"router","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"skim","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"stakedLPTokenType","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"stakingRewards","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"sync","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"token0","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"token1","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"underlying","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526002805460ff19908116601217909155600b8054909116600117905561397f8061002f6000396000f3fe608060405234801561001057600080fd5b50600436106102ad5760003560e01c80636f307dc31161017b578063c45a0155116100d8578063e8bea1671161008c578063fb71e1c811610071578063fb71e1c8146106e2578063fdb5a03e1461073d578063fff6cae914610745576102ad565b8063e8bea167146106d2578063f887ea40146106da576102ad565b8063d21220a7116100bd578063d21220a714610631578063d505accf14610639578063dd62ed3e14610697576102ad565b8063c45a015514610621578063d1af0c7d14610629576102ad565b8063a9059cbb1161012f578063ad7a672f11610114578063ad7a672f146105de578063ba9a7a56146105e6578063bc25cf77146105ee576102ad565b8063a9059cbb1461059d578063ad5c4648146105d6576102ad565b80637ecebe00116101605780637ecebe001461052f57806395a2251f1461056257806395d89b4114610595576102ad565b80636f307dc3146104f457806370a08231146104fc576102ad565b8063313ce567116102295780635909c0d5116101dd57806364b87a70116101c257806364b87a70146104b15780636a627842146104b95780636c2a3bc5146104ec576102ad565b80635909c0d5146104a15780635a3d5493146104a9576102ad565b80633ba0b9a91161020e5780633ba0b9a9146104875780633d18b9121461048f5780634a5d316c14610497576102ad565b8063313ce567146104615780633644e5151461047f576102ad565b80630dfe168111610280578063188672a011610265578063188672a01461040e57806323b872dd1461041657806330adf81f14610459576102ad565b80630dfe1681146103c357806318160ddd146103f4576102ad565b806306fdde03146102b25780630902f1ac1461032f578063095ea7b31461036e5780630a641063146103bb575b600080fd5b6102ba61074d565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102f45781810151838201526020016102dc565b50505050905090810190601f1680156103215780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103376107f9565b604080516dffffffffffffffffffffffffffff948516815292909316602083015263ffffffff168183015290519081900360600190f35b6103a76004803603604081101561038457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610a3f565b604080519115158252519081900360200190f35b6103a7610a56565b6103cb610a5b565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6103fc610a77565b60408051918252519081900360200190f35b6103cb610a7d565b6103a76004803603606081101561042c57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135610a95565b6103fc610ba9565b610469610bcd565b6040805160ff9092168252519081900360200190f35b6103fc610bd6565b6103fc610bdc565b6103fc610c2c565b61049f610d0c565b005b6103fc610dbd565b6103fc610e59565b6103cb610ec4565b6103fc600480360360208110156104cf57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610ee5565b6103fc61118d565b6103cb611198565b6103fc6004803603602081101561051257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166111b4565b6103fc6004803603602081101561054557600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166111c6565b6103fc6004803603602081101561057857600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166111d8565b6102ba611473565b6103a7600480360360408110156105b357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356114eb565b6103cb6114f8565b6103fc611514565b6103fc61151a565b61049f6004803603602081101561060457600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611520565b6103cb6116a3565b6103cb6116bf565b6103cb6116d7565b61049f600480360360e081101561064f57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c001356116f3565b6103fc600480360360408110156106ad57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516611737565b6102ba611754565b6103cb61178d565b61049f600480360360c08110156106f857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013582169160408201358116916060810135821691608082013581169160a00135166117a9565b61049f611a37565b61049f612042565b6000805460408051602060026001851615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f810184900484028201840190925281815292918301828280156107f15780601f106107c6576101008083540402835291602001916107f1565b820191906000526020600020905b8154815290600101906020018083116107d457829003601f168201915b505050505081565b6000806000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561086657600080fd5b505afa15801561087a573d6000803e3d6000fd5b505050506040513d606081101561089057600080fd5b50805160208201516040909201516003549195509193509091506108b357610a3a565b600a54600854604080517f18160ddd000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff16916318160ddd916004808301926020929190829003018186803b15801561092157600080fd5b505afa158015610935573d6000803e3d6000fd5b505050506040513d602081101561094b57600080fd5b5051905061098761098282610976856dffffffffffffffffffffffffffff8a1663ffffffff6120e316565b9063ffffffff61215d16565b61219f565b94506109b061098282610976856dffffffffffffffffffffffffffff891663ffffffff6120e316565b93506064856dffffffffffffffffffffffffffff161180156109e257506064846dffffffffffffffffffffffffffff16115b610a37576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806138716024913960400191505060405180910390fd5b50505b909192565b6000610a4c338484612226565b5060015b92915050565b600181565b600e5473ffffffffffffffffffffffffffffffffffffffff1681565b60035481565b73831753dd7087cac61ab5644b308642cc1c33dc1381565b73ffffffffffffffffffffffffffffffffffffffff831660009081526005602090815260408083203384529091528120547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff14610b9457604080518082018252601e81527f496d7065726d61783a205452414e534645525f4e4f545f414c4c4f574544000060208083019190915273ffffffffffffffffffffffffffffffffffffffff87166000908152600582528381203382529091529190912054610b6291849063ffffffff61229516565b73ffffffffffffffffffffffffffffffffffffffff851660009081526005602090815260408083203384529091529020555b610b9f848484612346565b5060019392505050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60025460ff1681565b60065481565b600354600a5460009190811580610bf1575080155b15610c0857670de0b6b3a764000092505050610c29565b610c248261097683670de0b6b3a764000063ffffffff6120e316565b925050505b90565b600b5460009060ff16610ca057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f496d7065726d61783a205245454e544552454400000000000000000000000000604482015290519081900360640190fd5b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055333214610cd457600080fd5b610cdc61245f565b9050600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905590565b60095473ffffffffffffffffffffffffffffffffffffffff1615610d9157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f496d7065726d61783a20464143544f52595f414c52454144595f534554000000604482015290519081900360640190fd5b600980547fffffffffffffffffffffffff00000000000000000000000000000000000000001633179055565b600854604080517f5909c0d5000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff1691635909c0d5916004808301926020929190829003018186803b158015610e2857600080fd5b505afa158015610e3c573d6000803e3d6000fd5b505050506040513d6020811015610e5257600080fd5b5051905090565b600854604080517f5a3d5493000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff1691635a3d5493916004808301926020929190829003018186803b158015610e2857600080fd5b600b54610100900473ffffffffffffffffffffffffffffffffffffffff1681565b600b5460009060ff16610f5957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f496d7065726d61783a205245454e544552454400000000000000000000000000604482015290519081900360640190fd5b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055600854600090610fa69073ffffffffffffffffffffffffffffffffffffffff1661251b565b9050600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a694fc3a826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561101d57600080fd5b505af1158015611031573d6000803e3d6000fd5b50505050611058611040610bdc565b61097683670de0b6b3a764000063ffffffff6120e316565b91506003546000141561108657611077826103e863ffffffff6125bd16565b915061108660006103e86125ff565b600082116110f557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5374616b65644c50546f6b656e3a204d494e545f414d4f554e545f5a45524f00604482015290519081900360640190fd5b6110ff83836125ff565b6040805182815260208101849052815173ffffffffffffffffffffffffffffffffffffffff86169233927f2f00e3cdd69a77be7ed215ec7b2a36784dd158f921fca79ac29deffa353fe6ee929081900390910190a35061115d6126b0565b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055919050565b66470de4df82000081565b60085473ffffffffffffffffffffffffffffffffffffffff1681565b60046020526000908152604090205481565b60076020526000908152604090205481565b600b5460009060ff1661124c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f496d7065726d61783a205245454e544552454400000000000000000000000000604482015290519081900360640190fd5b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055306000908152600460205260409020546112a8670de0b6b3a764000061097661129b610bdc565b849063ffffffff6120e316565b915060008211611303576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806138956021913960400191505060405180910390fd5b600a5482111561137457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f5374616b65644c50546f6b656e3a20494e53554646494349454e545f43415348604482015290519081900360640190fd5b61137e308261278a565b600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156113f357600080fd5b505af1158015611407573d6000803e3d6000fd5b50505050611415838361284e565b6040805183815260208101839052815173ffffffffffffffffffffffffffffffffffffffff86169233927f3f693fff038bb8a046aa76d9516190ac7444f7d69cf952c4cbdc086fdef2d6fc929081900390910190a35061115d6126b0565b60018054604080516020600284861615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f810184900484028201840190925281815292918301828280156107f15780601f106107c6576101008083540402835291602001916107f1565b6000610a4c338484612346565b600d5473ffffffffffffffffffffffffffffffffffffffff1681565b600a5481565b6103e881565b600b5460ff1661159157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f496d7065726d61783a205245454e544552454400000000000000000000000000604482015290519081900360640190fd5b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055600a54600854604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905161167593859361167093919273ffffffffffffffffffffffffffffffffffffffff909116916370a08231916024808301926020929190829003018186803b15801561163857600080fd5b505afa15801561164c573d6000803e3d6000fd5b505050506040513d602081101561166257600080fd5b50519063ffffffff6125bd16565b61284e565b50600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b60095473ffffffffffffffffffffffffffffffffffffffff1681565b73f28164a485b0b2c90639e47b0f377b4a438a16b181565b600f5473ffffffffffffffffffffffffffffffffffffffff1681565b611723878787878787877f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9612a5a565b61172e878787612226565b50505050505050565b600560209081526000928352604080842090915290825290205481565b6040518060400160405280600281526020017f303400000000000000000000000000000000000000000000000000000000000081525081565b600c5473ffffffffffffffffffffffffffffffffffffffff1681565b60095473ffffffffffffffffffffffffffffffffffffffff1615611818576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806139296022913960400191505060405180910390fd5b600980547fffffffffffffffffffffffff00000000000000000000000000000000000000001633179055604080518082018252601181527f5374616b656420556e69737761702056320000000000000000000000000000006020808301919091528251808401909352600b83527f53544b442d554e492d5632000000000000000000000000000000000000000000908301526118b391612cfd565b600b80547fffffffffffffffffffffff0000000000000000000000000000000000000000ff1661010073ffffffffffffffffffffffffffffffffffffffff8981169190910291909117909155600880547fffffffffffffffffffffffff000000000000000000000000000000000000000090811688841617909155600e80548216878416179055600f80548216868416179055600c80548216858416179055600d80549091169183169190911790556119a173f28164a485b0b2c90639e47b0f377b4a438a16b1837fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff612de1565b6119e873ffffffffffffffffffffffffffffffffffffffff8216837fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff63ffffffff612de116565b611a2f73ffffffffffffffffffffffffffffffffffffffff8616877fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff63ffffffff612de116565b505050505050565b600b5460ff16611aa857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f496d7065726d61783a205245454e544552454400000000000000000000000000604482015290519081900360640190fd5b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055333214611adc57600080fd5b6000611ae661245f565b905080611af3575061200d565b6000670de0b6b3a7640000611b158366470de4df82000063ffffffff6120e316565b81611b1c57fe5b049050611b4473f28164a485b0b2c90639e47b0f377b4a438a16b1338363ffffffff612fbe16565b73f28164a485b0b2c90639e47b0f377b4a438a16b16367dfd4c9611b678261251b565b6040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015611b9d57600080fd5b505af1158015611bb1573d6000803e3d6000fd5b5050600e546000925082915073ffffffffffffffffffffffffffffffffffffffff1673831753dd7087cac61ab5644b308642cc1c33dc131480611c1f5750600f5473ffffffffffffffffffffffffffffffffffffffff1673831753dd7087cac61ab5644b308642cc1c33dc13145b15611ca757600e5473ffffffffffffffffffffffffffffffffffffffff1673831753dd7087cac61ab5644b308642cc1c33dc1314611c7c57600f54600e5473ffffffffffffffffffffffffffffffffffffffff9182169116611c9d565b600e54600f5473ffffffffffffffffffffffffffffffffffffffff91821691165b9092509050611dd0565b600d54611ce89073831753dd7087cac61ab5644b308642cc1c33dc139073ffffffffffffffffffffffffffffffffffffffff16611ce38261251b565b613194565b600d54600e5473ffffffffffffffffffffffffffffffffffffffff90811691161480611d315750600d54600f5473ffffffffffffffffffffffffffffffffffffffff9081169116145b15611d8057600d54600e5473ffffffffffffffffffffffffffffffffffffffff908116911614611c7c57600f54600e5473ffffffffffffffffffffffffffffffffffffffff9182169116611c9d565b600d54600e54611dad9173ffffffffffffffffffffffffffffffffffffffff9081169116611ce38261251b565b5050600e54600f5473ffffffffffffffffffffffffffffffffffffffff91821691165b6000611df18373ffffffffffffffffffffffffffffffffffffffff1661251b565b905060008111611dfd57fe5b600080600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015611e6857600080fd5b505afa158015611e7c573d6000803e3d6000fd5b505050506040513d6060811015611e9257600080fd5b508051602090910151600e546dffffffffffffffffffffffffffff92831694509116915060009073ffffffffffffffffffffffffffffffffffffffff878116911614611ede5781611ee0565b825b90506000611eee8583613411565b9050611efb878783613194565b6000611f368888611f12898663ffffffff6125bd16565b611f318b73ffffffffffffffffffffffffffffffffffffffff1661251b565b61349e565b9050600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a694fc3a826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015611fad57600080fd5b505af1158015611fc1573d6000803e3d6000fd5b5050604080518d8152602081018d905281513394507fc003f45bc224d116b6d079100d4ab57a5b9633244c47a5a92a176c5b79a85f2893509081900390910190a2505050505050505050505b6120156126b0565b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b600b5460ff166120b357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f496d7065726d61783a205245454e544552454400000000000000000000000000604482015290519081900360640190fd5b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690556120156126b0565b6000826120f257506000610a50565b828202828482816120ff57fe5b0414612156576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806139086021913960400191505060405180910390fd5b9392505050565b600061215683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613594565b60006e010000000000000000000000000000821061221e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f5374616b65644c50546f6b656e3a205341464531313200000000000000000000604482015290519081900360640190fd5b50805b919050565b73ffffffffffffffffffffffffffffffffffffffff808416600081815260056020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6000818484111561233e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156123035781810151838201526020016122eb565b50505050905090810190601f1680156123305780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b604080518082018252601b81527f496d7065726d61783a205452414e534645525f544f4f5f48494748000000000060208083019190915273ffffffffffffffffffffffffffffffffffffffff86166000908152600490915291909120546123b491839063ffffffff61229516565b73ffffffffffffffffffffffffffffffffffffffff80851660009081526004602052604080822093909355908416815220546123f6908263ffffffff61361316565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526004602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633d18b9126040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156124cb57600080fd5b505af11580156124df573d6000803e3d6000fd5b5050505061251673f28164a485b0b2c90639e47b0f377b4a438a16b173ffffffffffffffffffffffffffffffffffffffff1661251b565b905090565b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905160009173ffffffffffffffffffffffffffffffffffffffff8416916370a0823191602480820192602092909190829003018186803b15801561258b57600080fd5b505afa15801561259f573d6000803e3d6000fd5b505050506040513d60208110156125b557600080fd5b505192915050565b600061215683836040518060400160405280601f81526020017f536166654d6174683a207375627472616374696f6e20756e646572666c6f7700815250612295565b600354612612908263ffffffff61361316565b60035573ffffffffffffffffffffffffffffffffffffffff821660009081526004602052604090205461264b908263ffffffff61361316565b73ffffffffffffffffffffffffffffffffffffffff831660008181526004602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600b54604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905161010090920473ffffffffffffffffffffffffffffffffffffffff16916370a0823191602480820192602092909190829003018186803b15801561272557600080fd5b505afa158015612739573d6000803e3d6000fd5b505050506040513d602081101561274f57600080fd5b5051600a81905560408051918252517f8a0df8ef054fae2c3d2d19a7b322e864870cc9fd3cb07fb9526309c596244bf49181900360200190a1565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600460205260409020546127c0908263ffffffff6125bd16565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600460205260409020556003546127f9908263ffffffff6125bd16565b60035560408051828152905160009173ffffffffffffffffffffffffffffffffffffffff8516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600854604080518082018252601981527f7472616e7366657228616464726573732c75696e743235362900000000000000602091820152815173ffffffffffffffffffffffffffffffffffffffff86811660248301526044808301879052845180840390910181526064909201845291810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001781529251815160009560609594169382918083835b6020831061295457805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101612917565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146129b6576040519150601f19603f3d011682016040523d82523d6000602084013e6129bb565b606091505b50915091508180156129e95750805115806129e957508080602001905160208110156129e657600080fd5b50515b612a5457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f496d7065726d61783a205452414e534645525f4641494c454400000000000000604482015290519081900360640190fd5b50505050565b42851015612ac957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496d7065726d61783a2045585049524544000000000000000000000000000000604482015290519081900360640190fd5b60065473ffffffffffffffffffffffffffffffffffffffff808a1660008181526007602090815260408083208054600180820190925582518085018a905280840196909652958e166060860152608085018d905260a085019590955260c08085018c90528151808603909101815260e0850182528051908301207f19010000000000000000000000000000000000000000000000000000000000006101008601526101028501969096526101228085019690965280518085039096018652610142840180825286519683019690962095839052610162840180825286905260ff8a166101828501526101a284018990526101c28401889052519193926101e2808201937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081019281900390910190855afa158015612c0b573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811615801590612c8657508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b612cf157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f496d7065726d61783a20494e56414c49445f5349474e41545552450000000000604482015290519081900360640190fd5b50505050505050505050565b8151612d109060009060208501906137d8565b508051612d249060019060208401906137d8565b5060405146908060526138b682396040805191829003605201822086516020978801208383018352600184527f310000000000000000000000000000000000000000000000000000000000000093880193909352815180880191909152808201929092527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6606083015260808201939093523060a0808301919091528351808303909101815260c090910190925250805192019190912060065550565b6040805173ffffffffffffffffffffffffffffffffffffffff8481166024830152604480830185905283518084039091018152606490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f095ea7b300000000000000000000000000000000000000000000000000000000178152925182516000946060949389169392918291908083835b60208310612eb757805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101612e7a565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612f19576040519150601f19603f3d011682016040523d82523d6000602084013e612f1e565b606091505b5091509150818015612f4c575080511580612f4c5750808060200190516020811015612f4957600080fd5b50515b612fb757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f2173616665417070726f76650000000000000000000000000000000000000000604482015290519081900360640190fd5b5050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8481166024830152604480830185905283518084039091018152606490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000178152925182516000946060949389169392918291908083835b6020831061309457805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101613057565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146130f6576040519150601f19603f3d011682016040523d82523d6000602084013e6130fb565b606091505b5091509150818015613129575080511580613129575080806020019051602081101561312657600080fd5b50515b612fb757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f21736166655472616e7366657200000000000000000000000000000000000000604482015290519081900360640190fd5b604080516002808252606080830184529260208301908038833901905050905083816000815181106131c257fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050828160018151811061320a57fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505061324e8483613687565b600c546040517f38ed1739000000000000000000000000000000000000000000000000000000008152600481018481526000602483018190523060648401819052426084850181905260a060448601908152875160a4870152875173ffffffffffffffffffffffffffffffffffffffff909716966338ed1739968a968a9594939092909160c40190602080880191028083838b5b838110156132fa5781810151838201526020016132e2565b505050509050019650505050505050600060405180830381600087803b15801561332357600080fd5b505af1158015613337573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201604052602081101561337e57600080fd5b810190808051604051939291908464010000000082111561339e57600080fd5b9083019060208201858111156133b357600080fd5b82518660208202830111640100000000821117156133d057600080fd5b82525081516020918201928201910280838360005b838110156133fd5781810151838201526020016133e5565b505050509050016040525050505050505050565b6000806134266107cd8463ffffffff6120e316565b90506000613450610f946134448681896103e863ffffffff6120e316565b9063ffffffff6120e316565b9050600061347c6134778361346b868063ffffffff6120e316565b9063ffffffff61361316565b613787565b90506134946107ca610976838663ffffffff6125bd16565b9695505050505050565b60006134aa8584613687565b6134b48483613687565b600c54604080517fe8e3370000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff88811660048301528781166024830152604482018790526064820186905260006084830181905260a483018190523060c48401524260e4840152925193169263e8e337009261010480840193606093929083900390910190829087803b15801561355c57600080fd5b505af1158015613570573d6000803e3d6000fd5b505050506040513d606081101561358657600080fd5b506040015195945050505050565b600081836135fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482018181528351602484015283519092839260449091019190850190808383600083156123035781810151838201526020016122eb565b50600083858161360957fe5b0495945050505050565b60008282018381101561215657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600c54604080517fdd62ed3e00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff92831660248201529051839285169163dd62ed3e916044808301926020929190829003018186803b15801561370057600080fd5b505afa158015613714573d6000803e3d6000fd5b505050506040513d602081101561372a57600080fd5b50511061373657613783565b600c546137839073ffffffffffffffffffffffffffffffffffffffff84811691167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff63ffffffff612de116565b5050565b600060038211156137ca575080600160028204015b818110156137c4578091506002818285816137b357fe5b0401816137bc57fe5b04905061379c565b50612221565b811561222157506001919050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061381957805160ff1916838001178555613846565b82800160010185558215613846579182015b8281111561384657825182559160200191906001019061382b565b50613852929150613856565b5090565b610c2991905b80821115613852576000815560010161385c56fe5374616b65644c50546f6b656e3a20494e53554646494349454e545f52455345525645535374616b65644c50546f6b656e3a2052454445454d5f414d4f554e545f5a45524f454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e747261637429536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775374616b65644c50546f6b656e3a20464143544f52595f414c52454144595f534554a265627a7a72315820882d5bd1ecbdcefe59960439f0c62069bf03708871ea45e94f1be33230ed68a564736f6c63430005100032
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102ad5760003560e01c80636f307dc31161017b578063c45a0155116100d8578063e8bea1671161008c578063fb71e1c811610071578063fb71e1c8146106e2578063fdb5a03e1461073d578063fff6cae914610745576102ad565b8063e8bea167146106d2578063f887ea40146106da576102ad565b8063d21220a7116100bd578063d21220a714610631578063d505accf14610639578063dd62ed3e14610697576102ad565b8063c45a015514610621578063d1af0c7d14610629576102ad565b8063a9059cbb1161012f578063ad7a672f11610114578063ad7a672f146105de578063ba9a7a56146105e6578063bc25cf77146105ee576102ad565b8063a9059cbb1461059d578063ad5c4648146105d6576102ad565b80637ecebe00116101605780637ecebe001461052f57806395a2251f1461056257806395d89b4114610595576102ad565b80636f307dc3146104f457806370a08231146104fc576102ad565b8063313ce567116102295780635909c0d5116101dd57806364b87a70116101c257806364b87a70146104b15780636a627842146104b95780636c2a3bc5146104ec576102ad565b80635909c0d5146104a15780635a3d5493146104a9576102ad565b80633ba0b9a91161020e5780633ba0b9a9146104875780633d18b9121461048f5780634a5d316c14610497576102ad565b8063313ce567146104615780633644e5151461047f576102ad565b80630dfe168111610280578063188672a011610265578063188672a01461040e57806323b872dd1461041657806330adf81f14610459576102ad565b80630dfe1681146103c357806318160ddd146103f4576102ad565b806306fdde03146102b25780630902f1ac1461032f578063095ea7b31461036e5780630a641063146103bb575b600080fd5b6102ba61074d565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102f45781810151838201526020016102dc565b50505050905090810190601f1680156103215780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103376107f9565b604080516dffffffffffffffffffffffffffff948516815292909316602083015263ffffffff168183015290519081900360600190f35b6103a76004803603604081101561038457600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610a3f565b604080519115158252519081900360200190f35b6103a7610a56565b6103cb610a5b565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6103fc610a77565b60408051918252519081900360200190f35b6103cb610a7d565b6103a76004803603606081101561042c57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135610a95565b6103fc610ba9565b610469610bcd565b6040805160ff9092168252519081900360200190f35b6103fc610bd6565b6103fc610bdc565b6103fc610c2c565b61049f610d0c565b005b6103fc610dbd565b6103fc610e59565b6103cb610ec4565b6103fc600480360360208110156104cf57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610ee5565b6103fc61118d565b6103cb611198565b6103fc6004803603602081101561051257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166111b4565b6103fc6004803603602081101561054557600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166111c6565b6103fc6004803603602081101561057857600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166111d8565b6102ba611473565b6103a7600480360360408110156105b357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356114eb565b6103cb6114f8565b6103fc611514565b6103fc61151a565b61049f6004803603602081101561060457600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611520565b6103cb6116a3565b6103cb6116bf565b6103cb6116d7565b61049f600480360360e081101561064f57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c001356116f3565b6103fc600480360360408110156106ad57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516611737565b6102ba611754565b6103cb61178d565b61049f600480360360c08110156106f857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602081013582169160408201358116916060810135821691608082013581169160a00135166117a9565b61049f611a37565b61049f612042565b6000805460408051602060026001851615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f810184900484028201840190925281815292918301828280156107f15780601f106107c6576101008083540402835291602001916107f1565b820191906000526020600020905b8154815290600101906020018083116107d457829003601f168201915b505050505081565b6000806000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561086657600080fd5b505afa15801561087a573d6000803e3d6000fd5b505050506040513d606081101561089057600080fd5b50805160208201516040909201516003549195509193509091506108b357610a3a565b600a54600854604080517f18160ddd000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff16916318160ddd916004808301926020929190829003018186803b15801561092157600080fd5b505afa158015610935573d6000803e3d6000fd5b505050506040513d602081101561094b57600080fd5b5051905061098761098282610976856dffffffffffffffffffffffffffff8a1663ffffffff6120e316565b9063ffffffff61215d16565b61219f565b94506109b061098282610976856dffffffffffffffffffffffffffff891663ffffffff6120e316565b93506064856dffffffffffffffffffffffffffff161180156109e257506064846dffffffffffffffffffffffffffff16115b610a37576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806138716024913960400191505060405180910390fd5b50505b909192565b6000610a4c338484612226565b5060015b92915050565b600181565b600e5473ffffffffffffffffffffffffffffffffffffffff1681565b60035481565b73831753dd7087cac61ab5644b308642cc1c33dc1381565b73ffffffffffffffffffffffffffffffffffffffff831660009081526005602090815260408083203384529091528120547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff14610b9457604080518082018252601e81527f496d7065726d61783a205452414e534645525f4e4f545f414c4c4f574544000060208083019190915273ffffffffffffffffffffffffffffffffffffffff87166000908152600582528381203382529091529190912054610b6291849063ffffffff61229516565b73ffffffffffffffffffffffffffffffffffffffff851660009081526005602090815260408083203384529091529020555b610b9f848484612346565b5060019392505050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b60025460ff1681565b60065481565b600354600a5460009190811580610bf1575080155b15610c0857670de0b6b3a764000092505050610c29565b610c248261097683670de0b6b3a764000063ffffffff6120e316565b925050505b90565b600b5460009060ff16610ca057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f496d7065726d61783a205245454e544552454400000000000000000000000000604482015290519081900360640190fd5b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055333214610cd457600080fd5b610cdc61245f565b9050600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905590565b60095473ffffffffffffffffffffffffffffffffffffffff1615610d9157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f496d7065726d61783a20464143544f52595f414c52454144595f534554000000604482015290519081900360640190fd5b600980547fffffffffffffffffffffffff00000000000000000000000000000000000000001633179055565b600854604080517f5909c0d5000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff1691635909c0d5916004808301926020929190829003018186803b158015610e2857600080fd5b505afa158015610e3c573d6000803e3d6000fd5b505050506040513d6020811015610e5257600080fd5b5051905090565b600854604080517f5a3d5493000000000000000000000000000000000000000000000000000000008152905160009273ffffffffffffffffffffffffffffffffffffffff1691635a3d5493916004808301926020929190829003018186803b158015610e2857600080fd5b600b54610100900473ffffffffffffffffffffffffffffffffffffffff1681565b600b5460009060ff16610f5957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f496d7065726d61783a205245454e544552454400000000000000000000000000604482015290519081900360640190fd5b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055600854600090610fa69073ffffffffffffffffffffffffffffffffffffffff1661251b565b9050600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a694fc3a826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561101d57600080fd5b505af1158015611031573d6000803e3d6000fd5b50505050611058611040610bdc565b61097683670de0b6b3a764000063ffffffff6120e316565b91506003546000141561108657611077826103e863ffffffff6125bd16565b915061108660006103e86125ff565b600082116110f557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5374616b65644c50546f6b656e3a204d494e545f414d4f554e545f5a45524f00604482015290519081900360640190fd5b6110ff83836125ff565b6040805182815260208101849052815173ffffffffffffffffffffffffffffffffffffffff86169233927f2f00e3cdd69a77be7ed215ec7b2a36784dd158f921fca79ac29deffa353fe6ee929081900390910190a35061115d6126b0565b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055919050565b66470de4df82000081565b60085473ffffffffffffffffffffffffffffffffffffffff1681565b60046020526000908152604090205481565b60076020526000908152604090205481565b600b5460009060ff1661124c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f496d7065726d61783a205245454e544552454400000000000000000000000000604482015290519081900360640190fd5b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055306000908152600460205260409020546112a8670de0b6b3a764000061097661129b610bdc565b849063ffffffff6120e316565b915060008211611303576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806138956021913960400191505060405180910390fd5b600a5482111561137457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f5374616b65644c50546f6b656e3a20494e53554646494349454e545f43415348604482015290519081900360640190fd5b61137e308261278a565b600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d836040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156113f357600080fd5b505af1158015611407573d6000803e3d6000fd5b50505050611415838361284e565b6040805183815260208101839052815173ffffffffffffffffffffffffffffffffffffffff86169233927f3f693fff038bb8a046aa76d9516190ac7444f7d69cf952c4cbdc086fdef2d6fc929081900390910190a35061115d6126b0565b60018054604080516020600284861615610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190941693909304601f810184900484028201840190925281815292918301828280156107f15780601f106107c6576101008083540402835291602001916107f1565b6000610a4c338484612346565b600d5473ffffffffffffffffffffffffffffffffffffffff1681565b600a5481565b6103e881565b600b5460ff1661159157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f496d7065726d61783a205245454e544552454400000000000000000000000000604482015290519081900360640190fd5b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055600a54600854604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905161167593859361167093919273ffffffffffffffffffffffffffffffffffffffff909116916370a08231916024808301926020929190829003018186803b15801561163857600080fd5b505afa15801561164c573d6000803e3d6000fd5b505050506040513d602081101561166257600080fd5b50519063ffffffff6125bd16565b61284e565b50600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b60095473ffffffffffffffffffffffffffffffffffffffff1681565b73f28164a485b0b2c90639e47b0f377b4a438a16b181565b600f5473ffffffffffffffffffffffffffffffffffffffff1681565b611723878787878787877f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9612a5a565b61172e878787612226565b50505050505050565b600560209081526000928352604080842090915290825290205481565b6040518060400160405280600281526020017f303400000000000000000000000000000000000000000000000000000000000081525081565b600c5473ffffffffffffffffffffffffffffffffffffffff1681565b60095473ffffffffffffffffffffffffffffffffffffffff1615611818576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806139296022913960400191505060405180910390fd5b600980547fffffffffffffffffffffffff00000000000000000000000000000000000000001633179055604080518082018252601181527f5374616b656420556e69737761702056320000000000000000000000000000006020808301919091528251808401909352600b83527f53544b442d554e492d5632000000000000000000000000000000000000000000908301526118b391612cfd565b600b80547fffffffffffffffffffffff0000000000000000000000000000000000000000ff1661010073ffffffffffffffffffffffffffffffffffffffff8981169190910291909117909155600880547fffffffffffffffffffffffff000000000000000000000000000000000000000090811688841617909155600e80548216878416179055600f80548216868416179055600c80548216858416179055600d80549091169183169190911790556119a173f28164a485b0b2c90639e47b0f377b4a438a16b1837fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff612de1565b6119e873ffffffffffffffffffffffffffffffffffffffff8216837fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff63ffffffff612de116565b611a2f73ffffffffffffffffffffffffffffffffffffffff8616877fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff63ffffffff612de116565b505050505050565b600b5460ff16611aa857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f496d7065726d61783a205245454e544552454400000000000000000000000000604482015290519081900360640190fd5b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055333214611adc57600080fd5b6000611ae661245f565b905080611af3575061200d565b6000670de0b6b3a7640000611b158366470de4df82000063ffffffff6120e316565b81611b1c57fe5b049050611b4473f28164a485b0b2c90639e47b0f377b4a438a16b1338363ffffffff612fbe16565b73f28164a485b0b2c90639e47b0f377b4a438a16b16367dfd4c9611b678261251b565b6040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015611b9d57600080fd5b505af1158015611bb1573d6000803e3d6000fd5b5050600e546000925082915073ffffffffffffffffffffffffffffffffffffffff1673831753dd7087cac61ab5644b308642cc1c33dc131480611c1f5750600f5473ffffffffffffffffffffffffffffffffffffffff1673831753dd7087cac61ab5644b308642cc1c33dc13145b15611ca757600e5473ffffffffffffffffffffffffffffffffffffffff1673831753dd7087cac61ab5644b308642cc1c33dc1314611c7c57600f54600e5473ffffffffffffffffffffffffffffffffffffffff9182169116611c9d565b600e54600f5473ffffffffffffffffffffffffffffffffffffffff91821691165b9092509050611dd0565b600d54611ce89073831753dd7087cac61ab5644b308642cc1c33dc139073ffffffffffffffffffffffffffffffffffffffff16611ce38261251b565b613194565b600d54600e5473ffffffffffffffffffffffffffffffffffffffff90811691161480611d315750600d54600f5473ffffffffffffffffffffffffffffffffffffffff9081169116145b15611d8057600d54600e5473ffffffffffffffffffffffffffffffffffffffff908116911614611c7c57600f54600e5473ffffffffffffffffffffffffffffffffffffffff9182169116611c9d565b600d54600e54611dad9173ffffffffffffffffffffffffffffffffffffffff9081169116611ce38261251b565b5050600e54600f5473ffffffffffffffffffffffffffffffffffffffff91821691165b6000611df18373ffffffffffffffffffffffffffffffffffffffff1661251b565b905060008111611dfd57fe5b600080600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b158015611e6857600080fd5b505afa158015611e7c573d6000803e3d6000fd5b505050506040513d6060811015611e9257600080fd5b508051602090910151600e546dffffffffffffffffffffffffffff92831694509116915060009073ffffffffffffffffffffffffffffffffffffffff878116911614611ede5781611ee0565b825b90506000611eee8583613411565b9050611efb878783613194565b6000611f368888611f12898663ffffffff6125bd16565b611f318b73ffffffffffffffffffffffffffffffffffffffff1661251b565b61349e565b9050600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a694fc3a826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015611fad57600080fd5b505af1158015611fc1573d6000803e3d6000fd5b5050604080518d8152602081018d905281513394507fc003f45bc224d116b6d079100d4ab57a5b9633244c47a5a92a176c5b79a85f2893509081900390910190a2505050505050505050505b6120156126b0565b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b600b5460ff166120b357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f496d7065726d61783a205245454e544552454400000000000000000000000000604482015290519081900360640190fd5b600b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690556120156126b0565b6000826120f257506000610a50565b828202828482816120ff57fe5b0414612156576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806139086021913960400191505060405180910390fd5b9392505050565b600061215683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613594565b60006e010000000000000000000000000000821061221e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f5374616b65644c50546f6b656e3a205341464531313200000000000000000000604482015290519081900360640190fd5b50805b919050565b73ffffffffffffffffffffffffffffffffffffffff808416600081815260056020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6000818484111561233e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156123035781810151838201526020016122eb565b50505050905090810190601f1680156123305780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b604080518082018252601b81527f496d7065726d61783a205452414e534645525f544f4f5f48494748000000000060208083019190915273ffffffffffffffffffffffffffffffffffffffff86166000908152600490915291909120546123b491839063ffffffff61229516565b73ffffffffffffffffffffffffffffffffffffffff80851660009081526004602052604080822093909355908416815220546123f6908263ffffffff61361316565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526004602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633d18b9126040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156124cb57600080fd5b505af11580156124df573d6000803e3d6000fd5b5050505061251673f28164a485b0b2c90639e47b0f377b4a438a16b173ffffffffffffffffffffffffffffffffffffffff1661251b565b905090565b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905160009173ffffffffffffffffffffffffffffffffffffffff8416916370a0823191602480820192602092909190829003018186803b15801561258b57600080fd5b505afa15801561259f573d6000803e3d6000fd5b505050506040513d60208110156125b557600080fd5b505192915050565b600061215683836040518060400160405280601f81526020017f536166654d6174683a207375627472616374696f6e20756e646572666c6f7700815250612295565b600354612612908263ffffffff61361316565b60035573ffffffffffffffffffffffffffffffffffffffff821660009081526004602052604090205461264b908263ffffffff61361316565b73ffffffffffffffffffffffffffffffffffffffff831660008181526004602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600b54604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905161010090920473ffffffffffffffffffffffffffffffffffffffff16916370a0823191602480820192602092909190829003018186803b15801561272557600080fd5b505afa158015612739573d6000803e3d6000fd5b505050506040513d602081101561274f57600080fd5b5051600a81905560408051918252517f8a0df8ef054fae2c3d2d19a7b322e864870cc9fd3cb07fb9526309c596244bf49181900360200190a1565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600460205260409020546127c0908263ffffffff6125bd16565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600460205260409020556003546127f9908263ffffffff6125bd16565b60035560408051828152905160009173ffffffffffffffffffffffffffffffffffffffff8516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600854604080518082018252601981527f7472616e7366657228616464726573732c75696e743235362900000000000000602091820152815173ffffffffffffffffffffffffffffffffffffffff86811660248301526044808301879052845180840390910181526064909201845291810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001781529251815160009560609594169382918083835b6020831061295457805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101612917565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146129b6576040519150601f19603f3d011682016040523d82523d6000602084013e6129bb565b606091505b50915091508180156129e95750805115806129e957508080602001905160208110156129e657600080fd5b50515b612a5457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f496d7065726d61783a205452414e534645525f4641494c454400000000000000604482015290519081900360640190fd5b50505050565b42851015612ac957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496d7065726d61783a2045585049524544000000000000000000000000000000604482015290519081900360640190fd5b60065473ffffffffffffffffffffffffffffffffffffffff808a1660008181526007602090815260408083208054600180820190925582518085018a905280840196909652958e166060860152608085018d905260a085019590955260c08085018c90528151808603909101815260e0850182528051908301207f19010000000000000000000000000000000000000000000000000000000000006101008601526101028501969096526101228085019690965280518085039096018652610142840180825286519683019690962095839052610162840180825286905260ff8a166101828501526101a284018990526101c28401889052519193926101e2808201937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081019281900390910190855afa158015612c0b573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0015191505073ffffffffffffffffffffffffffffffffffffffff811615801590612c8657508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b612cf157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f496d7065726d61783a20494e56414c49445f5349474e41545552450000000000604482015290519081900360640190fd5b50505050505050505050565b8151612d109060009060208501906137d8565b508051612d249060019060208401906137d8565b5060405146908060526138b682396040805191829003605201822086516020978801208383018352600184527f310000000000000000000000000000000000000000000000000000000000000093880193909352815180880191909152808201929092527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6606083015260808201939093523060a0808301919091528351808303909101815260c090910190925250805192019190912060065550565b6040805173ffffffffffffffffffffffffffffffffffffffff8481166024830152604480830185905283518084039091018152606490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f095ea7b300000000000000000000000000000000000000000000000000000000178152925182516000946060949389169392918291908083835b60208310612eb757805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101612e7a565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612f19576040519150601f19603f3d011682016040523d82523d6000602084013e612f1e565b606091505b5091509150818015612f4c575080511580612f4c5750808060200190516020811015612f4957600080fd5b50515b612fb757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f2173616665417070726f76650000000000000000000000000000000000000000604482015290519081900360640190fd5b5050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8481166024830152604480830185905283518084039091018152606490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000178152925182516000946060949389169392918291908083835b6020831061309457805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101613057565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146130f6576040519150601f19603f3d011682016040523d82523d6000602084013e6130fb565b606091505b5091509150818015613129575080511580613129575080806020019051602081101561312657600080fd5b50515b612fb757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f21736166655472616e7366657200000000000000000000000000000000000000604482015290519081900360640190fd5b604080516002808252606080830184529260208301908038833901905050905083816000815181106131c257fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050828160018151811061320a57fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505061324e8483613687565b600c546040517f38ed1739000000000000000000000000000000000000000000000000000000008152600481018481526000602483018190523060648401819052426084850181905260a060448601908152875160a4870152875173ffffffffffffffffffffffffffffffffffffffff909716966338ed1739968a968a9594939092909160c40190602080880191028083838b5b838110156132fa5781810151838201526020016132e2565b505050509050019650505050505050600060405180830381600087803b15801561332357600080fd5b505af1158015613337573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201604052602081101561337e57600080fd5b810190808051604051939291908464010000000082111561339e57600080fd5b9083019060208201858111156133b357600080fd5b82518660208202830111640100000000821117156133d057600080fd5b82525081516020918201928201910280838360005b838110156133fd5781810151838201526020016133e5565b505050509050016040525050505050505050565b6000806134266107cd8463ffffffff6120e316565b90506000613450610f946134448681896103e863ffffffff6120e316565b9063ffffffff6120e316565b9050600061347c6134778361346b868063ffffffff6120e316565b9063ffffffff61361316565b613787565b90506134946107ca610976838663ffffffff6125bd16565b9695505050505050565b60006134aa8584613687565b6134b48483613687565b600c54604080517fe8e3370000000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff88811660048301528781166024830152604482018790526064820186905260006084830181905260a483018190523060c48401524260e4840152925193169263e8e337009261010480840193606093929083900390910190829087803b15801561355c57600080fd5b505af1158015613570573d6000803e3d6000fd5b505050506040513d606081101561358657600080fd5b506040015195945050505050565b600081836135fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482018181528351602484015283519092839260449091019190850190808383600083156123035781810151838201526020016122eb565b50600083858161360957fe5b0495945050505050565b60008282018381101561215657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600c54604080517fdd62ed3e00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff92831660248201529051839285169163dd62ed3e916044808301926020929190829003018186803b15801561370057600080fd5b505afa158015613714573d6000803e3d6000fd5b505050506040513d602081101561372a57600080fd5b50511061373657613783565b600c546137839073ffffffffffffffffffffffffffffffffffffffff84811691167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff63ffffffff612de116565b5050565b600060038211156137ca575080600160028204015b818110156137c4578091506002818285816137b357fe5b0401816137bc57fe5b04905061379c565b50612221565b811561222157506001919050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061381957805160ff1916838001178555613846565b82800160010185558215613846579182015b8281111561384657825182559160200191906001019061382b565b50613852929150613856565b5090565b610c2991905b80821115613852576000815560010161385c56fe5374616b65644c50546f6b656e3a20494e53554646494349454e545f52455345525645535374616b65644c50546f6b656e3a2052454445454d5f414d4f554e545f5a45524f454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e747261637429536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775374616b65644c50546f6b656e3a20464143544f52595f414c52454144595f534554a265627a7a72315820882d5bd1ecbdcefe59960439f0c62069bf03708871ea45e94f1be33230ed68a564736f6c63430005100032
Deployed Bytecode Sourcemap
24610:7035:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24610:7035:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6938:18;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;6938:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30458:736;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8621:132;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8621:132:0;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;24705:43;;;:::i;24887:21::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;7014:23;;;:::i;:::-;;;;;;;;;;;;;;;;25078:74;;;:::i;8887:299::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8887:299:0;;;;;;;;;;;;;;;;;;:::i;9863:108::-;;;:::i;6984:26::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;7154:31;;;:::i;13995:287::-;;;:::i;28687:127::-;;;:::i;13705:130::-;;;:::i;:::-;;31197;;;:::i;31330:::-;;;:::i;24806:29::-;;;:::i;26149:584::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26149:584:0;;;;:::i;24937:49::-;;;:::i;13276:25::-;;;:::i;7041:41::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;7041:41:0;;;;:::i;7189:38::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;7189:38:0;;;;:::i;26806:562::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26806:562:0;;;;:::i;6960:20::-;;;:::i;8758:124::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8758:124:0;;;;;;;;;:::i;24864:19::-;;;:::i;13331:24::-;;;:::i;13359:45::-;;;:::i;15564:138::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15564:138:0;;;;:::i;13305:22::-;;;:::i;24993:81::-;;;:::i;24912:21::-;;;:::i;9975:235::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;9975:235:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;7086:61::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;7086:61:0;;;;;;;;;;;:::i;24752:47::-;;;:::i;24839:21::-;;;:::i;25235:662::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;25235:662:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;28820:1589::-;;;:::i;15753:47::-;;;:::i;6938:18::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;30458:736::-;30504:16;30522;30540:25;30630:10;;;;;;;;;;;30615:38;;;:40;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30615:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;30615:40:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;30615:40:0;;;;;;;;;;;30729:11;;30615:40;;-1:-1:-1;30615:40:0;;-1:-1:-1;30615:40:0;;-1:-1:-1;30725:69:0;;30747:47;;30725:69;30883:12;;30938:10;;30923:40;;;;;;;;30859:21;;30938:10;;;30923:38;;:40;;;;;;;;;;;;;;30938:10;30923:40;;;5:2:-1;;;;30:1;27;20:12;5:2;30923:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;30923:40:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;30923:40:0;;-1:-1:-1;30979:54:0;30987:45;30923:40;30987:27;:13;:27;;;;:17;:27;:::i;:::-;:31;:45;:31;:45;:::i;:::-;30979:7;:54::i;:::-;30968:65;-1:-1:-1;31049:54:0;31057:45;31089:12;31057:27;:13;:27;;;;:17;:27;:::i;31049:54::-;31038:65;;31127:3;31116:8;:14;;;:32;;;;;31145:3;31134:8;:14;;;31116:32;31108:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30458:736;;;;;;:::o;8621:132::-;8685:4;8696:36;8705:10;8717:7;8726:5;8696:8;:36::i;:::-;-1:-1:-1;8744:4:0;8621:132;;;;;:::o;24705:43::-;24744:4;24705:43;:::o;24887:21::-;;;;;;:::o;7014:23::-;;;;:::o;25078:74::-;25110:42;25078:74;:::o;8887:299::-;8980:15;;;8965:4;8980:15;;;:9;:15;;;;;;;;8996:10;8980:27;;;;;;;;9016:2;8980:39;8976:159;;9057:72;;;;;;;;;;;;;;;;;;;;:15;;;-1:-1:-1;9057:15:0;;;:9;:15;;;;;9073:10;9057:27;;;;;;;;;;:72;;9089:5;;9057:72;:31;:72;:::i;:::-;9027:15;;;;;;;:9;:15;;;;;;;;9043:10;9027:27;;;;;;;:102;8976:159;9139:26;9149:4;9155:2;9159:5;9139:9;:26::i;:::-;-1:-1:-1;9177:4:0;8887:299;;;;;:::o;9863:108::-;9905:66;9863:108;:::o;6984:26::-;;;;;;:::o;7154:31::-;;;;:::o;13995:287::-;14069:11;;14121:12;;14035:4;;14069:11;14157:17;;;:39;;-1:-1:-1;14178:18:0;;14157:39;14153:71;;;13268:4;14198:26;;;;;;14153:71;14236:41;14264:12;14236:23;:13;14254:4;14236:23;:17;:23;:::i;:41::-;14229:48;;;;13995:287;;:::o;28687:127::-;16411:11;;28739:7;;16411:11;;16403:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16451:11;:19;;;;;;28761:10;28775:9;28761:23;28753:32;;;;;;28797:12;:10;:12::i;:::-;28790:19;;16481:11;:18;;;;16495:4;16481:18;;;28687:127;:::o;13705:130::-;13750:7;;:21;:7;:21;13742:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13810:7;:20;;;;13820:10;13810:20;;;13705:130::o;31197:::-;31288:10;;31273:49;;;;;;;;31252:7;;31288:10;;;31273:47;;:49;;;;;;;;;;;;;;31288:10;31273:49;;;5:2:-1;;;;30:1;27;20:12;5:2;31273:49:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;31273:49:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;31273:49:0;;-1:-1:-1;31197:130:0;:::o;31330:::-;31421:10;;31406:49;;;;;;;;31385:7;;31421:10;;;31406:47;;:49;;;;;;;;;;;;;;31421:10;31406:49;;;5:2:-1;;;;30:1;27;20:12;24806:29:0;;;;;;;;;:::o;26149:584::-;16411:11;;26217:15;;16411:11;;16403:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16451:11;:19;;;;;;26257:10;;16465:5;;26257:22;;:10;;:20;:22::i;:::-;26239:40;;26300:14;;;;;;;;;;;26284:37;;;26322:10;26284:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;26284:49:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;26284:49:0;;;;26351:40;26376:14;:12;:14::i;:::-;26351:20;:10;26366:4;26351:20;:14;:20;:::i;:40::-;26338:53;;26401:11;;26416:1;26401:16;26398:180;;;26497:33;:10;13400:4;26497:33;:14;:33;:::i;:::-;26484:46;;26536:36;26550:1;13400:4;26536:5;:36::i;:::-;26603:1;26590:10;:14;26582:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26645:25;26651:6;26659:10;26645:5;:25::i;:::-;26680:48;;;;;;;;;;;;;;;;;;26685:10;;26680:48;;;;;;;;;;;16579:1;16585:9;:7;:9::i;:::-;16481:11;:18;;;;16495:4;16481:18;;;26149:584;;-1:-1:-1;26149:584:0:o;24937:49::-;24979:7;24937:49;:::o;13276:25::-;;;;;;:::o;7041:41::-;;;;;;;;;;;;;:::o;7189:38::-;;;;;;;;;;;;;:::o;26806:562::-;16411:11;;26878:17;;16411:11;;16403:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16451:11;:19;;;;;;26940:4;16465:5;26922:24;;;:9;:24;;;;;;26966:42;27003:4;26966:32;26983:14;:12;:14::i;:::-;26966:12;;:32;:16;:32;:::i;:42::-;26951:57;;27038:1;27023:12;:16;27015:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27106:12;;27090;:28;;27082:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27160:34;27174:4;27181:12;27160:5;:34::i;:::-;27215:14;;;;;;;;;;;27199:40;;;27240:12;27199:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;27199:54:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;27199:54:0;;;;27258:37;27272:8;27282:12;27258:13;:37::i;:::-;27305:56;;;;;;;;;;;;;;;;;;27312:10;;27305:56;;;;;;;;;;;16579:1;16585:9;:7;:9::i;6960:20::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8758:124;8818:4;8829:32;8839:10;8851:2;8855:5;8829:9;:32::i;24864:19::-;;;;;;:::o;13331:24::-;;;;:::o;13359:45::-;13400:4;13359:45;:::o;15564:138::-;16411:11;;;;16403:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16451:11;:19;;;;;;15683:12;;15642:10;;15635:43;;;;;;15672:4;15635:43;;;;;;15617:80;;15631:2;;15635:61;;15683:12;;15642:10;;;;;15635:28;;:43;;;;;;;;;;;;;;15642:10;15635:43;;;5:2:-1;;;;30:1;27;20:12;5:2;15635:43:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;15635:43:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15635:43:0;;:61;:47;:61;:::i;:::-;15617:13;:80::i;:::-;-1:-1:-1;16481:11:0;:18;;;;16495:4;16481:18;;;15564:138::o;13305:22::-;;;;;;:::o;24993:81::-;25032:42;24993:81;:::o;24912:21::-;;;;;;:::o;9975:235::-;10095:74;10111:5;10118:7;10127:5;10134:8;10144:1;10147;10150;9905:66;10095:15;:74::i;:::-;10174:31;10183:5;10190:7;10199:5;10174:8;:31::i;:::-;9975:235;;;;;;;:::o;7086:61::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;24752:47::-;;;;;;;;;;;;;;;;;;;:::o;24839:21::-;;;;;;:::o;25235:662::-;25412:7;;:21;:7;:21;25404:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25497:7;:20;;;;25507:10;25497:20;;;25522:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:8;:44::i;:::-;25571:14;:32;;;;;;;;;;;;;;;;;;;;25608:10;:24;;;;;;;;;;;;;25637:6;:16;;;;;;;;;;25658:6;:16;;;;;;;;;;25679:6;:16;;;;;;;;;;25700:4;:12;;;;;;;;;;;;;;25717:55;25032:42;25679:16;-1:-1:-1;25717:24:0;:55::i;:::-;25777:48;:17;;;25803:7;25821:2;25777:48;:17;:48;:::i;:::-;25830:62;:23;;;25862:15;25888:2;25830:62;:23;:62;:::i;:::-;25235:662;;;;;;:::o;28820:1589::-;16411:11;;;;16403:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16451:11;:19;;;;;;28882:10;28896:9;28882:23;28874:32;;;;;;28948:14;28965:12;:10;:12::i;:::-;28948:29;-1:-1:-1;28986:11:0;28982:24;;28999:7;;;28982:24;29057:14;29104:4;29074:27;:6;24979:7;29074:27;:10;:27;:::i;:::-;:34;;;;;;;-1:-1:-1;29113:45:0;25032:42;29139:10;29074:34;29113:45;:25;:45;:::i;:::-;25032:42;29186:31;29218:24;25032:42;29218:22;:24::i;:::-;29186:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;29186:57:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;29354:6:0;;29312:14;;-1:-1:-1;29312:14:0;;-1:-1:-1;29354:15:0;:6;25110:42;29354:15;;:34;;-1:-1:-1;29373:6:0;;:15;:6;25110:42;29373:15;29354:34;29350:452;;;29415:6;;:15;:6;25110:42;29415:15;:53;;29453:6;;29461;;29453;;;;;29461;29415:53;;;29434:6;;29442;;29434;;;;;29442;29415:53;29396:72;;-1:-1:-1;29396:72:0;-1:-1:-1;29350:452:0;;;29521:4;;29489:56;;25110:42;;29521:4;;29527:17;25110:42;29527:15;:17::i;:::-;29489:24;:56::i;:::-;29565:4;;29555:6;;29565:4;29555:6;;;29565:4;;29555:14;;:32;;-1:-1:-1;29583:4:0;;29573:6;;29583:4;29573:6;;;29583:4;;29573:14;29555:32;29551:246;;;29626:4;;29616:6;;29626:4;29616:6;;;29626:4;;29616:14;:52;;29653:6;;29661;;29653;;;;;29661;29616:52;;29551:246;29717:4;;29723:6;;29692:56;;29717:4;;;;;29723:6;29731:16;29717:4;29731:14;:16::i;29692:56::-;-1:-1:-1;;29775:6:0;;29783;;29775;;;;;29783;29551:246;29855:20;29878:18;:6;:16;;;:18::i;:::-;29855:41;;29923:1;29908:12;:16;29901:24;;;;29931:10;29943;29973;;;;;;;;;;;29958:38;;;:40;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;29958:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;29958:40:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;29958:40:0;;;;;;;30032:6;;29930:68;;;;;-1:-1:-1;29930:68:0;;;-1:-1:-1;30003:16:0;;30032:6;30022:16;;;30032:6;;30022:16;:26;;30046:2;30022:26;;;30041:2;30022:26;30003:45;;30053:18;30074:40;30091:12;30105:8;30074:16;:40::i;:::-;30053:61;;30119:52;30144:6;30152;30160:10;30119:24;:52::i;:::-;30176:17;30196:78;30209:6;30217;30225:28;:12;30242:10;30225:28;:16;:28;:::i;:::-;30255:18;:6;:16;;;:18::i;:::-;30196:12;:78::i;:::-;30176:98;;30326:14;;;;;;;;;;;30310:37;;;30348:9;30310:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30310:48:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;30368:36:0;;;;;;;;;;;;;;30377:10;;-1:-1:-1;30368:36:0;;-1:-1:-1;30368:36:0;;;;;;;;;16579:1;;;;;;;;;;;16585:9;:7;:9::i;:::-;16481:11;:18;;;;16495:4;16481:18;;;28820:1589::o;15753:47::-;16411:11;;;;16403:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16451:11;:19;;;;;;16585:9;:7;:9::i;2785:471::-;2843:7;3088:6;3084:47;;-1:-1:-1;3118:1:0;3111:8;;3084:47;3155:5;;;3159:1;3155;:5;:1;3179:5;;;;;:10;3171:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3247:1;2785:471;-1:-1:-1;;;2785:471:0:o;4443:132::-;4501:7;4528:39;4532:1;4535;4528:39;;;;;;;;;;;;;;;;;:3;:39::i;31493:149::-;31541:7;31573:6;31569:1;:10;31561:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31632:1:0;31493:149;;;;:::o;8226:154::-;8301:16;;;;;;;;:9;:16;;;;;;;;:25;;;;;;;;;;;;;:33;;;8344:31;;;;;;;;;;;;;;;;;8226:154;;;:::o;2350:192::-;2436:7;2472:12;2464:6;;;;2456:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2456:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2508:5:0;;;2350:192::o;8385:231::-;8474:57;;;;;;;;;;;;;;;;;;;;:15;;;-1:-1:-1;8474:15:0;;;:9;:15;;;;;;;;:57;;8494:5;;8474:57;:19;:57;:::i;:::-;8456:15;;;;;;;;:9;:15;;;;;;:75;;;;8552:13;;;;;;;:24;;8570:5;8552:24;:17;:24;:::i;:::-;8536:13;;;;;;;;:9;:13;;;;;;;;;:40;;;;8586:25;;;;;;;8536:13;;8586:25;;;;;;;;;;;;;8385:231;;;:::o;28543:138::-;28583:7;28613:14;;;;;;;;;;;28597:41;;;:43;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;28597:43:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;28597:43:0;;;;28652:24;25032:42;28652:22;;;:24::i;:::-;28645:31;;28543:138;:::o;22094:::-;22178:46;;;;;;22218:4;22178:46;;;;;;22151:7;;22178:31;;;;;;:46;;;;;;;;;;;;;;;:31;:46;;;5:2:-1;;;;30:1;27;20:12;5:2;22178:46:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;22178:46:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22178:46:0;;22094:138;-1:-1:-1;;22094:138:0:o;1924:137::-;1982:7;2009:44;2013:1;2016;2009:44;;;;;;;;;;;;;;;;;:3;:44::i;7848:180::-;7915:11;;:22;;7931:5;7915:22;:15;:22;:::i;:::-;7901:11;:36;7958:13;;;;;;;:9;:13;;;;;;:24;;7976:5;7958:24;:17;:24;:::i;:::-;7942:13;;;;;;;:9;:13;;;;;;;;:40;;;;7992:31;;;;;;;7942:13;;;;7992:31;;;;;;;;;;7848:180;;:::o;25938:137::-;26002:14;;25986:56;;;;;;26036:4;25986:56;;;;;;26002:14;;;;;;;25986:41;;:56;;;;;;;;;;;;;;;26002:14;25986:56;;;5:2:-1;;;;30:1;27;20:12;5:2;25986:56:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;25986:56:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25986:56:0;25971:12;:71;;;26052:18;;;;;;;;;;;;25986:56;26052:18;;;25938:137::o;8033:188::-;8106:15;;;;;;;:9;:15;;;;;;:26;;8126:5;8106:26;:19;:26;:::i;:::-;8088:15;;;;;;;:9;:15;;;;;:44;8151:11;;:22;;8167:5;8151:22;:15;:22;:::i;:::-;8137:11;:36;8183:33;;;;;;;;8206:1;;8183:33;;;;;;;;;;;;;8033:188;;:::o;15998:264::-;16096:10;;15958:34;;;;;;;;;;;;;;;;;16112:44;;16096:10;16112:44;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;16112:44:0;;;;;;25:18:-1;;;61:17;;16112:44:0;182:15:-1;16112:44:0;179:29:-1;160:49;;16096:61:0;;;;16061:12;;16075:17;;16096:10;;;:61;;;;25:18:-1;36:153;66:2;61:3;58:11;36:153;;176:10;;164:23;;139:12;;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;16096:61:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;16060:97:0;;;;16170:7;:57;;;;-1:-1:-1;16182:11:0;;:16;;:44;;;16213:4;16202:24;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;16202:24:0;16182:44;16162:95;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15998:264;;;;:::o;9192:564::-;9359:15;9347:8;:27;;9339:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9473:16;;9550:13;;;;9401:14;9550:13;;;:6;:13;;;;;;;;:15;;;;;;;;;9506:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;9506:70:0;;;;;9496:81;;;;;;9433:150;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;9433:150:0;;;;;;9418:170;;;;;;;;;9620:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9401:14;;9550:15;9620:26;;;;;-1:-1:-1;9620:26:0;;;;;;;;;;9550:15;9620:26;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;9620:26:0;;;;;;-1:-1:-1;;9659:30:0;;;;;;;:59;;;9713:5;9693:25;;:16;:25;;;9659:59;9651:99;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9192:564;;;;;;;;;;:::o;7416:427::-;7492:12;;;;:4;;:12;;;;;:::i;:::-;-1:-1:-1;7509:16:0;;;;:6;;:16;;;;;:::i;:::-;-1:-1:-1;7640:95:0;;7573:7;;7640:95;;;;;;;;;;;;;;;;7742:23;;;;;;;7782:10;;;;;;;;;;;;;;;;7623:210;;;;;;;;;;;;;;;;7772:21;7623:210;;;;;;;;;;;7822:4;7623:210;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;7623:210:0;;;;;;;-1:-1:-1;7608:230:0;;;;;;;;7589:16;:249;-1:-1:-1;7416:427:0:o;22391:343::-;22587:45;;;22576:10;22587:45;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;22587:45:0;;;;;;;25:18:-1;;61:17;;96:58;182:15;22587:45:0;179:29:-1;160:49;;22576:57:0;;;;22541:12;;22555:17;;22576:10;;;;22587:45;22576:57;;;25:18:-1;22576:57:0;;25:18:-1;36:153;66:2;61:3;58:11;36:153;;176:10;;164:23;;139:12;;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;22576:57:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;22540:93:0;;;;22652:7;:57;;;;-1:-1:-1;22664:11:0;;:16;;:44;;;22695:4;22684:24;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22684:24:0;22664:44;22644:82;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22391:343;;;;;:::o;22742:346::-;22940:45;;;22929:10;22940:45;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;22940:45:0;;;;;;;25:18:-1;;61:17;;96:58;182:15;22940:45:0;179:29:-1;160:49;;22929:57:0;;;;22894:12;;22908:17;;22929:10;;;;22940:45;22929:57;;;25:18:-1;22929:57:0;;25:18:-1;36:153;66:2;61:3;58:11;36:153;;176:10;;164:23;;139:12;;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;22929:57:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;22893:93:0;;;;23005:7;:57;;;;-1:-1:-1;23017:11:0;;:16;;:44;;;23048:4;23037:24;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23037:24:0;23017:44;22997:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27876:335;27999:16;;;28013:1;27999:16;;;27975:21;27999:16;;;;;27975:21;27999:16;;;;;105:10:-1;27999:16:0;88:34:-1;136:17;;-1:-1;27999:16:0;27975:40;;28038:7;28020:4;28025:1;28020:7;;;;;;;;;;;;;:26;;;;;;;;;;;28069:8;28051:4;28056:1;28051:7;;;;;;;;;;;;;:27;;;;;;;;;;;28083:30;28097:7;28106:6;28083:13;:30::i;:::-;28137:6;;28118:88;;;;;;;;;;;28137:6;28118:88;;;;;;28195:4;28118:88;;;;;;28202:3;28118:88;;;;;;;;;;;;;;;;;;;;;28137:6;;;;;28118:51;;28170:6;;28181:4;;28195;28202:3;28118:88;;;;;;;;;;;;;;;;28137:6;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;28118:88:0;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;28118:88:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;28118:88:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;28118:88:0;80:15:-1;;;97:9;76:31;65:43;;120:4;113:20;13:2;5:11;;2:2;;;29:1;26;19:12;2:2;28118:88:0;;;;;;;;;;;;;19:11:-1;14:3;11:20;8:2;;;44:1;41;34:12;8:2;62:21;;;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;219:3;213:10;331:9;325:2;311:12;307:21;289:16;285:44;282:59;261:11;247:12;244:29;233:116;230:2;;;362:1;359;352:12;230:2;373:25;;-1:-1;28118:88:0;;421:4:-1;412:14;;;;28118:88:0;;;;;412:14:-1;28118:88:0;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;28118:88:0;;;;;;;;;;;;27876:335;;;;:::o;27398:273::-;27482:7;;27508:27;27516:4;27526:8;27508:27;:17;:27;:::i;:::-;27496:39;-1:-1:-1;27540:9:0;27552:41;27588:4;27552:31;27574:8;27552:31;:7;27564:4;27552:17;:11;:17;:::i;:::-;:21;:31;:21;:31;:::i;:41::-;27540:53;-1:-1:-1;27598:9:0;27610:26;27620:15;27540:53;27620:8;27626:1;;27620:8;:5;:8;:::i;:::-;:12;:15;:12;:15;:::i;:::-;27610:9;:26::i;:::-;27598:38;-1:-1:-1;27648:18:0;27661:4;27648:8;27598:38;27654:1;27648:8;:5;:8;:::i;:18::-;27641:25;27398:273;-1:-1:-1;;;;;;27398:273:0:o;28217:320::-;28323:17;28347:30;28361:6;28369:7;28347:13;:30::i;:::-;28382;28396:6;28404:7;28382:13;:30::i;:::-;28452:6;;28433:99;;;;;;28452:6;28433:99;;;;;;;;;;;;;;;;;;;;;;;;;;28452:6;28433:99;;;;;;;;;;;;28521:4;28433:99;;;;28528:3;28433:99;;;;;;28452:6;;;28433:39;;:99;;;;;;;;;;;;;;;;;;28452:6;28433:99;;;5:2:-1;;;;30:1;27;20:12;5:2;28433:99:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;28433:99:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;28433:99:0;;;;28217:320;-1:-1:-1;;;;;28217:320:0:o;5063:345::-;5149:7;5251:12;5244:5;5236:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;5236:28:0;;5275:9;5291:1;5287;:5;;;;;;;5063:345;-1:-1:-1;;;;;5063:345:0:o;1031:181::-;1089:7;1121:5;;;1145:6;;;;1137:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27677:193;27788:6;;27749:46;;;;;;27781:4;27749:46;;;;:23;27788:6;;;27749:46;;;;;;27799:6;;27749:23;;;;;:46;;;;;;;;;;;;;;:23;:46;;;5:2:-1;;;;30:1;27;20:12;5:2;27749:46:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;27749:46:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;27749:46:0;:56;27745:69;;27807:7;;27745:69;27844:6;;27818:47;;27844:6;27818:17;;;;27844:6;27861:2;27818:47;:17;:47;:::i;:::-;27677:193;;:::o;24136:303::-;24181:6;24208:1;24204;:5;24200:232;;;-1:-1:-1;24230:1:0;24263;24259;24255:5;;:9;24279:92;24290:1;24286;:5;24279:92;;;24316:1;24312:5;;24354:1;24349;24345;24341;:5;;;;;;:9;24340:15;;;;;;24336:19;;24279:92;;;24200:232;;;;24392:6;;24388:44;;-1:-1:-1;24419:1:0;24136:303;;;:::o;24610:7035::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24610:7035:0;;;-1:-1:-1;24610:7035:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;
Swarm Source
bzzr://882d5bd1ecbdcefe59960439f0c62069bf03708871ea45e94f1be33230ed68a5
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.