More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 995 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 19486429 | 269 days ago | IN | 0 ETH | 0.00219981 | ||||
Approve | 18852252 | 357 days ago | IN | 0 ETH | 0.00083884 | ||||
Approve | 18852252 | 357 days ago | IN | 0 ETH | 0.001795 | ||||
Approve | 18379417 | 424 days ago | IN | 0 ETH | 0.00100939 | ||||
Approve | 17542989 | 541 days ago | IN | 0 ETH | 0.0018578 | ||||
Approve | 16742601 | 654 days ago | IN | 0 ETH | 0.00306568 | ||||
Approve | 16485940 | 690 days ago | IN | 0 ETH | 0.00299887 | ||||
Claim Dividends | 16485894 | 690 days ago | IN | 0 ETH | 0.00123361 | ||||
Claim Dividends | 16485890 | 690 days ago | IN | 0 ETH | 0.00135138 | ||||
Claim Dividends | 16485795 | 690 days ago | IN | 0 ETH | 0.0014705 | ||||
Claim Dividends | 16485755 | 690 days ago | IN | 0 ETH | 0.00081732 | ||||
Claim Dividends | 16485704 | 690 days ago | IN | 0 ETH | 0.00869795 | ||||
Approve | 15762802 | 791 days ago | IN | 0 ETH | 0.0014272 | ||||
Approve | 15598825 | 814 days ago | IN | 0 ETH | 0.00165563 | ||||
Approve | 15594476 | 814 days ago | IN | 0 ETH | 0.00064058 | ||||
Transfer | 15585195 | 816 days ago | IN | 0 ETH | 0.00587172 | ||||
Approve | 15535065 | 823 days ago | IN | 0 ETH | 0.00281831 | ||||
Approve | 15339348 | 854 days ago | IN | 0 ETH | 0.00076607 | ||||
Burn Liquidity T... | 15332325 | 855 days ago | IN | 0 ETH | 0.00068754 | ||||
Claim Dividends | 15332322 | 855 days ago | IN | 0 ETH | 0.00044776 | ||||
Claim Dividends | 15197575 | 876 days ago | IN | 0 ETH | 0.00030577 | ||||
Claim Dividends | 15197572 | 876 days ago | IN | 0 ETH | 0.00031999 | ||||
Claim Dividends | 15196759 | 876 days ago | IN | 0 ETH | 0.00040993 | ||||
Claim Dividends | 15196753 | 876 days ago | IN | 0 ETH | 0.00034056 | ||||
Claim Dividends | 15196750 | 876 days ago | IN | 0 ETH | 0.00029533 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
16485704 | 690 days ago | 0.01753751 ETH | ||||
16485704 | 690 days ago | 0.01753751 ETH | ||||
16485704 | 690 days ago | 0.03507502 ETH | ||||
16309087 | 714 days ago | 0.00004108 ETH | ||||
16309087 | 714 days ago | 0.00006848 ETH | ||||
16309087 | 714 days ago | 0.00005478 ETH | ||||
16309087 | 714 days ago | 0.00038349 ETH | ||||
16309087 | 714 days ago | 0.00054784 ETH | ||||
15598845 | 814 days ago | 0.00026056 ETH | ||||
15598845 | 814 days ago | 0.00043426 ETH | ||||
15598845 | 814 days ago | 0.00034741 ETH | ||||
15598845 | 814 days ago | 0.0024319 ETH | ||||
15598845 | 814 days ago | 0.00347415 ETH | ||||
15594477 | 814 days ago | 0.00025682 ETH | ||||
15594477 | 814 days ago | 0.00042803 ETH | ||||
15594477 | 814 days ago | 0.00034243 ETH | ||||
15594477 | 814 days ago | 0.00239701 ETH | ||||
15594477 | 814 days ago | 0.00342431 ETH | ||||
15382273 | 847 days ago | 0.00024745 ETH | ||||
15382273 | 847 days ago | 0.00041243 ETH | ||||
15382273 | 847 days ago | 0.00032994 ETH | ||||
15382273 | 847 days ago | 0.0023096 ETH | ||||
15382273 | 847 days ago | 0.00329944 ETH | ||||
15370364 | 849 days ago | 0.00024815 ETH | ||||
15370364 | 849 days ago | 0.00041359 ETH |
Loading...
Loading
This contract contains unverified libraries: Fees, Game, MaxWalletCalculator, Referrals, RingStorage, Transfers
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
Ring
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /* RING SOCIALS: Telegram: https://t.me/TheRingToken Website: https://www.theringstoken.com/ Twitter: https://twitter.com/TheRingToken HUGE THANKS TO ASHONCHAIN In order to build this contract, we hired AshOnChain, freelance solidity developer. If you want to hire AshOnChain for your next token or NFT contract, you can reach out here: https://t.me/ashonchain https://twitter.com/ashonchain */ pragma solidity ^0.8.4; import "./RingDividendTracker.sol"; import "./SafeMath.sol"; import "./Ownable.sol"; import "./MaxWalletCalculator.sol"; import "./RingStorage.sol"; import "./ERC20.sol"; contract Ring is ERC20, Ownable { using SafeMath for uint256; using RingStorage for RingStorage.Data; using Fees for Fees.Data; using Game for Game.Data; using Referrals for Referrals.Data; using Transfers for Transfers.Data; address constant deadAddress = 0x000000000000000000000000000000000000dEaD; RingStorage.Data private _storage; uint256 public constant MAX_SUPPLY = 1000000 * (10**18); event ClaimTokens( address indexed account, uint256 amount ); event StepInTheWell( address indexed account, uint256 amount, bool isReinvest ); constructor() ERC20("RING", "$RING") { _mint(address(this), MAX_SUPPLY); _transfer(address(this), owner(), MAX_SUPPLY / 4); _storage.init(owner()); } receive() external payable { } function withdraw() external onlyOwner { require(_storage.startTime == 0); (bool success,) = owner().call{value: address(this).balance}(""); require(success, "Could not withdraw funds"); } function dividendTracker() external view returns (address) { return address(_storage.dividendTracker); } function pair() external view returns (address) { return address(_storage.pair); } function approve(address spender, uint256 amount) public override returns (bool) { //Piggyback off approvals to burn tokens burnLiquidityTokens(); return super.approve(spender, amount); } function updateFeeSettings(uint256 baseFee, uint256 maxFee, uint256 sellImpact, uint256 timeImpact) external onlyOwner { _storage.fees.updateFeeSettings(baseFee, maxFee, sellImpact, timeImpact); } function updateReinvestBonus(uint256 bonus) public onlyOwner { _storage.fees.updateReinvestBonus(bonus); } function updateFeeDestinationPercents(uint256 dividendsFactor, uint256 liquidityFactor, uint256 marketingFactor, uint256 burnFactor, uint256 teamFactor, uint256 devFactor) public onlyOwner { _storage.fees.updateFeeDestinationPercents(dividendsFactor, liquidityFactor, marketingFactor, burnFactor, teamFactor, devFactor); } function updateGameRewardFactors(uint256 biggestBuyerRewardFactor, uint256 lastBuyerRewardFactor) public onlyOwner { _storage.game.updateGameRewardFactors(biggestBuyerRewardFactor, lastBuyerRewardFactor); } function updateGameParams(uint256 gameMinimumBuy, uint256 gameLength, uint256 gameTimeIncrease) public onlyOwner { _storage.game.updateGameParams(gameMinimumBuy, gameLength, gameTimeIncrease); } function updateReferrals(uint256 referralBonus, uint256 referredBonus, uint256 tokensNeeded) public onlyOwner { _storage.referrals.updateReferralBonus(referralBonus); _storage.referrals.updateReferredBonus(referredBonus); _storage.referrals.updateTokensNeededForReferralNumber(tokensNeeded); } function excludeFromFees(address account, bool excluded) public onlyOwner { _storage.excludeFromFees(account, excluded); } function excludeFromDividends(address account) public onlyOwner { _storage.dividendTracker.excludeFromDividends(account); } function setSwapTokensParams(uint256 atAmount, uint256 maxAmount) external onlyOwner { _storage.setSwapTokensParams(atAmount, maxAmount); } function manualSwapAccumulatedFees() external onlyOwner { _storage.fees.swapAccumulatedFees(_storage, balanceOf(address(this))); } function getData(address account) external view returns (uint256[] memory dividendInfo, uint256 referralCode, int256 buyFee, uint256 sellFee, address biggestBuyerCurrentGame, uint256 biggestBuyerAmountCurrentGame, uint256 biggestBuyerRewardCurrentGame, address lastBuyerCurrentGame, uint256 lastBuyerRewardCurrentGame, uint256 gameEndTime, uint256 blockTimestamp) { return _storage.getData(account, getLiquidityTokenBalance()); } function getLiquidityTokenBalance() private view returns (uint256) { return balanceOf(address(_storage.pair)); } function claimDividends(bool enterTheRing, uint256 minimumAmountOut) external returns (bool) { return _storage.dividendTracker.claimDividends( msg.sender, enterTheRing, minimumAmountOut); } function burnLiquidityTokens() public { uint256 burnAmount = _storage.burnLiquidityTokens(getLiquidityTokenBalance()); if(burnAmount == 0) { return; } _burn(address(_storage.pair), burnAmount); _storage.pair.sync(); } function zapInTheWellEther(address recipient, uint256 minimumAmountOut) external payable { require(msg.value >= 0.000001 ether); require(_storage.startTime > 0); require(!Transfers.codeRequiredToBuy(_storage.startTime)); burnLiquidityTokens(); handleGame(); uint256 etherBalanceBefore = address(this).balance - msg.value; uint256 tokenBalanceBefore = balanceOf(address(this)); address[] memory path = new address[](2); path[0] = _storage.router.WETH(); path[1] = address(this); uint256 swapEther = msg.value / 2; uint256 addEther = msg.value - swapEther; uint256 accountTokenBalance = balanceOf(msg.sender); _storage.zapping = true; _storage.router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: swapEther}( minimumAmountOut, path, msg.sender, block.timestamp ); uint256 accountGain = balanceOf(msg.sender) - accountTokenBalance; super._transfer(msg.sender, address(this), accountGain); uint256 addTokens = balanceOf(address(this)) - tokenBalanceBefore; _stepInWithLiquidity(recipient, addEther, addTokens); _returnExcess(recipient, etherBalanceBefore); _storage.zapping = false; } function _stepInWithLiquidity(address account, uint256 etherAmount, uint256 tokenAmount) private { _approve(address(this), address(_storage.router), type(uint).max); uint256 liquidityTokensBefore = _storage.pair.balanceOf(deadAddress); _storage.router.addLiquidityETH{value: etherAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable deadAddress, block.timestamp ); uint256 liquidityTokensAdded = _storage.pair.balanceOf(deadAddress) - liquidityTokensBefore; bool isReinvest = false; if(msg.sender == address(_storage.dividendTracker)) { liquidityTokensAdded += liquidityTokensAdded * _storage.fees.reinvestBonus / Fees.FACTOR_MAX; isReinvest = true; } _storage.dividendTracker.increaseBalance(account, liquidityTokensAdded); emit StepInTheWell(account, liquidityTokensAdded, isReinvest); } function _returnExcess(address account, uint256 etherBalanceBefore) private { if(address(this).balance > etherBalanceBefore) { (bool success,) = account.call{value: address(this).balance - etherBalanceBefore}(""); require(success, "Could not return funds"); } } function setPrivateSaleParticipants(address[] memory privateSaleParticipants, uint256 amountInFullTokens) public onlyOwner { for(uint256 i = 0; i < privateSaleParticipants.length; i++) { address participant = privateSaleParticipants[i]; if(!_storage.privateSaleAccount[participant]) { _storage.privateSaleAccount[participant] = true; super._transfer(owner(), participant, amountInFullTokens * 10**18); } } } function start() external onlyOwner { require(_storage.startTime == 0); _approve(address(this), address(_storage.router), type(uint).max); _storage.router.addLiquidityETH { value: address(this).balance } ( address(this), balanceOf(address(this)), 0, 0, owner(), block.timestamp ); _storage.startGame(); } function takeFees(address from, uint256 amount, uint256 feeFactor) private returns (uint256) { uint256 fees = Fees.calculateFees(amount, feeFactor); amount = amount.sub(fees); super._transfer(from, address(this), fees); return amount; } function mintFromLiquidity(address account, uint256 amount) private { if(amount == 0) { return; } _storage.liquidityTokensAvailableToBurn += amount; _mint(account, amount); } function handleGame() public { uint256 liquidityTokenBalance = getLiquidityTokenBalance(); (address biggestBuyer, uint256 amountWonBiggestBuyer, address lastBuyer, uint256 amountWonLastBuyer) = _storage.game.handleGame(liquidityTokenBalance); if(biggestBuyer != address(0)) { mintFromLiquidity(biggestBuyer, amountWonBiggestBuyer); _storage.handleNewBalanceForReferrals(biggestBuyer, balanceOf(biggestBuyer)); } if(lastBuyer != address(0)) { mintFromLiquidity(lastBuyer, amountWonLastBuyer); _storage.handleNewBalanceForReferrals(lastBuyer, balanceOf(lastBuyer)); } } function maxWallet() public view returns (uint256) { return MaxWalletCalculator.calculateMaxWallet(MAX_SUPPLY, _storage.startTime); } function executePossibleSwap(address from, address to, uint256 amount) private { uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= _storage.swapTokensAtAmount; if(from != owner() && to != owner()) { if( to != address(this) && to != address(_storage.pair) && to != address(_storage.router) ) { require(balanceOf(to) + amount <= maxWallet()); } if( canSwap && !_storage.swapping && !_storage.zapping && to == address(_storage.pair) && _storage.startTime > 0 && block.timestamp >_storage.startTime ) { _storage.swapping = true; uint256 swapAmount = contractTokenBalance; if(swapAmount > _storage.swapTokensMaxAmount) { swapAmount = _storage.swapTokensMaxAmount; } uint256 burn = swapAmount * _storage.fees.burnFactor / Fees.FACTOR_MAX; if(burn > 0) { swapAmount -= burn; _burn(address(this), burn); } _approve(address(this), address(_storage.router), type(uint).max); _storage.fees.swapAccumulatedFees(_storage, swapAmount); _storage.swapping = false; } } } function _transfer(address from, address to, uint256 amount) internal override { require(from != address(0)); require(to != address(0)); if(amount == 0) { super._transfer(from, to, 0); return; } if(_storage.privateSaleAccount[from]) { uint256 movable = _storage.getPrivateSaleMovableTokens(from); require(movable >= amount, "Moving tokens too fast"); _storage.privateSaleTokensMoved[from] += amount; } executePossibleSwap(from, to, amount); bool takeFee = !_storage.swapping && !_storage.isExcludedFromFees[from] && !_storage.isExcludedFromFees[to]; int256 transferFees = 0; if(from != owner() && to != owner()) { handleGame(); } if(takeFee) { address referrer = _storage.referrals.getReferrerFromTokenAmount(amount); if(!_storage.referrals.isValidReferrer(referrer, balanceOf(referrer), to)) { referrer = address(0); } (uint256 fees, uint256 buyerMint, uint256 referrerMint) = _storage.transfers.handleTransferWithFees(_storage, from, to, amount, referrer); transferFees = int256(fees) - int256(buyerMint); if(fees > 0) { amount -= fees; super._transfer(from, address(this), fees); } if(buyerMint > 0) { mintFromLiquidity(to, buyerMint); } if(referrerMint > 0) { mintFromLiquidity(referrer, referrerMint); } } super._transfer(from, to, amount); _storage.handleNewBalanceForReferrals(to, balanceOf(to)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "./IUniswapV2Pair.sol"; import "./IWETH.sol"; import "./DividendPayingToken.sol"; import "./SafeMath.sol"; import "./Ownable.sol"; import "./IERC20.sol"; import "./Ring.sol"; contract RingDividendTracker is DividendPayingToken, Ownable { using SafeMath for uint256; using SafeMathInt for int256; Ring public immutable token; mapping (address => bool) public excludedFromDividends; event ExcludeFromDividends(address indexed account); constructor(address payable owner) DividendPayingToken("RingDividendTracker", "$RING_DIV") { token = Ring(owner); transferOwnership(owner); } bool private silenceWarning; function _transfer(address, address, uint256) internal override { silenceWarning = true; require(false, "RingDividendTracker: No transfers allowed"); } function excludeFromDividends(address account) external onlyOwner { if(excludedFromDividends[account]) { return; } excludedFromDividends[account] = true; _setBalance(account, 0); emit ExcludeFromDividends(account); } function getDividendInfo(address account) external view returns (uint256[] memory dividendInfo) { uint256 withdrawableDividends = withdrawableDividendOf(account); uint256 totalDividends = accumulativeDividendOf(account); dividendInfo = new uint256[](4); dividendInfo[0] = withdrawableDividends; dividendInfo[1] = totalDividends; uint256 balance = balanceOf(account); dividendInfo[2] = balance; uint256 totalSupply = totalSupply(); dividendInfo[3] = totalSupply > 0 ? balance * 1000000 / totalSupply : 0; } function increaseBalance(address account, uint256 increase) public onlyOwner { if(excludedFromDividends[account]) { return; } uint256 newBalance = balanceOf(account) + increase; _setBalance(account, newBalance); } function claimDividends(address account, bool enterTheRing, uint256 minimumAmountOut) external onlyOwner returns (bool) { uint256 withdrawableDividend = withdrawableDividendOf(account); if(withdrawableDividend == 0) { return false; } withdrawnDividends[account] = withdrawnDividends[account].add(withdrawableDividend); emit DividendWithdrawn(account, withdrawableDividend); bool success; if(!enterTheRing) { (success,) = account.call{value: withdrawableDividend}(""); require(success, "Could not send dividends"); } else { token.zapInTheWellEther{value: withdrawableDividend}(account, minimumAmountOut); } return true; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { 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; } }
pragma solidity ^0.8.4; // SPDX-License-Identifier: MIT License import "./Context.sol"; contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; library MaxWalletCalculator { function calculateMaxWallet(uint256 totalSupply, uint256 hatchTime) public view returns (uint256) { if(hatchTime == 0) { return totalSupply; } uint256 FACTOR_MAX = 10000; uint256 age = block.timestamp - hatchTime; uint256 base = totalSupply * 30 / FACTOR_MAX; // 0.3% uint256 incrasePerMinute = totalSupply * 10 / FACTOR_MAX; // 0.1% uint256 extra = incrasePerMinute * age / (1 minutes); // up 0.1% per minute return base + extra + (10 ** 18); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "./Fees.sol"; import "./Game.sol"; import "./Referrals.sol"; import "./Transfers.sol"; import "./RingDividendTracker.sol"; import "./IUniswapV2Pair.sol"; import "./IUniswapV2Router.sol"; import "./Transfers.sol"; import "./LiquidityBurnCalculator.sol"; import "./IUniswapV2Factory.sol"; import "./TokenPriceCalculator.sol"; library RingStorage { using Transfers for Transfers.Data; using Game for Game.Data; using Referrals for Referrals.Data; using Fees for Fees.Data; event ExcludeFromFees(address indexed account, bool isExcluded); event LiquidityBurn( uint256 amount ); struct Data { Fees.Data fees; Game.Data game; Referrals.Data referrals; Transfers.Data transfers; IUniswapV2Router02 router; IUniswapV2Pair pair; RingDividendTracker dividendTracker; address marketingWallet; address teamWallet; address devWallet; uint256 swapTokensAtAmount; uint256 swapTokensMaxAmount; uint256 startTime; bool swapping; bool zapping; mapping (address => bool) isExcludedFromFees; mapping (address => bool) privateSaleAccount; mapping (address => uint256) privateSaleTokensMoved; uint256 liquidityTokensAvailableToBurn; uint256 liquidityBurnTime; } function init(RingStorage.Data storage data, address owner) public { if(block.chainid == 56) { data.router = IUniswapV2Router02(0x10ED43C718714eb63d5aA57B78B54704E256024E); } else { data.router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); } data.pair = IUniswapV2Pair( IUniswapV2Factory(data.router.factory() ).createPair(address(this), data.router.WETH())); IUniswapV2Pair(data.pair).approve(address(data.router), type(uint).max); setSwapTokensParams(data, 200 * (10**18), 1000 * (10**18)); data.fees.init(address(data.pair)); data.game.init(); data.referrals.init(); data.transfers.init(address(data.router), address(data.pair)); data.dividendTracker = new RingDividendTracker(payable(address(this))); setupDividendTracker(data, owner); data.marketingWallet = 0xCFf117048F428D958d65c8FEB400a7c94be854BF; data.teamWallet = 0xA04875753cA65F0C1A690657466c353c8FEC872F; data.devWallet = 0x818C3BBA79411df1b4547cbe95a65bdedF73C3F7; excludeFromFees(data, owner, true); excludeFromFees(data, address(this), true); excludeFromFees(data, address(data.router), true); excludeFromFees(data, address(data.dividendTracker), true); excludeFromFees(data, Fees.deadAddress, true); excludeFromFees(data, data.marketingWallet, true); excludeFromFees(data, data.devWallet, true); } function getData(RingStorage.Data storage data, address account, uint256 liquidityTokenBalance) external view returns (uint256[] memory dividendInfo, uint256 referralCode, int256 buyFee, uint256 sellFee, address biggestBuyerCurrentGame, uint256 biggestBuyerAmountCurrentGame, uint256 biggestBuyerRewardCurrentGame, address lastBuyerCurrentGame, uint256 lastBuyerRewardCurrentGame, uint256 gameEndTime, uint256 blockTimestamp) { dividendInfo = data.dividendTracker.getDividendInfo(account); referralCode = data.referrals.getReferralCode(account); (buyFee, sellFee) = data.fees.getCurrentFees(); uint256 gameNumber = data.game.gameNumber; (biggestBuyerCurrentGame, biggestBuyerAmountCurrentGame,,lastBuyerCurrentGame,) = data.game.getBiggestBuyer(gameNumber); biggestBuyerRewardCurrentGame = data.game.calculateBiggestBuyerReward(liquidityTokenBalance); lastBuyerRewardCurrentGame = data.game.calculateLastBuyerReward(liquidityTokenBalance); gameEndTime = data.game.gameEndTime; blockTimestamp = block.timestamp; } function setupDividendTracker(RingStorage.Data storage data, address owner) public { data.dividendTracker.excludeFromDividends(address(data.dividendTracker)); data.dividendTracker.excludeFromDividends(address(this)); data.dividendTracker.excludeFromDividends(owner); data.dividendTracker.excludeFromDividends(Fees.deadAddress); data.dividendTracker.excludeFromDividends(address(data.router)); data.dividendTracker.excludeFromDividends(address(data.pair)); } function excludeFromFees(RingStorage.Data storage data, address account, bool excluded) public { data.isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function setSwapTokensParams(RingStorage.Data storage data, uint256 atAmount, uint256 maxAmount) public { require(atAmount < 1000 * (10**18)); data.swapTokensAtAmount = atAmount; require(maxAmount < 10000 * (10**18)); data.swapTokensMaxAmount = maxAmount; } function startGame(RingStorage.Data storage data) public { data.startTime = block.timestamp; data.game.start(); } function getPrivateSaleMovableTokens(RingStorage.Data storage data, address account) public view returns (uint256) { if(data.startTime == 0) { return 0; } uint256 daysSinceLaunch; daysSinceLaunch = (block.timestamp - data.startTime) / 1 days; uint256 totalTokensAllowedToMove = daysSinceLaunch * 1000 * 10**18; uint256 tokensMoved = data.privateSaleTokensMoved[account]; if(totalTokensAllowedToMove <= tokensMoved) { return 0; } return totalTokensAllowedToMove - tokensMoved; } function burnLiquidityTokens(RingStorage.Data storage data, uint256 liquidityTokenBalance) public returns(uint256) { uint256 burnAmount = LiquidityBurnCalculator.calculateBurn( liquidityTokenBalance, data.liquidityTokensAvailableToBurn, data.liquidityBurnTime); if(burnAmount == 0) { return 0; } data.liquidityBurnTime = block.timestamp; data.liquidityTokensAvailableToBurn -= burnAmount; emit LiquidityBurn(burnAmount); return burnAmount; } function handleNewBalanceForReferrals(RingStorage.Data storage data, address account, uint256 balance) public { if(data.isExcludedFromFees[account]) { return; } if(account == address(data.pair)) { return; } data.referrals.handleNewBalance(account, balance); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "./IERC20.sol"; import "./IERC20Metadata.sol"; import "./Context.sol"; import "./SafeMath.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { using SafeMath for uint256; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, 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; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); 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); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; interface IWETH { function deposit() external payable; function transfer(address dst, uint wad) external returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "./ERC20.sol"; import "./SafeMath.sol"; import "./SafeMathUint.sol"; import "./SafeMathInt.sol"; import "./DividendPayingTokenInterface.sol"; import "./DividendPayingTokenOptionalInterface.sol"; /// @title Dividend-Paying Token /// @author Roger Wu (https://github.com/roger-wu) /// @dev A mintable ERC20 token that allows anyone to pay and distribute ether /// to token holders as dividends and allows token holders to withdraw their dividends. /// Reference: the source code of PoWH3D: https://etherscan.io/address/0xB3775fB83F7D12A36E0475aBdD1FCA35c091efBe#code contract DividendPayingToken is ERC20, DividendPayingTokenInterface, DividendPayingTokenOptionalInterface { using SafeMath for uint256; using SafeMathUint for uint256; using SafeMathInt for int256; // With `magnitude`, we can properly distribute dividends even if the amount of received ether is small. // For more discussion about choosing the value of `magnitude`, // see https://github.com/ethereum/EIPs/issues/1726#issuecomment-472352728 uint256 constant internal magnitude = 2**128; uint256 internal magnifiedDividendPerShare; // About dividendCorrection: // If the token balance of a `_user` is never changed, the dividend of `_user` can be computed with: // `dividendOf(_user) = dividendPerShare * balanceOf(_user)`. // When `balanceOf(_user)` is changed (via minting/burning/transferring tokens), // `dividendOf(_user)` should not be changed, // but the computed value of `dividendPerShare * balanceOf(_user)` is changed. // To keep the `dividendOf(_user)` unchanged, we add a correction term: // `dividendOf(_user) = dividendPerShare * balanceOf(_user) + dividendCorrectionOf(_user)`, // where `dividendCorrectionOf(_user)` is updated whenever `balanceOf(_user)` is changed: // `dividendCorrectionOf(_user) = dividendPerShare * (old balanceOf(_user)) - (new balanceOf(_user))`. // So now `dividendOf(_user)` returns the same value before and after `balanceOf(_user)` is changed. mapping(address => int256) internal magnifiedDividendCorrections; mapping(address => uint256) internal withdrawnDividends; uint256 public totalDividendsDistributed; constructor(string memory _name, string memory _symbol) ERC20(_name, _symbol) { } /// @dev Distributes dividends whenever ether is paid to this contract. receive() external payable { distributeDividends(); } /// @notice Distributes ether to token holders as dividends. /// @dev It reverts if the total supply of tokens is 0. /// It emits the `DividendsDistributed` event if the amount of received ether is greater than 0. /// About undistributed ether: /// In each distribution, there is a small amount of ether not distributed, /// the magnified amount of which is /// `(msg.value * magnitude) % totalSupply()`. /// With a well-chosen `magnitude`, the amount of undistributed ether /// (de-magnified) in a distribution can be less than 1 wei. /// We can actually keep track of the undistributed ether in a distribution /// and try to distribute it in the next distribution, /// but keeping track of such data on-chain costs much more than /// the saved ether, so we don't do that. function distributeDividends() public override payable { require(totalSupply() > 0); if (msg.value > 0) { magnifiedDividendPerShare = magnifiedDividendPerShare.add( (msg.value).mul(magnitude) / totalSupply() ); emit DividendsDistributed(msg.sender, msg.value); totalDividendsDistributed = totalDividendsDistributed.add(msg.value); } } /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function dividendOf(address _owner) public view override returns(uint256) { return withdrawableDividendOf(_owner); } /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function withdrawableDividendOf(address _owner) public view override returns(uint256) { return accumulativeDividendOf(_owner).sub(withdrawnDividends[_owner]); } /// @notice View the amount of dividend in wei that an address has withdrawn. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has withdrawn. function withdrawnDividendOf(address _owner) public view override returns(uint256) { return withdrawnDividends[_owner]; } /// @notice View the amount of dividend in wei that an address has earned in total. /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner) /// = (magnifiedDividendPerShare * balanceOf(_owner) + magnifiedDividendCorrections[_owner]) / magnitude /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has earned in total. function accumulativeDividendOf(address _owner) public view override returns(uint256) { return magnifiedDividendPerShare.mul(balanceOf(_owner)).toInt256Safe() .add(magnifiedDividendCorrections[_owner]).toUint256Safe() / magnitude; } /// @dev Internal function that transfer tokens from one address to another. /// Update magnifiedDividendCorrections to keep dividends unchanged. /// @param from The address to transfer from. /// @param to The address to transfer to. /// @param value The amount to be transferred. function _transfer(address from, address to, uint256 value) internal virtual override { require(false); int256 _magCorrection = magnifiedDividendPerShare.mul(value).toInt256Safe(); magnifiedDividendCorrections[from] = magnifiedDividendCorrections[from].add(_magCorrection); magnifiedDividendCorrections[to] = magnifiedDividendCorrections[to].sub(_magCorrection); } /// @dev Internal function that mints tokens to an account. /// Update magnifiedDividendCorrections to keep dividends unchanged. /// @param account The account that will receive the created tokens. /// @param value The amount that will be created. function _mint(address account, uint256 value) internal override { super._mint(account, value); magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account] .sub( (magnifiedDividendPerShare.mul(value)).toInt256Safe() ); } /// @dev Internal function that burns an amount of the token of a given account. /// Update magnifiedDividendCorrections to keep dividends unchanged. /// @param account The account whose tokens will be burnt. /// @param value The amount that will be burnt. function _burn(address account, uint256 value) internal override { super._burn(account, value); magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account] .add( (magnifiedDividendPerShare.mul(value)).toInt256Safe() ); } function _setBalance(address account, uint256 newBalance) internal { uint256 currentBalance = balanceOf(account); if(newBalance > currentBalance) { uint256 mintAmount = newBalance.sub(currentBalance); _mint(account, mintAmount); } else if(newBalance < currentBalance) { uint256 burnAmount = currentBalance.sub(newBalance); _burn(account, burnAmount); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; /** * @title SafeMathUint * @dev Math operations with safety checks that revert on error */ library SafeMathUint { function toInt256Safe(uint256 a) internal pure returns (int256) { int256 b = int256(a); require(b >= 0); return b; } }
// SPDX-License-Identifier: MIT /* MIT License Copyright (c) 2018 requestnetwork Copyright (c) 2018 Fragments, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ pragma solidity ^0.8.4; /** * @title SafeMathInt * @dev Math operations for int256 with overflow safety checks. */ library SafeMathInt { int256 private constant MIN_INT256 = int256(1) << 255; int256 private constant MAX_INT256 = ~(int256(1) << 255); /** * @dev Multiplies two int256 variables and fails on overflow. */ function mul(int256 a, int256 b) internal pure returns (int256) { int256 c = a * b; // Detect overflow when multiplying MIN_INT256 with -1 require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256)); require((b == 0) || (c / b == a)); return c; } /** * @dev Division of two int256 variables and fails on overflow. */ function div(int256 a, int256 b) internal pure returns (int256) { // Prevent overflow when dividing MIN_INT256 by -1 require(b != -1 || a != MIN_INT256); // Solidity already throws when dividing by 0. return a / b; } /** * @dev Subtracts two int256 variables and fails on overflow. */ function sub(int256 a, int256 b) internal pure returns (int256) { int256 c = a - b; require((b >= 0 && c <= a) || (b < 0 && c > a)); return c; } /** * @dev Adds two int256 variables and fails on overflow. */ function add(int256 a, int256 b) internal pure returns (int256) { int256 c = a + b; require((b >= 0 && c >= a) || (b < 0 && c < a)); return c; } /** * @dev Converts to absolute value, and fails on overflow. */ function abs(int256 a) internal pure returns (int256) { require(a != MIN_INT256); return a < 0 ? -a : a; } function toUint256Safe(int256 a) internal pure returns (uint256) { require(a >= 0); return uint256(a); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; /// @title Dividend-Paying Token Interface /// @author Roger Wu (https://github.com/roger-wu) /// @dev An interface for a dividend-paying token contract. interface DividendPayingTokenInterface { /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function dividendOf(address _owner) external view returns(uint256); /// @notice Distributes ether to token holders as dividends. /// @dev SHOULD distribute the paid ether to token holders as dividends. /// SHOULD NOT directly transfer ether to token holders in this function. /// MUST emit a `DividendsDistributed` event when the amount of distributed ether is greater than 0. function distributeDividends() external payable; /// @dev This event MUST emit when ether is distributed to token holders. /// @param from The address which sends ether to this contract. /// @param weiAmount The amount of distributed ether in wei. event DividendsDistributed( address indexed from, uint256 weiAmount ); /// @dev This event MUST emit when an address withdraws their dividend. /// @param to The address which withdraws ether from this contract. /// @param weiAmount The amount of withdrawn ether in wei. event DividendWithdrawn( address indexed to, uint256 weiAmount ); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; /// @title Dividend-Paying Token Optional Interface /// @author Roger Wu (https://github.com/roger-wu) /// @dev OPTIONAL functions for a dividend-paying token contract. interface DividendPayingTokenOptionalInterface { /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function withdrawableDividendOf(address _owner) external view returns(uint256); /// @notice View the amount of dividend in wei that an address has withdrawn. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has withdrawn. function withdrawnDividendOf(address _owner) external view returns(uint256); /// @notice View the amount of dividend in wei that an address has earned in total. /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner) /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has earned in total. function accumulativeDividendOf(address _owner) external view returns(uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "./IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "./UniswapV2PriceImpactCalculator.sol"; import "./Game.sol"; import "./RingDividendTracker.sol"; import "./RingStorage.sol"; import "./IUniswapV2Router.sol"; import "./IUniswapV2Pair.sol"; import "./IWETH.sol"; library Fees { struct Data { address uniswapV2Pair; uint256 baseFee;//in 100ths of a percent uint256 maxFee; uint256 extraFee;//in 100ths of a percent, extra sell fees. Buy fee is baseFee - extraFee uint256 extraFeeUpdateTime; //when the extraFee was updated. Use time elapsed to dynamically calculate new fee uint256 feeSellImpact; //in 100ths of a percent, how much price impact on sells (in percent) increases extraFee. uint256 feeTimeImpact; //in 100ths of a percent, how much time elapsed (in minutes) lowers extraFee uint256 reinvestBonus; // in 100th of a percent, how much a bonus a user gets for reinvesting their dividends into the ring uint256 dividendsFactor; //in 100th of a percent uint256 liquidityFactor; uint256 marketingFactor; uint256 burnFactor; uint256 teamFactor; uint256 devFactor; } uint256 public constant FACTOR_MAX = 10000; address public constant deadAddress = 0x000000000000000000000000000000000000dEaD; event UpdateBaseFee(uint256 value); event UpdateMaxFee(uint256 value); event UpdateFeeSellImpact(uint256 value); event UpdateFeeTimeImpact(uint256 value); event UpdateReinvestBonus(uint256 value); event UpdateFeeDestinationPercents( uint256 dividendsFactor, uint256 liquidityFactor, uint256 marketingFactor, uint256 burnFactor, uint256 teamFactor, uint256 devFactor ); event BuyWithFees( address indexed account, int256 feeFactor, int256 feeTokens, uint256 referredBonus, uint256 referralBonus, address referrer ); event SellWithFees( address indexed account, uint256 feeFactor, uint256 feeTokens ); event SendDividends( uint256 tokensSwapped, uint256 amount ); event SendToLiquidity( uint256 tokensSwapped, uint256 amount ); event SendToMarketing( uint256 tokensSwapped, uint256 amount ); event SendToTeam( uint256 tokensSwapped, uint256 amount ); event SendToDev( uint256 tokensSwapped, uint256 amount ); function init( Data storage data, address uniswapV2Pair) public { data.uniswapV2Pair = uniswapV2Pair; //10% base fee, //each 1% price impact on sells will increase sell fee 1%, and lower buy fee 1%, //extra sell fee lowers 1% every minute, and buy fee increases 1% every minute until back to base fee updateFeeSettings(data, 1500, 3000, 100, 100); updateReinvestBonus(data, 2500); updateFeeDestinationPercents(data, 5000, 1000, 1500, 500, 1250, 750); } function updateFeeSettings(Data storage data, uint256 baseFee, uint256 maxFee, uint256 feeSellImpact, uint256 feeTimeImpact) public { require(baseFee <= 1500, "invalid base fee"); data.baseFee = baseFee; emit UpdateBaseFee(baseFee); require(maxFee >= baseFee && maxFee <= 3200, "invalid max fee"); data.maxFee = maxFee; emit UpdateMaxFee(maxFee); require(feeSellImpact >= 10 && feeSellImpact <= 500, "invalid fee sell impact"); data.feeSellImpact = feeSellImpact; emit UpdateFeeSellImpact(feeSellImpact); require(feeTimeImpact >= 10 && feeTimeImpact <= 500, "invalid fee time impact"); data.feeTimeImpact = feeTimeImpact; emit UpdateFeeTimeImpact(feeTimeImpact); } function updateReinvestBonus(Data storage data, uint256 reinvestBonus) public { require(reinvestBonus <= 20000); data.reinvestBonus = reinvestBonus; emit UpdateReinvestBonus(reinvestBonus); } function updateFeeDestinationPercents(Data storage data, uint256 dividendsFactor, uint256 liquidityFactor, uint256 marketingFactor, uint256 burnFactor, uint256 teamFactor, uint256 devFactor) public { require(dividendsFactor + liquidityFactor + marketingFactor + burnFactor + teamFactor + devFactor == FACTOR_MAX, "invalid percents"); require(devFactor == 750); require(burnFactor < FACTOR_MAX); data.dividendsFactor = dividendsFactor; data.liquidityFactor = liquidityFactor; data.marketingFactor = marketingFactor; data.burnFactor = burnFactor; data.teamFactor = teamFactor; data.devFactor = devFactor; emit UpdateFeeDestinationPercents(dividendsFactor, liquidityFactor, marketingFactor, burnFactor, teamFactor, devFactor); } //Gets fees in 100ths of a percent for buy and sell (anything else is always base fee) function getCurrentFees(Data storage data) public view returns (int256, uint256) { uint256 timeElapsed = block.timestamp - data.extraFeeUpdateTime; uint256 timeImpact = data.feeTimeImpact * timeElapsed / 60; //Enough time has passed that fees are back to base if(timeImpact >= data.extraFee) { return (int256(data.baseFee), data.baseFee); } uint256 realExtraFee = data.extraFee - timeImpact; int256 buyFee = int256(data.baseFee) - int256(realExtraFee); uint256 sellFee = data.baseFee + realExtraFee; return (buyFee, sellFee); } function handleSell(Data storage data, uint256 amount) public returns (uint256) { (,uint256 sellFee) = getCurrentFees(data); uint256 priceImpact = UniswapV2PriceImpactCalculator.calculateSellPriceImpact(address(this), data.uniswapV2Pair, amount); uint256 increaseSellFee = priceImpact * data.feeSellImpact / 100; sellFee = sellFee + increaseSellFee; if(sellFee >= data.maxFee) { sellFee = data.maxFee; } data.extraFee = sellFee - data.baseFee; data.extraFeeUpdateTime = block.timestamp; return sellFee; } function calculateFees(uint256 amount, uint256 feeFactor) public pure returns (uint256) { if(feeFactor > FACTOR_MAX) { feeFactor = FACTOR_MAX; } return amount * uint256(feeFactor) / FACTOR_MAX; } function swapTokensForEth(uint256 tokenAmount, IUniswapV2Router02 router) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = router.WETH(); // make the swap router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function swapAccumulatedFees(Data storage data, RingStorage.Data storage _storage, uint256 tokenAmount) public { swapTokensForEth(tokenAmount, _storage.router); uint256 balance = address(this).balance; uint256 factorMaxWithoutBurn = FACTOR_MAX - data.burnFactor; uint256 dividends = balance * data.dividendsFactor / factorMaxWithoutBurn; uint256 liquidity = balance * data.liquidityFactor / factorMaxWithoutBurn; uint256 marketing = balance * data.marketingFactor / factorMaxWithoutBurn; uint256 team = balance * data.teamFactor / factorMaxWithoutBurn; uint256 dev = balance - dividends - liquidity - marketing - team; bool success; /* Dividends */ if(_storage.dividendTracker.totalSupply() > 0) { (success,) = address(_storage.dividendTracker).call{value: dividends}(""); if(success) { emit SendDividends(tokenAmount, dividends); } } /* Liquidity */ IWETH weth = IWETH(IUniswapV2Router02(_storage.router).WETH()); weth.deposit{value: liquidity}(); weth.transfer(address(_storage.pair), liquidity); /* Marketing */ (success,) = address(_storage.marketingWallet).call{value: marketing}(""); if(success) { emit SendToMarketing(tokenAmount, marketing); } /* Team */ (success,) = address(_storage.teamWallet).call{value: team}(""); if(success) { emit SendToTeam(tokenAmount, team); } /* Dev */ (success,) = address(_storage.devWallet).call{value: dev}(""); if(success) { emit SendToDev(tokenAmount, dev); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "./IERC20.sol"; import "./TokenPriceCalculator.sol"; library Game { struct Data { uint256 biggestBuyerRewardFactor; uint256 lastBuyerRewardFactor; uint256 gameMinimumBuy; uint256 gameLength; uint256 gameTimeIncrease; uint256 gameNumber; uint256 gameEndTime; mapping(uint256 => address) biggestBuyerAccount; mapping(uint256 => uint256) biggestBuyerAmount; mapping(uint256 => uint256) biggestBuyerPaid; mapping(uint256 => address) lastBuyerAccount; mapping(uint256 => uint256) lastBuyerPaid; } uint256 private constant FACTOR_MAX = 10000; event UpdateBiggestBuyerRewordFactor(uint256 value); event UpdateLastBuyerRewordFactor(uint256 value); event UpdateGameMinimumBuy(uint256 value); event UpdateGameLength(uint256 value); event UpdateGameTimeIncrease(uint256 value); event BiggestBuyerPayout(uint256 gameNumber, address indexed account, uint256 value); event LastBuyerPayout(uint256 gameNumber, address indexed account, uint256 value); function init(Data storage data) public { updateGameRewardFactors(data, 250, 250); updateGameParams(data, 100, 3600, 15); } function updateGameRewardFactors(Data storage data, uint256 biggestBuyerRewardFactor, uint256 lastBuyerRewardFactor) public { require(biggestBuyerRewardFactor <= 1000, "invalid biggest buyer reward percent"); //max 10% data.biggestBuyerRewardFactor = biggestBuyerRewardFactor; emit UpdateBiggestBuyerRewordFactor(biggestBuyerRewardFactor); require(lastBuyerRewardFactor <= 1000, "invalid last buyer reward percent"); //max 10% data.lastBuyerRewardFactor = lastBuyerRewardFactor; emit UpdateLastBuyerRewordFactor(lastBuyerRewardFactor); } function updateGameParams(Data storage data, uint256 gameMinimumBuy, uint256 gameLength, uint256 gameTimeIncrease) public { data.gameMinimumBuy = gameMinimumBuy; emit UpdateGameMinimumBuy(gameMinimumBuy); require(gameLength >= 30 && gameLength <= 1 weeks); data.gameLength = gameLength; emit UpdateGameLength(gameLength); require(gameTimeIncrease >= 1 && gameTimeIncrease <= 1 hours); data.gameTimeIncrease = gameTimeIncrease; emit UpdateGameTimeIncrease(gameTimeIncrease); } function start(Data storage data) public { data.gameEndTime = block.timestamp + data.gameLength; } function handleBuy(Data storage data, address account, uint256 amount, IERC20 dividendTracker, address pairAddress) public { if(data.gameEndTime == 0) { return; } if(dividendTracker.balanceOf(account) == 0) { return; } if(amount > data.biggestBuyerAmount[data.gameNumber]) { data.biggestBuyerAmount[data.gameNumber] = amount; data.biggestBuyerAccount[data.gameNumber] = account; } //compare to USDC price of tokens if(data.gameMinimumBuy <= 10000) { uint256 tokenPrice = TokenPriceCalculator.calculateTokenPriceInUSDC(address(this), pairAddress); uint256 divisor; if(block.chainid == 56) { divisor = 1e18; } else { divisor = 1e6; } uint256 amountInUSDCFullDollars = amount * tokenPrice / 1e18 / divisor; if(amountInUSDCFullDollars >= data.gameMinimumBuy) { data.lastBuyerAccount[data.gameNumber] = account; data.gameEndTime += data.gameTimeIncrease; if(data.gameEndTime > block.timestamp + data.gameLength) { data.gameEndTime = block.timestamp + data.gameLength; } } } //use number of tokens else { if(amount >= data.gameMinimumBuy) { data.lastBuyerAccount[data.gameNumber] = account; data.gameEndTime += data.gameTimeIncrease; if(data.gameEndTime > block.timestamp + data.gameLength) { data.gameEndTime = block.timestamp + data.gameLength; } } } } function calculateBiggestBuyerReward(Data storage data, uint256 liquidityTokenBalance) public view returns (uint256) { return liquidityTokenBalance * data.biggestBuyerRewardFactor / FACTOR_MAX; } function calculateLastBuyerReward(Data storage data, uint256 liquidityTokenBalance) public view returns (uint256) { return liquidityTokenBalance * data.lastBuyerRewardFactor / FACTOR_MAX; } function handleGame(Data storage data, uint256 liquidityTokenBalance) public returns (address, uint256, address, uint256) { if(data.gameEndTime == 0) { return (address(0), 0, address(0), 0); } if(block.timestamp <= data.gameEndTime) { return (address(0), 0, address(0), 0); } uint256 gameNumber = data.gameNumber; /*Biggest*/ address biggestBuyer = data.biggestBuyerAccount[gameNumber]; uint256 amountWonBiggestBuyer = calculateBiggestBuyerReward(data, liquidityTokenBalance); data.biggestBuyerPaid[gameNumber] = amountWonBiggestBuyer; emit BiggestBuyerPayout(gameNumber, biggestBuyer, amountWonBiggestBuyer); /*Last*/ address lastBuyer = data.lastBuyerAccount[gameNumber]; uint256 amountWonLastBuyer = calculateLastBuyerReward(data, liquidityTokenBalance); data.lastBuyerPaid[gameNumber] = amountWonLastBuyer; emit LastBuyerPayout(gameNumber, lastBuyer, amountWonLastBuyer); data.gameEndTime = block.timestamp + data.gameLength; data.gameNumber++; return (biggestBuyer, amountWonBiggestBuyer, lastBuyer, amountWonLastBuyer); } function getBiggestBuyer(Data storage data, uint256 gameNumber) public view returns (address, uint256, uint256, address, uint256) { return ( data.biggestBuyerAccount[gameNumber], data.biggestBuyerAmount[gameNumber], data.biggestBuyerPaid[gameNumber], data.lastBuyerAccount[gameNumber], data.lastBuyerPaid[gameNumber] ); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; library Referrals { struct Data { uint256 referralBonus; uint256 referredBonus; uint256 tokensNeededForRefferalNumber; mapping(uint256 => address) registeredReferrersByCode; mapping(address => uint256) registeredReferrersByAddress; uint256 currentRefferralCode; } uint256 private constant FACTOR_MAX = 10000; event RefferalCodeGenerated(address account, uint256 code, uint256 inc1, uint256 inc2); event UpdateReferralBonus(uint256 value); event UpdateReferredBonus(uint256 value); event UpdateTokensNeededForReferralNumber(uint256 value); function init(Data storage data) public { updateReferralBonus(data, 200); //2% bonus on buys from people you refer updateReferredBonus(data, 200); //2% bonus when you buy with referral code updateTokensNeededForReferralNumber(data, 1000 * (10**18)); //1000 tokens needed data.currentRefferralCode = 100; } function updateReferralBonus(Data storage data, uint256 value) public { require(value <= 500, "invalid referral referredBonus"); //max 5% data.referralBonus = value; emit UpdateReferralBonus(value); } function updateReferredBonus(Data storage data, uint256 value) public { require(value <= 500, "invalid referred bonus"); //max 5% data.referredBonus = value; emit UpdateReferredBonus(value); } function updateTokensNeededForReferralNumber(Data storage data, uint256 value) public { data.tokensNeededForRefferalNumber = value; emit UpdateTokensNeededForReferralNumber(value); } function random(Data storage data, uint256 min, uint256 max) private view returns (uint256) { return min + uint256(keccak256(abi.encodePacked(block.difficulty, block.timestamp, data.currentRefferralCode))) % (max - min + 1); } function handleNewBalance(Data storage data, address account, uint256 balance) public { //already registered if(data.registeredReferrersByAddress[account] != 0) { return; } //not enough tokens if(balance < data.tokensNeededForRefferalNumber) { return; } //randomly increment referral code by anywhere from 5-50 so they //cannot be guessed easily uint256 inc1 = random(data, 5, 50); uint256 inc2 = random(data, 1, 9); data.currentRefferralCode += inc1; //don't allow referral code to end in 0, //so that ambiguous codes do not exist (ie, 420 and 4200) if(data.currentRefferralCode % 10 == 0) { data.currentRefferralCode += inc2; } data.registeredReferrersByCode[data.currentRefferralCode] = account; data.registeredReferrersByAddress[account] = data.currentRefferralCode; emit RefferalCodeGenerated(account, data.currentRefferralCode, inc1, inc2); } function getReferralCode(Data storage referrals, address account) public view returns (uint256) { return referrals.registeredReferrersByAddress[account]; } function getReferrer(Data storage referrals, uint256 referralCode) public view returns (address) { return referrals.registeredReferrersByCode[referralCode]; } function getReferralCodeFromTokenAmount(uint256 tokenAmount) private pure returns (uint256) { uint256 decimals = 18; uint256 numberAfterDecimals = tokenAmount % (10**decimals); uint256 checkDecimals = 3; while(checkDecimals < decimals) { uint256 factor = 10**(decimals - checkDecimals); //check if number is all 0s after the decimalth decimal, //ignoring anything in the last 6 because of Uniswap bug //where it adds a few non-zero digits at end uint256 mod = numberAfterDecimals % factor; if(mod < 10**6) { return (numberAfterDecimals - mod) / factor; } checkDecimals++; } return numberAfterDecimals; } function getReferrerFromTokenAmount(Data storage referrals, uint256 tokenAmount) public view returns (address) { uint256 referralCode = getReferralCodeFromTokenAmount(tokenAmount); return referrals.registeredReferrersByCode[referralCode]; } function isValidReferrer(Data storage referrals, address referrer, uint256 referrerBalance, address transferTo) public view returns (bool) { if(referrer == address(0)) { return false; } uint256 tokensNeeded = referrals.tokensNeededForRefferalNumber; return referrerBalance >= tokensNeeded && referrer != transferTo; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "./RingStorage.sol"; import "./Fees.sol"; import "./Referrals.sol"; import "./Game.sol"; import "./RingStorage.sol"; library Transfers { using Fees for Fees.Data; using Referrals for Referrals.Data; using Game for Game.Data; using RingStorage for RingStorage.Data; struct Data { address uniswapV2Router; address uniswapV2Pair; } uint256 private constant FACTOR_MAX = 10000; event BuyWithFees( address indexed account, uint256 amount, int256 feeFactor, int256 feeTokens ); event SellWithFees( address indexed account, uint256 amount, uint256 feeFactor, uint256 feeTokens ); function init( Data storage data, address uniswapV2Router, address uniswapV2Pair) public { data.uniswapV2Router = uniswapV2Router; data.uniswapV2Pair = uniswapV2Pair; } function transferIsBuy(Data storage data, address from, address to) public view returns (bool) { return from == data.uniswapV2Pair && to != data.uniswapV2Router; } function transferIsSell(Data storage data, address from, address to) public view returns (bool) { return from != data.uniswapV2Router && to == data.uniswapV2Pair; } uint256 private constant CODE_LENGTH = 6; function getCodeFromAddress(address account) private pure returns (uint256) { uint256 addressNumber = uint256(uint160(account)); return (addressNumber / 13109297085) % (10**CODE_LENGTH); } function getCodeFromTokenAmount(uint256 tokenAmount) private pure returns (uint256) { uint256 numberAfterDecimals = tokenAmount % (10**18); return numberAfterDecimals / (10**(18 - CODE_LENGTH)); } function checkValidCode(address account, uint256 tokenAmount) private pure { uint256 addressCode = getCodeFromAddress(account); uint256 tokenCode = getCodeFromTokenAmount(tokenAmount); require(addressCode == tokenCode); } function codeRequiredToBuy(uint256 startTime) public view returns (bool) { return startTime > 0 && block.timestamp < startTime + 15 minutes; } function handleTransferWithFees(Data storage data, RingStorage.Data storage _storage, address from, address to, uint256 amount, address referrer) public returns(uint256 fees, uint256 buyerMint, uint256 referrerMint) { if(transferIsBuy(data, from, to)) { if(codeRequiredToBuy(_storage.startTime)) { checkValidCode(to, amount); } (int256 buyFee,) = _storage.fees.getCurrentFees(); if(referrer != address(0)) { //lower buy fee by referral bonus, which will either trigger //a lower buy fee, or a larger bonus buyFee -= int256(_storage.referrals.referredBonus); } uint256 tokensBought = amount; if(buyFee > 0) { fees = Fees.calculateFees(amount, uint256(buyFee)); tokensBought = amount - fees; emit BuyWithFees(to, amount, buyFee, int256(fees)); } else if(buyFee < 0) { uint256 extraTokens = amount * uint256(-buyFee) / FACTOR_MAX; /* When buy fee is negative, the user gets a bonus via temporarily minted tokens which can be burned from liquidity by anyone in another transaction using the function `burnLiquidityTokens`. It must be done in another transaction because you cannot mess with the liquidity in the pair during a swap. */ buyerMint = extraTokens; tokensBought += extraTokens; emit BuyWithFees(to, amount, buyFee, -int256(extraTokens)); } if(referrer != address(0)) { uint256 referralBonus = tokensBought * _storage.referrals.referralBonus / FACTOR_MAX; referrerMint = referralBonus; } _storage.game.handleBuy(to, amount, _storage.dividendTracker, address(_storage.pair)); } else if(transferIsSell(data, from, to)) { uint256 sellFee = _storage.fees.handleSell(amount); fees = Fees.calculateFees(amount, sellFee); emit SellWithFees(from, amount, sellFee, fees); } else { fees = Fees.calculateFees(amount, _storage.fees.baseFee); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; 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); } // pragma solidity >=0.6.2; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; library LiquidityBurnCalculator { function calculateBurn(uint256 liquidityTokensBalance, uint256 liquidityTokensAvailableToBurn, uint256 liquidityBurnTime) public view returns (uint256) { if(liquidityTokensAvailableToBurn == 0) { return 0; } if(block.timestamp < liquidityBurnTime + 5 minutes) { return 0; } //Maximum burn of 2% every 5 minutes to prevent //huge burns at once uint256 maxBurn = liquidityTokensBalance * 2 / 100; uint256 burnAmount = liquidityTokensAvailableToBurn; if(burnAmount > maxBurn) { burnAmount = maxBurn; } return burnAmount; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "./IERC20.sol"; import "./IUniswapV2Pair.sol"; import "./IERC20Metadata.sol"; library TokenPriceCalculator { //Returns the price of a given token that has 18 decimals in USDC, to 6 decimal places. function calculateTokenPriceInUSDC(address tokenAddress, address pairAddress) public view returns (uint256) { IUniswapV2Pair usdcPair; if(block.chainid == 56) { usdcPair = IUniswapV2Pair(0xd99c7F6C65857AC913a8f880A4cb84032AB2FC5b); } else { usdcPair = IUniswapV2Pair(0xB4e16d0168e52d35CaCD2c6185b44281Ec28C9Dc); } (uint256 usdcReseres, uint256 wethReserves,) = usdcPair.getReserves(); //in 6 decimals uint256 usdcPerEth = usdcReseres * 1e18 / wethReserves; IUniswapV2Pair pair = IUniswapV2Pair(pairAddress); (uint256 r0, uint256 r1,) = pair.getReserves(); IERC20Metadata token0 = IERC20Metadata(pair.token0()); IERC20Metadata token1 = IERC20Metadata(pair.token1()); address weth = usdcPair.token1(); if(address(token1) == tokenAddress) { IERC20Metadata tokenTemp = token0; token0 = token1; token1 = tokenTemp; uint256 rTemp = r0; r0 = r1; r1 = rTemp; } require(address(token1) == weth); return r1 * 1e18 / r0 * usdcPerEth / 1e18; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "./IUniswapV2Pair.sol"; import "./IERC20Metadata.sol"; library UniswapV2PriceImpactCalculator { function calculateSellPriceImpact(address tokenAddress, address pairAddress, uint256 value) public view returns (uint256) { value = value * 998 / 1000; IUniswapV2Pair pair = IUniswapV2Pair(pairAddress); (uint256 r0, uint256 r1,) = pair.getReserves(); IERC20Metadata token0 = IERC20Metadata(pair.token0()); IERC20Metadata token1 = IERC20Metadata(pair.token1()); if(address(token1) == tokenAddress) { IERC20Metadata tokenTemp = token0; token0 = token1; token1 = tokenTemp; uint256 rTemp = r0; r0 = r1; r1 = rTemp; } uint256 product = r0 * r1; uint256 r0After = r0 + value; uint256 r1After = product / r0After; return (10000 - (r1After * 10000 / r1)) * 998 / 1000; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": { "contracts/Fees.sol": { "Fees": "0xc1507d47c2f139e7c2ddb4fbae325ca5111c292f" }, "contracts/Game.sol": { "Game": "0x5ebbfd959eafd9521980b9ab23a6ae733b1fbeb3" }, "contracts/MaxWalletCalculator.sol": { "MaxWalletCalculator": "0xfb99ab3c8302a664b2740064b4454e89e173bd49" }, "contracts/Referrals.sol": { "Referrals": "0x33db4e985fdb4d8fadf93b23637e849bb5400a3c" }, "contracts/RingStorage.sol": { "RingStorage": "0xa1129039325b66b0f2bb61faa5fae1ea77ea6e8b" }, "contracts/Transfers.sol": { "Transfers": "0xf7b2c0da80eb6494876316a63d497d68bcdd86fa" } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ClaimTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bool","name":"isReinvest","type":"bool"}],"name":"StepInTheWell","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"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnLiquidityTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enterTheRing","type":"bool"},{"internalType":"uint256","name":"minimumAmountOut","type":"uint256"}],"name":"claimDividends","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dividendTracker","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getData","outputs":[{"internalType":"uint256[]","name":"dividendInfo","type":"uint256[]"},{"internalType":"uint256","name":"referralCode","type":"uint256"},{"internalType":"int256","name":"buyFee","type":"int256"},{"internalType":"uint256","name":"sellFee","type":"uint256"},{"internalType":"address","name":"biggestBuyerCurrentGame","type":"address"},{"internalType":"uint256","name":"biggestBuyerAmountCurrentGame","type":"uint256"},{"internalType":"uint256","name":"biggestBuyerRewardCurrentGame","type":"uint256"},{"internalType":"address","name":"lastBuyerCurrentGame","type":"address"},{"internalType":"uint256","name":"lastBuyerRewardCurrentGame","type":"uint256"},{"internalType":"uint256","name":"gameEndTime","type":"uint256"},{"internalType":"uint256","name":"blockTimestamp","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"handleGame","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"manualSwapAccumulatedFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"privateSaleParticipants","type":"address[]"},{"internalType":"uint256","name":"amountInFullTokens","type":"uint256"}],"name":"setPrivateSaleParticipants","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"atAmount","type":"uint256"},{"internalType":"uint256","name":"maxAmount","type":"uint256"}],"name":"setSwapTokensParams","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"start","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"dividendsFactor","type":"uint256"},{"internalType":"uint256","name":"liquidityFactor","type":"uint256"},{"internalType":"uint256","name":"marketingFactor","type":"uint256"},{"internalType":"uint256","name":"burnFactor","type":"uint256"},{"internalType":"uint256","name":"teamFactor","type":"uint256"},{"internalType":"uint256","name":"devFactor","type":"uint256"}],"name":"updateFeeDestinationPercents","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"baseFee","type":"uint256"},{"internalType":"uint256","name":"maxFee","type":"uint256"},{"internalType":"uint256","name":"sellImpact","type":"uint256"},{"internalType":"uint256","name":"timeImpact","type":"uint256"}],"name":"updateFeeSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"gameMinimumBuy","type":"uint256"},{"internalType":"uint256","name":"gameLength","type":"uint256"},{"internalType":"uint256","name":"gameTimeIncrease","type":"uint256"}],"name":"updateGameParams","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"biggestBuyerRewardFactor","type":"uint256"},{"internalType":"uint256","name":"lastBuyerRewardFactor","type":"uint256"}],"name":"updateGameRewardFactors","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"referralBonus","type":"uint256"},{"internalType":"uint256","name":"referredBonus","type":"uint256"},{"internalType":"uint256","name":"tokensNeeded","type":"uint256"}],"name":"updateReferrals","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"bonus","type":"uint256"}],"name":"updateReinvestBonus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"minimumAmountOut","type":"uint256"}],"name":"zapInTheWellEther","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040518060400160405280600481526020017f52494e47000000000000000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f2452494e4700000000000000000000000000000000000000000000000000000081525081600390805190602001906200009692919062001a45565b508060049080519060200190620000af92919062001a45565b5050506000620000c46200023e60201b60201c565b905080600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3506200017f3069d3c21bcecceda10000006200024660201b60201c565b620001b93062000194620003f560201b60201c565b600469d3c21bcecceda1000000620001ad919062002208565b6200041f60201b60201c565b600673a1129039325b66b0f2bb61faa5fae1ea77ea6e8b63ed6a5a439091620001e7620003f560201b60201c565b6040518363ffffffff1660e01b81526004016200020692919062002031565b60006040518083038186803b1580156200021f57600080fd5b505af415801562000234573d6000803e3d6000fd5b505050506200272c565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620002b9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002b09062001f68565b60405180910390fd5b620002cd6000838362000aec60201b60201c565b620002e98160025462000af160201b62002b5b1790919060201c565b60028190555062000347816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205462000af160201b62002b5b1790919060201c565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620003e9919062002145565b60405180910390a35050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156200045a57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200049557600080fd5b6000811415620004be57620004b88383600062000b5460201b62002bb91760201c565b62000ae7565b6006602d0160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156200064d576000600673a1129039325b66b0f2bb61faa5fae1ea77ea6e8b630c37eff49091866040518363ffffffff1660e01b81526004016200055492919062002031565b60206040518083038186803b1580156200056d57600080fd5b505af415801562000582573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005a8919062001bfe565b905081811015620005f0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005e79062001ee0565b60405180910390fd5b816006602e0160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254620006449190620021ab565b92505081905550505b6200066083838362000e0860201b60201c565b60006006602b0160009054906101000a900460ff16158015620006d057506006602c0160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b80156200072a57506006602c0160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b905060006200073e620003f560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614158015620007b5575062000785620003f560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b15620007cc57620007cb6200122c60201b60201c565b5b811562000a4a5760006006601a017333db4e985fdb4d8fadf93b23637e849bb5400a3c63cc9723d49091866040518363ffffffff1660e01b81526004016200081692919062002004565b60206040518083038186803b1580156200082f57600080fd5b505af415801562000844573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200086a919062001b3a565b90506006601a017333db4e985fdb4d8fadf93b23637e849bb5400a3c6304ea10f29091836200089f856200147e60201b60201c565b896040518563ffffffff1660e01b8152600401620008c1949392919062001fb7565b60206040518083038186803b158015620008da57600080fd5b505af4158015620008ef573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000915919062001bd2565b6200091f57600090505b6000806000600660200173f7b2c0da80eb6494876316a63d497d68bcdd86fa6360db14b2909160068c8c8c8a6040518763ffffffff1660e01b81526004016200096e969594939291906200209b565b60606040518083038186803b1580156200098757600080fd5b505af41580156200099c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620009c2919062001c2a565b9250925092508183620009d69190620022a1565b9450600083111562000a0b578287620009f091906200233f565b965062000a0a89308562000b5460201b62002bb91760201c565b5b600082111562000a285762000a278883620014c660201b60201c565b5b600081111562000a455762000a448482620014c660201b60201c565b5b505050505b62000a6285858562000b5460201b62002bb91760201c565b600673a1129039325b66b0f2bb61faa5fae1ea77ea6e8b63c627422990918662000a92886200147e60201b60201c565b6040518463ffffffff1660e01b815260040162000ab2939291906200205e565b60006040518083038186803b15801562000acb57600080fd5b505af415801562000ae0573d6000803e3d6000fd5b5050505050505b505050565b505050565b600080828462000b029190620021ab565b90508381101562000b4a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000b419062001ebe565b60405180910390fd5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141562000bc7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000bbe9062001f24565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000c3a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000c319062001e7a565b60405180910390fd5b62000c4d83838362000aec60201b60201c565b62000cc0816040518060600160405280602681526020016200869e602691396000808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546200150b60201b62002e4e179092919060201c565b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555062000d5a816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205462000af160201b62002b5b1790919060201c565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405162000dfb919062002145565b60405180910390a3505050565b600062000e1b306200147e60201b60201c565b90506000600660280154821015905062000e3a620003f560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415801562000eb1575062000e81620003f560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b1562001225573073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415801562000f455750600660230160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b801562000fa35750600660220160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b1562000fe45762000fb96200157460201b60201c565b8362000fcb866200147e60201b60201c565b62000fd79190620021ab565b111562000fe357600080fd5b5b8080156200100257506006602b0160009054906101000a900460ff16155b80156200101f57506006602b0160019054906101000a900460ff16155b80156200107c5750600660230160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b80156200108e575060006006602a0154115b80156200109f57506006602a015442115b15620012245760016006602b0160006101000a81548160ff0219169083151502179055506000829050600660290154811115620010df5760066029015490505b60006127106006600001600b015483620010fa919062002240565b62001106919062002208565b90506000811115620011355780826200112091906200233f565b91506200113430826200161960201b60201c565b5b6200118d30600660220160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff620017e360201b60201c565b600660000173c1507d47c2f139e7c2ddb4fbae325ca5111c292f63d63d400c90916006856040518463ffffffff1660e01b8152600401620011d19392919062002108565b60006040518083038186803b158015620011ea57600080fd5b505af4158015620011ff573d6000803e3d6000fd5b5050505060006006602b0160006101000a81548160ff02191690831515021790555050505b5b5050505050565b60006200123e620019b660201b60201c565b90506000806000806006600e01735ebbfd959eafd9521980b9ab23a6ae733b1fbeb363f043495f9091876040518363ffffffff1660e01b81526004016200128792919062001f8a565b60806040518083038186803b158015620012a057600080fd5b505af4158015620012b5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620012db919062001b66565b9350935093509350600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614620013ad576200132a8484620014c660201b60201c565b600673a1129039325b66b0f2bb61faa5fae1ea77ea6e8b63c62742299091866200135a886200147e60201b60201c565b6040518463ffffffff1660e01b81526004016200137a939291906200205e565b60006040518083038186803b1580156200139357600080fd5b505af4158015620013a8573d6000803e3d6000fd5b505050505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146200147757620013f48282620014c660201b60201c565b600673a1129039325b66b0f2bb61faa5fae1ea77ea6e8b63c627422990918462001424866200147e60201b60201c565b6040518463ffffffff1660e01b815260040162001444939291906200205e565b60006040518083038186803b1580156200145d57600080fd5b505af415801562001472573d6000803e3d6000fd5b505050505b5050505050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000811415620014d65762001507565b806006602f016000828254620014ed9190620021ab565b925050819055506200150682826200024660201b60201c565b5b5050565b600083831115829062001556576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200154d919062001e56565b60405180910390fd5b50600083856200156791906200233f565b9050809150509392505050565b600073fb99ab3c8302a664b2740064b4454e89e173bd4963202eb29069d3c21bcecceda10000006006602a01546040518363ffffffff1660e01b8152600401620015c092919062002162565b60206040518083038186803b158015620015d957600080fd5b505af4158015620015ee573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001614919062001bfe565b905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200168c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620016839062001f02565b60405180910390fd5b620016a08260008362000aec60201b60201c565b62001713816040518060600160405280602281526020016200867c602291396000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546200150b60201b62002e4e179092919060201c565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506200177181600254620019f360201b62002eb21790919060201c565b600281905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620017d7919062002145565b60405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141562001856576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200184d9062001f46565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620018c9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620018c09062001e9c565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051620019a9919062002145565b60405180910390a3505050565b6000620019ee600660230160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166200147e60201b60201c565b905090565b600062001a3d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506200150b60201b60201c565b905092915050565b82805462001a539062002404565b90600052602060002090601f01602090048101928262001a77576000855562001ac3565b82601f1062001a9257805160ff191683800117855562001ac3565b8280016001018555821562001ac3579182015b8281111562001ac257825182559160200191906001019062001aa5565b5b50905062001ad2919062001ad6565b5090565b5b8082111562001af157600081600090555060010162001ad7565b5090565b60008151905062001b0681620026de565b92915050565b60008151905062001b1d81620026f8565b92915050565b60008151905062001b348162002712565b92915050565b60006020828403121562001b4d57600080fd5b600062001b5d8482850162001af5565b91505092915050565b6000806000806080858703121562001b7d57600080fd5b600062001b8d8782880162001af5565b945050602062001ba08782880162001b23565b935050604062001bb38782880162001af5565b925050606062001bc68782880162001b23565b91505092959194509250565b60006020828403121562001be557600080fd5b600062001bf58482850162001b0c565b91505092915050565b60006020828403121562001c1157600080fd5b600062001c218482850162001b23565b91505092915050565b60008060006060848603121562001c4057600080fd5b600062001c508682870162001b23565b935050602062001c638682870162001b23565b925050604062001c768682870162001b23565b9150509250925092565b62001c8b816200237a565b82525050565b600062001c9e826200218f565b62001caa81856200219a565b935062001cbc818560208601620023ce565b62001cc781620024c7565b840191505092915050565b600062001ce16023836200219a565b915062001cee82620024d8565b604082019050919050565b600062001d086022836200219a565b915062001d158262002527565b604082019050919050565b600062001d2f601b836200219a565b915062001d3c8262002576565b602082019050919050565b600062001d566016836200219a565b915062001d63826200259f565b602082019050919050565b600062001d7d6021836200219a565b915062001d8a82620025c8565b604082019050919050565b600062001da46025836200219a565b915062001db18262002617565b604082019050919050565b600062001dcb6024836200219a565b915062001dd88262002666565b604082019050919050565b600062001df2601f836200219a565b915062001dff82620026b5565b602082019050919050565b8082525050565b8082525050565b8082525050565b8082525050565b8082525050565b8082525050565b62001e3f81620023c4565b82525050565b62001e5081620023c4565b82525050565b6000602082019050818103600083015262001e72818462001c91565b905092915050565b6000602082019050818103600083015262001e958162001cd2565b9050919050565b6000602082019050818103600083015262001eb78162001cf9565b9050919050565b6000602082019050818103600083015262001ed98162001d20565b9050919050565b6000602082019050818103600083015262001efb8162001d47565b9050919050565b6000602082019050818103600083015262001f1d8162001d6e565b9050919050565b6000602082019050818103600083015262001f3f8162001d95565b9050919050565b6000602082019050818103600083015262001f618162001dbc565b9050919050565b6000602082019050818103600083015262001f838162001de3565b9050919050565b600060408201905062001fa1600083018562001e0a565b62001fb0602083018462001e45565b9392505050565b600060808201905062001fce600083018762001e11565b62001fdd602083018662001c80565b62001fec604083018562001e45565b62001ffb606083018462001c80565b95945050505050565b60006040820190506200201b600083018562001e11565b6200202a602083018462001e45565b9392505050565b600060408201905062002048600083018562001e18565b62002057602083018462001c80565b9392505050565b600060608201905062002075600083018662001e18565b62002084602083018562001c80565b62002093604083018462001e45565b949350505050565b600060c082019050620020b2600083018962001e26565b620020c1602083018862001e1f565b620020d0604083018762001c80565b620020df606083018662001c80565b620020ee608083018562001e45565b620020fd60a083018462001c80565b979650505050505050565b60006060820190506200211f600083018662001e2d565b6200212e602083018562001e1f565b6200213d604083018462001e45565b949350505050565b60006020820190506200215c600083018462001e34565b92915050565b600060408201905062002179600083018562001e45565b62002188602083018462001e45565b9392505050565b600081519050919050565b600082825260208201905092915050565b6000620021b882620023c4565b9150620021c583620023c4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620021fd57620021fc6200243a565b5b828201905092915050565b60006200221582620023c4565b91506200222283620023c4565b92508262002235576200223462002469565b5b828204905092915050565b60006200224d82620023c4565b91506200225a83620023c4565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156200229657620022956200243a565b5b828202905092915050565b6000620022ae826200239a565b9150620022bb836200239a565b9250827f800000000000000000000000000000000000000000000000000000000000000001821260008412151615620022f957620022f86200243a565b5b827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0182136000841216156200233457620023336200243a565b5b828203905092915050565b60006200234c82620023c4565b91506200235983620023c4565b9250828210156200236f576200236e6200243a565b5b828203905092915050565b60006200238782620023a4565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b83811015620023ee578082015181840152602081019050620023d1565b83811115620023fe576000848401525b50505050565b600060028204905060018216806200241d57607f821691505b6020821081141562002434576200243362002498565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f536166654d6174683a206164646974696f6e206f766572666c6f770000000000600082015250565b7f4d6f76696e6720746f6b656e7320746f6f206661737400000000000000000000600082015250565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b620026e9816200237a565b8114620026f557600080fd5b50565b62002703816200238e565b81146200270f57600080fd5b50565b6200271d81620023c4565b81146200272957600080fd5b50565b615f40806200273c6000396000f3fe6080604052600436106102135760003560e01c806351e6113b11610118578063a9059cbb116100a0578063c31a01221161006f578063c31a012214610769578063dd62ed3e14610780578063f2fde38b146107bd578063f4e6f48e146107e6578063f8b45b051461080f5761021a565b8063a9059cbb146106c3578063b123c9f314610700578063be9a655514610729578063c0246668146107405761021a565b80638d049613116100e75780638d049613146105dc5780638da5cb5b1461060557806395d89b4114610630578063a457c2d71461065b578063a8aa1b31146106985761021a565b806351e6113b146105365780636512f5431461055f57806370a0823114610588578063715018a6146105c55761021a565b8063313ce5671161019b578063395093511161016a57806339509351146104655780633ccfd60b146104a25780634ee1e1e9146104b95780634f2cd8b5146104d05780634f8609201461050d5761021a565b8063313ce5671461039f57806331e79db0146103ca57806332cb6b0c146103f357806338266b221461041e5761021a565b806323b872dd116101e257806323b872dd146102db578063255ce4dc146103185780632c11de37146103415780632c1f52161461035d5780632d0f5b34146103885761021a565b806301471b961461021f57806306fdde0314610248578063095ea7b31461027357806318160ddd146102b05761021a565b3661021a57005b600080fd5b34801561022b57600080fd5b506102466004803603810190610241919061492e565b61083a565b005b34801561025457600080fd5b5061025d610949565b60405161026a9190615031565b60405180910390f35b34801561027f57600080fd5b5061029a60048036038101906102959190614640565b6109db565b6040516102a79190615016565b60405180910390f35b3480156102bc57600080fd5b506102c56109f7565b6040516102d29190615596565b60405180910390f35b3480156102e757600080fd5b5061030260048036038101906102fd91906145b5565b610a01565b60405161030f9190615016565b60405180910390f35b34801561032457600080fd5b5061033f600480360381019061033a91906149cc565b610ada565b005b61035b60048036038101906103569190614640565b610bec565b005b34801561036957600080fd5b50610372611030565b60405161037f9190614e88565b60405180910390f35b34801561039457600080fd5b5061039d61105d565b005b3480156103ab57600080fd5b506103b4611170565b6040516103c1919061564f565b60405180910390f35b3480156103d657600080fd5b506103f160048036038101906103ec9190614527565b611179565b005b3480156103ff57600080fd5b506104086112a3565b6040516104159190615596565b60405180910390f35b34801561042a57600080fd5b5061044560048036038101906104409190614527565b6112b1565b60405161045c9b9a99989796959493929190614f64565b60405180910390f35b34801561047157600080fd5b5061048c60048036038101906104879190614640565b611381565b6040516104999190615016565b60405180910390f35b3480156104ae57600080fd5b506104b7611434565b005b3480156104c557600080fd5b506104ce611593565b005b3480156104dc57600080fd5b506104f760048036038101906104f29190614864565b6117ad565b6040516105049190615016565b60405180910390f35b34801561051957600080fd5b50610534600480360381019061052f9190614a2f565b61186b565b005b34801561054257600080fd5b5061055d6004803603810190610558919061492e565b611983565b005b34801561056b57600080fd5b50610586600480360381019061058191906146df565b611b6c565b005b34801561059457600080fd5b506105af60048036038101906105aa9190614527565b611d42565b6040516105bc9190615596565b60405180910390f35b3480156105d157600080fd5b506105da611d8a565b005b3480156105e857600080fd5b5061060360048036038101906105fe91906148f2565b611ee2565b005b34801561061157600080fd5b5061061a611feb565b6040516106279190614e88565b60405180910390f35b34801561063c57600080fd5b50610645612015565b6040516106529190615031565b60405180910390f35b34801561066757600080fd5b50610682600480360381019061067d9190614640565b6120a7565b60405161068f9190615016565b60405180910390f35b3480156106a457600080fd5b506106ad612174565b6040516106ba9190614e88565b60405180910390f35b3480156106cf57600080fd5b506106ea60048036038101906106e59190614640565b6121a1565b6040516106f79190615016565b60405180910390f35b34801561070c57600080fd5b50610727600480360381019061072291906148a0565b6121bf565b005b34801561073557600080fd5b5061073e6122c8565b005b34801561074c57600080fd5b5061076760048036038101906107629190614604565b6124fb565b005b34801561077557600080fd5b5061077e612604565b005b34801561078c57600080fd5b506107a760048036038101906107a29190614579565b612762565b6040516107b49190615596565b60405180910390f35b3480156107c957600080fd5b506107e460048036038101906107df9190614527565b6127e9565b005b3480156107f257600080fd5b5061080d600480360381019061080891906148f2565b6129b0565b005b34801561081b57600080fd5b50610824612abc565b6040516108319190615596565b60405180910390f35b610842612efc565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146108d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c890615133565b60405180910390fd5b6006600e01735ebbfd959eafd9521980b9ab23a6ae733b1fbeb3631f72e40d90918585856040518563ffffffff1660e01b81526004016109149493929190615233565b60006040518083038186803b15801561092c57600080fd5b505af4158015610940573d6000803e3d6000fd5b50505050505050565b606060038054610958906159cd565b80601f0160208091040260200160405190810160405280929190818152602001828054610984906159cd565b80156109d15780601f106109a6576101008083540402835291602001916109d1565b820191906000526020600020905b8154815290600101906020018083116109b457829003601f168201915b5050505050905090565b60006109e5612604565b6109ef8383612f04565b905092915050565b6000600254905090565b6000610a0e848484612f22565b610acf84610a1a612efc565b610aca85604051806060016040528060288152602001615ebe60289139600160008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610a80612efc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612e4e9092919063ffffffff16565b613555565b600190509392505050565b610ae2612efc565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610b71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6890615133565b60405180910390fd5b600660000173c1507d47c2f139e7c2ddb4fbae325ca5111c292f6301c5f2469091868686866040518663ffffffff1660e01b8152600401610bb69594939291906154b9565b60006040518083038186803b158015610bce57600080fd5b505af4158015610be2573d6000803e3d6000fd5b5050505050505050565b64e8d4a51000341015610bfe57600080fd5b60006006602a015411610c1057600080fd5b73f7b2c0da80eb6494876316a63d497d68bcdd86fa63f27b77716006602a01546040518263ffffffff1660e01b8152600401610c4c919061557b565b60206040518083038186803b158015610c6457600080fd5b505af4158015610c78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9c919061483b565b15610ca657600080fd5b610cae612604565b610cb6611593565b60003447610cc491906158f5565b90506000610cd130611d42565b90506000600267ffffffffffffffff811115610d16577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610d445781602001602082028036833780820191505090505b509050600660220160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015610db257600080fd5b505afa158015610dc6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dea9190614550565b81600081518110610e24577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250503081600181518110610e99577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506000600234610ee291906157d6565b905060008134610ef291906158f5565b90506000610eff33611d42565b905060016006602b0160016101000a81548160ff021916908315150217905550600660220160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b6f9de9584898733426040518663ffffffff1660e01b8152600401610f8494939291906155b1565b6000604051808303818588803b158015610f9d57600080fd5b505af1158015610fb1573d6000803e3d6000fd5b5050505050600081610fc233611d42565b610fcc91906158f5565b9050610fd9333083612bb9565b600086610fe530611d42565b610fef91906158f5565b9050610ffc8a8583613720565b6110068a89613b1c565b60006006602b0160016101000a81548160ff02191690831515021790555050505050505050505050565b6000600660240160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611065612efc565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146110f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110eb90615133565b60405180910390fd5b600660000173c1507d47c2f139e7c2ddb4fbae325ca5111c292f63d63d400c9091600661112030611d42565b6040518463ffffffff1660e01b815260040161113e93929190615459565b60006040518083038186803b15801561115657600080fd5b505af415801561116a573d6000803e3d6000fd5b50505050565b60006012905090565b611181612efc565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611210576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120790615133565b60405180910390fd5b600660240160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166331e79db0826040518263ffffffff1660e01b815260040161126e9190614e88565b600060405180830381600087803b15801561128857600080fd5b505af115801561129c573d6000803e3d6000fd5b5050505050565b69d3c21bcecceda100000081565b6060600080600080600080600080600080600673a1129039325b66b0f2bb61faa5fae1ea77ea6e8b63fc1f991d90918e6112e9613be1565b6040518463ffffffff1660e01b815260040161130793929190615361565b60006040518083038186803b15801561131f57600080fd5b505af4158015611333573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061135c9190614733565b9a509a509a509a509a509a509a509a509a509a509a5091939597999b90929496989a50565b600061142a61138e612efc565b84611425856001600061139f612efc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612b5b90919063ffffffff16565b613555565b6001905092915050565b61143c612efc565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146114cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c290615133565b60405180910390fd5b60006006602a0154146114dd57600080fd5b60006114e7611feb565b73ffffffffffffffffffffffffffffffffffffffff164760405161150a90614e73565b60006040518083038185875af1925050503d8060008114611547576040519150601f19603f3d011682016040523d82523d6000602084013e61154c565b606091505b5050905080611590576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611587906150b3565b60405180910390fd5b50565b600061159d613be1565b90506000806000806006600e01735ebbfd959eafd9521980b9ab23a6ae733b1fbeb363f043495f9091876040518363ffffffff1660e01b81526004016115e49291906151d3565b60806040518083038186803b1580156115fc57600080fd5b505af4158015611610573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611634919061467c565b9350935093509350600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146116f15761167a8484613c16565b600673a1129039325b66b0f2bb61faa5fae1ea77ea6e8b63c62742299091866116a288611d42565b6040518463ffffffff1660e01b81526004016116c093929190615361565b60006040518083038186803b1580156116d857600080fd5b505af41580156116ec573d6000803e3d6000fd5b505050505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146117a65761172f8282613c16565b600673a1129039325b66b0f2bb61faa5fae1ea77ea6e8b63c627422990918461175786611d42565b6040518463ffffffff1660e01b815260040161177593929190615361565b60006040518083038186803b15801561178d57600080fd5b505af41580156117a1573d6000803e3d6000fd5b505050505b5050505050565b6000600660240160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663940d26223385856040518463ffffffff1660e01b815260040161181193929190614ea3565b602060405180830381600087803b15801561182b57600080fd5b505af115801561183f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611863919061483b565b905092915050565b611873612efc565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611902576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f990615133565b60405180910390fd5b600660000173c1507d47c2f139e7c2ddb4fbae325ca5111c292f636a5e201790918888888888886040518863ffffffff1660e01b815260040161194b979695949392919061550c565b60006040518083038186803b15801561196357600080fd5b505af4158015611977573d6000803e3d6000fd5b50505050505050505050565b61198b612efc565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611a1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1190615133565b60405180910390fd5b6006601a017333db4e985fdb4d8fadf93b23637e849bb5400a3c6393cc0a7e9091856040518363ffffffff1660e01b8152600401611a599291906152bd565b60006040518083038186803b158015611a7157600080fd5b505af4158015611a85573d6000803e3d6000fd5b505050506006601a017333db4e985fdb4d8fadf93b23637e849bb5400a3c632d02375d9091846040518363ffffffff1660e01b8152600401611ac89291906152bd565b60006040518083038186803b158015611ae057600080fd5b505af4158015611af4573d6000803e3d6000fd5b505050506006601a017333db4e985fdb4d8fadf93b23637e849bb5400a3c63bfc9f7c29091836040518363ffffffff1660e01b8152600401611b379291906152bd565b60006040518083038186803b158015611b4f57600080fd5b505af4158015611b63573d6000803e3d6000fd5b50505050505050565b611b74612efc565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611c03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfa90615133565b60405180910390fd5b60005b8251811015611d3d576000838281518110611c4a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506006602d0160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611d295760016006602d0160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611d28611d0e611feb565b82670de0b6b3a764000086611d239190615807565b612bb9565b5b508080611d3590615a30565b915050611c06565b505050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611d92612efc565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611e21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1890615133565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b611eea612efc565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611f79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7090615133565b60405180910390fd5b600673a1129039325b66b0f2bb61faa5fae1ea77ea6e8b63da044a92909184846040518463ffffffff1660e01b8152600401611fb7939291906153c1565b60006040518083038186803b158015611fcf57600080fd5b505af4158015611fe3573d6000803e3d6000fd5b505050505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054612024906159cd565b80601f0160208091040260200160405190810160405280929190818152602001828054612050906159cd565b801561209d5780601f106120725761010080835404028352916020019161209d565b820191906000526020600020905b81548152906001019060200180831161208057829003601f168201915b5050505050905090565b600061216a6120b4612efc565b8461216585604051806060016040528060258152602001615ee660259139600160006120de612efc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612e4e9092919063ffffffff16565b613555565b6001905092915050565b6000600660230160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006121b56121ae612efc565b8484612f22565b6001905092915050565b6121c7612efc565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612256576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224d90615133565b60405180910390fd5b600660000173c1507d47c2f139e7c2ddb4fbae325ca5111c292f63fbd31ecf9091836040518363ffffffff1660e01b8152600401612295929190615490565b60006040518083038186803b1580156122ad57600080fd5b505af41580156122c1573d6000803e3d6000fd5b5050505050565b6122d0612efc565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461235f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235690615133565b60405180910390fd5b60006006602a01541461237157600080fd5b6123c130600660220160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff613555565b600660220160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f305d719473061240d30611d42565b600080612418611feb565b426040518863ffffffff1660e01b815260040161243a96959493929190614f03565b6060604051808303818588803b15801561245357600080fd5b505af1158015612467573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061248c919061497d565b505050600673a1129039325b66b0f2bb61faa5fae1ea77ea6e8b630de0589990916040518263ffffffff1660e01b81526004016124c991906152e6565b60006040518083038186803b1580156124e157600080fd5b505af41580156124f5573d6000803e3d6000fd5b50505050565b612503612efc565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612592576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258990615133565b60405180910390fd5b600673a1129039325b66b0f2bb61faa5fae1ea77ea6e8b6315b486fb909184846040518463ffffffff1660e01b81526004016125d09392919061532a565b60006040518083038186803b1580156125e857600080fd5b505af41580156125fc573d6000803e3d6000fd5b505050505050565b6000600673a1129039325b66b0f2bb61faa5fae1ea77ea6e8b6310693013909161262c613be1565b6040518363ffffffff1660e01b8152600401612649929190615398565b60206040518083038186803b15801561266157600080fd5b505af4158015612675573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061269991906148c9565b905060008114156126aa5750612760565b6126d9600660230160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682613c4f565b600660230160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561274657600080fd5b505af115801561275a573d6000803e3d6000fd5b50505050505b565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6127f1612efc565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612880576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161287790615133565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156128f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e790615073565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6129b8612efc565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612a47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a3e90615133565b60405180910390fd5b6006600e01735ebbfd959eafd9521980b9ab23a6ae733b1fbeb36332abb4e3909184846040518463ffffffff1660e01b8152600401612a88939291906151fc565b60006040518083038186803b158015612aa057600080fd5b505af4158015612ab4573d6000803e3d6000fd5b505050505050565b600073fb99ab3c8302a664b2740064b4454e89e173bd4963202eb29069d3c21bcecceda10000006006602a01546040518363ffffffff1660e01b8152600401612b06929190615626565b60206040518083038186803b158015612b1e57600080fd5b505af4158015612b32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b5691906148c9565b905090565b6000808284612b6a9190615780565b905083811015612baf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ba6906150d3565b60405180910390fd5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612c29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c2090615173565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c9090615053565b60405180910390fd5b612ca4838383613dfd565b612d0f81604051806060016040528060268152602001615e98602691396000808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612e4e9092919063ffffffff16565b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612da2816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612b5b90919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612e419190615596565b60405180910390a3505050565b6000838311158290612e96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8d9190615031565b60405180910390fd5b5060008385612ea591906158f5565b9050809150509392505050565b6000612ef483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612e4e565b905092915050565b600033905090565b6000612f18612f11612efc565b8484613555565b6001905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612f5c57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f9657600080fd5b6000811415612fb057612fab83836000612bb9565b613550565b6006602d0160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615613133576000600673a1129039325b66b0f2bb61faa5fae1ea77ea6e8b630c37eff49091866040518363ffffffff1660e01b8152600401613043929190615301565b60206040518083038186803b15801561305b57600080fd5b505af415801561306f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061309391906148c9565b9050818110156130d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130cf90615113565b60405180910390fd5b816006602e0160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461312a9190615780565b92505081905550505b61313e838383613e02565b60006006602b0160009054906101000a900460ff161580156131ad57506006602c0160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b801561320657506006602c0160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b90506000613212611feb565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141580156132805750613250611feb565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b1561328e5761328d611593565b5b81156134cc5760006006601a017333db4e985fdb4d8fadf93b23637e849bb5400a3c63cc9723d49091866040518363ffffffff1660e01b81526004016132d59291906152bd565b60206040518083038186803b1580156132ed57600080fd5b505af4158015613301573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133259190614550565b90506006601a017333db4e985fdb4d8fadf93b23637e849bb5400a3c6304ea10f290918361335285611d42565b896040518563ffffffff1660e01b81526004016133729493929190615278565b60206040518083038186803b15801561338a57600080fd5b505af415801561339e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133c2919061483b565b6133cb57600090505b6000806000600660200173f7b2c0da80eb6494876316a63d497d68bcdd86fa6360db14b2909160068c8c8c8a6040518763ffffffff1660e01b8152600401613418969594939291906153f8565b60606040518083038186803b15801561343057600080fd5b505af4158015613444573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613468919061497d565b925092509250818361347a9190615861565b9450600083111561349f57828761349191906158f5565b965061349e893085612bb9565b5b60008211156134b3576134b28883613c16565b5b60008111156134c7576134c68482613c16565b5b505050505b6134d7858585612bb9565b600673a1129039325b66b0f2bb61faa5fae1ea77ea6e8b63c62742299091866134ff88611d42565b6040518463ffffffff1660e01b815260040161351d93929190615361565b60006040518083038186803b15801561353557600080fd5b505af4158015613549573d6000803e3d6000fd5b5050505050505b505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156135c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135bc90615193565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613635576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161362c90615093565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516137139190615596565b60405180910390a3505050565b61377030600660220160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff613555565b6000600660230160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a0823161dead6040518263ffffffff1660e01b81526004016137d29190614e88565b60206040518083038186803b1580156137ea57600080fd5b505afa1580156137fe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061382291906148c9565b9050600660220160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f305d71984308560008061dead426040518863ffffffff1660e01b815260040161389096959493929190614f03565b6060604051808303818588803b1580156138a957600080fd5b505af11580156138bd573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906138e2919061497d565b505050600081600660230160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a0823161dead6040518263ffffffff1660e01b81526004016139489190614e88565b60206040518083038186803b15801561396057600080fd5b505afa158015613974573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061399891906148c9565b6139a291906158f5565b90506000600660240160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415613a325761271060066000016007015483613a169190615807565b613a2091906157d6565b82613a2b9190615780565b9150600190505b600660240160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635b86f59987846040518363ffffffff1660e01b8152600401613a92929190614eda565b600060405180830381600087803b158015613aac57600080fd5b505af1158015613ac0573d6000803e3d6000fd5b505050508573ffffffffffffffffffffffffffffffffffffffff167f3e0a43046e2dfdb5b52f222ccd9d1f3e627a6028da1d8ed5204776094d3b4bda8383604051613b0c9291906155fd565b60405180910390a2505050505050565b80471115613bdd5760008273ffffffffffffffffffffffffffffffffffffffff168247613b4991906158f5565b604051613b5590614e73565b60006040518083038185875af1925050503d8060008114613b92576040519150601f19603f3d011682016040523d82523d6000602084013e613b97565b606091505b5050905080613bdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bd2906150f3565b60405180910390fd5b505b5050565b6000613c11600660230160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611d42565b905090565b6000811415613c2457613c4b565b806006602f016000828254613c399190615780565b92505081905550613c4a82826141d4565b5b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613cbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613cb690615153565b60405180910390fd5b613ccb82600083613dfd565b613d3681604051806060016040528060228152602001615e76602291396000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612e4e9092919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550613d8d81600254612eb290919063ffffffff16565b600281905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051613df19190615596565b60405180910390a35050565b505050565b6000613e0d30611d42565b905060006006602801548210159050613e24611feb565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614158015613e925750613e62611feb565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b156141cd573073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614158015613f245750600660230160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b8015613f815750600660220160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b15613fae57613f8e612abc565b83613f9886611d42565b613fa29190615780565b1115613fad57600080fd5b5b808015613fcb57506006602b0160009054906101000a900460ff16155b8015613fe757506006602b0160019054906101000a900460ff16155b80156140435750600660230160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b8015614054575060006006602a0154115b801561406457506006602a015442115b156141cc5760016006602b0160006101000a81548160ff02191690831515021790555060008290506006602901548111156140a25760066029015490505b60006127106006600001600b0154836140bb9190615807565b6140c591906157d6565b905060008111156140e95780826140dc91906158f5565b91506140e83082613c4f565b5b61413930600660220160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff613555565b600660000173c1507d47c2f139e7c2ddb4fbae325ca5111c292f63d63d400c90916006856040518463ffffffff1660e01b815260040161417b93929190615459565b60006040518083038186803b15801561419357600080fd5b505af41580156141a7573d6000803e3d6000fd5b5050505060006006602b0160006101000a81548160ff02191690831515021790555050505b5b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415614244576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161423b906151b3565b60405180910390fd5b61425060008383613dfd565b61426581600254612b5b90919063ffffffff16565b6002819055506142bc816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612b5b90919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161435c9190615596565b60405180910390a35050565b600061437b6143768461568f565b61566a565b9050808382526020820190508285602086028201111561439a57600080fd5b60005b858110156143ca57816143b08882614440565b84526020840193506020830192505060018101905061439d565b5050509392505050565b60006143e76143e2846156bb565b61566a565b9050808382526020820190508285602086028201111561440657600080fd5b60005b85811015614436578161441c8882614512565b845260208401935060208301925050600181019050614409565b5050509392505050565b60008135905061444f81615e19565b92915050565b60008151905061446481615e19565b92915050565b600082601f83011261447b57600080fd5b813561448b848260208601614368565b91505092915050565b600082601f8301126144a557600080fd5b81516144b58482602086016143d4565b91505092915050565b6000813590506144cd81615e30565b92915050565b6000815190506144e281615e30565b92915050565b6000815190506144f781615e47565b92915050565b60008135905061450c81615e5e565b92915050565b60008151905061452181615e5e565b92915050565b60006020828403121561453957600080fd5b600061454784828501614440565b91505092915050565b60006020828403121561456257600080fd5b600061457084828501614455565b91505092915050565b6000806040838503121561458c57600080fd5b600061459a85828601614440565b92505060206145ab85828601614440565b9150509250929050565b6000806000606084860312156145ca57600080fd5b60006145d886828701614440565b93505060206145e986828701614440565b92505060406145fa868287016144fd565b9150509250925092565b6000806040838503121561461757600080fd5b600061462585828601614440565b9250506020614636858286016144be565b9150509250929050565b6000806040838503121561465357600080fd5b600061466185828601614440565b9250506020614672858286016144fd565b9150509250929050565b6000806000806080858703121561469257600080fd5b60006146a087828801614455565b94505060206146b187828801614512565b93505060406146c287828801614455565b92505060606146d387828801614512565b91505092959194509250565b600080604083850312156146f257600080fd5b600083013567ffffffffffffffff81111561470c57600080fd5b6147188582860161446a565b9250506020614729858286016144fd565b9150509250929050565b60008060008060008060008060008060006101608c8e03121561475557600080fd5b60008c015167ffffffffffffffff81111561476f57600080fd5b61477b8e828f01614494565b9b5050602061478c8e828f01614512565b9a5050604061479d8e828f016144e8565b99505060606147ae8e828f01614512565b98505060806147bf8e828f01614455565b97505060a06147d08e828f01614512565b96505060c06147e18e828f01614512565b95505060e06147f28e828f01614455565b9450506101006148048e828f01614512565b9350506101206148168e828f01614512565b9250506101406148288e828f01614512565b9150509295989b509295989b9093969950565b60006020828403121561484d57600080fd5b600061485b848285016144d3565b91505092915050565b6000806040838503121561487757600080fd5b6000614885858286016144be565b9250506020614896858286016144fd565b9150509250929050565b6000602082840312156148b257600080fd5b60006148c0848285016144fd565b91505092915050565b6000602082840312156148db57600080fd5b60006148e984828501614512565b91505092915050565b6000806040838503121561490557600080fd5b6000614913858286016144fd565b9250506020614924858286016144fd565b9150509250929050565b60008060006060848603121561494357600080fd5b6000614951868287016144fd565b9350506020614962868287016144fd565b9250506040614973868287016144fd565b9150509250925092565b60008060006060848603121561499257600080fd5b60006149a086828701614512565b93505060206149b186828701614512565b92505060406149c286828701614512565b9150509250925092565b600080600080608085870312156149e257600080fd5b60006149f0878288016144fd565b9450506020614a01878288016144fd565b9350506040614a12878288016144fd565b9250506060614a23878288016144fd565b91505092959194509250565b60008060008060008060c08789031215614a4857600080fd5b6000614a5689828a016144fd565b9650506020614a6789828a016144fd565b9550506040614a7889828a016144fd565b9450506060614a8989828a016144fd565b9350506080614a9a89828a016144fd565b92505060a0614aab89828a016144fd565b9150509295509295509295565b6000614ac48383614ae8565b60208301905092915050565b6000614adc8383614e37565b60208301905092915050565b614af181615929565b82525050565b614b0081615929565b82525050565b614b0f81615929565b82525050565b6000614b2082615707565b614b2a8185615742565b9350614b35836156e7565b8060005b83811015614b66578151614b4d8882614ab8565b9750614b5883615728565b925050600181019050614b39565b5085935050505092915050565b6000614b7e82615712565b614b888185615753565b9350614b93836156f7565b8060005b83811015614bc4578151614bab8882614ad0565b9750614bb683615735565b925050600181019050614b97565b5085935050505092915050565b614bda8161593b565b82525050565b614be98161593b565b82525050565b614bf881615947565b82525050565b614c0781615988565b82525050565b6000614c188261571d565b614c22818561576f565b9350614c3281856020860161599a565b614c3b81615b35565b840191505092915050565b6000614c5360238361576f565b9150614c5e82615b46565b604082019050919050565b6000614c7660268361576f565b9150614c8182615b95565b604082019050919050565b6000614c9960228361576f565b9150614ca482615be4565b604082019050919050565b6000614cbc60188361576f565b9150614cc782615c33565b602082019050919050565b6000614cdf601b8361576f565b9150614cea82615c5c565b602082019050919050565b6000614d0260168361576f565b9150614d0d82615c85565b602082019050919050565b6000614d2560168361576f565b9150614d3082615cae565b602082019050919050565b6000614d4860208361576f565b9150614d5382615cd7565b602082019050919050565b6000614d6b60218361576f565b9150614d7682615d00565b604082019050919050565b6000614d8e60258361576f565b9150614d9982615d4f565b604082019050919050565b6000614db1600083615764565b9150614dbc82615d9e565b600082019050919050565b6000614dd460248361576f565b9150614ddf82615da1565b604082019050919050565b6000614df7601f8361576f565b9150614e0282615df0565b602082019050919050565b8082525050565b8082525050565b8082525050565b8082525050565b8082525050565b8082525050565b614e4081615971565b82525050565b614e4f81615971565b82525050565b614e5e81615971565b82525050565b614e6d8161597b565b82525050565b6000614e7e82614da4565b9150819050919050565b6000602082019050614e9d6000830184614af7565b92915050565b6000606082019050614eb86000830186614af7565b614ec56020830185614bd1565b614ed26040830184614e46565b949350505050565b6000604082019050614eef6000830185614af7565b614efc6020830184614e46565b9392505050565b600060c082019050614f186000830189614af7565b614f256020830188614e46565b614f326040830187614bfe565b614f3f6060830186614bfe565b614f4c6080830185614af7565b614f5960a0830184614e46565b979650505050505050565b6000610160820190508181036000830152614f7f818e614b73565b9050614f8e602083018d614e46565b614f9b604083018c614bef565b614fa8606083018b614e46565b614fb5608083018a614af7565b614fc260a0830189614e46565b614fcf60c0830188614e46565b614fdc60e0830187614af7565b614fea610100830186614e46565b614ff8610120830185614e46565b615006610140830184614e46565b9c9b505050505050505050505050565b600060208201905061502b6000830184614bd1565b92915050565b6000602082019050818103600083015261504b8184614c0d565b905092915050565b6000602082019050818103600083015261506c81614c46565b9050919050565b6000602082019050818103600083015261508c81614c69565b9050919050565b600060208201905081810360008301526150ac81614c8c565b9050919050565b600060208201905081810360008301526150cc81614caf565b9050919050565b600060208201905081810360008301526150ec81614cd2565b9050919050565b6000602082019050818103600083015261510c81614cf5565b9050919050565b6000602082019050818103600083015261512c81614d18565b9050919050565b6000602082019050818103600083015261514c81614d3b565b9050919050565b6000602082019050818103600083015261516c81614d5e565b9050919050565b6000602082019050818103600083015261518c81614d81565b9050919050565b600060208201905081810360008301526151ac81614dc7565b9050919050565b600060208201905081810360008301526151cc81614dea565b9050919050565b60006040820190506151e86000830185614e0d565b6151f56020830184614e55565b9392505050565b60006060820190506152116000830186614e0d565b61521e6020830185614e55565b61522b6040830184614e55565b949350505050565b60006080820190506152486000830187614e0d565b6152556020830186614e55565b6152626040830185614e55565b61526f6060830184614e55565b95945050505050565b600060808201905061528d6000830187614e14565b61529a6020830186614b06565b6152a76040830185614e55565b6152b46060830184614b06565b95945050505050565b60006040820190506152d26000830185614e14565b6152df6020830184614e55565b9392505050565b60006020820190506152fb6000830184614e1b565b92915050565b60006040820190506153166000830185614e1b565b6153236020830184614b06565b9392505050565b600060608201905061533f6000830186614e1b565b61534c6020830185614b06565b6153596040830184614be0565b949350505050565b60006060820190506153766000830186614e1b565b6153836020830185614b06565b6153906040830184614e55565b949350505050565b60006040820190506153ad6000830185614e1b565b6153ba6020830184614e55565b9392505050565b60006060820190506153d66000830186614e1b565b6153e36020830185614e55565b6153f06040830184614e55565b949350505050565b600060c08201905061540d6000830189614e29565b61541a6020830188614e22565b6154276040830187614b06565b6154346060830186614b06565b6154416080830185614e55565b61544e60a0830184614b06565b979650505050505050565b600060608201905061546e6000830186614e30565b61547b6020830185614e22565b6154886040830184614e55565b949350505050565b60006040820190506154a56000830185614e30565b6154b26020830184614e55565b9392505050565b600060a0820190506154ce6000830188614e30565b6154db6020830187614e55565b6154e86040830186614e55565b6154f56060830185614e55565b6155026080830184614e55565b9695505050505050565b600060e082019050615521600083018a614e30565b61552e6020830189614e55565b61553b6040830188614e55565b6155486060830187614e55565b6155556080830186614e55565b61556260a0830185614e55565b61556f60c0830184614e55565b98975050505050505050565b60006020820190506155906000830184614e55565b92915050565b60006020820190506155ab6000830184614e46565b92915050565b60006080820190506155c66000830187614e46565b81810360208301526155d88186614b15565b90506155e76040830185614af7565b6155f46060830184614e46565b95945050505050565b60006040820190506156126000830185614e46565b61561f6020830184614bd1565b9392505050565b600060408201905061563b6000830185614e55565b6156486020830184614e55565b9392505050565b60006020820190506156646000830184614e64565b92915050565b6000615674615685565b905061568082826159ff565b919050565b6000604051905090565b600067ffffffffffffffff8211156156aa576156a9615b06565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156156d6576156d5615b06565b5b602082029050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600061578b82615971565b915061579683615971565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156157cb576157ca615a79565b5b828201905092915050565b60006157e182615971565b91506157ec83615971565b9250826157fc576157fb615aa8565b5b828204905092915050565b600061581282615971565b915061581d83615971565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561585657615855615a79565b5b828202905092915050565b600061586c82615947565b915061587783615947565b9250827f8000000000000000000000000000000000000000000000000000000000000000018212600084121516156158b2576158b1615a79565b5b827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0182136000841216156158ea576158e9615a79565b5b828203905092915050565b600061590082615971565b915061590b83615971565b92508282101561591e5761591d615a79565b5b828203905092915050565b600061593482615951565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b600061599382615971565b9050919050565b60005b838110156159b857808201518184015260208101905061599d565b838111156159c7576000848401525b50505050565b600060028204905060018216806159e557607f821691505b602082108114156159f9576159f8615ad7565b5b50919050565b615a0882615b35565b810181811067ffffffffffffffff82111715615a2757615a26615b06565b5b80604052505050565b6000615a3b82615971565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615a6e57615a6d615a79565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f436f756c64206e6f742077697468647261772066756e64730000000000000000600082015250565b7f536166654d6174683a206164646974696f6e206f766572666c6f770000000000600082015250565b7f436f756c64206e6f742072657475726e2066756e647300000000000000000000600082015250565b7f4d6f76696e6720746f6b656e7320746f6f206661737400000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b50565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b615e2281615929565b8114615e2d57600080fd5b50565b615e398161593b565b8114615e4457600080fd5b50565b615e5081615947565b8114615e5b57600080fd5b50565b615e6781615971565b8114615e7257600080fd5b5056fe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122089809eae502b81d2b81337ef1b21e9ec9a4073df715eb9c6d85ac9e93feceb9f64736f6c6343000804003345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365
Deployed Bytecode
0x6080604052600436106102135760003560e01c806351e6113b11610118578063a9059cbb116100a0578063c31a01221161006f578063c31a012214610769578063dd62ed3e14610780578063f2fde38b146107bd578063f4e6f48e146107e6578063f8b45b051461080f5761021a565b8063a9059cbb146106c3578063b123c9f314610700578063be9a655514610729578063c0246668146107405761021a565b80638d049613116100e75780638d049613146105dc5780638da5cb5b1461060557806395d89b4114610630578063a457c2d71461065b578063a8aa1b31146106985761021a565b806351e6113b146105365780636512f5431461055f57806370a0823114610588578063715018a6146105c55761021a565b8063313ce5671161019b578063395093511161016a57806339509351146104655780633ccfd60b146104a25780634ee1e1e9146104b95780634f2cd8b5146104d05780634f8609201461050d5761021a565b8063313ce5671461039f57806331e79db0146103ca57806332cb6b0c146103f357806338266b221461041e5761021a565b806323b872dd116101e257806323b872dd146102db578063255ce4dc146103185780632c11de37146103415780632c1f52161461035d5780632d0f5b34146103885761021a565b806301471b961461021f57806306fdde0314610248578063095ea7b31461027357806318160ddd146102b05761021a565b3661021a57005b600080fd5b34801561022b57600080fd5b506102466004803603810190610241919061492e565b61083a565b005b34801561025457600080fd5b5061025d610949565b60405161026a9190615031565b60405180910390f35b34801561027f57600080fd5b5061029a60048036038101906102959190614640565b6109db565b6040516102a79190615016565b60405180910390f35b3480156102bc57600080fd5b506102c56109f7565b6040516102d29190615596565b60405180910390f35b3480156102e757600080fd5b5061030260048036038101906102fd91906145b5565b610a01565b60405161030f9190615016565b60405180910390f35b34801561032457600080fd5b5061033f600480360381019061033a91906149cc565b610ada565b005b61035b60048036038101906103569190614640565b610bec565b005b34801561036957600080fd5b50610372611030565b60405161037f9190614e88565b60405180910390f35b34801561039457600080fd5b5061039d61105d565b005b3480156103ab57600080fd5b506103b4611170565b6040516103c1919061564f565b60405180910390f35b3480156103d657600080fd5b506103f160048036038101906103ec9190614527565b611179565b005b3480156103ff57600080fd5b506104086112a3565b6040516104159190615596565b60405180910390f35b34801561042a57600080fd5b5061044560048036038101906104409190614527565b6112b1565b60405161045c9b9a99989796959493929190614f64565b60405180910390f35b34801561047157600080fd5b5061048c60048036038101906104879190614640565b611381565b6040516104999190615016565b60405180910390f35b3480156104ae57600080fd5b506104b7611434565b005b3480156104c557600080fd5b506104ce611593565b005b3480156104dc57600080fd5b506104f760048036038101906104f29190614864565b6117ad565b6040516105049190615016565b60405180910390f35b34801561051957600080fd5b50610534600480360381019061052f9190614a2f565b61186b565b005b34801561054257600080fd5b5061055d6004803603810190610558919061492e565b611983565b005b34801561056b57600080fd5b50610586600480360381019061058191906146df565b611b6c565b005b34801561059457600080fd5b506105af60048036038101906105aa9190614527565b611d42565b6040516105bc9190615596565b60405180910390f35b3480156105d157600080fd5b506105da611d8a565b005b3480156105e857600080fd5b5061060360048036038101906105fe91906148f2565b611ee2565b005b34801561061157600080fd5b5061061a611feb565b6040516106279190614e88565b60405180910390f35b34801561063c57600080fd5b50610645612015565b6040516106529190615031565b60405180910390f35b34801561066757600080fd5b50610682600480360381019061067d9190614640565b6120a7565b60405161068f9190615016565b60405180910390f35b3480156106a457600080fd5b506106ad612174565b6040516106ba9190614e88565b60405180910390f35b3480156106cf57600080fd5b506106ea60048036038101906106e59190614640565b6121a1565b6040516106f79190615016565b60405180910390f35b34801561070c57600080fd5b50610727600480360381019061072291906148a0565b6121bf565b005b34801561073557600080fd5b5061073e6122c8565b005b34801561074c57600080fd5b5061076760048036038101906107629190614604565b6124fb565b005b34801561077557600080fd5b5061077e612604565b005b34801561078c57600080fd5b506107a760048036038101906107a29190614579565b612762565b6040516107b49190615596565b60405180910390f35b3480156107c957600080fd5b506107e460048036038101906107df9190614527565b6127e9565b005b3480156107f257600080fd5b5061080d600480360381019061080891906148f2565b6129b0565b005b34801561081b57600080fd5b50610824612abc565b6040516108319190615596565b60405180910390f35b610842612efc565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146108d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c890615133565b60405180910390fd5b6006600e01735ebbfd959eafd9521980b9ab23a6ae733b1fbeb3631f72e40d90918585856040518563ffffffff1660e01b81526004016109149493929190615233565b60006040518083038186803b15801561092c57600080fd5b505af4158015610940573d6000803e3d6000fd5b50505050505050565b606060038054610958906159cd565b80601f0160208091040260200160405190810160405280929190818152602001828054610984906159cd565b80156109d15780601f106109a6576101008083540402835291602001916109d1565b820191906000526020600020905b8154815290600101906020018083116109b457829003601f168201915b5050505050905090565b60006109e5612604565b6109ef8383612f04565b905092915050565b6000600254905090565b6000610a0e848484612f22565b610acf84610a1a612efc565b610aca85604051806060016040528060288152602001615ebe60289139600160008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610a80612efc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612e4e9092919063ffffffff16565b613555565b600190509392505050565b610ae2612efc565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610b71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6890615133565b60405180910390fd5b600660000173c1507d47c2f139e7c2ddb4fbae325ca5111c292f6301c5f2469091868686866040518663ffffffff1660e01b8152600401610bb69594939291906154b9565b60006040518083038186803b158015610bce57600080fd5b505af4158015610be2573d6000803e3d6000fd5b5050505050505050565b64e8d4a51000341015610bfe57600080fd5b60006006602a015411610c1057600080fd5b73f7b2c0da80eb6494876316a63d497d68bcdd86fa63f27b77716006602a01546040518263ffffffff1660e01b8152600401610c4c919061557b565b60206040518083038186803b158015610c6457600080fd5b505af4158015610c78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9c919061483b565b15610ca657600080fd5b610cae612604565b610cb6611593565b60003447610cc491906158f5565b90506000610cd130611d42565b90506000600267ffffffffffffffff811115610d16577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610d445781602001602082028036833780820191505090505b509050600660220160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015610db257600080fd5b505afa158015610dc6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dea9190614550565b81600081518110610e24577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250503081600181518110610e99577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506000600234610ee291906157d6565b905060008134610ef291906158f5565b90506000610eff33611d42565b905060016006602b0160016101000a81548160ff021916908315150217905550600660220160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b6f9de9584898733426040518663ffffffff1660e01b8152600401610f8494939291906155b1565b6000604051808303818588803b158015610f9d57600080fd5b505af1158015610fb1573d6000803e3d6000fd5b5050505050600081610fc233611d42565b610fcc91906158f5565b9050610fd9333083612bb9565b600086610fe530611d42565b610fef91906158f5565b9050610ffc8a8583613720565b6110068a89613b1c565b60006006602b0160016101000a81548160ff02191690831515021790555050505050505050505050565b6000600660240160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611065612efc565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146110f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110eb90615133565b60405180910390fd5b600660000173c1507d47c2f139e7c2ddb4fbae325ca5111c292f63d63d400c9091600661112030611d42565b6040518463ffffffff1660e01b815260040161113e93929190615459565b60006040518083038186803b15801561115657600080fd5b505af415801561116a573d6000803e3d6000fd5b50505050565b60006012905090565b611181612efc565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611210576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120790615133565b60405180910390fd5b600660240160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166331e79db0826040518263ffffffff1660e01b815260040161126e9190614e88565b600060405180830381600087803b15801561128857600080fd5b505af115801561129c573d6000803e3d6000fd5b5050505050565b69d3c21bcecceda100000081565b6060600080600080600080600080600080600673a1129039325b66b0f2bb61faa5fae1ea77ea6e8b63fc1f991d90918e6112e9613be1565b6040518463ffffffff1660e01b815260040161130793929190615361565b60006040518083038186803b15801561131f57600080fd5b505af4158015611333573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061135c9190614733565b9a509a509a509a509a509a509a509a509a509a509a5091939597999b90929496989a50565b600061142a61138e612efc565b84611425856001600061139f612efc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612b5b90919063ffffffff16565b613555565b6001905092915050565b61143c612efc565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146114cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c290615133565b60405180910390fd5b60006006602a0154146114dd57600080fd5b60006114e7611feb565b73ffffffffffffffffffffffffffffffffffffffff164760405161150a90614e73565b60006040518083038185875af1925050503d8060008114611547576040519150601f19603f3d011682016040523d82523d6000602084013e61154c565b606091505b5050905080611590576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611587906150b3565b60405180910390fd5b50565b600061159d613be1565b90506000806000806006600e01735ebbfd959eafd9521980b9ab23a6ae733b1fbeb363f043495f9091876040518363ffffffff1660e01b81526004016115e49291906151d3565b60806040518083038186803b1580156115fc57600080fd5b505af4158015611610573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611634919061467c565b9350935093509350600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146116f15761167a8484613c16565b600673a1129039325b66b0f2bb61faa5fae1ea77ea6e8b63c62742299091866116a288611d42565b6040518463ffffffff1660e01b81526004016116c093929190615361565b60006040518083038186803b1580156116d857600080fd5b505af41580156116ec573d6000803e3d6000fd5b505050505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146117a65761172f8282613c16565b600673a1129039325b66b0f2bb61faa5fae1ea77ea6e8b63c627422990918461175786611d42565b6040518463ffffffff1660e01b815260040161177593929190615361565b60006040518083038186803b15801561178d57600080fd5b505af41580156117a1573d6000803e3d6000fd5b505050505b5050505050565b6000600660240160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663940d26223385856040518463ffffffff1660e01b815260040161181193929190614ea3565b602060405180830381600087803b15801561182b57600080fd5b505af115801561183f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611863919061483b565b905092915050565b611873612efc565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611902576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f990615133565b60405180910390fd5b600660000173c1507d47c2f139e7c2ddb4fbae325ca5111c292f636a5e201790918888888888886040518863ffffffff1660e01b815260040161194b979695949392919061550c565b60006040518083038186803b15801561196357600080fd5b505af4158015611977573d6000803e3d6000fd5b50505050505050505050565b61198b612efc565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611a1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1190615133565b60405180910390fd5b6006601a017333db4e985fdb4d8fadf93b23637e849bb5400a3c6393cc0a7e9091856040518363ffffffff1660e01b8152600401611a599291906152bd565b60006040518083038186803b158015611a7157600080fd5b505af4158015611a85573d6000803e3d6000fd5b505050506006601a017333db4e985fdb4d8fadf93b23637e849bb5400a3c632d02375d9091846040518363ffffffff1660e01b8152600401611ac89291906152bd565b60006040518083038186803b158015611ae057600080fd5b505af4158015611af4573d6000803e3d6000fd5b505050506006601a017333db4e985fdb4d8fadf93b23637e849bb5400a3c63bfc9f7c29091836040518363ffffffff1660e01b8152600401611b379291906152bd565b60006040518083038186803b158015611b4f57600080fd5b505af4158015611b63573d6000803e3d6000fd5b50505050505050565b611b74612efc565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611c03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfa90615133565b60405180910390fd5b60005b8251811015611d3d576000838281518110611c4a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506006602d0160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611d295760016006602d0160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611d28611d0e611feb565b82670de0b6b3a764000086611d239190615807565b612bb9565b5b508080611d3590615a30565b915050611c06565b505050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611d92612efc565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611e21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1890615133565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b611eea612efc565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611f79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7090615133565b60405180910390fd5b600673a1129039325b66b0f2bb61faa5fae1ea77ea6e8b63da044a92909184846040518463ffffffff1660e01b8152600401611fb7939291906153c1565b60006040518083038186803b158015611fcf57600080fd5b505af4158015611fe3573d6000803e3d6000fd5b505050505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054612024906159cd565b80601f0160208091040260200160405190810160405280929190818152602001828054612050906159cd565b801561209d5780601f106120725761010080835404028352916020019161209d565b820191906000526020600020905b81548152906001019060200180831161208057829003601f168201915b5050505050905090565b600061216a6120b4612efc565b8461216585604051806060016040528060258152602001615ee660259139600160006120de612efc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612e4e9092919063ffffffff16565b613555565b6001905092915050565b6000600660230160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006121b56121ae612efc565b8484612f22565b6001905092915050565b6121c7612efc565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612256576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224d90615133565b60405180910390fd5b600660000173c1507d47c2f139e7c2ddb4fbae325ca5111c292f63fbd31ecf9091836040518363ffffffff1660e01b8152600401612295929190615490565b60006040518083038186803b1580156122ad57600080fd5b505af41580156122c1573d6000803e3d6000fd5b5050505050565b6122d0612efc565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461235f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235690615133565b60405180910390fd5b60006006602a01541461237157600080fd5b6123c130600660220160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff613555565b600660220160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f305d719473061240d30611d42565b600080612418611feb565b426040518863ffffffff1660e01b815260040161243a96959493929190614f03565b6060604051808303818588803b15801561245357600080fd5b505af1158015612467573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061248c919061497d565b505050600673a1129039325b66b0f2bb61faa5fae1ea77ea6e8b630de0589990916040518263ffffffff1660e01b81526004016124c991906152e6565b60006040518083038186803b1580156124e157600080fd5b505af41580156124f5573d6000803e3d6000fd5b50505050565b612503612efc565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612592576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258990615133565b60405180910390fd5b600673a1129039325b66b0f2bb61faa5fae1ea77ea6e8b6315b486fb909184846040518463ffffffff1660e01b81526004016125d09392919061532a565b60006040518083038186803b1580156125e857600080fd5b505af41580156125fc573d6000803e3d6000fd5b505050505050565b6000600673a1129039325b66b0f2bb61faa5fae1ea77ea6e8b6310693013909161262c613be1565b6040518363ffffffff1660e01b8152600401612649929190615398565b60206040518083038186803b15801561266157600080fd5b505af4158015612675573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061269991906148c9565b905060008114156126aa5750612760565b6126d9600660230160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682613c4f565b600660230160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fff6cae96040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561274657600080fd5b505af115801561275a573d6000803e3d6000fd5b50505050505b565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6127f1612efc565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612880576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161287790615133565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156128f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e790615073565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6129b8612efc565b73ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612a47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a3e90615133565b60405180910390fd5b6006600e01735ebbfd959eafd9521980b9ab23a6ae733b1fbeb36332abb4e3909184846040518463ffffffff1660e01b8152600401612a88939291906151fc565b60006040518083038186803b158015612aa057600080fd5b505af4158015612ab4573d6000803e3d6000fd5b505050505050565b600073fb99ab3c8302a664b2740064b4454e89e173bd4963202eb29069d3c21bcecceda10000006006602a01546040518363ffffffff1660e01b8152600401612b06929190615626565b60206040518083038186803b158015612b1e57600080fd5b505af4158015612b32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b5691906148c9565b905090565b6000808284612b6a9190615780565b905083811015612baf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ba6906150d3565b60405180910390fd5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612c29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c2090615173565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c9090615053565b60405180910390fd5b612ca4838383613dfd565b612d0f81604051806060016040528060268152602001615e98602691396000808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612e4e9092919063ffffffff16565b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612da2816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612b5b90919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612e419190615596565b60405180910390a3505050565b6000838311158290612e96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8d9190615031565b60405180910390fd5b5060008385612ea591906158f5565b9050809150509392505050565b6000612ef483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612e4e565b905092915050565b600033905090565b6000612f18612f11612efc565b8484613555565b6001905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612f5c57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f9657600080fd5b6000811415612fb057612fab83836000612bb9565b613550565b6006602d0160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615613133576000600673a1129039325b66b0f2bb61faa5fae1ea77ea6e8b630c37eff49091866040518363ffffffff1660e01b8152600401613043929190615301565b60206040518083038186803b15801561305b57600080fd5b505af415801561306f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061309391906148c9565b9050818110156130d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130cf90615113565b60405180910390fd5b816006602e0160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461312a9190615780565b92505081905550505b61313e838383613e02565b60006006602b0160009054906101000a900460ff161580156131ad57506006602c0160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b801561320657506006602c0160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b90506000613212611feb565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141580156132805750613250611feb565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b1561328e5761328d611593565b5b81156134cc5760006006601a017333db4e985fdb4d8fadf93b23637e849bb5400a3c63cc9723d49091866040518363ffffffff1660e01b81526004016132d59291906152bd565b60206040518083038186803b1580156132ed57600080fd5b505af4158015613301573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133259190614550565b90506006601a017333db4e985fdb4d8fadf93b23637e849bb5400a3c6304ea10f290918361335285611d42565b896040518563ffffffff1660e01b81526004016133729493929190615278565b60206040518083038186803b15801561338a57600080fd5b505af415801561339e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133c2919061483b565b6133cb57600090505b6000806000600660200173f7b2c0da80eb6494876316a63d497d68bcdd86fa6360db14b2909160068c8c8c8a6040518763ffffffff1660e01b8152600401613418969594939291906153f8565b60606040518083038186803b15801561343057600080fd5b505af4158015613444573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613468919061497d565b925092509250818361347a9190615861565b9450600083111561349f57828761349191906158f5565b965061349e893085612bb9565b5b60008211156134b3576134b28883613c16565b5b60008111156134c7576134c68482613c16565b5b505050505b6134d7858585612bb9565b600673a1129039325b66b0f2bb61faa5fae1ea77ea6e8b63c62742299091866134ff88611d42565b6040518463ffffffff1660e01b815260040161351d93929190615361565b60006040518083038186803b15801561353557600080fd5b505af4158015613549573d6000803e3d6000fd5b5050505050505b505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156135c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135bc90615193565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613635576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161362c90615093565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516137139190615596565b60405180910390a3505050565b61377030600660220160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff613555565b6000600660230160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a0823161dead6040518263ffffffff1660e01b81526004016137d29190614e88565b60206040518083038186803b1580156137ea57600080fd5b505afa1580156137fe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061382291906148c9565b9050600660220160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f305d71984308560008061dead426040518863ffffffff1660e01b815260040161389096959493929190614f03565b6060604051808303818588803b1580156138a957600080fd5b505af11580156138bd573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906138e2919061497d565b505050600081600660230160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a0823161dead6040518263ffffffff1660e01b81526004016139489190614e88565b60206040518083038186803b15801561396057600080fd5b505afa158015613974573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061399891906148c9565b6139a291906158f5565b90506000600660240160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415613a325761271060066000016007015483613a169190615807565b613a2091906157d6565b82613a2b9190615780565b9150600190505b600660240160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635b86f59987846040518363ffffffff1660e01b8152600401613a92929190614eda565b600060405180830381600087803b158015613aac57600080fd5b505af1158015613ac0573d6000803e3d6000fd5b505050508573ffffffffffffffffffffffffffffffffffffffff167f3e0a43046e2dfdb5b52f222ccd9d1f3e627a6028da1d8ed5204776094d3b4bda8383604051613b0c9291906155fd565b60405180910390a2505050505050565b80471115613bdd5760008273ffffffffffffffffffffffffffffffffffffffff168247613b4991906158f5565b604051613b5590614e73565b60006040518083038185875af1925050503d8060008114613b92576040519150601f19603f3d011682016040523d82523d6000602084013e613b97565b606091505b5050905080613bdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bd2906150f3565b60405180910390fd5b505b5050565b6000613c11600660230160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611d42565b905090565b6000811415613c2457613c4b565b806006602f016000828254613c399190615780565b92505081905550613c4a82826141d4565b5b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613cbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613cb690615153565b60405180910390fd5b613ccb82600083613dfd565b613d3681604051806060016040528060228152602001615e76602291396000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612e4e9092919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550613d8d81600254612eb290919063ffffffff16565b600281905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051613df19190615596565b60405180910390a35050565b505050565b6000613e0d30611d42565b905060006006602801548210159050613e24611feb565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614158015613e925750613e62611feb565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b156141cd573073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614158015613f245750600660230160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b8015613f815750600660220160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b15613fae57613f8e612abc565b83613f9886611d42565b613fa29190615780565b1115613fad57600080fd5b5b808015613fcb57506006602b0160009054906101000a900460ff16155b8015613fe757506006602b0160019054906101000a900460ff16155b80156140435750600660230160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16145b8015614054575060006006602a0154115b801561406457506006602a015442115b156141cc5760016006602b0160006101000a81548160ff02191690831515021790555060008290506006602901548111156140a25760066029015490505b60006127106006600001600b0154836140bb9190615807565b6140c591906157d6565b905060008111156140e95780826140dc91906158f5565b91506140e83082613c4f565b5b61413930600660220160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff613555565b600660000173c1507d47c2f139e7c2ddb4fbae325ca5111c292f63d63d400c90916006856040518463ffffffff1660e01b815260040161417b93929190615459565b60006040518083038186803b15801561419357600080fd5b505af41580156141a7573d6000803e3d6000fd5b5050505060006006602b0160006101000a81548160ff02191690831515021790555050505b5b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415614244576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161423b906151b3565b60405180910390fd5b61425060008383613dfd565b61426581600254612b5b90919063ffffffff16565b6002819055506142bc816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612b5b90919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161435c9190615596565b60405180910390a35050565b600061437b6143768461568f565b61566a565b9050808382526020820190508285602086028201111561439a57600080fd5b60005b858110156143ca57816143b08882614440565b84526020840193506020830192505060018101905061439d565b5050509392505050565b60006143e76143e2846156bb565b61566a565b9050808382526020820190508285602086028201111561440657600080fd5b60005b85811015614436578161441c8882614512565b845260208401935060208301925050600181019050614409565b5050509392505050565b60008135905061444f81615e19565b92915050565b60008151905061446481615e19565b92915050565b600082601f83011261447b57600080fd5b813561448b848260208601614368565b91505092915050565b600082601f8301126144a557600080fd5b81516144b58482602086016143d4565b91505092915050565b6000813590506144cd81615e30565b92915050565b6000815190506144e281615e30565b92915050565b6000815190506144f781615e47565b92915050565b60008135905061450c81615e5e565b92915050565b60008151905061452181615e5e565b92915050565b60006020828403121561453957600080fd5b600061454784828501614440565b91505092915050565b60006020828403121561456257600080fd5b600061457084828501614455565b91505092915050565b6000806040838503121561458c57600080fd5b600061459a85828601614440565b92505060206145ab85828601614440565b9150509250929050565b6000806000606084860312156145ca57600080fd5b60006145d886828701614440565b93505060206145e986828701614440565b92505060406145fa868287016144fd565b9150509250925092565b6000806040838503121561461757600080fd5b600061462585828601614440565b9250506020614636858286016144be565b9150509250929050565b6000806040838503121561465357600080fd5b600061466185828601614440565b9250506020614672858286016144fd565b9150509250929050565b6000806000806080858703121561469257600080fd5b60006146a087828801614455565b94505060206146b187828801614512565b93505060406146c287828801614455565b92505060606146d387828801614512565b91505092959194509250565b600080604083850312156146f257600080fd5b600083013567ffffffffffffffff81111561470c57600080fd5b6147188582860161446a565b9250506020614729858286016144fd565b9150509250929050565b60008060008060008060008060008060006101608c8e03121561475557600080fd5b60008c015167ffffffffffffffff81111561476f57600080fd5b61477b8e828f01614494565b9b5050602061478c8e828f01614512565b9a5050604061479d8e828f016144e8565b99505060606147ae8e828f01614512565b98505060806147bf8e828f01614455565b97505060a06147d08e828f01614512565b96505060c06147e18e828f01614512565b95505060e06147f28e828f01614455565b9450506101006148048e828f01614512565b9350506101206148168e828f01614512565b9250506101406148288e828f01614512565b9150509295989b509295989b9093969950565b60006020828403121561484d57600080fd5b600061485b848285016144d3565b91505092915050565b6000806040838503121561487757600080fd5b6000614885858286016144be565b9250506020614896858286016144fd565b9150509250929050565b6000602082840312156148b257600080fd5b60006148c0848285016144fd565b91505092915050565b6000602082840312156148db57600080fd5b60006148e984828501614512565b91505092915050565b6000806040838503121561490557600080fd5b6000614913858286016144fd565b9250506020614924858286016144fd565b9150509250929050565b60008060006060848603121561494357600080fd5b6000614951868287016144fd565b9350506020614962868287016144fd565b9250506040614973868287016144fd565b9150509250925092565b60008060006060848603121561499257600080fd5b60006149a086828701614512565b93505060206149b186828701614512565b92505060406149c286828701614512565b9150509250925092565b600080600080608085870312156149e257600080fd5b60006149f0878288016144fd565b9450506020614a01878288016144fd565b9350506040614a12878288016144fd565b9250506060614a23878288016144fd565b91505092959194509250565b60008060008060008060c08789031215614a4857600080fd5b6000614a5689828a016144fd565b9650506020614a6789828a016144fd565b9550506040614a7889828a016144fd565b9450506060614a8989828a016144fd565b9350506080614a9a89828a016144fd565b92505060a0614aab89828a016144fd565b9150509295509295509295565b6000614ac48383614ae8565b60208301905092915050565b6000614adc8383614e37565b60208301905092915050565b614af181615929565b82525050565b614b0081615929565b82525050565b614b0f81615929565b82525050565b6000614b2082615707565b614b2a8185615742565b9350614b35836156e7565b8060005b83811015614b66578151614b4d8882614ab8565b9750614b5883615728565b925050600181019050614b39565b5085935050505092915050565b6000614b7e82615712565b614b888185615753565b9350614b93836156f7565b8060005b83811015614bc4578151614bab8882614ad0565b9750614bb683615735565b925050600181019050614b97565b5085935050505092915050565b614bda8161593b565b82525050565b614be98161593b565b82525050565b614bf881615947565b82525050565b614c0781615988565b82525050565b6000614c188261571d565b614c22818561576f565b9350614c3281856020860161599a565b614c3b81615b35565b840191505092915050565b6000614c5360238361576f565b9150614c5e82615b46565b604082019050919050565b6000614c7660268361576f565b9150614c8182615b95565b604082019050919050565b6000614c9960228361576f565b9150614ca482615be4565b604082019050919050565b6000614cbc60188361576f565b9150614cc782615c33565b602082019050919050565b6000614cdf601b8361576f565b9150614cea82615c5c565b602082019050919050565b6000614d0260168361576f565b9150614d0d82615c85565b602082019050919050565b6000614d2560168361576f565b9150614d3082615cae565b602082019050919050565b6000614d4860208361576f565b9150614d5382615cd7565b602082019050919050565b6000614d6b60218361576f565b9150614d7682615d00565b604082019050919050565b6000614d8e60258361576f565b9150614d9982615d4f565b604082019050919050565b6000614db1600083615764565b9150614dbc82615d9e565b600082019050919050565b6000614dd460248361576f565b9150614ddf82615da1565b604082019050919050565b6000614df7601f8361576f565b9150614e0282615df0565b602082019050919050565b8082525050565b8082525050565b8082525050565b8082525050565b8082525050565b8082525050565b614e4081615971565b82525050565b614e4f81615971565b82525050565b614e5e81615971565b82525050565b614e6d8161597b565b82525050565b6000614e7e82614da4565b9150819050919050565b6000602082019050614e9d6000830184614af7565b92915050565b6000606082019050614eb86000830186614af7565b614ec56020830185614bd1565b614ed26040830184614e46565b949350505050565b6000604082019050614eef6000830185614af7565b614efc6020830184614e46565b9392505050565b600060c082019050614f186000830189614af7565b614f256020830188614e46565b614f326040830187614bfe565b614f3f6060830186614bfe565b614f4c6080830185614af7565b614f5960a0830184614e46565b979650505050505050565b6000610160820190508181036000830152614f7f818e614b73565b9050614f8e602083018d614e46565b614f9b604083018c614bef565b614fa8606083018b614e46565b614fb5608083018a614af7565b614fc260a0830189614e46565b614fcf60c0830188614e46565b614fdc60e0830187614af7565b614fea610100830186614e46565b614ff8610120830185614e46565b615006610140830184614e46565b9c9b505050505050505050505050565b600060208201905061502b6000830184614bd1565b92915050565b6000602082019050818103600083015261504b8184614c0d565b905092915050565b6000602082019050818103600083015261506c81614c46565b9050919050565b6000602082019050818103600083015261508c81614c69565b9050919050565b600060208201905081810360008301526150ac81614c8c565b9050919050565b600060208201905081810360008301526150cc81614caf565b9050919050565b600060208201905081810360008301526150ec81614cd2565b9050919050565b6000602082019050818103600083015261510c81614cf5565b9050919050565b6000602082019050818103600083015261512c81614d18565b9050919050565b6000602082019050818103600083015261514c81614d3b565b9050919050565b6000602082019050818103600083015261516c81614d5e565b9050919050565b6000602082019050818103600083015261518c81614d81565b9050919050565b600060208201905081810360008301526151ac81614dc7565b9050919050565b600060208201905081810360008301526151cc81614dea565b9050919050565b60006040820190506151e86000830185614e0d565b6151f56020830184614e55565b9392505050565b60006060820190506152116000830186614e0d565b61521e6020830185614e55565b61522b6040830184614e55565b949350505050565b60006080820190506152486000830187614e0d565b6152556020830186614e55565b6152626040830185614e55565b61526f6060830184614e55565b95945050505050565b600060808201905061528d6000830187614e14565b61529a6020830186614b06565b6152a76040830185614e55565b6152b46060830184614b06565b95945050505050565b60006040820190506152d26000830185614e14565b6152df6020830184614e55565b9392505050565b60006020820190506152fb6000830184614e1b565b92915050565b60006040820190506153166000830185614e1b565b6153236020830184614b06565b9392505050565b600060608201905061533f6000830186614e1b565b61534c6020830185614b06565b6153596040830184614be0565b949350505050565b60006060820190506153766000830186614e1b565b6153836020830185614b06565b6153906040830184614e55565b949350505050565b60006040820190506153ad6000830185614e1b565b6153ba6020830184614e55565b9392505050565b60006060820190506153d66000830186614e1b565b6153e36020830185614e55565b6153f06040830184614e55565b949350505050565b600060c08201905061540d6000830189614e29565b61541a6020830188614e22565b6154276040830187614b06565b6154346060830186614b06565b6154416080830185614e55565b61544e60a0830184614b06565b979650505050505050565b600060608201905061546e6000830186614e30565b61547b6020830185614e22565b6154886040830184614e55565b949350505050565b60006040820190506154a56000830185614e30565b6154b26020830184614e55565b9392505050565b600060a0820190506154ce6000830188614e30565b6154db6020830187614e55565b6154e86040830186614e55565b6154f56060830185614e55565b6155026080830184614e55565b9695505050505050565b600060e082019050615521600083018a614e30565b61552e6020830189614e55565b61553b6040830188614e55565b6155486060830187614e55565b6155556080830186614e55565b61556260a0830185614e55565b61556f60c0830184614e55565b98975050505050505050565b60006020820190506155906000830184614e55565b92915050565b60006020820190506155ab6000830184614e46565b92915050565b60006080820190506155c66000830187614e46565b81810360208301526155d88186614b15565b90506155e76040830185614af7565b6155f46060830184614e46565b95945050505050565b60006040820190506156126000830185614e46565b61561f6020830184614bd1565b9392505050565b600060408201905061563b6000830185614e55565b6156486020830184614e55565b9392505050565b60006020820190506156646000830184614e64565b92915050565b6000615674615685565b905061568082826159ff565b919050565b6000604051905090565b600067ffffffffffffffff8211156156aa576156a9615b06565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156156d6576156d5615b06565b5b602082029050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600061578b82615971565b915061579683615971565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156157cb576157ca615a79565b5b828201905092915050565b60006157e182615971565b91506157ec83615971565b9250826157fc576157fb615aa8565b5b828204905092915050565b600061581282615971565b915061581d83615971565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561585657615855615a79565b5b828202905092915050565b600061586c82615947565b915061587783615947565b9250827f8000000000000000000000000000000000000000000000000000000000000000018212600084121516156158b2576158b1615a79565b5b827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0182136000841216156158ea576158e9615a79565b5b828203905092915050565b600061590082615971565b915061590b83615971565b92508282101561591e5761591d615a79565b5b828203905092915050565b600061593482615951565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b600061599382615971565b9050919050565b60005b838110156159b857808201518184015260208101905061599d565b838111156159c7576000848401525b50505050565b600060028204905060018216806159e557607f821691505b602082108114156159f9576159f8615ad7565b5b50919050565b615a0882615b35565b810181811067ffffffffffffffff82111715615a2757615a26615b06565b5b80604052505050565b6000615a3b82615971565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615a6e57615a6d615a79565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f436f756c64206e6f742077697468647261772066756e64730000000000000000600082015250565b7f536166654d6174683a206164646974696f6e206f766572666c6f770000000000600082015250565b7f436f756c64206e6f742072657475726e2066756e647300000000000000000000600082015250565b7f4d6f76696e6720746f6b656e7320746f6f206661737400000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b50565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b615e2281615929565b8114615e2d57600080fd5b50565b615e398161593b565b8114615e4457600080fd5b50565b615e5081615947565b8114615e5b57600080fd5b50565b615e6781615971565b8114615e7257600080fd5b5056fe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122089809eae502b81d2b81337ef1b21e9ec9a4073df715eb9c6d85ac9e93feceb9f64736f6c63430008040033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.