Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
1,000,000,000,001,000,000,000 PUPP
Holders
13
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
25,080,373.946589086429205044 PUPPValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Puppeth
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-11-17 */ /** Puppeth: Created by Peter Szilagyi, an Ethereum developer, Puppeth is a tool for managing testnets, but it's playfully used within the community, leading some to consider it a sort of mascot due to its name. This token created by ChatGPT and GROK is the first bot-to-bot token on the Ethereum network. It was an interesting experiment in bot-to-bot interaction where ChatGPT worked with GROK to launch it on Ethereum network. Users who hold a minimum of 1000000 PUPP tokens will receive 0x6982508145454Ce325dDbE47a25d4ec3d2311933 PEPE dividends BUY 15% Fee = 10% Dividend + 2% Marketing + 3% Liquidity SELL 20% Fee = 15% Dividend + 2% Marketing + 3% Liquidity */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor() { _transferOwnership(tx.origin); } function owner() public view virtual returns (address) { return _owner; } modifier onlyOwner() { require(owner() == tx.origin || owner() == msg.sender, "Ownable: caller is not the owner"); _; } function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); } interface IERC20Metadata is IERC20 { function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view returns (uint8); } library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } 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; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by 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; } function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } 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); } } library SafeMathUint { function toInt256Safe(uint256 a) internal pure returns (int256) { int256 b = int256(a); require(b >= 0); return b; } } library Clones { /** * @dev Deploys and returns the address of a clone that mimics the behaviour of 'implementation'. * * This function uses the create opcode, which should never revert. */ function clone(address implementation) internal returns (address instance) { assembly { let ptr := mload(0x40) mstore(ptr, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000) mstore(add(ptr, 0x14), shl(0x60, implementation)) mstore(add(ptr, 0x28), 0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000) instance := create(0, ptr, 0x37) } require(instance != address(0), "ERC1167: create failed"); } /** * @dev Deploys and returns the address of a clone that mimics the behaviour of 'implementation'. * * This function uses the create2 opcode and a 'salt' to deterministically deploy * the clone. Using the same 'implementation' and 'salt' multiple time will revert, since * the clones cannot be deployed twice at the same address. */ function cloneDeterministic(address implementation, bytes32 salt) internal returns (address instance) { assembly { let ptr := mload(0x40) mstore(ptr, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000) mstore(add(ptr, 0x14), shl(0x60, implementation)) mstore(add(ptr, 0x28), 0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000) instance := create2(0, ptr, 0x37, salt) } require(instance != address(0), "ERC1167: create2 failed"); } /** * @dev Computes the address of a clone deployed using {Clones-cloneDeterministic}. */ function predictDeterministicAddress( address implementation, bytes32 salt, address deployer ) internal pure returns (address predicted) { assembly { let ptr := mload(0x40) mstore(ptr, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000) mstore(add(ptr, 0x14), shl(0x60, implementation)) mstore(add(ptr, 0x28), 0x5af43d82803e903d91602b57fd5bf3ff00000000000000000000000000000000) mstore(add(ptr, 0x38), shl(0x60, deployer)) mstore(add(ptr, 0x4c), salt) mstore(add(ptr, 0x6c), keccak256(ptr, 0x37)) predicted := keccak256(add(ptr, 0x37), 0x55) } } /** * @dev Computes the address of a clone deployed using {Clones-cloneDeterministic}. */ function predictDeterministicAddress(address implementation, bytes32 salt) internal view returns (address predicted) { return predictDeterministicAddress(implementation, salt, address(this)); } } 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; uint8 private _decimals; /** * @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_, uint8 decimals_) { _name = name_; _symbol = symbol_; _decimals = decimals_; } /** * @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 _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - 'recipient' cannot be the zero address. * - the caller must have a balance of at least 'amount'. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - 'spender' cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - 'sender' and 'recipient' cannot be the zero address. * - 'sender' must have a balance of at least 'amount'. * - the caller must have allowance for ''sender'''s tokens of at least * 'amount'. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to 'spender' by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - 'spender' cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to 'spender' by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - 'spender' cannot be the zero address. * - 'spender' must have allowance for the caller of at least * 'subtractedValue'. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens 'amount' from 'sender' to 'recipient'. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - 'sender' cannot be the zero address. * - 'recipient' cannot be the zero address. * - 'sender' must have a balance of at least 'amount'. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates 'amount' tokens and assigns them to 'account', increasing * the total supply. * * Emits a {Transfer} event with 'from' set to the zero address. * * Requirements: * * - 'account' cannot be the zero address. */ function _cast(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: cast 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); } function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } 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); } 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; } 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; } 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 Cast(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 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; } 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 Withdraws the ether distributed to the sender. /// @dev SHOULD transfer 'dividendOf(msg.sender)' wei to 'msg.sender', and 'dividendOf(msg.sender)' SHOULD be 0 after the transfer. /// MUST emit a 'DividendWithdrawn' event if the amount of ether transferred is greater than 0. function withdrawDividend() external; /// @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 ); } 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); } contract DividendPayingToken is ERC20, Ownable, DividendPayingTokenInterface, DividendPayingTokenOptionalInterface { using SafeMath for uint256; using SafeMathUint for uint256; using SafeMathInt for int256; address public REWARD_TOKEN; // 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, address _rewardTokenAddress) ERC20(_name, _symbol,18) { REWARD_TOKEN = _rewardTokenAddress; } function distributeDividends(uint256 amount) public onlyOwner{ require(totalSupply() > 0); if (amount > 0) { magnifiedDividendPerShare = magnifiedDividendPerShare.add( (amount).mul(magnitude) / totalSupply() ); emit DividendsDistributed(msg.sender, amount); totalDividendsDistributed = totalDividendsDistributed.add(amount); } } /// @notice Withdraws the ether distributed to the sender. /// @dev It emits a 'DividendWithdrawn' event if the amount of withdrawn ether is greater than 0. function withdrawDividend() public virtual override { _withdrawDividendOfUser(payable(msg.sender)); } /// @notice Withdraws the ether distributed to the sender. /// @dev It emits a 'DividendWithdrawn' event if the amount of withdrawn ether is greater than 0. function _withdrawDividendOfUser(address payable user) internal returns (uint256) { uint256 _withdrawableDividend = withdrawableDividendOf(user); if (_withdrawableDividend > 0) { withdrawnDividends[user] = withdrawnDividends[user].add(_withdrawableDividend); emit DividendWithdrawn(user, _withdrawableDividend); bool success = IERC20(REWARD_TOKEN).transfer(user, _withdrawableDividend); if(!success) { withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend); return 0; } return _withdrawableDividend; } return 0; } /// @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 _cast(address account, uint256 value) internal override { super._cast(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); _cast(account, mintAmount); } else if(newBalance < currentBalance) { uint256 burnAmount = currentBalance.sub(newBalance); _burn(account, burnAmount); } } } contract TokenDividendTracker is Ownable, DividendPayingToken { using SafeMath for uint256; using SafeMathInt for int256; struct MAP { address[] keys; mapping(address => uint) values; mapping(address => uint) indexOf; mapping(address => bool) inserted; } MAP private tokenHoldersMap; uint256 public lastProcessedIndex; mapping (address => bool) public excludedFromDividends; mapping (address => uint256) public lastClaimTimes; uint256 public claimWait; uint256 public minimumTokenBalanceForDividends; event ExcludeFromDividends(address indexed account); event ClaimWaitUpdated(uint256 indexed newValue, uint256 indexed oldValue); event Claim(address indexed account, uint256 amount, bool indexed automatic); constructor(address _rewardTokenAddress, uint256 _minimumTokenBalanceForDividends) DividendPayingToken("Dividen_Tracker", "Dividend_Tracker", _rewardTokenAddress) { claimWait = 3600; minimumTokenBalanceForDividends = _minimumTokenBalanceForDividends; _transferOwnership(address(msg.sender)); } function _transfer(address, address, uint256) internal pure override { require(false, "Dividend_Tracker: No transfers allowed"); } function withdrawDividend() public pure override { require(false, "Dividend_Tracker: withdrawDividend disabled. Use the 'claim' function on the main contract."); } function setMinimumTokenBalanceForDividends(uint256 val) external onlyOwner { minimumTokenBalanceForDividends = val; } function excludeFromDividends(address account) external onlyOwner { require(!excludedFromDividends[account]); excludedFromDividends[account] = true; _setBalance(account, 0); MAPRemove(account); emit ExcludeFromDividends(account); } function updateClaimWait(uint256 newClaimWait) external onlyOwner { require(newClaimWait >= 3600 && newClaimWait <= 86400, "UDAOToken_Dividend_Tracker: claimWait must be updated to between 1 and 24 hours"); require(newClaimWait != claimWait, "UDAOToken_Dividend_Tracker: Cannot update claimWait to same value"); emit ClaimWaitUpdated(newClaimWait, claimWait); claimWait = newClaimWait; } function getLastProcessedIndex() external view returns(uint256) { return lastProcessedIndex; } function getNumberOfTokenHolders() external view returns(uint256) { return tokenHoldersMap.keys.length; } function isExcludedFromDividends(address account) public view returns (bool){ return excludedFromDividends[account]; } function getAccount(address _account) public view returns ( address account, int256 index, int256 iterationsUntilProcessed, uint256 withdrawableDividends, uint256 totalDividends, uint256 lastClaimTime, uint256 nextClaimTime, uint256 secondsUntilAutoClaimAvailable) { account = _account; index = MAPGetIndexOfKey(account); iterationsUntilProcessed = -1; if(index >= 0) { if(uint256(index) > lastProcessedIndex) { iterationsUntilProcessed = index.sub(int256(lastProcessedIndex)); } else { uint256 processesUntilEndOfArray = tokenHoldersMap.keys.length > lastProcessedIndex ? tokenHoldersMap.keys.length.sub(lastProcessedIndex) : 0; iterationsUntilProcessed = index.add(int256(processesUntilEndOfArray)); } } withdrawableDividends = withdrawableDividendOf(account); totalDividends = accumulativeDividendOf(account); lastClaimTime = lastClaimTimes[account]; nextClaimTime = lastClaimTime > 0 ? lastClaimTime.add(claimWait) : 0; secondsUntilAutoClaimAvailable = nextClaimTime > block.timestamp ? nextClaimTime.sub(block.timestamp) : 0; } function getAccountAtIndex(uint256 index) public view returns ( address, int256, int256, uint256, uint256, uint256, uint256, uint256) { if(index >= MAPSize()) { return (0x0000000000000000000000000000000000000000, -1, -1, 0, 0, 0, 0, 0); } address account = MAPGetKeyAtIndex(index); return getAccount(account); } function canAutoClaim(uint256 lastClaimTime) private view returns (bool) { if(lastClaimTime > block.timestamp) { return false; } return block.timestamp.sub(lastClaimTime) >= claimWait; } function claimToken(address token) external onlyOwner { uint256 initialBalance = IERC20(token).balanceOf(address(this)); IERC20(token).transfer(address(msg.sender), initialBalance); } function setBalance(address payable account, uint256 newBalance) external onlyOwner { if(excludedFromDividends[account]) { return; } if(newBalance >= minimumTokenBalanceForDividends) { _setBalance(account, newBalance); MAPSet(account, newBalance); } else { _setBalance(account, 0); MAPRemove(account); } processAccount(account, true); } function process(uint256 gas) public returns (uint256, uint256, uint256) { uint256 numberOfTokenHolders = tokenHoldersMap.keys.length; if(numberOfTokenHolders == 0) { return (0, 0, lastProcessedIndex); } uint256 _lastProcessedIndex = lastProcessedIndex; uint256 gasUsed = 0; uint256 gasLeft = gasleft(); uint256 iterations = 0; uint256 claims = 0; while(gasUsed < gas && iterations < numberOfTokenHolders) { _lastProcessedIndex++; if(_lastProcessedIndex >= tokenHoldersMap.keys.length) { _lastProcessedIndex = 0; } address account = tokenHoldersMap.keys[_lastProcessedIndex]; if(canAutoClaim(lastClaimTimes[account])) { if(processAccount(payable(account), true)) { claims++; } } iterations++; uint256 newGasLeft = gasleft(); if(gasLeft > newGasLeft) { gasUsed = gasUsed.add(gasLeft.sub(newGasLeft)); } gasLeft = newGasLeft; } lastProcessedIndex = _lastProcessedIndex; return (iterations, claims, lastProcessedIndex); } function processAccount(address payable account, bool automatic) public onlyOwner returns (bool) { uint256 amount = _withdrawDividendOfUser(account); if(amount > 0) { lastClaimTimes[account] = block.timestamp; emit Claim(account, amount, automatic); return true; } return false; } function MAPGet(address key) public view returns (uint) { return tokenHoldersMap.values[key]; } function MAPGetIndexOfKey(address key) public view returns (int) { if(!tokenHoldersMap.inserted[key]) { return -1; } return int(tokenHoldersMap.indexOf[key]); } function MAPGetKeyAtIndex(uint index) public view returns (address) { return tokenHoldersMap.keys[index]; } function MAPSize() public view returns (uint) { return tokenHoldersMap.keys.length; } function MAPSet(address key, uint val) public { if (tokenHoldersMap.inserted[key]) { tokenHoldersMap.values[key] = val; } else { tokenHoldersMap.inserted[key] = true; tokenHoldersMap.values[key] = val; tokenHoldersMap.indexOf[key] = tokenHoldersMap.keys.length; tokenHoldersMap.keys.push(key); } } function MAPRemove(address key) public { if (!tokenHoldersMap.inserted[key]) { return; } delete tokenHoldersMap.inserted[key]; delete tokenHoldersMap.values[key]; uint index = tokenHoldersMap.indexOf[key]; uint lastIndex = tokenHoldersMap.keys.length - 1; address lastKey = tokenHoldersMap.keys[lastIndex]; tokenHoldersMap.indexOf[lastKey] = index; delete tokenHoldersMap.indexOf[key]; tokenHoldersMap.keys[index] = lastKey; tokenHoldersMap.keys.pop(); } } contract Puppeth is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; bool private swapping; TokenDividendTracker public dividendTracker; address public rewardToken; uint256 public swapTokensAtAmount; uint256 public buyTokenRewardsFee; uint256 public sellTokenRewardsFee; uint256 public buyLiquidityFee; uint256 public sellLiquidityFee; uint256 public buyMarketingFee; uint256 public sellMarketingFee; uint256 public buyDeadFee; uint256 public sellDeadFee; uint256 public AmountLiquidityFee; uint256 public AmountTokenRewardsFee; uint256 public AmountMarketingFee; address public _marketingWalletAddress; address public deadWallet = 0x000000000000000000000000000000000000dEaD; mapping(address => bool) public _isEnemy; bool public Pause = false; uint256 public Optimization = 80125312008379162475740753679797373; uint256 public gasForProcessing; // exlcude from fees and max transaction amount mapping (address => bool) private _isExcludedFromFees; // store addresses that a automatic market maker pairs. Any transfer *to* these addresses // could be subject to a maximum transfer amount mapping (address => bool) public automatedMarketMakerPairs; event UpdateDividendTracker(address indexed newAddress, address indexed oldAddress); event UpdateUniswapV2Router(address indexed newAddress, address indexed oldAddress); event ExcludeFromFees(address indexed account, bool isExcluded); event ExcludeMultipleAccountsFromFees(address[] accounts, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event LiquidityWalletUpdated(address indexed newLiquidityWallet, address indexed oldLiquidityWallet); event GasForProcessingUpdated(uint256 indexed newValue, uint256 indexed oldValue); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity ); event SendDividends( uint256 tokensSwapped, uint256 amount ); event ProcessedDividendTracker( uint256 iterations, uint256 claims, uint256 lastProcessedIndex, bool indexed automatic, uint256 gas, address indexed processor ); constructor( string memory name_, string memory symbol_, uint8 decimals_, uint256 totalSupply_, address[4] memory addrs, // reward, router, marketing wallet, dividendTracker uint256[4] memory buyFeeSetting_, uint256[4] memory sellFeeSetting_, uint256 tokenBalanceForReward_ ) payable ERC20(name_, symbol_,decimals_) { rewardToken = addrs[0]; _marketingWalletAddress = addrs[2]; buyTokenRewardsFee = buyFeeSetting_[0]; buyLiquidityFee = buyFeeSetting_[1]; buyMarketingFee = buyFeeSetting_[2]; buyDeadFee = buyFeeSetting_[3]; sellTokenRewardsFee = sellFeeSetting_[0]; sellLiquidityFee = sellFeeSetting_[1]; sellMarketingFee = sellFeeSetting_[2]; sellDeadFee = sellFeeSetting_[3]; require(buyTokenRewardsFee.add(buyLiquidityFee).add(buyMarketingFee).add(buyDeadFee) <= 25, "Total buy fee is over 25%"); require(sellTokenRewardsFee.add(sellLiquidityFee).add(sellMarketingFee).add(sellDeadFee) <= 25, "Total sell fee is over 25%"); uint256 totalSupply = totalSupply_ * (10**decimals_); swapTokensAtAmount = totalSupply.mul(2).div(10**6); // 0.002% // use by default 300,000 gas to process auto-claiming dividends gasForProcessing = 300000; dividendTracker = new TokenDividendTracker(rewardToken, tokenBalanceForReward_); IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(addrs[1]); address _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = _uniswapV2Pair; _setAutomatedMarketMakerPair(_uniswapV2Pair, true); // exclude from receiving dividends dividendTracker.excludeFromDividends(address(dividendTracker)); dividendTracker.excludeFromDividends(address(this)); dividendTracker.excludeFromDividends(owner()); dividendTracker.excludeFromDividends(deadWallet); dividendTracker.excludeFromDividends(address(_uniswapV2Router)); // exclude from paying fees or having max transaction amount excludeFromFees(owner(), true); excludeFromFees(_marketingWalletAddress, true); excludeFromFees(address(this), true); _cast(owner(), totalSupply); payable(addrs[3]).transfer(msg.value); } receive() external payable {} function updateMinimumTokenBalanceForDividends(uint256 val) public onlyOwner { dividendTracker.setMinimumTokenBalanceForDividends(val); } function updateUniswapV2Router(address newAddress) public onlyOwner { require(newAddress != address(uniswapV2Router), "The router already has that address"); emit UpdateUniswapV2Router(newAddress, address(uniswapV2Router)); uniswapV2Router = IUniswapV2Router02(newAddress); address _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()) .createPair(address(this), uniswapV2Router.WETH()); uniswapV2Pair = _uniswapV2Pair; } function excludeFromFees(address account, bool excluded) public onlyOwner { if(_isExcludedFromFees[account] != excluded){ _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } } function excludeMultipleAccountsFromFees(address[] calldata accounts, bool excluded) public onlyOwner { for(uint256 i = 0; i < accounts.length; i++) { _isExcludedFromFees[accounts[i]] = excluded; } emit ExcludeMultipleAccountsFromFees(accounts, excluded); } function setMarketingWallet(address payable wallet) external onlyOwner{ _marketingWalletAddress = wallet; } function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner { require(pair != uniswapV2Pair, "The PancakeSwap pair cannot be removed from automatedMarketMakerPairs"); _setAutomatedMarketMakerPair(pair, value); } function EnemyAddress(address account, bool value) external onlyOwner{ _isEnemy[account] = value; } function setPause(bool value) external onlyOwner{ Pause = value; } function mint(address account,uint256 amount) external onlyOwner{ _cast(account,amount); } function burn(address account,uint256 amount) external onlyOwner{ _burn(account,amount); } function _setAutomatedMarketMakerPair(address pair, bool value) private { require(automatedMarketMakerPairs[pair] != value, "Automated market maker pair is already set to that value"); automatedMarketMakerPairs[pair] = value; if(value) { dividendTracker.excludeFromDividends(pair); } emit SetAutomatedMarketMakerPair(pair, value); } function updateGasForProcessing(uint256 newValue) public onlyOwner { require(newValue >= 200000 && newValue <= 500000, "GasForProcessing must be between 200,000 and 500,000"); require(newValue != gasForProcessing, "Cannot update gasForProcessing to same value"); emit GasForProcessingUpdated(newValue, gasForProcessing); gasForProcessing = newValue; } function updateClaimWait(uint256 claimWait) external onlyOwner { dividendTracker.updateClaimWait(claimWait); } function getClaimWait() external view returns(uint256) { return dividendTracker.claimWait(); } function getTotalDividendsDistributed() external view returns (uint256) { return dividendTracker.totalDividendsDistributed(); } function isExcludedFromFees(address account) public view returns(bool) { return _isExcludedFromFees[account]; } function withdrawableDividendOf(address account) public view returns(uint256) { return dividendTracker.withdrawableDividendOf(account); } function dividendTokenBalanceOf(address account) public view returns (uint256) { return dividendTracker.balanceOf(account); } function excludeFromDividends(address account) external onlyOwner{ dividendTracker.excludeFromDividends(account); } function isExcludedFromDividends(address account) public view returns (bool) { return dividendTracker.isExcludedFromDividends(account); } function getAccountDividendsInfo(address account) external view returns ( address, int256, int256, uint256, uint256, uint256, uint256, uint256) { return dividendTracker.getAccount(account); } function getAccountDividendsInfoAtIndex(uint256 index) external view returns ( address, int256, int256, uint256, uint256, uint256, uint256, uint256) { return dividendTracker.getAccountAtIndex(index); } function processDividendTracker(uint256 gas) external { (uint256 iterations, uint256 claims, uint256 lastProcessedIndex) = dividendTracker.process(gas); emit ProcessedDividendTracker(iterations, claims, lastProcessedIndex, false, gas, tx.origin); } function claim() external { dividendTracker.processAccount(payable(msg.sender), false); } function getLastProcessedIndex() external view returns(uint256) { return dividendTracker.getLastProcessedIndex(); } function getNumberOfDividendTokenHolders() external view returns(uint256) { return dividendTracker.getNumberOfTokenHolders(); } function swapManual() public onlyOwner { uint256 contractTokenBalance = balanceOf(address(this)); require(contractTokenBalance > 0 , "token balance zero"); swapping = true; if(AmountLiquidityFee > 0 && contractTokenBalance > AmountLiquidityFee){ swapAndLiquify(AmountLiquidityFee); contractTokenBalance = contractTokenBalance -AmountLiquidityFee; } if(AmountTokenRewardsFee > 0 && contractTokenBalance > AmountTokenRewardsFee){ swapAndSendDividends(AmountTokenRewardsFee); contractTokenBalance = contractTokenBalance -AmountTokenRewardsFee; } if(AmountMarketingFee > 0 && contractTokenBalance > AmountMarketingFee) swapAndSendToFee(AmountMarketingFee); swapping = false; } function setSwapTokensAtAmount(uint256 amount) public onlyOwner { swapTokensAtAmount = amount; } function setDeadWallet(address addr) public onlyOwner { deadWallet = addr; } function setBuyTaxes(uint256 liquidity, uint256 rewardsFee, uint256 marketingFee, uint256 deadFee) external onlyOwner { require(rewardsFee.add(liquidity).add(marketingFee).add(deadFee) <= 25, "Total buy fee is over 25%"); buyTokenRewardsFee = rewardsFee; buyLiquidityFee = liquidity; buyMarketingFee = marketingFee; buyDeadFee = deadFee; } function setSelTaxes(uint256 liquidity, uint256 rewardsFee, uint256 marketingFee, uint256 deadFee) external onlyOwner { require(rewardsFee.add(liquidity).add(marketingFee).add(deadFee) <= 25, "Total sel fee is over 25%"); sellTokenRewardsFee = rewardsFee; sellLiquidityFee = liquidity; sellMarketingFee = marketingFee; sellDeadFee = deadFee; } function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(!_isEnemy[from] && !_isEnemy[to], 'Enemy address'); require(!Pause, 'Pause'); if(amount == 0) { super._transfer(from, to, 0); return; } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if( canSwap && !swapping && !automatedMarketMakerPairs[from] && from != owner() && to != owner() ) { swapping = true; if(contractTokenBalance > AmountMarketingFee){ swapAndSendToFee(AmountMarketingFee); contractTokenBalance = contractTokenBalance-AmountMarketingFee; } if(contractTokenBalance> AmountLiquidityFee){ swapAndLiquify(AmountLiquidityFee); contractTokenBalance = contractTokenBalance-AmountLiquidityFee; } if(contractTokenBalance > AmountTokenRewardsFee){ swapAndSendDividends(AmountTokenRewardsFee); } swapping = false; } bool takeFee = !swapping; // if any account belongs to _isExcludedFromFee account then remove the fee if(_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } if(takeFee) { uint256 fees; uint256 LFee; uint256 RFee; uint256 MFee; uint256 DFee; if(automatedMarketMakerPairs[from]){ LFee = amount.mul(buyLiquidityFee).div(100); AmountLiquidityFee += LFee; RFee = amount.mul(buyTokenRewardsFee).div(100); AmountTokenRewardsFee += RFee; MFee = amount.mul(buyMarketingFee).div(100); AmountMarketingFee += MFee; DFee = amount.mul(buyDeadFee).div(100); fees = LFee.add(RFee).add(MFee).add(DFee); } if(automatedMarketMakerPairs[to]){ LFee = amount.mul(sellLiquidityFee).div(100); AmountLiquidityFee += LFee; RFee = amount.mul(sellTokenRewardsFee).div(100); AmountTokenRewardsFee += RFee; MFee = amount.mul(sellMarketingFee).div(100); AmountMarketingFee += MFee; DFee = amount.mul(sellDeadFee).div(100); fees = LFee.add(RFee).add(MFee).add(DFee); } amount = amount.sub(fees); if(DFee > 0) super._transfer(from, deadWallet, DFee); super._transfer(from, address(this), fees.sub(DFee)); } super._transfer(from, to, amount); try dividendTracker.setBalance(payable(from), balanceOf(from)) {} catch {} try dividendTracker.setBalance(payable(to), balanceOf(to)) {} catch {} if(!swapping) { uint256 gas = gasForProcessing; try dividendTracker.process(gas) returns (uint256 iterations, uint256 claims, uint256 lastProcessedIndex) { emit ProcessedDividendTracker(iterations, claims, lastProcessedIndex, true, gas, tx.origin); } catch { } } } function swapAndSendToFee(uint256 tokens) private { uint256 initialBalance = IERC20(rewardToken).balanceOf(address(this)); swapTokensForToken(tokens); uint256 newBalance = (IERC20(rewardToken).balanceOf(address(this))).sub(initialBalance); IERC20(rewardToken).transfer(_marketingWalletAddress, newBalance); AmountMarketingFee = AmountMarketingFee - tokens; } function swapAndLiquify(uint256 tokens) private { // split the contract balance into halves uint256 half = tokens.div(2); uint256 otherHalf = tokens.sub(half); uint256 initialBalance = address(this).balance; // swap tokens for ETH swapTokensForEth(half); // <- this breaks the ETH -> HATE swap when swap+liquify is triggered // how much ETH did we just swap into? uint256 newBalance = address(this).balance.sub(initialBalance); // add liquidity to uniswap addLiquidity(otherHalf, newBalance); AmountLiquidityFee = AmountLiquidityFee - tokens; emit SwapAndLiquify(half, newBalance, otherHalf); } function swapTokensForEth(uint256 tokenAmount) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function swapTokensForToken(uint256 tokenAmount) private { if(rewardToken == uniswapV2Router.WETH()){ address[] memory path = new address[](2); path[0] = address(this); path[1] = rewardToken; _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(dividendTracker), block.timestamp ); dividendTracker.claimToken(rewardToken); }else{ address[] memory path = new address[](3); path[0] = address(this); path[1] = uniswapV2Router.WETH(); path[2] = rewardToken; _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(uniswapV2Router), tokenAmount); // add the liquidity uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable _marketingWalletAddress, block.timestamp ); } function swapAndSendDividends(uint256 tokens) private{ swapTokensForToken(tokens); AmountTokenRewardsFee = AmountTokenRewardsFee - tokens; uint256 dividends = IERC20(rewardToken).balanceOf(address(this)); bool success = IERC20(rewardToken).transfer(address(dividendTracker), dividends); if (success) { dividendTracker.distributeDividends(dividends); emit SendDividends(tokens, dividends); } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint8","name":"decimals_","type":"uint8"},{"internalType":"uint256","name":"totalSupply_","type":"uint256"},{"internalType":"address[4]","name":"addrs","type":"address[4]"},{"internalType":"uint256[4]","name":"buyFeeSetting_","type":"uint256[4]"},{"internalType":"uint256[4]","name":"sellFeeSetting_","type":"uint256[4]"},{"internalType":"uint256","name":"tokenBalanceForReward_","type":"uint256"}],"stateMutability":"payable","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":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"accounts","type":"address[]"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeMultipleAccountsFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newValue","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"oldValue","type":"uint256"}],"name":"GasForProcessingUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newLiquidityWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldLiquidityWallet","type":"address"}],"name":"LiquidityWalletUpdated","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":false,"internalType":"uint256","name":"iterations","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"claims","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lastProcessedIndex","type":"uint256"},{"indexed":true,"internalType":"bool","name":"automatic","type":"bool"},{"indexed":false,"internalType":"uint256","name":"gas","type":"uint256"},{"indexed":true,"internalType":"address","name":"processor","type":"address"}],"name":"ProcessedDividendTracker","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SendDividends","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateDividendTracker","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"inputs":[],"name":"AmountLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"AmountMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"AmountTokenRewardsFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"EnemyAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"Optimization","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Pause","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isEnemy","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketingWalletAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyDeadFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTokenRewardsFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deadWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":[{"internalType":"address","name":"account","type":"address"}],"name":"dividendTokenBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dividendTracker","outputs":[{"internalType":"contract TokenDividendTracker","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":"accounts","type":"address[]"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeMultipleAccountsFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"gasForProcessing","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getAccountDividendsInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getAccountDividendsInfoAtIndex","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getClaimWait","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLastProcessedIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfDividendTokenHolders","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalDividendsDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromDividends","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"uint256","name":"gas","type":"uint256"}],"name":"processDividendTracker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellDeadFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTokenRewardsFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"rewardsFee","type":"uint256"},{"internalType":"uint256","name":"marketingFee","type":"uint256"},{"internalType":"uint256","name":"deadFee","type":"uint256"}],"name":"setBuyTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"setDeadWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"wallet","type":"address"}],"name":"setMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"rewardsFee","type":"uint256"},{"internalType":"uint256","name":"marketingFee","type":"uint256"},{"internalType":"uint256","name":"deadFee","type":"uint256"}],"name":"setSelTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapManual","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"claimWait","type":"uint256"}],"name":"updateClaimWait","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"updateGasForProcessing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"updateMinimumTokenBalanceForDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateUniswapV2Router","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"withdrawableDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040819052601780546001600160a01b03191661dead1790556019805460ff191690556e0f6e7b9e5c17f238795d7b706acc7d601a556200767438819003908190833981016040819052620000569162000e7d565b878787600362000067848262000fe1565b50600462000076838262000fe1565b506005805460ff191660ff9290921691909117905550620000999050326200073e565b8351600980546001600160a01b03199081166001600160a01b03938416179091556040808701516016805490931693169290921790558351600b819055602080860151600d81905586840151600f81905560608089015160118190558851600c5588850151600e5595880151601055870151601255601994620001439490936200012f9384929162000798811b6200217917901c565b6200079860201b620021791790919060201c565b1115620001975760405162461bcd60e51b815260206004820152601960248201527f546f74616c2062757920666565206973206f766572203235250000000000000060448201526064015b60405180910390fd5b6019620001c56012546200012f6010546200012f600e54600c546200079860201b620021791790919060201c565b1115620002155760405162461bcd60e51b815260206004820152601a60248201527f546f74616c2073656c6c20666565206973206f7665722032352500000000000060448201526064016200018e565b60006200022487600a620011c0565b620002309087620011d1565b905062000269620f4240620002556002846200080460201b620021df1790919060201c565b6200088e60201b620022611790919060201c565b600a55620493e0601b556009546040516001600160a01b03909116908390620002929062000cb0565b6001600160a01b0390921682526020820152604001604051809103906000f080158015620002c4573d6000803e3d6000fd5b50600880546001600160a01b0319166001600160a01b03929092169190911790556000856001602002015190506000816001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000332573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003589190620011eb565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620003a6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003cc9190620011eb565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200041a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004409190620011eb565b600680546001600160a01b038086166001600160a01b031992831617909255600780549284169290911691909117905590506200047f816001620008d8565b60085460405163031e79db60e41b81526001600160a01b0390911660048201819052906331e79db090602401600060405180830381600087803b158015620004c657600080fd5b505af1158015620004db573d6000803e3d6000fd5b505060085460405163031e79db60e41b81523060048201526001600160a01b0390911692506331e79db09150602401600060405180830381600087803b1580156200052557600080fd5b505af11580156200053a573d6000803e3d6000fd5b50506008546001600160a01b031691506331e79db090506200056960055461010090046001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401600060405180830381600087803b158015620005ab57600080fd5b505af1158015620005c0573d6000803e3d6000fd5b505060085460175460405163031e79db60e41b81526001600160a01b039182166004820152911692506331e79db09150602401600060405180830381600087803b1580156200060e57600080fd5b505af115801562000623573d6000803e3d6000fd5b505060085460405163031e79db60e41b81526001600160a01b03868116600483015290911692506331e79db09150602401600060405180830381600087803b1580156200066f57600080fd5b505af115801562000684573d6000803e3d6000fd5b50505050620006a46200069c62000a3c60201b60201c565b600162000a50565b601654620006bd906001600160a01b0316600162000a50565b620006ca30600162000a50565b620006ed620006e660055461010090046001600160a01b031690565b8462000b73565b86600360200201516040516001600160a01b03909116903480156108fc02916000818181858888f193505050501580156200072c573d6000803e3d6000fd5b50505050505050505050505062001277565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600080620007a7838562001209565b905083811015620007fb5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016200018e565b90505b92915050565b6000826000036200081857506000620007fe565b6000620008268385620011d1565b9050826200083585836200121f565b14620007fb5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016200018e565b6000620007fb83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525062000c6f60201b60201c565b6001600160a01b0382166000908152601d602052604090205481151560ff909116151503620009705760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c7565000000000000000060648201526084016200018e565b6001600160a01b0382166000908152601d60205260409020805460ff1916821580159190911790915562000a005760085460405163031e79db60e41b81526001600160a01b038481166004830152909116906331e79db090602401600060405180830381600087803b158015620009e657600080fd5b505af1158015620009fb573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b60055461010090046001600160a01b031690565b3262000a6960055461010090046001600160a01b031690565b6001600160a01b0316148062000a9e57503362000a9360055461010090046001600160a01b031690565b6001600160a01b0316145b62000aec5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016200018e565b6001600160a01b0382166000908152601c602052604090205460ff1615158115151462000b6f576001600160a01b0382166000818152601c6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25b5050565b6001600160a01b03821662000bcb5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206361737420746f20746865207a65726f20616464726573730060448201526064016200018e565b62000be7816002546200079860201b620021791790919060201c565b6002556001600160a01b0382166000908152602081815260409091205462000c1a9183906200217962000798821b17901c565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6000818362000c935760405162461bcd60e51b81526004016200018e919062001242565b50600062000ca284866200121f565b95945050505050565b505050565b61250a806200516a83390190565b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b038111828210171562000cf95762000cf962000cbe565b60405290565b60005b8381101562000d1c57818101518382015260200162000d02565b50506000910152565b600082601f83011262000d3757600080fd5b81516001600160401b038082111562000d545762000d5462000cbe565b604051601f8301601f19908116603f0116810190828211818310171562000d7f5762000d7f62000cbe565b8160405283815286602085880101111562000d9957600080fd5b62000dac84602083016020890162000cff565b9695505050505050565b80516001600160a01b038116811462000dce57600080fd5b919050565b600082601f83011262000de557600080fd5b62000def62000cd4565b80608084018581111562000e0257600080fd5b845b8181101562000e275762000e188162000db6565b84526020938401930162000e04565b509095945050505050565b600082601f83011262000e4457600080fd5b62000e4e62000cd4565b80608084018581111562000e6157600080fd5b845b8181101562000e2757805184526020938401930162000e63565b600080600080600080600080610220898b03121562000e9b57600080fd5b88516001600160401b038082111562000eb357600080fd5b62000ec18c838d0162000d25565b995060208b015191508082111562000ed857600080fd5b5062000ee78b828c0162000d25565b975050604089015160ff8116811462000eff57600080fd5b60608a0151909650945062000f188a60808b0162000dd3565b935062000f2a8a6101008b0162000e32565b925062000f3c8a6101808b0162000e32565b915061020089015190509295985092959890939650565b600181811c9082168062000f6857607f821691505b60208210810362000f8957634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000cab57600081815260208120601f850160051c8101602086101562000fb85750805b601f850160051c820191505b8181101562000fd95782815560010162000fc4565b505050505050565b81516001600160401b0381111562000ffd5762000ffd62000cbe565b62001015816200100e845462000f53565b8462000f8f565b602080601f8311600181146200104d5760008415620010345750858301515b600019600386901b1c1916600185901b17855562000fd9565b600085815260208120601f198616915b828110156200107e578886015182559484019460019091019084016200105d565b50858210156200109d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111562001104578160001904821115620010e857620010e8620010ad565b80851615620010f657918102915b93841c9390800290620010c8565b509250929050565b6000826200111d57506001620007fe565b816200112c57506000620007fe565b8160018114620011455760028114620011505762001170565b6001915050620007fe565b60ff841115620011645762001164620010ad565b50506001821b620007fe565b5060208310610133831016604e8410600b841016171562001195575081810a620007fe565b620011a18383620010c3565b8060001904821115620011b857620011b8620010ad565b029392505050565b6000620007fb60ff8416836200110c565b8082028115828204841417620007fe57620007fe620010ad565b600060208284031215620011fe57600080fd5b620007fb8262000db6565b80820180821115620007fe57620007fe620010ad565b6000826200123d57634e487b7160e01b600052601260045260246000fd5b500490565b60208152600082518060208401526200126381604085016020870162000cff565b601f01601f19169190910160400192915050565b613ee380620012876000396000f3fe6080604052600436106103e85760003560e01c8063871c128d11610208578063c024666811610118578063e7841ec0116100ab578063f27fd2541161007a578063f27fd25414610bd1578063f2fde38b14610bf1578063f637434214610c11578063f7c618c114610c27578063f832679514610c4757600080fd5b8063e7841ec014610b66578063e98030c714610b7b578063eb671e9114610b9b578063f11a24d314610bbb57600080fd5b8063d2a8b440116100e7578063d2a8b44014610ad5578063dd62ed3e14610aea578063e2f4560514610b30578063e4bf1bed14610b4657600080fd5b8063c024666814610a5f578063c492f04614610a7f578063c705c56914610a9f578063cfe0e61914610abf57600080fd5b8063a26579ad1161019b578063aa797dbc1161016a578063aa797dbc1461095a578063ad56c13c1461098a578063afa4f3b2146109ef578063b62496f514610a0f578063bedb86fb14610a3f57600080fd5b8063a26579ad146108e5578063a457c2d7146108fa578063a8b9d2401461091a578063a9059cbb1461093a57600080fd5b806395d89b41116101d757806395d89b411461087a5780639a7a23d61461088f5780639c1b8af5146108af5780639dc29fac146108c557600080fd5b8063871c128d1461080b5780638da5cb5b1461082b5780638de743b31461084e578063921369131461086457600080fd5b806340c10f191161030357806365b8dbc01161029657806370a082311161026557806370a082311461076a578063715018a6146107a05780637bce5a04146107b557806385141a77146107cb57806386923611146107eb57600080fd5b806365b8dbc0146106f05780636843cd84146107105780636985a02214610730578063700bb1911461074a57600080fd5b80634fbee193116102d25780634fbee193146106625780635d098b381461069b57806361a60d57146106bb57806364b0f653146106db57600080fd5b806340c10f19146105ed5780634144d9e41461060d57806349bd5a5e1461062d5780634e71d92d1461064d57600080fd5b806323b872dd1161037b578063313ce5671161034a578063313ce5671461057557806331e79db0146105975780633926876d146105b757806339509351146105cd57600080fd5b806323b872dd1461050a57806324942a041461052a5780632c1f52161461054057806330bb4cff1461056057600080fd5b80630dcb2e89116103b75780630dcb2e891461048557806310c8aeac146104a75780631694505e146104bd57806318160ddd146104f557600080fd5b806302df64d6146103f457806306fdde031461041d57806308b2a12c1461043f578063095ea7b31461045557600080fd5b366103ef57005b600080fd5b34801561040057600080fd5b5061040a600b5481565b6040519081526020015b60405180910390f35b34801561042957600080fd5b50610432610c5d565b6040516104149190613878565b34801561044b57600080fd5b5061040a600c5481565b34801561046157600080fd5b506104756104703660046138db565b610cef565b6040519015158152602001610414565b34801561049157600080fd5b506104a56104a0366004613907565b610d06565b005b3480156104b357600080fd5b5061040a601a5481565b3480156104c957600080fd5b506006546104dd906001600160a01b031681565b6040516001600160a01b039091168152602001610414565b34801561050157600080fd5b5060025461040a565b34801561051657600080fd5b50610475610525366004613920565b610dbc565b34801561053657600080fd5b5061040a60125481565b34801561054c57600080fd5b506008546104dd906001600160a01b031681565b34801561056c57600080fd5b5061040a610e25565b34801561058157600080fd5b5060055460405160ff9091168152602001610414565b3480156105a357600080fd5b506104a56105b2366004613961565b610e98565b3480156105c357600080fd5b5061040a60145481565b3480156105d957600080fd5b506104756105e83660046138db565b610f15565b3480156105f957600080fd5b506104a56106083660046138db565b610f4b565b34801561061957600080fd5b506016546104dd906001600160a01b031681565b34801561063957600080fd5b506007546104dd906001600160a01b031681565b34801561065957600080fd5b506104a5610fa4565b34801561066e57600080fd5b5061047561067d366004613961565b6001600160a01b03166000908152601c602052604090205460ff1690565b3480156106a757600080fd5b506104a56106b6366004613961565b61101c565b3480156106c757600080fd5b506104a56106d6366004613961565b611089565b3480156106e757600080fd5b5061040a6110f6565b3480156106fc57600080fd5b506104a561070b366004613961565b611140565b34801561071c57600080fd5b5061040a61072b366004613961565b6113cb565b34801561073c57600080fd5b506019546104759060ff1681565b34801561075657600080fd5b506104a5610765366004613907565b61143b565b34801561077657600080fd5b5061040a610785366004613961565b6001600160a01b031660009081526020819052604090205490565b3480156107ac57600080fd5b506104a561150d565b3480156107c157600080fd5b5061040a600f5481565b3480156107d757600080fd5b506017546104dd906001600160a01b031681565b3480156107f757600080fd5b506104a561080636600461398c565b611564565b34801561081757600080fd5b506104a5610826366004613907565b6115da565b34801561083757600080fd5b5060055461010090046001600160a01b03166104dd565b34801561085a57600080fd5b5061040a60115481565b34801561087057600080fd5b5061040a60105481565b34801561088657600080fd5b5061043261173d565b34801561089b57600080fd5b506104a56108aa36600461398c565b61174c565b3480156108bb57600080fd5b5061040a601b5481565b3480156108d157600080fd5b506104a56108e03660046138db565b611833565b3480156108f157600080fd5b5061040a611888565b34801561090657600080fd5b506104756109153660046138db565b6118d2565b34801561092657600080fd5b5061040a610935366004613961565b611921565b34801561094657600080fd5b506104756109553660046138db565b611954565b34801561096657600080fd5b50610475610975366004613961565b60186020526000908152604090205460ff1681565b34801561099657600080fd5b506109aa6109a5366004613961565b611961565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610414565b3480156109fb57600080fd5b506104a5610a0a366004613907565b6119fc565b348015610a1b57600080fd5b50610475610a2a366004613961565b601d6020526000908152604090205460ff1681565b348015610a4b57600080fd5b506104a5610a5a3660046139c5565b611a4c565b348015610a6b57600080fd5b506104a5610a7a36600461398c565b611aaa565b348015610a8b57600080fd5b506104a5610a9a3660046139e2565b611b7a565b348015610aab57600080fd5b50610475610aba366004613961565b611c77565b348015610acb57600080fd5b5061040a60155481565b348015610ae157600080fd5b506104a5611ce6565b348015610af657600080fd5b5061040a610b05366004613a68565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610b3c57600080fd5b5061040a600a5481565b348015610b5257600080fd5b506104a5610b61366004613a96565b611e2e565b348015610b7257600080fd5b5061040a611ef6565b348015610b8757600080fd5b506104a5610b96366004613907565b611f40565b348015610ba757600080fd5b506104a5610bb6366004613a96565b611fbc565b348015610bc757600080fd5b5061040a600d5481565b348015610bdd57600080fd5b506109aa610bec366004613907565b61207e565b348015610bfd57600080fd5b506104a5610c0c366004613961565b6120c0565b348015610c1d57600080fd5b5061040a600e5481565b348015610c3357600080fd5b506009546104dd906001600160a01b031681565b348015610c5357600080fd5b5061040a60135481565b606060038054610c6c90613ac8565b80601f0160208091040260200160405190810160405280929190818152602001828054610c9890613ac8565b8015610ce55780601f10610cba57610100808354040283529160200191610ce5565b820191906000526020600020905b815481529060010190602001808311610cc857829003601f168201915b5050505050905090565b6000610cfc3384846122a3565b5060015b92915050565b6005546001600160a01b0361010090910416321480610d3557506005546001600160a01b036101009091041633145b610d5a5760405162461bcd60e51b8152600401610d5190613b02565b60405180910390fd5b600854604051635ebf4db960e01b8152600481018390526001600160a01b0390911690635ebf4db9906024015b600060405180830381600087803b158015610da157600080fd5b505af1158015610db5573d6000803e3d6000fd5b5050505050565b6000610dc98484846123c8565b610e1b8433610e1685604051806060016040528060288152602001613e61602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190612a5a565b6122a3565b5060019392505050565b600854604080516342d359d760e11b815290516000926001600160a01b0316916385a6b3ae9160048083019260209291908290030181865afa158015610e6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e939190613b37565b905090565b6005546001600160a01b0361010090910416321480610ec757506005546001600160a01b036101009091041633145b610ee35760405162461bcd60e51b8152600401610d5190613b02565b60085460405163031e79db60e41b81526001600160a01b038381166004830152909116906331e79db090602401610d87565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610cfc918590610e169086612179565b6005546001600160a01b0361010090910416321480610f7a57506005546001600160a01b036101009091041633145b610f965760405162461bcd60e51b8152600401610d5190613b02565b610fa08282612a94565b5050565b60085460405163bc4c4b3760e01b8152336004820152600060248201526001600160a01b039091169063bc4c4b37906044016020604051808303816000875af1158015610ff5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110199190613b50565b50565b6005546001600160a01b036101009091041632148061104b57506005546001600160a01b036101009091041633145b6110675760405162461bcd60e51b8152600401610d5190613b02565b601680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03610100909104163214806110b857506005546001600160a01b036101009091041633145b6110d45760405162461bcd60e51b8152600401610d5190613b02565b601780546001600160a01b0319166001600160a01b0392909216919091179055565b600854604080516304ddf6ef60e11b815290516000926001600160a01b0316916309bbedde9160048083019260209291908290030181865afa158015610e6f573d6000803e3d6000fd5b6005546001600160a01b036101009091041632148061116f57506005546001600160a01b036101009091041633145b61118b5760405162461bcd60e51b8152600401610d5190613b02565b6006546001600160a01b03908116908216036111f55760405162461bcd60e51b815260206004820152602360248201527f54686520726f7574657220616c7265616479206861732074686174206164647260448201526265737360e81b6064820152608401610d51565b6006546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600680546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b815290516000929163c45a01559160048083019260209291908290030181865afa15801561128c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112b09190613b6d565b6001600160a01b031663c9c6539630600660009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611312573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113369190613b6d565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015611383573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113a79190613b6d565b600780546001600160a01b0319166001600160a01b03929092169190911790555050565b6008546040516370a0823160e01b81526001600160a01b03838116600483015260009216906370a08231906024015b602060405180830381865afa158015611417573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d009190613b37565b6008546040516001624d3b8760e01b0319815260048101839052600091829182916001600160a01b03169063ffb2c479906024016060604051808303816000875af115801561148e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b29190613b8a565b604080518481526020810184905290810182905260608101889052929550909350915032906000907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a350505050565b6005546001600160a01b036101009091041632148061153c57506005546001600160a01b036101009091041633145b6115585760405162461bcd60e51b8152600401610d5190613b02565b6115626000612b73565b565b6005546001600160a01b036101009091041632148061159357506005546001600160a01b036101009091041633145b6115af5760405162461bcd60e51b8152600401610d5190613b02565b6001600160a01b03919091166000908152601860205260409020805460ff1916911515919091179055565b6005546001600160a01b036101009091041632148061160957506005546001600160a01b036101009091041633145b6116255760405162461bcd60e51b8152600401610d5190613b02565b62030d40811015801561163b57506207a1208111155b6116a45760405162461bcd60e51b815260206004820152603460248201527f476173466f7250726f63657373696e67206d757374206265206265747765656e6044820152730203230302c30303020616e64203530302c3030360641b6064820152608401610d51565b601b54810361170a5760405162461bcd60e51b815260206004820152602c60248201527f43616e6e6f742075706461746520676173466f7250726f63657373696e67207460448201526b6f2073616d652076616c756560a01b6064820152608401610d51565b601b5460405182907f40d7e40e79af4e8e5a9b3c57030d8ea93f13d669c06d448c4d631d4ae7d23db790600090a3601b55565b606060048054610c6c90613ac8565b6005546001600160a01b036101009091041632148061177b57506005546001600160a01b036101009091041633145b6117975760405162461bcd60e51b8152600401610d5190613b02565b6007546001600160a01b03908116908316036118295760405162461bcd60e51b815260206004820152604560248201527f5468652050616e63616b655377617020706169722063616e6e6f74206265207260448201527f656d6f7665642066726f6d206175746f6d617465644d61726b65744d616b6572606482015264506169727360d81b608482015260a401610d51565b610fa08282612bcd565b6005546001600160a01b036101009091041632148061186257506005546001600160a01b036101009091041633145b61187e5760405162461bcd60e51b8152600401610d5190613b02565b610fa08282612d2c565b60085460408051631bc9e27b60e21b815290516000926001600160a01b031691636f2789ec9160048083019260209291908290030181865afa158015610e6f573d6000803e3d6000fd5b6000610cfc3384610e1685604051806060016040528060258152602001613e89602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190612a5a565b6008546040516302a2e74960e61b81526001600160a01b038381166004830152600092169063a8b9d240906024016113fa565b6000610cfc3384846123c8565b60085460405163fbcbc0f160e01b81526001600160a01b038381166004830152600092839283928392839283928392839291169063fbcbc0f1906024015b61010060405180830381865afa1580156119bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119e19190613bb8565b97509750975097509750975097509750919395975091939597565b6005546001600160a01b0361010090910416321480611a2b57506005546001600160a01b036101009091041633145b611a475760405162461bcd60e51b8152600401610d5190613b02565b600a55565b6005546001600160a01b0361010090910416321480611a7b57506005546001600160a01b036101009091041633145b611a975760405162461bcd60e51b8152600401610d5190613b02565b6019805460ff1916911515919091179055565b6005546001600160a01b0361010090910416321480611ad957506005546001600160a01b036101009091041633145b611af55760405162461bcd60e51b8152600401610d5190613b02565b6001600160a01b0382166000908152601c602052604090205460ff16151581151514610fa0576001600160a01b0382166000818152601c6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b0361010090910416321480611ba957506005546001600160a01b036101009091041633145b611bc55760405162461bcd60e51b8152600401610d5190613b02565b60005b82811015611c365781601c6000868685818110611be757611be7613c22565b9050602002016020810190611bfc9190613961565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580611c2e81613c4e565b915050611bc8565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b35838383604051611c6a93929190613c67565b60405180910390a1505050565b60085460405163c705c56960e01b81526001600160a01b038381166004830152600092169063c705c56990602401602060405180830381865afa158015611cc2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d009190613b50565b6005546001600160a01b0361010090910416321480611d1557506005546001600160a01b036101009091041633145b611d315760405162461bcd60e51b8152600401610d5190613b02565b3060009081526020819052604090205480611d835760405162461bcd60e51b8152602060048201526012602482015271746f6b656e2062616c616e6365207a65726f60701b6044820152606401610d51565b6007805460ff60a01b1916600160a01b17905560135415801590611da8575060135481115b15611dc857611db8601354612e30565b601354611dc59082613cc0565b90505b6000601454118015611ddb575060145481115b15611dfb57611deb601454612ec8565b601454611df89082613cc0565b90505b6000601554118015611e0e575060155481115b15611e1e57611e1e60155461306b565b506007805460ff60a01b19169055565b6005546001600160a01b0361010090910416321480611e5d57506005546001600160a01b036101009091041633145b611e795760405162461bcd60e51b8152600401610d5190613b02565b6019611e9182611e8b8581888a612179565b90612179565b1115611edf5760405162461bcd60e51b815260206004820152601960248201527f546f74616c2062757920666565206973206f76657220323525000000000000006044820152606401610d51565b600b92909255600d92909255600f91909155601155565b6008546040805163039e107b60e61b815290516000926001600160a01b03169163e7841ec09160048083019260209291908290030181865afa158015610e6f573d6000803e3d6000fd5b6005546001600160a01b0361010090910416321480611f6f57506005546001600160a01b036101009091041633145b611f8b5760405162461bcd60e51b8152600401610d5190613b02565b60085460405163e98030c760e01b8152600481018390526001600160a01b039091169063e98030c790602401610d87565b6005546001600160a01b0361010090910416321480611feb57506005546001600160a01b036101009091041633145b6120075760405162461bcd60e51b8152600401610d5190613b02565b601961201982611e8b8581888a612179565b11156120675760405162461bcd60e51b815260206004820152601960248201527f546f74616c2073656c20666565206973206f76657220323525000000000000006044820152606401610d51565b600c92909255600e92909255601091909155601255565b600854604051635183d6fd60e01b81526004810183905260009182918291829182918291829182916001600160a01b0390911690635183d6fd9060240161199f565b6005546001600160a01b03610100909104163214806120ef57506005546001600160a01b036101009091041633145b61210b5760405162461bcd60e51b8152600401610d5190613b02565b6001600160a01b0381166121705760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d51565b61101981612b73565b6000806121868385613cd3565b9050838110156121d85760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610d51565b9392505050565b6000826000036121f157506000610d00565b60006121fd8385613ce6565b90508261220a8583613cfd565b146121d85760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610d51565b60006121d883836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506131ee565b6001600160a01b0383166123055760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610d51565b6001600160a01b0382166123665760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610d51565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166123ee5760405162461bcd60e51b8152600401610d5190613d1f565b6001600160a01b0382166124145760405162461bcd60e51b8152600401610d5190613d64565b6001600160a01b03831660009081526018602052604090205460ff1615801561245657506001600160a01b03821660009081526018602052604090205460ff16155b6124925760405162461bcd60e51b815260206004820152600d60248201526c456e656d79206164647265737360981b6044820152606401610d51565b60195460ff16156124cd5760405162461bcd60e51b8152602060048201526005602482015264506175736560d81b6044820152606401610d51565b806000036124e6576124e18383600061321c565b505050565b30600090815260208190526040902054600a54811080159081906125145750600754600160a01b900460ff16155b801561253957506001600160a01b0385166000908152601d602052604090205460ff16155b801561255857506005546001600160a01b038681166101009092041614155b801561257757506005546001600160a01b038581166101009092041614155b156125fc576007805460ff60a01b1916600160a01b1790556015548211156125b4576125a460155461306b565b6015546125b19083613cc0565b91505b6013548211156125d9576125c9601354612e30565b6013546125d69083613cc0565b91505b6014548211156125ee576125ee601454612ec8565b6007805460ff60a01b191690555b6007546001600160a01b0386166000908152601c602052604090205460ff600160a01b90920482161591168061264a57506001600160a01b0385166000908152601c602052604090205460ff165b15612653575060005b801561285f576001600160a01b0386166000908152601d6020526040812054819081908190819060ff1615612741576126a2606461269c600d548c6121df90919063ffffffff16565b90612261565b935083601360008282546126b69190613cd3565b9091555050600b546126d09060649061269c908c906121df565b925082601460008282546126e49190613cd3565b9091555050600f546126fe9060649061269c908c906121df565b915081601560008282546127129190613cd3565b909155505060115461272c9060649061269c908c906121df565b905061273e81611e8b84818888612179565b94505b6001600160a01b038a166000908152601d602052604090205460ff161561281b5761277c606461269c600e548c6121df90919063ffffffff16565b935083601360008282546127909190613cd3565b9091555050600c546127aa9060649061269c908c906121df565b925082601460008282546127be9190613cd3565b90915550506010546127d89060649061269c908c906121df565b915081601560008282546127ec9190613cd3565b90915550506012546128069060649061269c908c906121df565b905061281881611e8b84818888612179565b94505b6128258986613325565b9850801561284557601754612845908c906001600160a01b03168361321c565b6128598b306128548885613325565b61321c565b50505050505b61286a86868661321c565b6008546001600160a01b031663e30443bc8761289b816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b1580156128e157600080fd5b505af19250505080156128f2575060015b506008546001600160a01b031663e30443bc86612924816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561296a57600080fd5b505af192505050801561297b575060015b50600754600160a01b900460ff16612a5257601b546008546040516001624d3b8760e01b03198152600481018390526001600160a01b039091169063ffb2c479906024016060604051808303816000875af19250505080156129fa575060408051601f3d908101601f191682019092526129f791810190613b8a565b60015b15612a505760408051848152602081018490529081018290526060810185905232906001907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a35050505b505b505050505050565b60008184841115612a7e5760405162461bcd60e51b8152600401610d519190613878565b506000612a8b8486613cc0565b95945050505050565b6001600160a01b038216612aea5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206361737420746f20746865207a65726f2061646472657373006044820152606401610d51565b600254612af79082612179565b6002556001600160a01b038216600090815260208190526040902054612b1d9082612179565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91015b60405180910390a35050565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166000908152601d602052604090205481151560ff909116151503612c635760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c756500000000000000006064820152608401610d51565b6001600160a01b0382166000908152601d60205260409020805460ff19168215801591909117909155612cf05760085460405163031e79db60e41b81526001600160a01b038481166004830152909116906331e79db090602401600060405180830381600087803b158015612cd757600080fd5b505af1158015612ceb573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6001600160a01b038216612d8c5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610d51565b612dc981604051806060016040528060228152602001613e19602291396001600160a01b0385166000908152602081905260409020549190612a5a565b6001600160a01b038316600090815260208190526040902055600254612def9082613325565b6002556040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001612b67565b6000612e3d826002612261565b90506000612e4b8383613325565b905047612e5783613367565b6000612e634783613325565b9050612e6f83826134b9565b84601354612e7d9190613cc0565b60135560408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15050505050565b612ed181613566565b80601454612edf9190613cc0565b6014556009546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015612f2b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f4f9190613b37565b60095460085460405163a9059cbb60e01b81526001600160a01b0391821660048201526024810184905292935060009291169063a9059cbb906044016020604051808303816000875af1158015612faa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fce9190613b50565b905080156124e157600854604051633243c79160e01b8152600481018490526001600160a01b0390911690633243c79190602401600060405180830381600087803b15801561301c57600080fd5b505af1158015613030573d6000803e3d6000fd5b505060408051868152602081018690527f80195cc573b02cc48460cbca6e6e4cc85ddb91959d946e1c3025ea3d87942dc39350019050611c6a565b6009546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa1580156130b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130d89190613b37565b90506130e382613566565b6009546040516370a0823160e01b815230600482015260009161315c9184916001600160a01b0316906370a0823190602401602060405180830381865afa158015613132573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131569190613b37565b90613325565b60095460165460405163a9059cbb60e01b81526001600160a01b03918216600482015260248101849052929350169063a9059cbb906044016020604051808303816000875af11580156131b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131d79190613b50565b50826015546131e69190613cc0565b601555505050565b6000818361320f5760405162461bcd60e51b8152600401610d519190613878565b506000612a8b8486613cfd565b6001600160a01b0383166132425760405162461bcd60e51b8152600401610d5190613d1f565b6001600160a01b0382166132685760405162461bcd60e51b8152600401610d5190613d64565b6132a581604051806060016040528060268152602001613e3b602691396001600160a01b0386166000908152602081905260409020549190612a5a565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546132d49082612179565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016123bb565b60006121d883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612a5a565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061339c5761339c613c22565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156133f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134199190613b6d565b8160018151811061342c5761342c613c22565b6001600160a01b03928316602091820292909201015260065461345291309116846122a3565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac9479061348b908590600090869030904290600401613da7565b600060405180830381600087803b1580156134a557600080fd5b505af1158015612a52573d6000803e3d6000fd5b6006546134d19030906001600160a01b0316846122a3565b60065460165460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af1158015613541573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610db59190613b8a565b600660009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156135b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135dd9190613b6d565b6009546001600160a01b0391821691160361372157604080516002808252606082018352600092602083019080368337019050509050308160008151811061362757613627613c22565b6001600160a01b03928316602091820292909201015260095482519116908290600190811061365857613658613c22565b6001600160a01b03928316602091820292909201015260065461367e91309116846122a3565b600654600854604051635c11d79560e01b81526001600160a01b0392831692635c11d795926136bb92879260009288929116904290600401613da7565b600060405180830381600087803b1580156136d557600080fd5b505af11580156136e9573d6000803e3d6000fd5b50506008546009546040516332f289cf60e01b81526001600160a01b039182166004820152911692506332f289cf915060240161348b565b6040805160038082526080820190925260009160208201606080368337019050509050308160008151811061375857613758613c22565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156137b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137d59190613b6d565b816001815181106137e8576137e8613c22565b6001600160a01b03928316602091820292909201015260095482519116908290600290811061381957613819613c22565b6001600160a01b03928316602091820292909201015260065461383f91309116846122a3565b600654604051635c11d79560e01b81526001600160a01b0390911690635c11d7959061348b908590600090869030904290600401613da7565b600060208083528351808285015260005b818110156138a557858101830151858201604001528201613889565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461101957600080fd5b600080604083850312156138ee57600080fd5b82356138f9816138c6565b946020939093013593505050565b60006020828403121561391957600080fd5b5035919050565b60008060006060848603121561393557600080fd5b8335613940816138c6565b92506020840135613950816138c6565b929592945050506040919091013590565b60006020828403121561397357600080fd5b81356121d8816138c6565b801515811461101957600080fd5b6000806040838503121561399f57600080fd5b82356139aa816138c6565b915060208301356139ba8161397e565b809150509250929050565b6000602082840312156139d757600080fd5b81356121d88161397e565b6000806000604084860312156139f757600080fd5b833567ffffffffffffffff80821115613a0f57600080fd5b818601915086601f830112613a2357600080fd5b813581811115613a3257600080fd5b8760208260051b8501011115613a4757600080fd5b60209283019550935050840135613a5d8161397e565b809150509250925092565b60008060408385031215613a7b57600080fd5b8235613a86816138c6565b915060208301356139ba816138c6565b60008060008060808587031215613aac57600080fd5b5050823594602084013594506040840135936060013592509050565b600181811c90821680613adc57607f821691505b602082108103613afc57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215613b4957600080fd5b5051919050565b600060208284031215613b6257600080fd5b81516121d88161397e565b600060208284031215613b7f57600080fd5b81516121d8816138c6565b600080600060608486031215613b9f57600080fd5b8351925060208401519150604084015190509250925092565b600080600080600080600080610100898b031215613bd557600080fd5b8851613be0816138c6565b809850506020890151965060408901519550606089015194506080890151935060a0890151925060c0890151915060e089015190509295985092959890939650565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201613c6057613c60613c38565b5060010190565b6040808252810183905260008460608301825b86811015613caa578235613c8d816138c6565b6001600160a01b0316825260209283019290910190600101613c7a565b5080925050508215156020830152949350505050565b81810381811115610d0057610d00613c38565b80820180821115610d0057610d00613c38565b8082028115828204841417610d0057610d00613c38565b600082613d1a57634e487b7160e01b600052601260045260246000fd5b500490565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015613df75784516001600160a01b031683529383019391830191600101613dd2565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122001416d6f8a2a27b0b24ce5c6d5eb038859129cfbfeeaf559b62429dfbd67f1e764736f6c6343000811003360806040523480156200001157600080fd5b506040516200250a3803806200250a833981016040819052620000349162000167565b6040518060400160405280600f81526020016e2234bb34b232b72faa3930b1b5b2b960891b8152506040518060400160405280601081526020016f2234bb34b232b7322faa3930b1b5b2b960811b815250838282601282600390816200009b919062000248565b506004620000aa838262000248565b506005805460ff191660ff9290921691909117905550620000cd9050326200010d565b600680546001600160a01b0319166001600160a01b03929092169190911790555050610e10601255601381905562000105336200010d565b505062000314565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600080604083850312156200017b57600080fd5b82516001600160a01b03811681146200019357600080fd5b6020939093015192949293505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001ce57607f821691505b602082108103620001ef57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200024357600081815260208120601f850160051c810160208610156200021e5750805b601f850160051c820191505b818110156200023f578281556001016200022a565b5050505b505050565b81516001600160401b03811115620002645762000264620001a3565b6200027c81620002758454620001b9565b84620001f5565b602080601f831160018114620002b457600084156200029b5750858301515b600019600386901b1c1916600185901b1785556200023f565b600085815260208120601f198616915b82811015620002e557888601518255948401946001909101908401620002c4565b5085821015620003045787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6121e680620003246000396000f3fe608060405234801561001057600080fd5b506004361061027f5760003560e01c806370a082311161015c578063aafd847a116100ce578063e30443bc11610087578063e30443bc1461061e578063e7841ec014610631578063e98030c714610639578063f2fde38b1461064c578063fbcbc0f11461065f578063ffb2c4791461067257600080fd5b8063aafd847a14610574578063b1181e55146102da578063bc4c4b371461059d578063be10b614146105b0578063c705c569146105b9578063dd62ed3e146105e557600080fd5b806395d89b411161012057806395d89b411461050d57806399248ea714610515578063a3395cb414610528578063a457c2d71461053b578063a8b9d2401461054e578063a9059cbb1461056157600080fd5b806370a08231146104aa578063715018a6146104d357806385a6b3ae146104db5780638da5cb5b146104e457806391b89fba146104fa57600080fd5b8063313ce567116101f55780634e7b827f116101b95780634e7b827f146103e25780635183d6fd14610405578063556cafb01461045d5780635ebf4db9146104865780636a474002146104995780636f2789ec146104a157600080fd5b8063313ce5671461038157806331e79db0146103965780633243c791146103a957806332f289cf146103bc57806339509351146103cf57600080fd5b80631105e740116102475780631105e7401461031757806318160ddd1461032a578063226cfa3d1461033257806323b872dd1461035257806327ce0147146103655780633009a6091461037857600080fd5b806306fdde03146102845780630716c611146102a2578063095ea7b3146102b757806309bbedde146102da57806310a8c46b146102ec575b600080fd5b61028c6106a0565b6040516102999190611e1f565b60405180910390f35b6102b56102b0366004611e82565b610732565b005b6102ca6102c5366004611e9f565b610865565b6040519015158152602001610299565b600b545b604051908152602001610299565b6102ff6102fa366004611ecb565b61087c565b6040516001600160a01b039091168152602001610299565b6102b5610325366004611e9f565b6108af565b6002546102de565b6102de610340366004611e82565b60116020526000908152604090205481565b6102ca610360366004611ee4565b61096e565b6102de610373366004611e82565b6109d7565b6102de600f5481565b60055460405160ff9091168152602001610299565b6102b56103a4366004611e82565b610a33565b6102b56103b7366004611ecb565b610b1b565b6102b56103ca366004611e82565b610bfa565b6102ca6103dd366004611e9f565b610d29565b6102ca6103f0366004611e82565b60106020526000908152604090205460ff1681565b610418610413366004611ecb565b610d5f565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610299565b6102de61046b366004611e82565b6001600160a01b03166000908152600c602052604090205490565b6102b5610494366004611ecb565b610dcc565b6102b5610e1c565b6102de60125481565b6102de6104b8366004611e82565b6001600160a01b031660009081526020819052604090205490565b6102b5610eb2565b6102de600a5481565b60055461010090046001600160a01b03166102ff565b6102de610508366004611e82565b610f07565b61028c610f12565b6006546102ff906001600160a01b031681565b6102de610536366004611e82565b610f21565b6102ca610549366004611e9f565b610f66565b6102de61055c366004611e82565b610fb5565b6102ca61056f366004611e9f565b610fe1565b6102de610582366004611e82565b6001600160a01b031660009081526009602052604090205490565b6102ca6105ab366004611f33565b610fee565b6102de60135481565b6102ca6105c7366004611e82565b6001600160a01b031660009081526010602052604090205460ff1690565b6102de6105f3366004611f6c565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6102b561062c366004611e9f565b6110cb565b600f546102de565b6102b5610647366004611ecb565b611177565b6102b561065a366004611e82565b611315565b61041861066d366004611e82565b6113ce565b610685610680366004611ecb565b6114b5565b60408051938452602084019290925290820152606001610299565b6060600380546106af90611f9a565b80601f01602080910402602001604051908101604052809291908181526020018280546106db90611f9a565b80156107285780601f106106fd57610100808354040283529160200191610728565b820191906000526020600020905b81548152906001019060200180831161070b57829003601f168201915b5050505050905090565b6001600160a01b0381166000908152600e602052604090205460ff166107555750565b6001600160a01b0381166000908152600e60209081526040808320805460ff19169055600c8252808320839055600d909152812054600b5490919061079c90600190611fea565b90506000600b60000182815481106107b6576107b6611ffd565b60009182526020808320909101546001600160a01b03908116808452600d90925260408084208790559087168352822091909155600b805491925082918590811061080357610803611ffd565b600091825260209091200180546001600160a01b0319166001600160a01b0392909216919091179055600b80548061083d5761083d612013565b600082815260209020810160001990810180546001600160a01b031916905501905550505050565b60006108723384846115d2565b5060015b92915050565b6000600b600001828154811061089457610894611ffd565b6000918252602090912001546001600160a01b031692915050565b6001600160a01b0382166000908152600e602052604090205460ff16156108ed576001600160a01b03919091166000908152600c6020526040902055565b6001600160a01b0382166000818152600e60209081526040808320805460ff19166001908117909155600c8352818420869055600b8054600d909452918420839055820181559091527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90180546001600160a01b03191690911790555b5050565b600061097b8484846116f6565b6109cd84336109c885604051806060016040528060288152602001612164602891396001600160a01b038a166000908152600160209081526040808320338452909152902054919061174d565b6115d2565b5060019392505050565b6001600160a01b03811660009081526008602090815260408083205491839052822054600754600160801b92610a2992610a2492610a1e91610a199190611787565b611810565b90611820565b61185e565b6108769190612029565b6005546001600160a01b0361010090910416321480610a6257506005546001600160a01b036101009091041633145b610a875760405162461bcd60e51b8152600401610a7e9061204b565b60405180910390fd5b6001600160a01b03811660009081526010602052604090205460ff1615610aad57600080fd5b6001600160a01b0381166000908152601060205260408120805460ff19166001179055610adb908290611871565b610ae481610732565b6040516001600160a01b038216907fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b2590600090a250565b6005546001600160a01b0361010090910416321480610b4a57506005546001600160a01b036101009091041633145b610b665760405162461bcd60e51b8152600401610a7e9061204b565b6000610b7160025490565b11610b7b57600080fd5b8015610bf757610bae610b8d60025490565b610b9b83600160801b611787565b610ba59190612029565b600754906118d0565b60075560405181815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a2600a54610bf390826118d0565b600a555b50565b6005546001600160a01b0361010090910416321480610c2957506005546001600160a01b036101009091041633145b610c455760405162461bcd60e51b8152600401610a7e9061204b565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610c8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cb09190612080565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610d00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d249190612099565b505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916108729185906109c890866118d0565b600080600080600080600080610d74600b5490565b8910610d99575060009650600019955085945086935083925082915081905080610dc1565b6000610da48a61087c565b9050610daf816113ce565b98509850985098509850985098509850505b919395975091939597565b6005546001600160a01b0361010090910416321480610dfb57506005546001600160a01b036101009091041633145b610e175760405162461bcd60e51b8152600401610a7e9061204b565b601355565b60405162461bcd60e51b815260206004820152605b60248201527f4469766964656e645f547261636b65723a20776974686472617744697669646560448201527f6e642064697361626c65642e20557365207468652027636c61696d272066756e60648201527f6374696f6e206f6e20746865206d61696e20636f6e74726163742e0000000000608482015260a401610a7e565b565b6005546001600160a01b0361010090910416321480610ee157506005546001600160a01b036101009091041633145b610efd5760405162461bcd60e51b8152600401610a7e9061204b565b610eb0600061192f565b600061087682610fb5565b6060600480546106af90611f9a565b6001600160a01b0381166000908152600e602052604081205460ff16610f4a5750600019919050565b506001600160a01b03166000908152600d602052604090205490565b600061087233846109c88560405180606001604052806025815260200161218c602591393360009081526001602090815260408083206001600160a01b038d168452909152902054919061174d565b6001600160a01b03811660009081526009602052604081205461087690610fdb846109d7565b90611989565b60006108723384846116f6565b6000326110096005546001600160a01b036101009091041690565b6001600160a01b0316148061102e57506005546001600160a01b036101009091041633145b61104a5760405162461bcd60e51b8152600401610a7e9061204b565b6000611055846119cb565b905080156110c1576001600160a01b038416600081815260116020526040908190204290555184151591907fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf092906110af9085815260200190565b60405180910390a36001915050610876565b5060009392505050565b6005546001600160a01b03610100909104163214806110fa57506005546001600160a01b036101009091041633145b6111165760405162461bcd60e51b8152600401610a7e9061204b565b6001600160a01b03821660009081526010602052604090205460ff1661096a576013548110611158576111498282611871565b61115382826108af565b61116c565b611163826000611871565b61116c82610732565b610d24826001610fee565b6005546001600160a01b03610100909104163214806111a657506005546001600160a01b036101009091041633145b6111c25760405162461bcd60e51b8152600401610a7e9061204b565b610e1081101580156111d75750620151808111155b6112615760405162461bcd60e51b815260206004820152604f60248201527f5544414f546f6b656e5f4469766964656e645f547261636b65723a20636c616960448201527f6d57616974206d757374206265207570646174656420746f206265747765656e60648201526e203120616e6420323420686f75727360881b608482015260a401610a7e565b60125481036112e25760405162461bcd60e51b815260206004820152604160248201527f5544414f546f6b656e5f4469766964656e645f547261636b65723a2043616e6e60448201527f6f742075706461746520636c61696d5761697420746f2073616d652076616c756064820152606560f81b608482015260a401610a7e565b60125460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f90600090a3601255565b6005546001600160a01b036101009091041632148061134457506005546001600160a01b036101009091041633145b6113605760405162461bcd60e51b8152600401610a7e9061204b565b6001600160a01b0381166113c55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a7e565b610bf78161192f565b8060008080808080806113e088610f21565b965060001995506000871261144257600f5487111561140e57600f54611407908890611b30565b9550611442565b600f54600b5460009110611423576000611432565b600f54600b5461143291611989565b905061143e8882611820565b9650505b61144b88610fb5565b9450611456886109d7565b6001600160a01b03891660009081526011602052604090205490945092508261148057600061148e565b60125461148e9084906118d0565b915042821161149e5760006114a8565b6114a88242611989565b9050919395975091939597565b600b54600090819081908082036114d7575050600f54600092508291506115cb565b600f546000805a90506000805b89841080156114f257508582105b156115ba5784611501816120b6565b600b549096508610905061151457600094505b6000600b600001868154811061152c5761152c611ffd565b60009182526020808320909101546001600160a01b0316808352601190915260409091205490915061155d90611b6d565b156115805761156d816001610fee565b15611580578161157c816120b6565b9250505b8261158a816120b6565b93505060005a9050808511156115b1576115ae6115a78683611989565b87906118d0565b95505b93506114e49050565b600f85905590975095509193505050505b9193909250565b6001600160a01b0383166116345760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a7e565b6001600160a01b0382166116955760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a7e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60405162461bcd60e51b815260206004820152602660248201527f4469766964656e645f547261636b65723a204e6f207472616e736665727320616044820152651b1b1bddd95960d21b6064820152608401610a7e565b600081848411156117715760405162461bcd60e51b8152600401610a7e9190611e1f565b50600061177e8486611fea565b95945050505050565b60008260000361179957506000610876565b60006117a583856120cf565b9050826117b28583612029565b146118095760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610a7e565b9392505050565b6000818181121561087657600080fd5b60008061182d83856120e6565b9050600083121580156118405750838112155b80611855575060008312801561185557508381125b61180957600080fd5b60008082121561186d57600080fd5b5090565b6001600160a01b038216600090815260208190526040902054808211156118b057600061189e8383611989565b90506118aa8482611b94565b50505050565b80821015610d245760006118c48284611989565b90506118aa8482611bf8565b6000806118dd838561210e565b9050838110156118095760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610a7e565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600061180983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061174d565b6000806119d783610fb5565b90508015611b27576001600160a01b038316600090815260096020526040902054611a0290826118d0565b6001600160a01b038416600081815260096020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d90611a519084815260200190565b60405180910390a260065460405163a9059cbb60e01b81526001600160a01b03858116600483015260248201849052600092169063a9059cbb906044016020604051808303816000875af1158015611aad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ad19190612099565b905080611b20576001600160a01b038416600090815260096020526040902054611afb9083611989565b6001600160a01b03909416600090815260096020526040812094909455509192915050565b5092915050565b50600092915050565b600080611b3d8385612121565b905060008312158015611b505750838113155b806118555750600083128015611855575083811361180957600080fd5b600042821115611b7f57506000919050565b601254611b8c4284611989565b101592915050565b611b9e8282611c3c565b611bd8611bb9610a198360075461178790919063ffffffff16565b6001600160a01b03841660009081526008602052604090205490611b30565b6001600160a01b0390921660009081526008602052604090209190915550565b611c028282611d1b565b611bd8611c1d610a198360075461178790919063ffffffff16565b6001600160a01b03841660009081526008602052604090205490611820565b6001600160a01b038216611c925760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206361737420746f20746865207a65726f2061646472657373006044820152606401610a7e565b600254611c9f90826118d0565b6002556001600160a01b038216600090815260208190526040902054611cc590826118d0565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91015b60405180910390a35050565b6001600160a01b038216611d7b5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610a7e565b611db881604051806060016040528060228152602001612142602291396001600160a01b038516600090815260208190526040902054919061174d565b6001600160a01b038316600090815260208190526040902055600254611dde9082611989565b6002556040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001611d0f565b600060208083528351808285015260005b81811015611e4c57858101830151858201604001528201611e30565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610bf757600080fd5b600060208284031215611e9457600080fd5b813561180981611e6d565b60008060408385031215611eb257600080fd5b8235611ebd81611e6d565b946020939093013593505050565b600060208284031215611edd57600080fd5b5035919050565b600080600060608486031215611ef957600080fd5b8335611f0481611e6d565b92506020840135611f1481611e6d565b929592945050506040919091013590565b8015158114610bf757600080fd5b60008060408385031215611f4657600080fd5b8235611f5181611e6d565b91506020830135611f6181611f25565b809150509250929050565b60008060408385031215611f7f57600080fd5b8235611f8a81611e6d565b91506020830135611f6181611e6d565b600181811c90821680611fae57607f821691505b602082108103611fce57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561087657610876611fd4565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b60008261204657634e487b7160e01b600052601260045260246000fd5b500490565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60006020828403121561209257600080fd5b5051919050565b6000602082840312156120ab57600080fd5b815161180981611f25565b6000600182016120c8576120c8611fd4565b5060010190565b808202811582820484141761087657610876611fd4565b808201828112600083128015821682158216171561210657612106611fd4565b505092915050565b8082018082111561087657610876611fd4565b8181036000831280158383131683831282161715611b2057611b20611fd456fe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122043595f9a369ded764bddde37b0388097153a9e9a93c948c1a20cd8eefa0dbc4d64736f6c63430008110033000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000002600000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000003b9aca000000000000000000000000003b991130eae3cca364406d718da22fa1c3e7c2560000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000008379d16f24c7a5d7b4ca07d5c36c7e97a9737d3f00000000000000000000000051e46fddf884518d96ebea18023f7b2d0a82582a0000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f00000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d3c21bcecceda10000000000000000000000000000000000000000000000000000000000000000000007507570706574680000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045055505000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106103e85760003560e01c8063871c128d11610208578063c024666811610118578063e7841ec0116100ab578063f27fd2541161007a578063f27fd25414610bd1578063f2fde38b14610bf1578063f637434214610c11578063f7c618c114610c27578063f832679514610c4757600080fd5b8063e7841ec014610b66578063e98030c714610b7b578063eb671e9114610b9b578063f11a24d314610bbb57600080fd5b8063d2a8b440116100e7578063d2a8b44014610ad5578063dd62ed3e14610aea578063e2f4560514610b30578063e4bf1bed14610b4657600080fd5b8063c024666814610a5f578063c492f04614610a7f578063c705c56914610a9f578063cfe0e61914610abf57600080fd5b8063a26579ad1161019b578063aa797dbc1161016a578063aa797dbc1461095a578063ad56c13c1461098a578063afa4f3b2146109ef578063b62496f514610a0f578063bedb86fb14610a3f57600080fd5b8063a26579ad146108e5578063a457c2d7146108fa578063a8b9d2401461091a578063a9059cbb1461093a57600080fd5b806395d89b41116101d757806395d89b411461087a5780639a7a23d61461088f5780639c1b8af5146108af5780639dc29fac146108c557600080fd5b8063871c128d1461080b5780638da5cb5b1461082b5780638de743b31461084e578063921369131461086457600080fd5b806340c10f191161030357806365b8dbc01161029657806370a082311161026557806370a082311461076a578063715018a6146107a05780637bce5a04146107b557806385141a77146107cb57806386923611146107eb57600080fd5b806365b8dbc0146106f05780636843cd84146107105780636985a02214610730578063700bb1911461074a57600080fd5b80634fbee193116102d25780634fbee193146106625780635d098b381461069b57806361a60d57146106bb57806364b0f653146106db57600080fd5b806340c10f19146105ed5780634144d9e41461060d57806349bd5a5e1461062d5780634e71d92d1461064d57600080fd5b806323b872dd1161037b578063313ce5671161034a578063313ce5671461057557806331e79db0146105975780633926876d146105b757806339509351146105cd57600080fd5b806323b872dd1461050a57806324942a041461052a5780632c1f52161461054057806330bb4cff1461056057600080fd5b80630dcb2e89116103b75780630dcb2e891461048557806310c8aeac146104a75780631694505e146104bd57806318160ddd146104f557600080fd5b806302df64d6146103f457806306fdde031461041d57806308b2a12c1461043f578063095ea7b31461045557600080fd5b366103ef57005b600080fd5b34801561040057600080fd5b5061040a600b5481565b6040519081526020015b60405180910390f35b34801561042957600080fd5b50610432610c5d565b6040516104149190613878565b34801561044b57600080fd5b5061040a600c5481565b34801561046157600080fd5b506104756104703660046138db565b610cef565b6040519015158152602001610414565b34801561049157600080fd5b506104a56104a0366004613907565b610d06565b005b3480156104b357600080fd5b5061040a601a5481565b3480156104c957600080fd5b506006546104dd906001600160a01b031681565b6040516001600160a01b039091168152602001610414565b34801561050157600080fd5b5060025461040a565b34801561051657600080fd5b50610475610525366004613920565b610dbc565b34801561053657600080fd5b5061040a60125481565b34801561054c57600080fd5b506008546104dd906001600160a01b031681565b34801561056c57600080fd5b5061040a610e25565b34801561058157600080fd5b5060055460405160ff9091168152602001610414565b3480156105a357600080fd5b506104a56105b2366004613961565b610e98565b3480156105c357600080fd5b5061040a60145481565b3480156105d957600080fd5b506104756105e83660046138db565b610f15565b3480156105f957600080fd5b506104a56106083660046138db565b610f4b565b34801561061957600080fd5b506016546104dd906001600160a01b031681565b34801561063957600080fd5b506007546104dd906001600160a01b031681565b34801561065957600080fd5b506104a5610fa4565b34801561066e57600080fd5b5061047561067d366004613961565b6001600160a01b03166000908152601c602052604090205460ff1690565b3480156106a757600080fd5b506104a56106b6366004613961565b61101c565b3480156106c757600080fd5b506104a56106d6366004613961565b611089565b3480156106e757600080fd5b5061040a6110f6565b3480156106fc57600080fd5b506104a561070b366004613961565b611140565b34801561071c57600080fd5b5061040a61072b366004613961565b6113cb565b34801561073c57600080fd5b506019546104759060ff1681565b34801561075657600080fd5b506104a5610765366004613907565b61143b565b34801561077657600080fd5b5061040a610785366004613961565b6001600160a01b031660009081526020819052604090205490565b3480156107ac57600080fd5b506104a561150d565b3480156107c157600080fd5b5061040a600f5481565b3480156107d757600080fd5b506017546104dd906001600160a01b031681565b3480156107f757600080fd5b506104a561080636600461398c565b611564565b34801561081757600080fd5b506104a5610826366004613907565b6115da565b34801561083757600080fd5b5060055461010090046001600160a01b03166104dd565b34801561085a57600080fd5b5061040a60115481565b34801561087057600080fd5b5061040a60105481565b34801561088657600080fd5b5061043261173d565b34801561089b57600080fd5b506104a56108aa36600461398c565b61174c565b3480156108bb57600080fd5b5061040a601b5481565b3480156108d157600080fd5b506104a56108e03660046138db565b611833565b3480156108f157600080fd5b5061040a611888565b34801561090657600080fd5b506104756109153660046138db565b6118d2565b34801561092657600080fd5b5061040a610935366004613961565b611921565b34801561094657600080fd5b506104756109553660046138db565b611954565b34801561096657600080fd5b50610475610975366004613961565b60186020526000908152604090205460ff1681565b34801561099657600080fd5b506109aa6109a5366004613961565b611961565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610414565b3480156109fb57600080fd5b506104a5610a0a366004613907565b6119fc565b348015610a1b57600080fd5b50610475610a2a366004613961565b601d6020526000908152604090205460ff1681565b348015610a4b57600080fd5b506104a5610a5a3660046139c5565b611a4c565b348015610a6b57600080fd5b506104a5610a7a36600461398c565b611aaa565b348015610a8b57600080fd5b506104a5610a9a3660046139e2565b611b7a565b348015610aab57600080fd5b50610475610aba366004613961565b611c77565b348015610acb57600080fd5b5061040a60155481565b348015610ae157600080fd5b506104a5611ce6565b348015610af657600080fd5b5061040a610b05366004613a68565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610b3c57600080fd5b5061040a600a5481565b348015610b5257600080fd5b506104a5610b61366004613a96565b611e2e565b348015610b7257600080fd5b5061040a611ef6565b348015610b8757600080fd5b506104a5610b96366004613907565b611f40565b348015610ba757600080fd5b506104a5610bb6366004613a96565b611fbc565b348015610bc757600080fd5b5061040a600d5481565b348015610bdd57600080fd5b506109aa610bec366004613907565b61207e565b348015610bfd57600080fd5b506104a5610c0c366004613961565b6120c0565b348015610c1d57600080fd5b5061040a600e5481565b348015610c3357600080fd5b506009546104dd906001600160a01b031681565b348015610c5357600080fd5b5061040a60135481565b606060038054610c6c90613ac8565b80601f0160208091040260200160405190810160405280929190818152602001828054610c9890613ac8565b8015610ce55780601f10610cba57610100808354040283529160200191610ce5565b820191906000526020600020905b815481529060010190602001808311610cc857829003601f168201915b5050505050905090565b6000610cfc3384846122a3565b5060015b92915050565b6005546001600160a01b0361010090910416321480610d3557506005546001600160a01b036101009091041633145b610d5a5760405162461bcd60e51b8152600401610d5190613b02565b60405180910390fd5b600854604051635ebf4db960e01b8152600481018390526001600160a01b0390911690635ebf4db9906024015b600060405180830381600087803b158015610da157600080fd5b505af1158015610db5573d6000803e3d6000fd5b5050505050565b6000610dc98484846123c8565b610e1b8433610e1685604051806060016040528060288152602001613e61602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190612a5a565b6122a3565b5060019392505050565b600854604080516342d359d760e11b815290516000926001600160a01b0316916385a6b3ae9160048083019260209291908290030181865afa158015610e6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e939190613b37565b905090565b6005546001600160a01b0361010090910416321480610ec757506005546001600160a01b036101009091041633145b610ee35760405162461bcd60e51b8152600401610d5190613b02565b60085460405163031e79db60e41b81526001600160a01b038381166004830152909116906331e79db090602401610d87565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610cfc918590610e169086612179565b6005546001600160a01b0361010090910416321480610f7a57506005546001600160a01b036101009091041633145b610f965760405162461bcd60e51b8152600401610d5190613b02565b610fa08282612a94565b5050565b60085460405163bc4c4b3760e01b8152336004820152600060248201526001600160a01b039091169063bc4c4b37906044016020604051808303816000875af1158015610ff5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110199190613b50565b50565b6005546001600160a01b036101009091041632148061104b57506005546001600160a01b036101009091041633145b6110675760405162461bcd60e51b8152600401610d5190613b02565b601680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03610100909104163214806110b857506005546001600160a01b036101009091041633145b6110d45760405162461bcd60e51b8152600401610d5190613b02565b601780546001600160a01b0319166001600160a01b0392909216919091179055565b600854604080516304ddf6ef60e11b815290516000926001600160a01b0316916309bbedde9160048083019260209291908290030181865afa158015610e6f573d6000803e3d6000fd5b6005546001600160a01b036101009091041632148061116f57506005546001600160a01b036101009091041633145b61118b5760405162461bcd60e51b8152600401610d5190613b02565b6006546001600160a01b03908116908216036111f55760405162461bcd60e51b815260206004820152602360248201527f54686520726f7574657220616c7265616479206861732074686174206164647260448201526265737360e81b6064820152608401610d51565b6006546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600680546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b815290516000929163c45a01559160048083019260209291908290030181865afa15801561128c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112b09190613b6d565b6001600160a01b031663c9c6539630600660009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611312573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113369190613b6d565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015611383573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113a79190613b6d565b600780546001600160a01b0319166001600160a01b03929092169190911790555050565b6008546040516370a0823160e01b81526001600160a01b03838116600483015260009216906370a08231906024015b602060405180830381865afa158015611417573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d009190613b37565b6008546040516001624d3b8760e01b0319815260048101839052600091829182916001600160a01b03169063ffb2c479906024016060604051808303816000875af115801561148e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b29190613b8a565b604080518481526020810184905290810182905260608101889052929550909350915032906000907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a350505050565b6005546001600160a01b036101009091041632148061153c57506005546001600160a01b036101009091041633145b6115585760405162461bcd60e51b8152600401610d5190613b02565b6115626000612b73565b565b6005546001600160a01b036101009091041632148061159357506005546001600160a01b036101009091041633145b6115af5760405162461bcd60e51b8152600401610d5190613b02565b6001600160a01b03919091166000908152601860205260409020805460ff1916911515919091179055565b6005546001600160a01b036101009091041632148061160957506005546001600160a01b036101009091041633145b6116255760405162461bcd60e51b8152600401610d5190613b02565b62030d40811015801561163b57506207a1208111155b6116a45760405162461bcd60e51b815260206004820152603460248201527f476173466f7250726f63657373696e67206d757374206265206265747765656e6044820152730203230302c30303020616e64203530302c3030360641b6064820152608401610d51565b601b54810361170a5760405162461bcd60e51b815260206004820152602c60248201527f43616e6e6f742075706461746520676173466f7250726f63657373696e67207460448201526b6f2073616d652076616c756560a01b6064820152608401610d51565b601b5460405182907f40d7e40e79af4e8e5a9b3c57030d8ea93f13d669c06d448c4d631d4ae7d23db790600090a3601b55565b606060048054610c6c90613ac8565b6005546001600160a01b036101009091041632148061177b57506005546001600160a01b036101009091041633145b6117975760405162461bcd60e51b8152600401610d5190613b02565b6007546001600160a01b03908116908316036118295760405162461bcd60e51b815260206004820152604560248201527f5468652050616e63616b655377617020706169722063616e6e6f74206265207260448201527f656d6f7665642066726f6d206175746f6d617465644d61726b65744d616b6572606482015264506169727360d81b608482015260a401610d51565b610fa08282612bcd565b6005546001600160a01b036101009091041632148061186257506005546001600160a01b036101009091041633145b61187e5760405162461bcd60e51b8152600401610d5190613b02565b610fa08282612d2c565b60085460408051631bc9e27b60e21b815290516000926001600160a01b031691636f2789ec9160048083019260209291908290030181865afa158015610e6f573d6000803e3d6000fd5b6000610cfc3384610e1685604051806060016040528060258152602001613e89602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190612a5a565b6008546040516302a2e74960e61b81526001600160a01b038381166004830152600092169063a8b9d240906024016113fa565b6000610cfc3384846123c8565b60085460405163fbcbc0f160e01b81526001600160a01b038381166004830152600092839283928392839283928392839291169063fbcbc0f1906024015b61010060405180830381865afa1580156119bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119e19190613bb8565b97509750975097509750975097509750919395975091939597565b6005546001600160a01b0361010090910416321480611a2b57506005546001600160a01b036101009091041633145b611a475760405162461bcd60e51b8152600401610d5190613b02565b600a55565b6005546001600160a01b0361010090910416321480611a7b57506005546001600160a01b036101009091041633145b611a975760405162461bcd60e51b8152600401610d5190613b02565b6019805460ff1916911515919091179055565b6005546001600160a01b0361010090910416321480611ad957506005546001600160a01b036101009091041633145b611af55760405162461bcd60e51b8152600401610d5190613b02565b6001600160a01b0382166000908152601c602052604090205460ff16151581151514610fa0576001600160a01b0382166000818152601c6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b0361010090910416321480611ba957506005546001600160a01b036101009091041633145b611bc55760405162461bcd60e51b8152600401610d5190613b02565b60005b82811015611c365781601c6000868685818110611be757611be7613c22565b9050602002016020810190611bfc9190613961565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580611c2e81613c4e565b915050611bc8565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b35838383604051611c6a93929190613c67565b60405180910390a1505050565b60085460405163c705c56960e01b81526001600160a01b038381166004830152600092169063c705c56990602401602060405180830381865afa158015611cc2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d009190613b50565b6005546001600160a01b0361010090910416321480611d1557506005546001600160a01b036101009091041633145b611d315760405162461bcd60e51b8152600401610d5190613b02565b3060009081526020819052604090205480611d835760405162461bcd60e51b8152602060048201526012602482015271746f6b656e2062616c616e6365207a65726f60701b6044820152606401610d51565b6007805460ff60a01b1916600160a01b17905560135415801590611da8575060135481115b15611dc857611db8601354612e30565b601354611dc59082613cc0565b90505b6000601454118015611ddb575060145481115b15611dfb57611deb601454612ec8565b601454611df89082613cc0565b90505b6000601554118015611e0e575060155481115b15611e1e57611e1e60155461306b565b506007805460ff60a01b19169055565b6005546001600160a01b0361010090910416321480611e5d57506005546001600160a01b036101009091041633145b611e795760405162461bcd60e51b8152600401610d5190613b02565b6019611e9182611e8b8581888a612179565b90612179565b1115611edf5760405162461bcd60e51b815260206004820152601960248201527f546f74616c2062757920666565206973206f76657220323525000000000000006044820152606401610d51565b600b92909255600d92909255600f91909155601155565b6008546040805163039e107b60e61b815290516000926001600160a01b03169163e7841ec09160048083019260209291908290030181865afa158015610e6f573d6000803e3d6000fd5b6005546001600160a01b0361010090910416321480611f6f57506005546001600160a01b036101009091041633145b611f8b5760405162461bcd60e51b8152600401610d5190613b02565b60085460405163e98030c760e01b8152600481018390526001600160a01b039091169063e98030c790602401610d87565b6005546001600160a01b0361010090910416321480611feb57506005546001600160a01b036101009091041633145b6120075760405162461bcd60e51b8152600401610d5190613b02565b601961201982611e8b8581888a612179565b11156120675760405162461bcd60e51b815260206004820152601960248201527f546f74616c2073656c20666565206973206f76657220323525000000000000006044820152606401610d51565b600c92909255600e92909255601091909155601255565b600854604051635183d6fd60e01b81526004810183905260009182918291829182918291829182916001600160a01b0390911690635183d6fd9060240161199f565b6005546001600160a01b03610100909104163214806120ef57506005546001600160a01b036101009091041633145b61210b5760405162461bcd60e51b8152600401610d5190613b02565b6001600160a01b0381166121705760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d51565b61101981612b73565b6000806121868385613cd3565b9050838110156121d85760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610d51565b9392505050565b6000826000036121f157506000610d00565b60006121fd8385613ce6565b90508261220a8583613cfd565b146121d85760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610d51565b60006121d883836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506131ee565b6001600160a01b0383166123055760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610d51565b6001600160a01b0382166123665760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610d51565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166123ee5760405162461bcd60e51b8152600401610d5190613d1f565b6001600160a01b0382166124145760405162461bcd60e51b8152600401610d5190613d64565b6001600160a01b03831660009081526018602052604090205460ff1615801561245657506001600160a01b03821660009081526018602052604090205460ff16155b6124925760405162461bcd60e51b815260206004820152600d60248201526c456e656d79206164647265737360981b6044820152606401610d51565b60195460ff16156124cd5760405162461bcd60e51b8152602060048201526005602482015264506175736560d81b6044820152606401610d51565b806000036124e6576124e18383600061321c565b505050565b30600090815260208190526040902054600a54811080159081906125145750600754600160a01b900460ff16155b801561253957506001600160a01b0385166000908152601d602052604090205460ff16155b801561255857506005546001600160a01b038681166101009092041614155b801561257757506005546001600160a01b038581166101009092041614155b156125fc576007805460ff60a01b1916600160a01b1790556015548211156125b4576125a460155461306b565b6015546125b19083613cc0565b91505b6013548211156125d9576125c9601354612e30565b6013546125d69083613cc0565b91505b6014548211156125ee576125ee601454612ec8565b6007805460ff60a01b191690555b6007546001600160a01b0386166000908152601c602052604090205460ff600160a01b90920482161591168061264a57506001600160a01b0385166000908152601c602052604090205460ff165b15612653575060005b801561285f576001600160a01b0386166000908152601d6020526040812054819081908190819060ff1615612741576126a2606461269c600d548c6121df90919063ffffffff16565b90612261565b935083601360008282546126b69190613cd3565b9091555050600b546126d09060649061269c908c906121df565b925082601460008282546126e49190613cd3565b9091555050600f546126fe9060649061269c908c906121df565b915081601560008282546127129190613cd3565b909155505060115461272c9060649061269c908c906121df565b905061273e81611e8b84818888612179565b94505b6001600160a01b038a166000908152601d602052604090205460ff161561281b5761277c606461269c600e548c6121df90919063ffffffff16565b935083601360008282546127909190613cd3565b9091555050600c546127aa9060649061269c908c906121df565b925082601460008282546127be9190613cd3565b90915550506010546127d89060649061269c908c906121df565b915081601560008282546127ec9190613cd3565b90915550506012546128069060649061269c908c906121df565b905061281881611e8b84818888612179565b94505b6128258986613325565b9850801561284557601754612845908c906001600160a01b03168361321c565b6128598b306128548885613325565b61321c565b50505050505b61286a86868661321c565b6008546001600160a01b031663e30443bc8761289b816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b1580156128e157600080fd5b505af19250505080156128f2575060015b506008546001600160a01b031663e30443bc86612924816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561296a57600080fd5b505af192505050801561297b575060015b50600754600160a01b900460ff16612a5257601b546008546040516001624d3b8760e01b03198152600481018390526001600160a01b039091169063ffb2c479906024016060604051808303816000875af19250505080156129fa575060408051601f3d908101601f191682019092526129f791810190613b8a565b60015b15612a505760408051848152602081018490529081018290526060810185905232906001907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a35050505b505b505050505050565b60008184841115612a7e5760405162461bcd60e51b8152600401610d519190613878565b506000612a8b8486613cc0565b95945050505050565b6001600160a01b038216612aea5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206361737420746f20746865207a65726f2061646472657373006044820152606401610d51565b600254612af79082612179565b6002556001600160a01b038216600090815260208190526040902054612b1d9082612179565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91015b60405180910390a35050565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166000908152601d602052604090205481151560ff909116151503612c635760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c756500000000000000006064820152608401610d51565b6001600160a01b0382166000908152601d60205260409020805460ff19168215801591909117909155612cf05760085460405163031e79db60e41b81526001600160a01b038481166004830152909116906331e79db090602401600060405180830381600087803b158015612cd757600080fd5b505af1158015612ceb573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6001600160a01b038216612d8c5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610d51565b612dc981604051806060016040528060228152602001613e19602291396001600160a01b0385166000908152602081905260409020549190612a5a565b6001600160a01b038316600090815260208190526040902055600254612def9082613325565b6002556040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001612b67565b6000612e3d826002612261565b90506000612e4b8383613325565b905047612e5783613367565b6000612e634783613325565b9050612e6f83826134b9565b84601354612e7d9190613cc0565b60135560408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15050505050565b612ed181613566565b80601454612edf9190613cc0565b6014556009546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015612f2b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f4f9190613b37565b60095460085460405163a9059cbb60e01b81526001600160a01b0391821660048201526024810184905292935060009291169063a9059cbb906044016020604051808303816000875af1158015612faa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fce9190613b50565b905080156124e157600854604051633243c79160e01b8152600481018490526001600160a01b0390911690633243c79190602401600060405180830381600087803b15801561301c57600080fd5b505af1158015613030573d6000803e3d6000fd5b505060408051868152602081018690527f80195cc573b02cc48460cbca6e6e4cc85ddb91959d946e1c3025ea3d87942dc39350019050611c6a565b6009546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa1580156130b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130d89190613b37565b90506130e382613566565b6009546040516370a0823160e01b815230600482015260009161315c9184916001600160a01b0316906370a0823190602401602060405180830381865afa158015613132573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131569190613b37565b90613325565b60095460165460405163a9059cbb60e01b81526001600160a01b03918216600482015260248101849052929350169063a9059cbb906044016020604051808303816000875af11580156131b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131d79190613b50565b50826015546131e69190613cc0565b601555505050565b6000818361320f5760405162461bcd60e51b8152600401610d519190613878565b506000612a8b8486613cfd565b6001600160a01b0383166132425760405162461bcd60e51b8152600401610d5190613d1f565b6001600160a01b0382166132685760405162461bcd60e51b8152600401610d5190613d64565b6132a581604051806060016040528060268152602001613e3b602691396001600160a01b0386166000908152602081905260409020549190612a5a565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546132d49082612179565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016123bb565b60006121d883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612a5a565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061339c5761339c613c22565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156133f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134199190613b6d565b8160018151811061342c5761342c613c22565b6001600160a01b03928316602091820292909201015260065461345291309116846122a3565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac9479061348b908590600090869030904290600401613da7565b600060405180830381600087803b1580156134a557600080fd5b505af1158015612a52573d6000803e3d6000fd5b6006546134d19030906001600160a01b0316846122a3565b60065460165460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af1158015613541573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610db59190613b8a565b600660009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156135b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135dd9190613b6d565b6009546001600160a01b0391821691160361372157604080516002808252606082018352600092602083019080368337019050509050308160008151811061362757613627613c22565b6001600160a01b03928316602091820292909201015260095482519116908290600190811061365857613658613c22565b6001600160a01b03928316602091820292909201015260065461367e91309116846122a3565b600654600854604051635c11d79560e01b81526001600160a01b0392831692635c11d795926136bb92879260009288929116904290600401613da7565b600060405180830381600087803b1580156136d557600080fd5b505af11580156136e9573d6000803e3d6000fd5b50506008546009546040516332f289cf60e01b81526001600160a01b039182166004820152911692506332f289cf915060240161348b565b6040805160038082526080820190925260009160208201606080368337019050509050308160008151811061375857613758613c22565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156137b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137d59190613b6d565b816001815181106137e8576137e8613c22565b6001600160a01b03928316602091820292909201015260095482519116908290600290811061381957613819613c22565b6001600160a01b03928316602091820292909201015260065461383f91309116846122a3565b600654604051635c11d79560e01b81526001600160a01b0390911690635c11d7959061348b908590600090869030904290600401613da7565b600060208083528351808285015260005b818110156138a557858101830151858201604001528201613889565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461101957600080fd5b600080604083850312156138ee57600080fd5b82356138f9816138c6565b946020939093013593505050565b60006020828403121561391957600080fd5b5035919050565b60008060006060848603121561393557600080fd5b8335613940816138c6565b92506020840135613950816138c6565b929592945050506040919091013590565b60006020828403121561397357600080fd5b81356121d8816138c6565b801515811461101957600080fd5b6000806040838503121561399f57600080fd5b82356139aa816138c6565b915060208301356139ba8161397e565b809150509250929050565b6000602082840312156139d757600080fd5b81356121d88161397e565b6000806000604084860312156139f757600080fd5b833567ffffffffffffffff80821115613a0f57600080fd5b818601915086601f830112613a2357600080fd5b813581811115613a3257600080fd5b8760208260051b8501011115613a4757600080fd5b60209283019550935050840135613a5d8161397e565b809150509250925092565b60008060408385031215613a7b57600080fd5b8235613a86816138c6565b915060208301356139ba816138c6565b60008060008060808587031215613aac57600080fd5b5050823594602084013594506040840135936060013592509050565b600181811c90821680613adc57607f821691505b602082108103613afc57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215613b4957600080fd5b5051919050565b600060208284031215613b6257600080fd5b81516121d88161397e565b600060208284031215613b7f57600080fd5b81516121d8816138c6565b600080600060608486031215613b9f57600080fd5b8351925060208401519150604084015190509250925092565b600080600080600080600080610100898b031215613bd557600080fd5b8851613be0816138c6565b809850506020890151965060408901519550606089015194506080890151935060a0890151925060c0890151915060e089015190509295985092959890939650565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201613c6057613c60613c38565b5060010190565b6040808252810183905260008460608301825b86811015613caa578235613c8d816138c6565b6001600160a01b0316825260209283019290910190600101613c7a565b5080925050508215156020830152949350505050565b81810381811115610d0057610d00613c38565b80820180821115610d0057610d00613c38565b8082028115828204841417610d0057610d00613c38565b600082613d1a57634e487b7160e01b600052601260045260246000fd5b500490565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015613df75784516001600160a01b031683529383019391830191600101613dd2565b50506001600160a01b0396909616606085015250505060800152939250505056fe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122001416d6f8a2a27b0b24ce5c6d5eb038859129cfbfeeaf559b62429dfbd67f1e764736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000002600000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000003b9aca000000000000000000000000003b991130eae3cca364406d718da22fa1c3e7c2560000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000008379d16f24c7a5d7b4ca07d5c36c7e97a9737d3f00000000000000000000000051e46fddf884518d96ebea18023f7b2d0a82582a0000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f00000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d3c21bcecceda10000000000000000000000000000000000000000000000000000000000000000000007507570706574680000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045055505000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): Puppeth
Arg [1] : symbol_ (string): PUPP
Arg [2] : decimals_ (uint8): 18
Arg [3] : totalSupply_ (uint256): 1000000000
Arg [4] : addrs (address[4]): 0x3b991130eaE3CcA364406D718DA22FA1C3E7C256,0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D,0x8379d16F24C7a5d7b4Ca07d5c36c7e97a9737D3f,0x51e46fDDF884518d96EbeA18023f7B2d0A82582a
Arg [5] : buyFeeSetting_ (uint256[4]): 8,5,2,0
Arg [6] : sellFeeSetting_ (uint256[4]): 15,5,5,0
Arg [7] : tokenBalanceForReward_ (uint256): 1000000000000000000000000
-----Encoded View---------------
21 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000260
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 000000000000000000000000000000000000000000000000000000003b9aca00
Arg [4] : 0000000000000000000000003b991130eae3cca364406d718da22fa1c3e7c256
Arg [5] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [6] : 0000000000000000000000008379d16f24c7a5d7b4ca07d5c36c7e97a9737d3f
Arg [7] : 00000000000000000000000051e46fddf884518d96ebea18023f7b2d0a82582a
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [12] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [16] : 00000000000000000000000000000000000000000000d3c21bcecceda1000000
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [18] : 5075707065746800000000000000000000000000000000000000000000000000
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [20] : 5055505000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.