ERC-20
Overview
Max Total Supply
28,282,828,282,828 Px28
Holders
20
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.000000000000041459 Px28Value
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PizzaX28
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-12-06 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.9; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by 'account'. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves 'amount' tokens from the caller's account to 'recipient'. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that 'spender' will be * allowed to spend on behalf of 'owner' through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets 'amount' as the allowance of 'spender' over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves 'amount' tokens from 'sender' to 'recipient' using the * allowance mechanism. 'amount' is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when 'value' tokens are moved from one account ('from') to * another ('to'). * * Note that 'value' may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a 'spender' for an 'owner' is set by * a call to {approve}. 'value' is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning 'false' on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { 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); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } 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] + 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) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves 'amount' of tokens from 'sender' to 'recipient'. * * This 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); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, amount); } /** @dev Creates 'amount' tokens and assigns them to 'account', increasing * the total supply. * * Emits a {Transfer} event with 'from' set to the zero address. * * Requirements: * * - 'account' cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(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); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets 'amount' as the allowance of 'spender' over the 'owner' s tokens. * * This internal function is equivalent to 'approve', and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - 'owner' cannot be the zero address. * - 'spender' cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when 'from' and 'to' are both non-zero, 'amount' of ''from'''s tokens * will be transferred to 'to'. * - when 'from' is zero, 'amount' tokens will be minted for 'to'. * - when 'to' is zero, 'amount' of ''from'''s tokens will be burned. * - 'from' and 'to' are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when 'from' and 'to' are both non-zero, 'amount' of ''from'''s tokens * has been transferred to 'to'. * - when 'from' is zero, 'amount' tokens have been minted for 'to'. * - when 'to' is zero, 'amount' of ''from'''s tokens have been burned. * - 'from' and 'to' are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * 'onlyOwner', which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == tx.origin, "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * 'onlyOwner' functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account ('newOwner'). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) internal { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers 'whenNotPaused' and 'whenPaused', which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by 'account'. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by 'account'. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } } interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } 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 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; } contract PizzaX28 is ERC20, Ownable, Pausable { // CONFIG START uint256 private initialSupply; uint256 private denominator = 100; uint256 private swapThreshold = 0.0000005 ether; // The contract will only swap to ETH, once the fee tokens reach the specified threshold uint256 private devTaxBuy; uint256 private marketingTaxBuy; uint256 private liquidityTaxBuy; uint256 private charityTaxBuy; uint256 private devTaxSell; uint256 private marketingTaxSell; uint256 private liquidityTaxSell; uint256 private charityTaxSell; address private devTaxWallet; address private marketingTaxWallet; address private liquidityTaxWallet; address private charityTaxWallet; // CONFIG END uint256 public Optimization = 731200389200879655619013689141; mapping (address => bool) private excludeList; mapping (string => uint256) private buyTaxes; mapping (string => uint256) private sellTaxes; mapping (string => address) private taxWallets; bool public taxStatus = true; IUniswapV2Router02 private uniswapV2Router02; IUniswapV2Factory private uniswapV2Factory; IUniswapV2Pair private uniswapV2Pair; constructor(string memory _tokenName,string memory _tokenSymbol,uint8 _Decimals,uint256 _supply,address[6] memory _addr,uint256[8] memory _value) ERC20(_tokenName, _tokenSymbol,_Decimals) payable { initialSupply =_supply * (10**_Decimals); _setOwner(_addr[5]); uniswapV2Router02 = IUniswapV2Router02(_addr[1]); uniswapV2Factory = IUniswapV2Factory(uniswapV2Router02.factory()); uniswapV2Pair = IUniswapV2Pair(uniswapV2Factory.createPair(address(this), uniswapV2Router02.WETH())); taxWallets["liquidity"] = _addr[3]; setBuyTax(_value[0], _value[1], _value[3], _value[2]); setSellTax(_value[4], _value[5], _value[7], _value[6]); setTaxWallets(_addr[2], _addr[3], _addr[4]); exclude(tx.origin); exclude(address(this)); payable(_addr[0]).transfer(msg.value); _mint(tx.origin, initialSupply); } uint256 private marketingTokens; uint256 private devTokens; uint256 private liquidityTokens; uint256 private charityTokens; /** * @dev Calculates the tax, transfer it to the contract. If the user is selling, and the swap threshold is met, it executes the tax. */ function handleTax(address from, address to, uint256 amount) private returns (uint256) { address[] memory sellPath = new address[](2); sellPath[0] = address(this); sellPath[1] = uniswapV2Router02.WETH(); if(!isExcluded(from) && !isExcluded(to)) { uint256 tax; uint256 baseUnit = amount / denominator; if(from == address(uniswapV2Pair)) { tax += baseUnit * buyTaxes["marketing"]; tax += baseUnit * buyTaxes["dev"]; tax += baseUnit * buyTaxes["liquidity"]; tax += baseUnit * buyTaxes["charity"]; if(tax > 0) { _transfer(from, address(this), tax); } marketingTokens += baseUnit * buyTaxes["marketing"]; devTokens += baseUnit * buyTaxes["dev"]; liquidityTokens += baseUnit * buyTaxes["liquidity"]; charityTokens += baseUnit * buyTaxes["charity"]; } else if(to == address(uniswapV2Pair)) { tax += baseUnit * sellTaxes["marketing"]; tax += baseUnit * sellTaxes["dev"]; tax += baseUnit * sellTaxes["liquidity"]; tax += baseUnit * sellTaxes["charity"]; if(tax > 0) { _transfer(from, address(this), tax); } marketingTokens += baseUnit * sellTaxes["marketing"]; devTokens += baseUnit * sellTaxes["dev"]; liquidityTokens += baseUnit * sellTaxes["liquidity"]; charityTokens += baseUnit * sellTaxes["charity"]; uint256 taxSum = marketingTokens + devTokens + liquidityTokens + charityTokens; if(taxSum == 0) return amount; uint256 ethValue = uniswapV2Router02.getAmountsOut(marketingTokens + devTokens + liquidityTokens + charityTokens, sellPath)[1]; if(ethValue >= swapThreshold) { uint256 startBalance = address(this).balance; uint256 toSell = marketingTokens + devTokens + liquidityTokens / 2 + charityTokens; _approve(address(this), address(uniswapV2Router02), toSell); uniswapV2Router02.swapExactTokensForETH( toSell, 0, sellPath, address(this), block.timestamp ); uint256 ethGained = address(this).balance - startBalance; uint256 liquidityToken = liquidityTokens / 2; uint256 liquidityETH = (ethGained * ((liquidityTokens / 2 * 10**decimals()) / taxSum)) / 10**decimals(); uint256 marketingETH = (ethGained * ((marketingTokens * 10**decimals()) / taxSum)) / 10**decimals(); uint256 devETH = (ethGained * ((devTokens * 10**decimals()) / taxSum)) / 10**decimals(); uint256 charityETH = (ethGained * ((charityTokens * 10**decimals()) / taxSum)) / 10**decimals(); _approve(address(this), address(uniswapV2Router02), liquidityToken); (uint amountToken, uint amountETH, uint liquidity) = uniswapV2Router02.addLiquidityETH{value: liquidityETH}( address(this), liquidityToken, 0, 0, taxWallets["liquidity"], block.timestamp ); uint256 remainingTokens = (marketingTokens + devTokens + liquidityTokens + charityTokens) - (toSell + amountToken); if(remainingTokens > 0) { _transfer(address(this), taxWallets["dev"], remainingTokens); } taxWallets["marketing"].call{value: marketingETH}(""); taxWallets["dev"].call{value: devETH}(""); taxWallets["charity"].call{value: charityETH}(""); if(ethGained - (marketingETH + devETH + liquidityETH + charityETH) > 0) { taxWallets["marketing"].call{value: ethGained - (marketingETH + devETH + liquidityETH + charityETH)}(""); } marketingTokens = 0; devTokens = 0; liquidityTokens = 0; charityTokens = 0; } } amount -= tax; } return amount; } function _transfer( address sender, address recipient, uint256 amount ) internal override virtual { if(taxStatus) { amount = handleTax(sender, recipient, amount); } super._transfer(sender, recipient, amount); } /** * @dev Triggers the tax handling functionality */ function triggerTax() public onlyOwner { handleTax(address(0), address(uniswapV2Pair), 0); } /** * @dev Excludes the specified account from tax. */ function exclude(address account) public onlyOwner { require(!isExcluded(account), "CoinToken: Account is already excluded"); excludeList[account] = true; } /** * @dev Re-enables tax on the specified account. */ function removeExclude(address account) public onlyOwner { require(isExcluded(account), "CoinToken: Account is not excluded"); excludeList[account] = false; } /** * @dev Sets tax for buys. */ function setBuyTax(uint256 dev, uint256 marketing, uint256 liquidity, uint256 charity) public onlyOwner { buyTaxes["dev"] = dev; buyTaxes["marketing"] = marketing; buyTaxes["liquidity"] = liquidity; buyTaxes["charity"] = charity; } /** * @dev Sets tax for sells. */ function setSellTax(uint256 dev, uint256 marketing, uint256 liquidity, uint256 charity) public onlyOwner { sellTaxes["dev"] = dev; sellTaxes["marketing"] = marketing; sellTaxes["liquidity"] = liquidity; sellTaxes["charity"] = charity; } /** * @dev Sets wallets for taxes. */ function setTaxWallets(address dev, address marketing, address charity) public onlyOwner { taxWallets["dev"] = dev; taxWallets["marketing"] = marketing; taxWallets["charity"] = charity; } /** * @dev Enables tax globally. */ function enableTax() public onlyOwner { require(!taxStatus, "CoinToken: Tax is already enabled"); taxStatus = true; } /** * @dev Disables tax globally. */ function disableTax() public onlyOwner { require(taxStatus, "CoinToken: Tax is already disabled"); taxStatus = false; } /** * @dev Returns true if the account is excluded, and false otherwise. */ function isExcluded(address account) public view returns (bool) { return excludeList[account]; } receive() external payable {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_tokenName","type":"string"},{"internalType":"string","name":"_tokenSymbol","type":"string"},{"internalType":"uint8","name":"_Decimals","type":"uint8"},{"internalType":"uint256","name":"_supply","type":"uint256"},{"internalType":"address[6]","name":"_addr","type":"address[6]"},{"internalType":"uint256[8]","name":"_value","type":"uint256[8]"}],"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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"Optimization","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disableTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"exclude","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcluded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeExclude","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"dev","type":"uint256"},{"internalType":"uint256","name":"marketing","type":"uint256"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"charity","type":"uint256"}],"name":"setBuyTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"dev","type":"uint256"},{"internalType":"uint256","name":"marketing","type":"uint256"},{"internalType":"uint256","name":"liquidity","type":"uint256"},{"internalType":"uint256","name":"charity","type":"uint256"}],"name":"setSellTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"dev","type":"address"},{"internalType":"address","name":"marketing","type":"address"},{"internalType":"address","name":"charity","type":"address"}],"name":"setTaxWallets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"triggerTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040819052606460075564746a5288006008556c093aa2c92cb1273bb6473cbf35601555601a805460ff19166001179055620031a438819003908190833981016040819052620000519162000a4f565b858585600362000062848262000bdd565b50600462000071838262000bdd565b506005805460ff60ff60a81b01191660ff909216919091179055506200009b905084600a62000dbe565b620000a7908462000dd6565b60065560a0820151620000ba9062000378565b602082810151601a8054610100600160a81b0319166101006001600160a01b03938416810291909117918290556040805163c45a015560e01b81529051919092049092169263c45a0155926004808401938290030181865afa15801562000125573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200014b919062000df0565b601b80546001600160a01b0319166001600160a01b03928316908117909155601a54604080516315ab88c960e31b81529051929363c9c6539693309361010090049091169163ad5c46489160048083019260209291908290030181865afa158015620001bb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001e1919062000df0565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200022f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000255919062000df0565b601c80546001600160a01b03199081166001600160a01b039384161790915560608481015160408051686c697175696469747960b81b815260196009820152815190819003602901902080549094169190941617909155825160208401519184015192840151620002ca9391929190620003d2565b608081015160a082015160e083015160c0840151620002ec93929190620004da565b60408201516060830151608084015162000308929190620005cd565b6200031332620006d5565b6200031e30620006d5565b81516040516001600160a01b03909116903480156108fc02916000818181858888f1935050505015801562000357573d6000803e3d6000fd5b506200036c32600654620007d360201b60201c565b50505050505062000e24565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b32620003eb60055461010090046001600160a01b031690565b6001600160a01b031614620004365760405162461bcd60e51b815260206004820181905260248201526000805160206200318483398151915260448201526064015b60405180910390fd5b8360176040516200045090623232bb60e91b815260030190565b9081526040805191829003602001822092909255686d61726b6574696e6760b81b81526017600980830182905283519283900360299081018420889055686c697175696469747960b81b84529083018290529251918290039092018120849055666368617269747960c81b81528291906007015b9081526040519081900360200190205550505050565b32620004f360055461010090046001600160a01b031690565b6001600160a01b0316146200053a5760405162461bcd60e51b815260206004820181905260248201526000805160206200318483398151915260448201526064016200042d565b8360186040516200055490623232bb60e91b815260030190565b9081526040805191829003602001822092909255686d61726b6574696e6760b81b81526018600980830182905283519283900360299081018420889055686c697175696469747960b81b84529083018290529251918290039092018120849055666368617269747960c81b8152829190600701620004c4565b32620005e660055461010090046001600160a01b031690565b6001600160a01b0316146200062d5760405162461bcd60e51b815260206004820181905260248201526000805160206200318483398151915260448201526064016200042d565b8260196040516200064790623232bb60e91b815260030190565b9081526040805191829003602001822080546001600160a01b039485166001600160a01b031991821617909155686d61726b6574696e6760b81b83526019600984018190528251938490036029018420805497861697831697909717909655666368617269747960c81b83526007830195909552519081900360270190208054929091169190921617905550565b32620006ee60055461010090046001600160a01b031690565b6001600160a01b031614620007355760405162461bcd60e51b815260206004820181905260248201526000805160206200318483398151915260448201526064016200042d565b6001600160a01b03811660009081526016602052604090205460ff1615620007af5760405162461bcd60e51b815260206004820152602660248201527f436f696e546f6b656e3a204163636f756e7420697320616c726561647920657860448201526518db1d59195960d21b60648201526084016200042d565b6001600160a01b03166000908152601660205260409020805460ff19166001179055565b6001600160a01b0382166200082b5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016200042d565b80600260008282546200083f919062000e0e565b90915550506001600160a01b038216600090815260208190526040812080548392906200086e90849062000e0e565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715620008f857620008f8620008bd565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620009295762000929620008bd565b604052919050565b600082601f8301126200094357600080fd5b81516001600160401b038111156200095f576200095f620008bd565b602062000975601f8301601f19168201620008fe565b82815285828487010111156200098a57600080fd5b60005b83811015620009aa5785810183015182820184015282016200098d565b506000928101909101919091529392505050565b80516001600160a01b0381168114620009d657600080fd5b919050565b600082601f830112620009ed57600080fd5b6040516101008082016001600160401b038111838210171562000a145762000a14620008bd565b6040528301818582111562000a2857600080fd5b845b8281101562000a4457805182526020918201910162000a2a565b509195945050505050565b600080600080600080610240878903121562000a6a57600080fd5b86516001600160401b038082111562000a8257600080fd5b62000a908a838b0162000931565b975060209150818901518181111562000aa857600080fd5b62000ab68b828c0162000931565b97505050604088015160ff8116811462000acf57600080fd5b809550506060880151935088609f89011262000aea57600080fd5b62000af4620008d3565b806101408a018b81111562000b0857600080fd5b60808b015b8181101562000b2f5762000b2181620009be565b845292840192840162000b0d565b5081955062000b3f8c82620009db565b9450505050509295509295509295565b600181811c9082168062000b6457607f821691505b60208210810362000b8557634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620008b857600081815260208120601f850160051c8101602086101562000bb45750805b601f850160051c820191505b8181101562000bd55782815560010162000bc0565b505050505050565b81516001600160401b0381111562000bf95762000bf9620008bd565b62000c118162000c0a845462000b4f565b8462000b8b565b602080601f83116001811462000c49576000841562000c305750858301515b600019600386901b1c1916600185901b17855562000bd5565b600085815260208120601f198616915b8281101562000c7a5788860151825594840194600190910190840162000c59565b508582101562000c995787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111562000d0057816000190482111562000ce45762000ce462000ca9565b8085161562000cf257918102915b93841c939080029062000cc4565b509250929050565b60008262000d195750600162000db8565b8162000d285750600062000db8565b816001811462000d41576002811462000d4c5762000d6c565b600191505062000db8565b60ff84111562000d605762000d6062000ca9565b50506001821b62000db8565b5060208310610133831016604e8410600b841016171562000d91575081810a62000db8565b62000d9d838362000cbf565b806000190482111562000db45762000db462000ca9565b0290505b92915050565b600062000dcf60ff84168362000d08565b9392505050565b808202811582820484141762000db85762000db862000ca9565b60006020828403121562000e0357600080fd5b62000dcf82620009be565b8082018082111562000db85762000db862000ca9565b6123508062000e346000396000f3fe6080604052600436106101855760003560e01c8063715018a6116100d1578063a82cfe8b1161008a578063cba0e99611610064578063cba0e99614610462578063ced695a414610482578063dd62ed3e14610497578063f2fde38b146104dd57600080fd5b8063a82cfe8b14610402578063a9059cbb14610422578063abe4f11d1461044257600080fd5b8063715018a61461034257806384666b08146103575780638da5cb5b1461037757806395d89b41146103ad5780639fda0581146103c2578063a457c2d7146103e257600080fd5b80632c32abc21161013e5780634febf53d116101185780634febf53d146102b857806353eb3bcf146102d85780635c975abb146102ed57806370a082311461030c57600080fd5b80632c32abc21461025f578063313ce56714610276578063395093511461029857600080fd5b806306fdde0314610191578063095ea7b3146101bc57806310c8aeac146101ec57806318160ddd1461021057806323a38a381461022557806323b872dd1461023f57600080fd5b3661018c57005b600080fd5b34801561019d57600080fd5b506101a66104fd565b6040516101b39190611d7e565b60405180910390f35b3480156101c857600080fd5b506101dc6101d7366004611de1565b61058f565b60405190151581526020016101b3565b3480156101f857600080fd5b5061020260155481565b6040519081526020016101b3565b34801561021c57600080fd5b50600254610202565b34801561023157600080fd5b50601a546101dc9060ff1681565b34801561024b57600080fd5b506101dc61025a366004611e0d565b6105a6565b34801561026b57600080fd5b50610274610657565b005b34801561028257600080fd5b5060055460405160ff90911681526020016101b3565b3480156102a457600080fd5b506101dc6102b3366004611de1565b6106a3565b3480156102c457600080fd5b506102746102d3366004611e4e565b6106df565b3480156102e457600080fd5b50610274610798565b3480156102f957600080fd5b50600554600160a81b900460ff166101dc565b34801561031857600080fd5b50610202610327366004611e4e565b6001600160a01b031660009081526020819052604090205490565b34801561034e57600080fd5b50610274610834565b34801561036357600080fd5b50610274610372366004611e6b565b610870565b34801561038357600080fd5b5060055461010090046001600160a01b03166040516001600160a01b0390911681526020016101b3565b3480156103b957600080fd5b506101a6610928565b3480156103ce57600080fd5b506102746103dd366004611e9d565b610937565b3480156103ee57600080fd5b506101dc6103fd366004611de1565b610a2c565b34801561040e57600080fd5b5061027461041d366004611e6b565b610ac5565b34801561042e57600080fd5b506101dc61043d366004611de1565b610b67565b34801561044e57600080fd5b5061027461045d366004611e4e565b610b74565b34801561046e57600080fd5b506101dc61047d366004611e4e565b610c25565b34801561048e57600080fd5b50610274610c43565b3480156104a357600080fd5b506102026104b2366004611ee8565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156104e957600080fd5b506102746104f8366004611e4e565b610cdc565b60606003805461050c90611f21565b80601f016020809104026020016040519081016040528092919081815260200182805461053890611f21565b80156105855780601f1061055a57610100808354040283529160200191610585565b820191906000526020600020905b81548152906001019060200180831161056857829003601f168201915b5050505050905090565b600061059c338484610d7a565b5060015b92915050565b60006105b3848484610e9e565b6001600160a01b03841660009081526001602090815260408083203384529091529020548281101561063d5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b61064a8533858403610d7a565b60019150505b9392505050565b6005546001600160a01b036101009091041632146106875760405162461bcd60e51b815260040161063490611f5b565b601c546106a0906000906001600160a01b031681610ec7565b50565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161059c9185906106da908690611fa6565b610d7a565b6005546001600160a01b0361010090910416321461070f5760405162461bcd60e51b815260040161063490611f5b565b61071881610c25565b156107745760405162461bcd60e51b815260206004820152602660248201527f436f696e546f6b656e3a204163636f756e7420697320616c726561647920657860448201526518db1d59195960d21b6064820152608401610634565b6001600160a01b03166000908152601660205260409020805460ff19166001179055565b6005546001600160a01b036101009091041632146107c85760405162461bcd60e51b815260040161063490611f5b565b601a5460ff16156108255760405162461bcd60e51b815260206004820152602160248201527f436f696e546f6b656e3a2054617820697320616c726561647920656e61626c656044820152601960fa1b6064820152608401610634565b601a805460ff19166001179055565b6005546001600160a01b036101009091041632146108645760405162461bcd60e51b815260040161063490611f5b565b61086e6000611b55565b565b6005546001600160a01b036101009091041632146108a05760405162461bcd60e51b815260040161063490611f5b565b8360186040516108af90611fb9565b9081526020016040518091039020819055508260186040516108d090611fc8565b9081526020016040518091039020819055508160186040516108f190611fdd565b90815260200160405180910390208190555080601860405161091290611ff2565b9081526040519081900360200190205550505050565b60606004805461050c90611f21565b6005546001600160a01b036101009091041632146109675760405162461bcd60e51b815260040161063490611f5b565b82601960405161097690611fb9565b908152602001604051809103902060006101000a8154816001600160a01b0302191690836001600160a01b031602179055508160196040516109b790611fc8565b908152602001604051809103902060006101000a8154816001600160a01b0302191690836001600160a01b031602179055508060196040516109f890611ff2565b90815260405190819003602001902080546001600160a01b03929092166001600160a01b0319909216919091179055505050565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610aae5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610634565b610abb3385858403610d7a565b5060019392505050565b6005546001600160a01b03610100909104163214610af55760405162461bcd60e51b815260040161063490611f5b565b836017604051610b0490611fb9565b908152602001604051809103902081905550826017604051610b2590611fc8565b908152602001604051809103902081905550816017604051610b4690611fdd565b90815260200160405180910390208190555080601760405161091290611ff2565b600061059c338484610e9e565b6005546001600160a01b03610100909104163214610ba45760405162461bcd60e51b815260040161063490611f5b565b610bad81610c25565b610c045760405162461bcd60e51b815260206004820152602260248201527f436f696e546f6b656e3a204163636f756e74206973206e6f74206578636c7564604482015261195960f21b6064820152608401610634565b6001600160a01b03166000908152601660205260409020805460ff19169055565b6001600160a01b031660009081526016602052604090205460ff1690565b6005546001600160a01b03610100909104163214610c735760405162461bcd60e51b815260040161063490611f5b565b601a5460ff16610cd05760405162461bcd60e51b815260206004820152602260248201527f436f696e546f6b656e3a2054617820697320616c72656164792064697361626c604482015261195960f21b6064820152608401610634565b601a805460ff19169055565b6005546001600160a01b03610100909104163214610d0c5760405162461bcd60e51b815260040161063490611f5b565b6001600160a01b038116610d715760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610634565b6106a081611b55565b6001600160a01b038316610ddc5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610634565b6001600160a01b038216610e3d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610634565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b601a5460ff1615610eb757610eb4838383610ec7565b90505b610ec2838383611baf565b505050565b604080516002808252606082018352600092839291906020830190803683370190505090503081600081518110610f0057610f0061201b565b60200260200101906001600160a01b031690816001600160a01b031681525050601a60019054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f979190612031565b81600181518110610faa57610faa61201b565b60200260200101906001600160a01b031690816001600160a01b031681525050610fd385610c25565b158015610fe65750610fe484610c25565b155b15611b4c5760008060075485610ffc919061204e565b601c549091506001600160a01b03908116908816036111f757601760405161102390611fc8565b9081526020016040518091039020548161103d9190612070565b6110479083611fa6565b9150601760405161105790611fb9565b908152602001604051809103902054816110719190612070565b61107b9083611fa6565b9150601760405161108b90611fdd565b908152602001604051809103902054816110a59190612070565b6110af9083611fa6565b915060176040516110bf90611ff2565b908152602001604051809103902054816110d99190612070565b6110e39083611fa6565b915081156110f6576110f6873084610e9e565b601760405161110490611fc8565b9081526020016040518091039020548161111e9190612070565b601d600082825461112f9190611fa6565b909155505060405160179061114390611fb9565b9081526020016040518091039020548161115d9190612070565b601e600082825461116e9190611fa6565b909155505060405160179061118290611fdd565b9081526020016040518091039020548161119c9190612070565b601f60008282546111ad9190611fa6565b90915550506040516017906111c190611ff2565b908152602001604051809103902054816111db9190612070565b602060008282546111ec9190611fa6565b90915550611b3d9050565b601c546001600160a01b0390811690871603611b3d57601860405161121b90611fc8565b908152602001604051809103902054816112359190612070565b61123f9083611fa6565b9150601860405161124f90611fb9565b908152602001604051809103902054816112699190612070565b6112739083611fa6565b9150601860405161128390611fdd565b9081526020016040518091039020548161129d9190612070565b6112a79083611fa6565b915060186040516112b790611ff2565b908152602001604051809103902054816112d19190612070565b6112db9083611fa6565b915081156112ee576112ee873084610e9e565b60186040516112fc90611fc8565b908152602001604051809103902054816113169190612070565b601d60008282546113279190611fa6565b909155505060405160189061133b90611fb9565b908152602001604051809103902054816113559190612070565b601e60008282546113669190611fa6565b909155505060405160189061137a90611fdd565b908152602001604051809103902054816113949190612070565b601f60008282546113a59190611fa6565b90915550506040516018906113b990611ff2565b908152602001604051809103902054816113d39190612070565b602060008282546113e49190611fa6565b925050819055506000602054601f54601e54601d546114039190611fa6565b61140d9190611fa6565b6114179190611fa6565b90508060000361142d5785945050505050610650565b6000601a60019054906101000a90046001600160a01b03166001600160a01b031663d06ca61f602054601f54601e54601d546114699190611fa6565b6114739190611fa6565b61147d9190611fa6565b876040518363ffffffff1660e01b815260040161149b9291906120cb565b600060405180830381865afa1580156114b8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114e091908101906120ec565b6001815181106114f2576114f261201b565b602002602001015190506008548110611b3a57602054601f54479160009161151c9060029061204e565b601e54601d5461152c9190611fa6565b6115369190611fa6565b6115409190611fa6565b905061156230601a60019054906101000a90046001600160a01b031683610d7a565b601a546040516318cbafe560e01b81526101009091046001600160a01b0316906318cbafe59061159f9084906000908c90309042906004016121aa565b6000604051808303816000875af11580156115be573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115e691908101906120ec565b5060006115f383476121e6565b905060006002601f54611606919061204e565b9050600061161660055460ff1690565b61162190600a6122dd565b8761162e60055460ff1690565b61163990600a6122dd565b6002601f54611648919061204e565b6116529190612070565b61165c919061204e565b6116669085612070565b611670919061204e565b9050600061168060055460ff1690565b61168b90600a6122dd565b8861169860055460ff1690565b6116a390600a6122dd565b601d546116b09190612070565b6116ba919061204e565b6116c49086612070565b6116ce919061204e565b905060006116de60055460ff1690565b6116e990600a6122dd565b896116f660055460ff1690565b61170190600a6122dd565b601e5461170e9190612070565b611718919061204e565b6117229087612070565b61172c919061204e565b9050600061173c60055460ff1690565b61174790600a6122dd565b8a61175460055460ff1690565b61175f90600a6122dd565b60205461176c9190612070565b611776919061204e565b6117809088612070565b61178a919061204e565b90506117ac30601a60019054906101000a90046001600160a01b031687610d7a565b6000806000601a60019054906101000a90046001600160a01b03166001600160a01b031663f305d71988308b60008060196040516117e990611fdd565b908152604051908190036020018120546001600160e01b031960e089901b1682526001600160a01b039586166004830152602482019490945260448101929092526064820152911660848201524260a482015260c40160606040518083038185885af115801561185d573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061188291906122ec565b919450925090506000611895848c611fa6565b602054601f54601e54601d546118ab9190611fa6565b6118b59190611fa6565b6118bf9190611fa6565b6118c991906121e6565b90508015611902576119023060196040516118e390611fb9565b908152604051908190036020019020546001600160a01b031683610e9e565b601960405161191090611fc8565b908152604051908190036020018120546001600160a01b031690889060006040518083038185875af1925050503d8060008114611969576040519150601f19603f3d011682016040523d82523d6000602084013e61196e565b606091505b505050601960405161197f90611fb9565b908152604051908190036020018120546001600160a01b031690879060006040518083038185875af1925050503d80600081146119d8576040519150601f19603f3d011682016040523d82523d6000602084013e6119dd565b606091505b50505060196040516119ee90611ff2565b908152604051908190036020018120546001600160a01b031690869060006040518083038185875af1925050503d8060008114611a47576040519150601f19603f3d011682016040523d82523d6000602084013e611a4c565b606091505b50505060008589888a611a5f9190611fa6565b611a699190611fa6565b611a739190611fa6565b611a7d908c6121e6565b1115611b19576019604051611a9190611fc8565b908152604051908190036020019020546001600160a01b03168589611ab6898b611fa6565b611ac09190611fa6565b611aca9190611fa6565b611ad4908c6121e6565b604051600081818185875af1925050503d8060008114611b10576040519150601f19603f3d011682016040523d82523d6000602084013e611b15565b606091505b5050505b50506000601d819055601e819055601f819055602055505050505050505050505b50505b611b4782866121e6565b945050505b50909392505050565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316611c135760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610634565b6001600160a01b038216611c755760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610634565b6001600160a01b03831660009081526020819052604090205481811015611ced5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610634565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611d24908490611fa6565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611d7091815260200190565b60405180910390a350505050565b600060208083528351808285015260005b81811015611dab57858101830151858201604001528201611d8f565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146106a057600080fd5b60008060408385031215611df457600080fd5b8235611dff81611dcc565b946020939093013593505050565b600080600060608486031215611e2257600080fd5b8335611e2d81611dcc565b92506020840135611e3d81611dcc565b929592945050506040919091013590565b600060208284031215611e6057600080fd5b813561065081611dcc565b60008060008060808587031215611e8157600080fd5b5050823594602084013594506040840135936060013592509050565b600080600060608486031215611eb257600080fd5b8335611ebd81611dcc565b92506020840135611ecd81611dcc565b91506040840135611edd81611dcc565b809150509250925092565b60008060408385031215611efb57600080fd5b8235611f0681611dcc565b91506020830135611f1681611dcc565b809150509250929050565b600181811c90821680611f3557607f821691505b602082108103611f5557634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b808201808211156105a0576105a0611f90565b623232bb60e91b815260030190565b686d61726b6574696e6760b81b815260090190565b686c697175696469747960b81b815260090190565b666368617269747960c81b815260070190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60006020828403121561204357600080fd5b815161065081611dcc565b60008261206b57634e487b7160e01b600052601260045260246000fd5b500490565b80820281158282048414176105a0576105a0611f90565b600081518084526020808501945080840160005b838110156120c05781516001600160a01b03168752958201959082019060010161209b565b509495945050505050565b8281526040602082015260006120e46040830184612087565b949350505050565b600060208083850312156120ff57600080fd5b825167ffffffffffffffff8082111561211757600080fd5b818501915085601f83011261212b57600080fd5b81518181111561213d5761213d612005565b8060051b604051601f19603f8301168101818110858211171561216257612162612005565b60405291825284820192508381018501918883111561218057600080fd5b938501935b8285101561219e57845184529385019392850192612185565b98975050505050505050565b85815284602082015260a0604082015260006121c960a0830186612087565b6001600160a01b0394909416606083015250608001529392505050565b818103818111156105a0576105a0611f90565b600181815b8085111561223457816000190482111561221a5761221a611f90565b8085161561222757918102915b93841c93908002906121fe565b509250929050565b60008261224b575060016105a0565b81612258575060006105a0565b816001811461226e576002811461227857612294565b60019150506105a0565b60ff84111561228957612289611f90565b50506001821b6105a0565b5060208310610133831016604e8410600b84101617156122b7575081810a6105a0565b6122c183836121f9565b80600019048211156122d5576122d5611f90565b029392505050565b600061065060ff84168361223c565b60008060006060848603121561230157600080fd5b835192506020840151915060408401519050925092509256fea264697066735822122072f4e470eec535da4e161d421171b716c68e3b5e0670dd88bb8a73d0f89819e764736f6c634300081100334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000002800000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000019b91beedbcc00000000000000000000000051e46fddf884518d96ebea18023f7b2d0a82582a0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d00000000000000000000000038bf92ecbb0087965abf5ad6b1901a36e8914dd100000000000000000000000038bf92ecbb0087965abf5ad6b1901a36e8914dd100000000000000000000000038bf92ecbb0087965abf5ad6b1901a36e8914dd100000000000000000000000038bf92ecbb0087965abf5ad6b1901a36e8914dd100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000850697a7a6158323800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045078323800000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101855760003560e01c8063715018a6116100d1578063a82cfe8b1161008a578063cba0e99611610064578063cba0e99614610462578063ced695a414610482578063dd62ed3e14610497578063f2fde38b146104dd57600080fd5b8063a82cfe8b14610402578063a9059cbb14610422578063abe4f11d1461044257600080fd5b8063715018a61461034257806384666b08146103575780638da5cb5b1461037757806395d89b41146103ad5780639fda0581146103c2578063a457c2d7146103e257600080fd5b80632c32abc21161013e5780634febf53d116101185780634febf53d146102b857806353eb3bcf146102d85780635c975abb146102ed57806370a082311461030c57600080fd5b80632c32abc21461025f578063313ce56714610276578063395093511461029857600080fd5b806306fdde0314610191578063095ea7b3146101bc57806310c8aeac146101ec57806318160ddd1461021057806323a38a381461022557806323b872dd1461023f57600080fd5b3661018c57005b600080fd5b34801561019d57600080fd5b506101a66104fd565b6040516101b39190611d7e565b60405180910390f35b3480156101c857600080fd5b506101dc6101d7366004611de1565b61058f565b60405190151581526020016101b3565b3480156101f857600080fd5b5061020260155481565b6040519081526020016101b3565b34801561021c57600080fd5b50600254610202565b34801561023157600080fd5b50601a546101dc9060ff1681565b34801561024b57600080fd5b506101dc61025a366004611e0d565b6105a6565b34801561026b57600080fd5b50610274610657565b005b34801561028257600080fd5b5060055460405160ff90911681526020016101b3565b3480156102a457600080fd5b506101dc6102b3366004611de1565b6106a3565b3480156102c457600080fd5b506102746102d3366004611e4e565b6106df565b3480156102e457600080fd5b50610274610798565b3480156102f957600080fd5b50600554600160a81b900460ff166101dc565b34801561031857600080fd5b50610202610327366004611e4e565b6001600160a01b031660009081526020819052604090205490565b34801561034e57600080fd5b50610274610834565b34801561036357600080fd5b50610274610372366004611e6b565b610870565b34801561038357600080fd5b5060055461010090046001600160a01b03166040516001600160a01b0390911681526020016101b3565b3480156103b957600080fd5b506101a6610928565b3480156103ce57600080fd5b506102746103dd366004611e9d565b610937565b3480156103ee57600080fd5b506101dc6103fd366004611de1565b610a2c565b34801561040e57600080fd5b5061027461041d366004611e6b565b610ac5565b34801561042e57600080fd5b506101dc61043d366004611de1565b610b67565b34801561044e57600080fd5b5061027461045d366004611e4e565b610b74565b34801561046e57600080fd5b506101dc61047d366004611e4e565b610c25565b34801561048e57600080fd5b50610274610c43565b3480156104a357600080fd5b506102026104b2366004611ee8565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156104e957600080fd5b506102746104f8366004611e4e565b610cdc565b60606003805461050c90611f21565b80601f016020809104026020016040519081016040528092919081815260200182805461053890611f21565b80156105855780601f1061055a57610100808354040283529160200191610585565b820191906000526020600020905b81548152906001019060200180831161056857829003601f168201915b5050505050905090565b600061059c338484610d7a565b5060015b92915050565b60006105b3848484610e9e565b6001600160a01b03841660009081526001602090815260408083203384529091529020548281101561063d5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b61064a8533858403610d7a565b60019150505b9392505050565b6005546001600160a01b036101009091041632146106875760405162461bcd60e51b815260040161063490611f5b565b601c546106a0906000906001600160a01b031681610ec7565b50565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161059c9185906106da908690611fa6565b610d7a565b6005546001600160a01b0361010090910416321461070f5760405162461bcd60e51b815260040161063490611f5b565b61071881610c25565b156107745760405162461bcd60e51b815260206004820152602660248201527f436f696e546f6b656e3a204163636f756e7420697320616c726561647920657860448201526518db1d59195960d21b6064820152608401610634565b6001600160a01b03166000908152601660205260409020805460ff19166001179055565b6005546001600160a01b036101009091041632146107c85760405162461bcd60e51b815260040161063490611f5b565b601a5460ff16156108255760405162461bcd60e51b815260206004820152602160248201527f436f696e546f6b656e3a2054617820697320616c726561647920656e61626c656044820152601960fa1b6064820152608401610634565b601a805460ff19166001179055565b6005546001600160a01b036101009091041632146108645760405162461bcd60e51b815260040161063490611f5b565b61086e6000611b55565b565b6005546001600160a01b036101009091041632146108a05760405162461bcd60e51b815260040161063490611f5b565b8360186040516108af90611fb9565b9081526020016040518091039020819055508260186040516108d090611fc8565b9081526020016040518091039020819055508160186040516108f190611fdd565b90815260200160405180910390208190555080601860405161091290611ff2565b9081526040519081900360200190205550505050565b60606004805461050c90611f21565b6005546001600160a01b036101009091041632146109675760405162461bcd60e51b815260040161063490611f5b565b82601960405161097690611fb9565b908152602001604051809103902060006101000a8154816001600160a01b0302191690836001600160a01b031602179055508160196040516109b790611fc8565b908152602001604051809103902060006101000a8154816001600160a01b0302191690836001600160a01b031602179055508060196040516109f890611ff2565b90815260405190819003602001902080546001600160a01b03929092166001600160a01b0319909216919091179055505050565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610aae5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610634565b610abb3385858403610d7a565b5060019392505050565b6005546001600160a01b03610100909104163214610af55760405162461bcd60e51b815260040161063490611f5b565b836017604051610b0490611fb9565b908152602001604051809103902081905550826017604051610b2590611fc8565b908152602001604051809103902081905550816017604051610b4690611fdd565b90815260200160405180910390208190555080601760405161091290611ff2565b600061059c338484610e9e565b6005546001600160a01b03610100909104163214610ba45760405162461bcd60e51b815260040161063490611f5b565b610bad81610c25565b610c045760405162461bcd60e51b815260206004820152602260248201527f436f696e546f6b656e3a204163636f756e74206973206e6f74206578636c7564604482015261195960f21b6064820152608401610634565b6001600160a01b03166000908152601660205260409020805460ff19169055565b6001600160a01b031660009081526016602052604090205460ff1690565b6005546001600160a01b03610100909104163214610c735760405162461bcd60e51b815260040161063490611f5b565b601a5460ff16610cd05760405162461bcd60e51b815260206004820152602260248201527f436f696e546f6b656e3a2054617820697320616c72656164792064697361626c604482015261195960f21b6064820152608401610634565b601a805460ff19169055565b6005546001600160a01b03610100909104163214610d0c5760405162461bcd60e51b815260040161063490611f5b565b6001600160a01b038116610d715760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610634565b6106a081611b55565b6001600160a01b038316610ddc5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610634565b6001600160a01b038216610e3d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610634565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b601a5460ff1615610eb757610eb4838383610ec7565b90505b610ec2838383611baf565b505050565b604080516002808252606082018352600092839291906020830190803683370190505090503081600081518110610f0057610f0061201b565b60200260200101906001600160a01b031690816001600160a01b031681525050601a60019054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f979190612031565b81600181518110610faa57610faa61201b565b60200260200101906001600160a01b031690816001600160a01b031681525050610fd385610c25565b158015610fe65750610fe484610c25565b155b15611b4c5760008060075485610ffc919061204e565b601c549091506001600160a01b03908116908816036111f757601760405161102390611fc8565b9081526020016040518091039020548161103d9190612070565b6110479083611fa6565b9150601760405161105790611fb9565b908152602001604051809103902054816110719190612070565b61107b9083611fa6565b9150601760405161108b90611fdd565b908152602001604051809103902054816110a59190612070565b6110af9083611fa6565b915060176040516110bf90611ff2565b908152602001604051809103902054816110d99190612070565b6110e39083611fa6565b915081156110f6576110f6873084610e9e565b601760405161110490611fc8565b9081526020016040518091039020548161111e9190612070565b601d600082825461112f9190611fa6565b909155505060405160179061114390611fb9565b9081526020016040518091039020548161115d9190612070565b601e600082825461116e9190611fa6565b909155505060405160179061118290611fdd565b9081526020016040518091039020548161119c9190612070565b601f60008282546111ad9190611fa6565b90915550506040516017906111c190611ff2565b908152602001604051809103902054816111db9190612070565b602060008282546111ec9190611fa6565b90915550611b3d9050565b601c546001600160a01b0390811690871603611b3d57601860405161121b90611fc8565b908152602001604051809103902054816112359190612070565b61123f9083611fa6565b9150601860405161124f90611fb9565b908152602001604051809103902054816112699190612070565b6112739083611fa6565b9150601860405161128390611fdd565b9081526020016040518091039020548161129d9190612070565b6112a79083611fa6565b915060186040516112b790611ff2565b908152602001604051809103902054816112d19190612070565b6112db9083611fa6565b915081156112ee576112ee873084610e9e565b60186040516112fc90611fc8565b908152602001604051809103902054816113169190612070565b601d60008282546113279190611fa6565b909155505060405160189061133b90611fb9565b908152602001604051809103902054816113559190612070565b601e60008282546113669190611fa6565b909155505060405160189061137a90611fdd565b908152602001604051809103902054816113949190612070565b601f60008282546113a59190611fa6565b90915550506040516018906113b990611ff2565b908152602001604051809103902054816113d39190612070565b602060008282546113e49190611fa6565b925050819055506000602054601f54601e54601d546114039190611fa6565b61140d9190611fa6565b6114179190611fa6565b90508060000361142d5785945050505050610650565b6000601a60019054906101000a90046001600160a01b03166001600160a01b031663d06ca61f602054601f54601e54601d546114699190611fa6565b6114739190611fa6565b61147d9190611fa6565b876040518363ffffffff1660e01b815260040161149b9291906120cb565b600060405180830381865afa1580156114b8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114e091908101906120ec565b6001815181106114f2576114f261201b565b602002602001015190506008548110611b3a57602054601f54479160009161151c9060029061204e565b601e54601d5461152c9190611fa6565b6115369190611fa6565b6115409190611fa6565b905061156230601a60019054906101000a90046001600160a01b031683610d7a565b601a546040516318cbafe560e01b81526101009091046001600160a01b0316906318cbafe59061159f9084906000908c90309042906004016121aa565b6000604051808303816000875af11580156115be573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115e691908101906120ec565b5060006115f383476121e6565b905060006002601f54611606919061204e565b9050600061161660055460ff1690565b61162190600a6122dd565b8761162e60055460ff1690565b61163990600a6122dd565b6002601f54611648919061204e565b6116529190612070565b61165c919061204e565b6116669085612070565b611670919061204e565b9050600061168060055460ff1690565b61168b90600a6122dd565b8861169860055460ff1690565b6116a390600a6122dd565b601d546116b09190612070565b6116ba919061204e565b6116c49086612070565b6116ce919061204e565b905060006116de60055460ff1690565b6116e990600a6122dd565b896116f660055460ff1690565b61170190600a6122dd565b601e5461170e9190612070565b611718919061204e565b6117229087612070565b61172c919061204e565b9050600061173c60055460ff1690565b61174790600a6122dd565b8a61175460055460ff1690565b61175f90600a6122dd565b60205461176c9190612070565b611776919061204e565b6117809088612070565b61178a919061204e565b90506117ac30601a60019054906101000a90046001600160a01b031687610d7a565b6000806000601a60019054906101000a90046001600160a01b03166001600160a01b031663f305d71988308b60008060196040516117e990611fdd565b908152604051908190036020018120546001600160e01b031960e089901b1682526001600160a01b039586166004830152602482019490945260448101929092526064820152911660848201524260a482015260c40160606040518083038185885af115801561185d573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061188291906122ec565b919450925090506000611895848c611fa6565b602054601f54601e54601d546118ab9190611fa6565b6118b59190611fa6565b6118bf9190611fa6565b6118c991906121e6565b90508015611902576119023060196040516118e390611fb9565b908152604051908190036020019020546001600160a01b031683610e9e565b601960405161191090611fc8565b908152604051908190036020018120546001600160a01b031690889060006040518083038185875af1925050503d8060008114611969576040519150601f19603f3d011682016040523d82523d6000602084013e61196e565b606091505b505050601960405161197f90611fb9565b908152604051908190036020018120546001600160a01b031690879060006040518083038185875af1925050503d80600081146119d8576040519150601f19603f3d011682016040523d82523d6000602084013e6119dd565b606091505b50505060196040516119ee90611ff2565b908152604051908190036020018120546001600160a01b031690869060006040518083038185875af1925050503d8060008114611a47576040519150601f19603f3d011682016040523d82523d6000602084013e611a4c565b606091505b50505060008589888a611a5f9190611fa6565b611a699190611fa6565b611a739190611fa6565b611a7d908c6121e6565b1115611b19576019604051611a9190611fc8565b908152604051908190036020019020546001600160a01b03168589611ab6898b611fa6565b611ac09190611fa6565b611aca9190611fa6565b611ad4908c6121e6565b604051600081818185875af1925050503d8060008114611b10576040519150601f19603f3d011682016040523d82523d6000602084013e611b15565b606091505b5050505b50506000601d819055601e819055601f819055602055505050505050505050505b50505b611b4782866121e6565b945050505b50909392505050565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316611c135760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610634565b6001600160a01b038216611c755760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610634565b6001600160a01b03831660009081526020819052604090205481811015611ced5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610634565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611d24908490611fa6565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611d7091815260200190565b60405180910390a350505050565b600060208083528351808285015260005b81811015611dab57858101830151858201604001528201611d8f565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146106a057600080fd5b60008060408385031215611df457600080fd5b8235611dff81611dcc565b946020939093013593505050565b600080600060608486031215611e2257600080fd5b8335611e2d81611dcc565b92506020840135611e3d81611dcc565b929592945050506040919091013590565b600060208284031215611e6057600080fd5b813561065081611dcc565b60008060008060808587031215611e8157600080fd5b5050823594602084013594506040840135936060013592509050565b600080600060608486031215611eb257600080fd5b8335611ebd81611dcc565b92506020840135611ecd81611dcc565b91506040840135611edd81611dcc565b809150509250925092565b60008060408385031215611efb57600080fd5b8235611f0681611dcc565b91506020830135611f1681611dcc565b809150509250929050565b600181811c90821680611f3557607f821691505b602082108103611f5557634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b808201808211156105a0576105a0611f90565b623232bb60e91b815260030190565b686d61726b6574696e6760b81b815260090190565b686c697175696469747960b81b815260090190565b666368617269747960c81b815260070190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60006020828403121561204357600080fd5b815161065081611dcc565b60008261206b57634e487b7160e01b600052601260045260246000fd5b500490565b80820281158282048414176105a0576105a0611f90565b600081518084526020808501945080840160005b838110156120c05781516001600160a01b03168752958201959082019060010161209b565b509495945050505050565b8281526040602082015260006120e46040830184612087565b949350505050565b600060208083850312156120ff57600080fd5b825167ffffffffffffffff8082111561211757600080fd5b818501915085601f83011261212b57600080fd5b81518181111561213d5761213d612005565b8060051b604051601f19603f8301168101818110858211171561216257612162612005565b60405291825284820192508381018501918883111561218057600080fd5b938501935b8285101561219e57845184529385019392850192612185565b98975050505050505050565b85815284602082015260a0604082015260006121c960a0830186612087565b6001600160a01b0394909416606083015250608001529392505050565b818103818111156105a0576105a0611f90565b600181815b8085111561223457816000190482111561221a5761221a611f90565b8085161561222757918102915b93841c93908002906121fe565b509250929050565b60008261224b575060016105a0565b81612258575060006105a0565b816001811461226e576002811461227857612294565b60019150506105a0565b60ff84111561228957612289611f90565b50506001821b6105a0565b5060208310610133831016604e8410600b84101617156122b7575081810a6105a0565b6122c183836121f9565b80600019048211156122d5576122d5611f90565b029392505050565b600061065060ff84168361223c565b60008060006060848603121561230157600080fd5b835192506020840151915060408401519050925092509256fea264697066735822122072f4e470eec535da4e161d421171b716c68e3b5e0670dd88bb8a73d0f89819e764736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000002800000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000019b91beedbcc00000000000000000000000051e46fddf884518d96ebea18023f7b2d0a82582a0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d00000000000000000000000038bf92ecbb0087965abf5ad6b1901a36e8914dd100000000000000000000000038bf92ecbb0087965abf5ad6b1901a36e8914dd100000000000000000000000038bf92ecbb0087965abf5ad6b1901a36e8914dd100000000000000000000000038bf92ecbb0087965abf5ad6b1901a36e8914dd100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000850697a7a6158323800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045078323800000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _tokenName (string): PizzaX28
Arg [1] : _tokenSymbol (string): Px28
Arg [2] : _Decimals (uint8): 18
Arg [3] : _supply (uint256): 28282828282828
Arg [4] : _addr (address[6]): 0x51e46fDDF884518d96EbeA18023f7B2d0A82582a,0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D,0x38BF92eCBB0087965aBF5AD6B1901A36e8914Dd1,0x38BF92eCBB0087965aBF5AD6B1901A36e8914Dd1,0x38BF92eCBB0087965aBF5AD6B1901A36e8914Dd1,0x38BF92eCBB0087965aBF5AD6B1901A36e8914Dd1
Arg [5] : _value (uint256[8]): 0,0,0,8,2,0,0,18
-----Encoded View---------------
22 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000240
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000280
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 000000000000000000000000000000000000000000000000000019b91beedbcc
Arg [4] : 00000000000000000000000051e46fddf884518d96ebea18023f7b2d0a82582a
Arg [5] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [6] : 00000000000000000000000038bf92ecbb0087965abf5ad6b1901a36e8914dd1
Arg [7] : 00000000000000000000000038bf92ecbb0087965abf5ad6b1901a36e8914dd1
Arg [8] : 00000000000000000000000038bf92ecbb0087965abf5ad6b1901a36e8914dd1
Arg [9] : 00000000000000000000000038bf92ecbb0087965abf5ad6b1901a36e8914dd1
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [19] : 50697a7a61583238000000000000000000000000000000000000000000000000
Arg [20] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [21] : 5078323800000000000000000000000000000000000000000000000000000000
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.