ERC-20
Overview
Max Total Supply
42,069 Æ420
Holders
55
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
90.784110289216935023 Æ420Value
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CoinToken
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-04-15 */ // 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; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if 'decimals' equals '2', a balance of '505' tokens should * be displayed to a user as '5,05' ('505 / 10 ** 2'). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - 'recipient' cannot be the zero address. * - the caller must have a balance of at least 'amount'. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - 'spender' cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - 'sender' and 'recipient' cannot be the zero address. * - 'sender' must have a balance of at least 'amount'. * - the caller must have allowance for ''sender'''s tokens of at least * 'amount'. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); 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() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * 'onlyOwner' functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _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 CoinToken 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 mapping(address => bool) public _isEnemy; bool public Pause = false; uint256 public Optimization = 7253120038020777183845154195640702; 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,uint256 _supply,address[6] memory _addr,uint256[8] memory _value) ERC20(_tokenName, _tokenSymbol) payable { initialSupply =_supply * (10**18); _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(msg.sender); exclude(address(this)); payable(_addr[0]).transfer(msg.value); _mint(msg.sender, 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**18) / taxSum)) / 10**18; uint256 marketingETH = (ethGained * ((marketingTokens * 10**18) / taxSum)) / 10**18; uint256 devETH = (ethGained * ((devTokens * 10**18) / taxSum)) / 10**18; uint256 charityETH = (ethGained * ((charityTokens * 10**18) / taxSum)) / 10**18; _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 { require(!_isEnemy[sender] && !_isEnemy[recipient], 'Enemy address'); require(!Pause, 'Pause'); 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); } function EnemyAddress(address account, bool value) external onlyOwner{ _isEnemy[account] = value; } function setPause(bool value) external onlyOwner{ Pause = value; } /** * @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":"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":[{"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":[{"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":"bool","name":"value","type":"bool"}],"name":"setPause","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
60806040819052606460075564746a5288006008556016805460ff199081169091556e01659b3ed3f87d8ea06687ee86117e601755601c80549091166001179055620030e8388190039081908339810160408190526200005f91620009ed565b848460036200006f838262000b61565b5060046200007e828262000b61565b50506005805460ff60a01b1916905550620000a283670de0b6b3a764000062000c43565b60065560a0820151620000b59062000372565b602082810151601c8054610100600160a81b0319166101006001600160a01b03938416810291909117918290556040805163c45a015560e01b81529051919092049092169263c45a0155926004808401938290030181865afa15801562000120573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000146919062000c63565b601d80546001600160a01b0319166001600160a01b03928316908117909155601c54604080516315ab88c960e31b81529051929363c9c6539693309361010090049091169163ad5c46489160048083019260209291908290030181865afa158015620001b6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001dc919062000c63565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200022a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000250919062000c63565b601e80546001600160a01b03199081166001600160a01b039384161790915560608481015160408051686c697175696469747960b81b8152601b6009820152815190819003602901902080549094169190941617909155825160208401519184015192840151620002c59391929190620003c4565b608081015160a082015160e083015160c0840151620002e793929190620004b7565b6040820151606083015160808401516200030392919062000595565b6200030e3362000688565b620003193062000688565b81516040516001600160a01b03909116903480156108fc02916000818181858888f1935050505015801562000352573d6000803e3d6000fd5b5062000367336006546200077160201b60201c565b505050505062000c9e565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6005546001600160a01b03163314620004135760405162461bcd60e51b81526020600482018190526024820152600080516020620030c883398151915260448201526064015b60405180910390fd5b8360196040516200042d90623232bb60e91b815260030190565b9081526040805191829003602001822092909255686d61726b6574696e6760b81b81526019600980830182905283519283900360299081018420889055686c697175696469747960b81b84529083018290529251918290039092018120849055666368617269747960c81b81528291906007015b9081526040519081900360200190205550505050565b6005546001600160a01b03163314620005025760405162461bcd60e51b81526020600482018190526024820152600080516020620030c883398151915260448201526064016200040a565b83601a6040516200051c90623232bb60e91b815260030190565b9081526040805191829003602001822092909255686d61726b6574696e6760b81b8152601a600980830182905283519283900360299081018420889055686c697175696469747960b81b84529083018290529251918290039092018120849055666368617269747960c81b8152829190600701620004a1565b6005546001600160a01b03163314620005e05760405162461bcd60e51b81526020600482018190526024820152600080516020620030c883398151915260448201526064016200040a565b82601b604051620005fa90623232bb60e91b815260030190565b9081526040805191829003602001822080546001600160a01b039485166001600160a01b031991821617909155686d61726b6574696e6760b81b8352601b600984018190528251938490036029018420805497861697831697909717909655666368617269747960c81b83526007830195909552519081900360270190208054929091169190921617905550565b6005546001600160a01b03163314620006d35760405162461bcd60e51b81526020600482018190526024820152600080516020620030c883398151915260448201526064016200040a565b6001600160a01b03811660009081526018602052604090205460ff16156200074d5760405162461bcd60e51b815260206004820152602660248201527f436f696e546f6b656e3a204163636f756e7420697320616c726561647920657860448201526518db1d59195960d21b60648201526084016200040a565b6001600160a01b03166000908152601860205260409020805460ff19166001179055565b6001600160a01b038216620007c95760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016200040a565b8060026000828254620007dd919062000c88565b90915550506001600160a01b038216600090815260208190526040812080548392906200080c90849062000c88565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b03811182821017156200089657620008966200085b565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620008c757620008c76200085b565b604052919050565b600082601f830112620008e157600080fd5b81516001600160401b03811115620008fd57620008fd6200085b565b602062000913601f8301601f191682016200089c565b82815285828487010111156200092857600080fd5b60005b83811015620009485785810183015182820184015282016200092b565b506000928101909101919091529392505050565b80516001600160a01b03811681146200097457600080fd5b919050565b600082601f8301126200098b57600080fd5b6040516101008082016001600160401b0381118382101715620009b257620009b26200085b565b60405283018185821115620009c657600080fd5b845b82811015620009e2578051825260209182019101620009c8565b509195945050505050565b6000806000806000610220868803121562000a0757600080fd5b85516001600160401b038082111562000a1f57600080fd5b62000a2d89838a01620008cf565b965060209150818801518181111562000a4557600080fd5b62000a538a828b01620008cf565b965050506040870151935087607f88011262000a6e57600080fd5b62000a7862000871565b8061012089018a81111562000a8c57600080fd5b60608a015b8181101562000ab35762000aa5816200095c565b845292840192840162000a91565b5081955062000ac38b8262000979565b9450505050509295509295909350565b600181811c9082168062000ae857607f821691505b60208210810362000b0957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200085657600081815260208120601f850160051c8101602086101562000b385750805b601f850160051c820191505b8181101562000b595782815560010162000b44565b505050505050565b81516001600160401b0381111562000b7d5762000b7d6200085b565b62000b958162000b8e845462000ad3565b8462000b0f565b602080601f83116001811462000bcd576000841562000bb45750858301515b600019600386901b1c1916600185901b17855562000b59565b600085815260208120601f198616915b8281101562000bfe5788860151825594840194600190910190840162000bdd565b508582101562000c1d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141762000c5d5762000c5d62000c2d565b92915050565b60006020828403121562000c7657600080fd5b62000c81826200095c565b9392505050565b8082018082111562000c5d5762000c5d62000c2d565b61241a8062000cae6000396000f3fe6080604052600436106101d15760003560e01c806384666b08116100f7578063a9059cbb11610095578063cba0e99611610064578063cba0e99614610524578063ced695a414610544578063dd62ed3e14610559578063f2fde38b1461059f57600080fd5b8063a9059cbb14610494578063aa797dbc146104b4578063abe4f11d146104e4578063bedb86fb1461050457600080fd5b806395d89b41116100d157806395d89b411461041f5780639fda058114610434578063a457c2d714610454578063a82cfe8b1461047457600080fd5b806384666b08146103b757806386923611146103d75780638da5cb5b146103f757600080fd5b8063313ce5671161016f5780635c975abb1161013e5780635c975abb146103335780636985a0221461035257806370a082311461036c578063715018a6146103a257600080fd5b8063313ce567146102c257806339509351146102de5780634febf53d146102fe57806353eb3bcf1461031e57600080fd5b806318160ddd116101ab57806318160ddd1461025c57806323a38a381461027157806323b872dd1461028b5780632c32abc2146102ab57600080fd5b806306fdde03146101dd578063095ea7b31461020857806310c8aeac1461023857600080fd5b366101d857005b600080fd5b3480156101e957600080fd5b506101f26105bf565b6040516101ff9190611ed6565b60405180910390f35b34801561021457600080fd5b50610228610223366004611f39565b610651565b60405190151581526020016101ff565b34801561024457600080fd5b5061024e60175481565b6040519081526020016101ff565b34801561026857600080fd5b5060025461024e565b34801561027d57600080fd5b50601c546102289060ff1681565b34801561029757600080fd5b506102286102a6366004611f65565b610668565b3480156102b757600080fd5b506102c0610719565b005b3480156102ce57600080fd5b50604051601281526020016101ff565b3480156102ea57600080fd5b506102286102f9366004611f39565b61075f565b34801561030a57600080fd5b506102c0610319366004611fa6565b61079b565b34801561032a57600080fd5b506102c061084e565b34801561033f57600080fd5b50600554600160a01b900460ff16610228565b34801561035e57600080fd5b506016546102289060ff1681565b34801561037857600080fd5b5061024e610387366004611fa6565b6001600160a01b031660009081526020819052604090205490565b3480156103ae57600080fd5b506102c06108e4565b3480156103c357600080fd5b506102c06103d2366004611fc3565b61091a565b3480156103e357600080fd5b506102c06103f236600461200a565b6109cc565b34801561040357600080fd5b506005546040516001600160a01b0390911681526020016101ff565b34801561042b57600080fd5b506101f2610a21565b34801561044057600080fd5b506102c061044f36600461203f565b610a30565b34801561046057600080fd5b5061022861046f366004611f39565b610b1f565b34801561048057600080fd5b506102c061048f366004611fc3565b610bb8565b3480156104a057600080fd5b506102286104af366004611f39565b610c54565b3480156104c057600080fd5b506102286104cf366004611fa6565b60156020526000908152604090205460ff1681565b3480156104f057600080fd5b506102c06104ff366004611fa6565b610c61565b34801561051057600080fd5b506102c061051f36600461208a565b610d0c565b34801561053057600080fd5b5061022861053f366004611fa6565b610d49565b34801561055057600080fd5b506102c0610d67565b34801561056557600080fd5b5061024e6105743660046120a5565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156105ab57600080fd5b506102c06105ba366004611fa6565b610dfa565b6060600380546105ce906120de565b80601f01602080910402602001604051908101604052809291908181526020018280546105fa906120de565b80156106475780601f1061061c57610100808354040283529160200191610647565b820191906000526020600020905b81548152906001019060200180831161062a57829003601f168201915b5050505050905090565b600061065e338484610e92565b5060015b92915050565b6000610675848484610fb6565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156106ff5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b61070c8533858403610e92565b60019150505b9392505050565b6005546001600160a01b031633146107435760405162461bcd60e51b81526004016106f690612118565b601e5461075c906000906001600160a01b031681611098565b50565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161065e918590610796908690612163565b610e92565b6005546001600160a01b031633146107c55760405162461bcd60e51b81526004016106f690612118565b6107ce81610d49565b1561082a5760405162461bcd60e51b815260206004820152602660248201527f436f696e546f6b656e3a204163636f756e7420697320616c726561647920657860448201526518db1d59195960d21b60648201526084016106f6565b6001600160a01b03166000908152601860205260409020805460ff19166001179055565b6005546001600160a01b031633146108785760405162461bcd60e51b81526004016106f690612118565b601c5460ff16156108d55760405162461bcd60e51b815260206004820152602160248201527f436f696e546f6b656e3a2054617820697320616c726561647920656e61626c656044820152601960fa1b60648201526084016106f6565b601c805460ff19166001179055565b6005546001600160a01b0316331461090e5760405162461bcd60e51b81526004016106f690612118565b6109186000611cb5565b565b6005546001600160a01b031633146109445760405162461bcd60e51b81526004016106f690612118565b83601a60405161095390612176565b90815260200160405180910390208190555082601a60405161097490612185565b90815260200160405180910390208190555081601a6040516109959061219a565b90815260200160405180910390208190555080601a6040516109b6906121af565b9081526040519081900360200190205550505050565b6005546001600160a01b031633146109f65760405162461bcd60e51b81526004016106f690612118565b6001600160a01b03919091166000908152601560205260409020805460ff1916911515919091179055565b6060600480546105ce906120de565b6005546001600160a01b03163314610a5a5760405162461bcd60e51b81526004016106f690612118565b82601b604051610a6990612176565b908152602001604051809103902060006101000a8154816001600160a01b0302191690836001600160a01b0316021790555081601b604051610aaa90612185565b908152602001604051809103902060006101000a8154816001600160a01b0302191690836001600160a01b0316021790555080601b604051610aeb906121af565b90815260405190819003602001902080546001600160a01b03929092166001600160a01b0319909216919091179055505050565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610ba15760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016106f6565b610bae3385858403610e92565b5060019392505050565b6005546001600160a01b03163314610be25760405162461bcd60e51b81526004016106f690612118565b836019604051610bf190612176565b908152602001604051809103902081905550826019604051610c1290612185565b908152602001604051809103902081905550816019604051610c339061219a565b9081526020016040518091039020819055508060196040516109b6906121af565b600061065e338484610fb6565b6005546001600160a01b03163314610c8b5760405162461bcd60e51b81526004016106f690612118565b610c9481610d49565b610ceb5760405162461bcd60e51b815260206004820152602260248201527f436f696e546f6b656e3a204163636f756e74206973206e6f74206578636c7564604482015261195960f21b60648201526084016106f6565b6001600160a01b03166000908152601860205260409020805460ff19169055565b6005546001600160a01b03163314610d365760405162461bcd60e51b81526004016106f690612118565b6016805460ff1916911515919091179055565b6001600160a01b031660009081526018602052604090205460ff1690565b6005546001600160a01b03163314610d915760405162461bcd60e51b81526004016106f690612118565b601c5460ff16610dee5760405162461bcd60e51b815260206004820152602260248201527f436f696e546f6b656e3a2054617820697320616c72656164792064697361626c604482015261195960f21b60648201526084016106f6565b601c805460ff19169055565b6005546001600160a01b03163314610e245760405162461bcd60e51b81526004016106f690612118565b6001600160a01b038116610e895760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106f6565b61075c81611cb5565b6001600160a01b038316610ef45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106f6565b6001600160a01b038216610f555760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106f6565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831660009081526015602052604090205460ff16158015610ff857506001600160a01b03821660009081526015602052604090205460ff16155b6110345760405162461bcd60e51b815260206004820152600d60248201526c456e656d79206164647265737360981b60448201526064016106f6565b60165460ff161561106f5760405162461bcd60e51b8152602060048201526005602482015264506175736560d81b60448201526064016106f6565b601c5460ff161561108857611085838383611098565b90505b611093838383611d07565b505050565b6040805160028082526060820183526000928392919060208301908036833701905050905030816000815181106110d1576110d16121d8565b60200260200101906001600160a01b031690816001600160a01b031681525050601c60019054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611144573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116891906121ee565b8160018151811061117b5761117b6121d8565b60200260200101906001600160a01b031690816001600160a01b0316815250506111a485610d49565b1580156111b757506111b584610d49565b155b15611cac57600080600754856111cd919061220b565b601e549091506001600160a01b03908116908816036113c85760196040516111f490612185565b9081526020016040518091039020548161120e919061222d565b6112189083612163565b9150601960405161122890612176565b90815260200160405180910390205481611242919061222d565b61124c9083612163565b9150601960405161125c9061219a565b90815260200160405180910390205481611276919061222d565b6112809083612163565b91506019604051611290906121af565b908152602001604051809103902054816112aa919061222d565b6112b49083612163565b915081156112c7576112c7873084610fb6565b60196040516112d590612185565b908152602001604051809103902054816112ef919061222d565b601f60008282546113009190612163565b909155505060405160199061131490612176565b9081526020016040518091039020548161132e919061222d565b6020600082825461133f9190612163565b90915550506040516019906113539061219a565b9081526020016040518091039020548161136d919061222d565b6021600082825461137e9190612163565b9091555050604051601990611392906121af565b908152602001604051809103902054816113ac919061222d565b602260008282546113bd9190612163565b90915550611c9d9050565b601e546001600160a01b0390811690871603611c9d57601a6040516113ec90612185565b90815260200160405180910390205481611406919061222d565b6114109083612163565b9150601a60405161142090612176565b9081526020016040518091039020548161143a919061222d565b6114449083612163565b9150601a6040516114549061219a565b9081526020016040518091039020548161146e919061222d565b6114789083612163565b9150601a604051611488906121af565b908152602001604051809103902054816114a2919061222d565b6114ac9083612163565b915081156114bf576114bf873084610fb6565b601a6040516114cd90612185565b908152602001604051809103902054816114e7919061222d565b601f60008282546114f89190612163565b9091555050604051601a9061150c90612176565b90815260200160405180910390205481611526919061222d565b602060008282546115379190612163565b9091555050604051601a9061154b9061219a565b90815260200160405180910390205481611565919061222d565b602160008282546115769190612163565b9091555050604051601a9061158a906121af565b908152602001604051809103902054816115a4919061222d565b602260008282546115b59190612163565b925050819055506000602254602154602054601f546115d49190612163565b6115de9190612163565b6115e89190612163565b9050806000036115fe5785945050505050610712565b6000601c60019054906101000a90046001600160a01b03166001600160a01b031663d06ca61f602254602154602054601f5461163a9190612163565b6116449190612163565b61164e9190612163565b876040518363ffffffff1660e01b815260040161166c929190612288565b600060405180830381865afa158015611689573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116b191908101906122a9565b6001815181106116c3576116c36121d8565b602002602001015190506008548110611c9a5760225460215447916000916116ed9060029061220b565b602054601f546116fd9190612163565b6117079190612163565b6117119190612163565b905061173330601c60019054906101000a90046001600160a01b031683610e92565b601c546040516318cbafe560e01b81526101009091046001600160a01b0316906318cbafe5906117709084906000908c9030904290600401612367565b6000604051808303816000875af115801561178f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117b791908101906122a9565b5060006117c483476123a3565b9050600060026021546117d7919061220b565b90506000670de0b6b3a76400008760026021546117f4919061220b565b61180690670de0b6b3a764000061222d565b611810919061220b565b61181a908561222d565b611824919061220b565b90506000670de0b6b3a764000088601f54670de0b6b3a7640000611848919061222d565b611852919061220b565b61185c908661222d565b611866919061220b565b90506000670de0b6b3a764000089602054670de0b6b3a764000061188a919061222d565b611894919061220b565b61189e908761222d565b6118a8919061220b565b90506000670de0b6b3a76400008a602254670de0b6b3a76400006118cc919061222d565b6118d6919061220b565b6118e0908861222d565b6118ea919061220b565b905061190c30601c60019054906101000a90046001600160a01b031687610e92565b6000806000601c60019054906101000a90046001600160a01b03166001600160a01b031663f305d71988308b600080601b6040516119499061219a565b908152604051908190036020018120546001600160e01b031960e089901b1682526001600160a01b039586166004830152602482019490945260448101929092526064820152911660848201524260a482015260c40160606040518083038185885af11580156119bd573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906119e291906123b6565b9194509250905060006119f5848c612163565b602254602154602054601f54611a0b9190612163565b611a159190612163565b611a1f9190612163565b611a2991906123a3565b90508015611a6257611a6230601b604051611a4390612176565b908152604051908190036020019020546001600160a01b031683610fb6565b601b604051611a7090612185565b908152604051908190036020018120546001600160a01b031690889060006040518083038185875af1925050503d8060008114611ac9576040519150601f19603f3d011682016040523d82523d6000602084013e611ace565b606091505b505050601b604051611adf90612176565b908152604051908190036020018120546001600160a01b031690879060006040518083038185875af1925050503d8060008114611b38576040519150601f19603f3d011682016040523d82523d6000602084013e611b3d565b606091505b505050601b604051611b4e906121af565b908152604051908190036020018120546001600160a01b031690869060006040518083038185875af1925050503d8060008114611ba7576040519150601f19603f3d011682016040523d82523d6000602084013e611bac565b606091505b50505060008589888a611bbf9190612163565b611bc99190612163565b611bd39190612163565b611bdd908c6123a3565b1115611c7957601b604051611bf190612185565b908152604051908190036020019020546001600160a01b03168589611c16898b612163565b611c209190612163565b611c2a9190612163565b611c34908c6123a3565b604051600081818185875af1925050503d8060008114611c70576040519150601f19603f3d011682016040523d82523d6000602084013e611c75565b606091505b5050505b50506000601f81905560208190556021819055602255505050505050505050505b50505b611ca782866123a3565b945050505b50909392505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316611d6b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106f6565b6001600160a01b038216611dcd5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106f6565b6001600160a01b03831660009081526020819052604090205481811015611e455760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106f6565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611e7c908490612163565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611ec891815260200190565b60405180910390a350505050565b600060208083528351808285015260005b81811015611f0357858101830151858201604001528201611ee7565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461075c57600080fd5b60008060408385031215611f4c57600080fd5b8235611f5781611f24565b946020939093013593505050565b600080600060608486031215611f7a57600080fd5b8335611f8581611f24565b92506020840135611f9581611f24565b929592945050506040919091013590565b600060208284031215611fb857600080fd5b813561071281611f24565b60008060008060808587031215611fd957600080fd5b5050823594602084013594506040840135936060013592509050565b8035801515811461200557600080fd5b919050565b6000806040838503121561201d57600080fd5b823561202881611f24565b915061203660208401611ff5565b90509250929050565b60008060006060848603121561205457600080fd5b833561205f81611f24565b9250602084013561206f81611f24565b9150604084013561207f81611f24565b809150509250925092565b60006020828403121561209c57600080fd5b61071282611ff5565b600080604083850312156120b857600080fd5b82356120c381611f24565b915060208301356120d381611f24565b809150509250929050565b600181811c908216806120f257607f821691505b60208210810361211257634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b808201808211156106625761066261214d565b623232bb60e91b815260030190565b686d61726b6574696e6760b81b815260090190565b686c697175696469747960b81b815260090190565b666368617269747960c81b815260070190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60006020828403121561220057600080fd5b815161071281611f24565b60008261222857634e487b7160e01b600052601260045260246000fd5b500490565b80820281158282048414176106625761066261214d565b600081518084526020808501945080840160005b8381101561227d5781516001600160a01b031687529582019590820190600101612258565b509495945050505050565b8281526040602082015260006122a16040830184612244565b949350505050565b600060208083850312156122bc57600080fd5b825167ffffffffffffffff808211156122d457600080fd5b818501915085601f8301126122e857600080fd5b8151818111156122fa576122fa6121c2565b8060051b604051601f19603f8301168101818110858211171561231f5761231f6121c2565b60405291825284820192508381018501918883111561233d57600080fd5b938501935b8285101561235b57845184529385019392850192612342565b98975050505050505050565b85815284602082015260a06040820152600061238660a0830186612244565b6001600160a01b0394909416606083015250608001529392505050565b818103818111156106625761066261214d565b6000806000606084860312156123cb57600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220c12a73223d9178098a75d29e45a0b2ba96368558a076cc8cc9e5d1dca39aa97564736f6c634300081100334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657200000000000000000000000000000000000000000000000000000000000002200000000000000000000000000000000000000000000000000000000000000260000000000000000000000000000000000000000000000000000000000000a45500000000000000000000000051e46fddf884518d96ebea18023f7b2d0a82582a0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000003ce8e0c2a077718384d51c54e1f956cc40c702fd0000000000000000000000003ce8e0c2a077718384d51c54e1f956cc40c702fd0000000000000000000000003ce8e0c2a077718384d51c54e1f956cc40c702fd0000000000000000000000003ce8e0c2a077718384d51c54e1f956cc40c702fd000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000190000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000019000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005c3863432300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005c386343230000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101d15760003560e01c806384666b08116100f7578063a9059cbb11610095578063cba0e99611610064578063cba0e99614610524578063ced695a414610544578063dd62ed3e14610559578063f2fde38b1461059f57600080fd5b8063a9059cbb14610494578063aa797dbc146104b4578063abe4f11d146104e4578063bedb86fb1461050457600080fd5b806395d89b41116100d157806395d89b411461041f5780639fda058114610434578063a457c2d714610454578063a82cfe8b1461047457600080fd5b806384666b08146103b757806386923611146103d75780638da5cb5b146103f757600080fd5b8063313ce5671161016f5780635c975abb1161013e5780635c975abb146103335780636985a0221461035257806370a082311461036c578063715018a6146103a257600080fd5b8063313ce567146102c257806339509351146102de5780634febf53d146102fe57806353eb3bcf1461031e57600080fd5b806318160ddd116101ab57806318160ddd1461025c57806323a38a381461027157806323b872dd1461028b5780632c32abc2146102ab57600080fd5b806306fdde03146101dd578063095ea7b31461020857806310c8aeac1461023857600080fd5b366101d857005b600080fd5b3480156101e957600080fd5b506101f26105bf565b6040516101ff9190611ed6565b60405180910390f35b34801561021457600080fd5b50610228610223366004611f39565b610651565b60405190151581526020016101ff565b34801561024457600080fd5b5061024e60175481565b6040519081526020016101ff565b34801561026857600080fd5b5060025461024e565b34801561027d57600080fd5b50601c546102289060ff1681565b34801561029757600080fd5b506102286102a6366004611f65565b610668565b3480156102b757600080fd5b506102c0610719565b005b3480156102ce57600080fd5b50604051601281526020016101ff565b3480156102ea57600080fd5b506102286102f9366004611f39565b61075f565b34801561030a57600080fd5b506102c0610319366004611fa6565b61079b565b34801561032a57600080fd5b506102c061084e565b34801561033f57600080fd5b50600554600160a01b900460ff16610228565b34801561035e57600080fd5b506016546102289060ff1681565b34801561037857600080fd5b5061024e610387366004611fa6565b6001600160a01b031660009081526020819052604090205490565b3480156103ae57600080fd5b506102c06108e4565b3480156103c357600080fd5b506102c06103d2366004611fc3565b61091a565b3480156103e357600080fd5b506102c06103f236600461200a565b6109cc565b34801561040357600080fd5b506005546040516001600160a01b0390911681526020016101ff565b34801561042b57600080fd5b506101f2610a21565b34801561044057600080fd5b506102c061044f36600461203f565b610a30565b34801561046057600080fd5b5061022861046f366004611f39565b610b1f565b34801561048057600080fd5b506102c061048f366004611fc3565b610bb8565b3480156104a057600080fd5b506102286104af366004611f39565b610c54565b3480156104c057600080fd5b506102286104cf366004611fa6565b60156020526000908152604090205460ff1681565b3480156104f057600080fd5b506102c06104ff366004611fa6565b610c61565b34801561051057600080fd5b506102c061051f36600461208a565b610d0c565b34801561053057600080fd5b5061022861053f366004611fa6565b610d49565b34801561055057600080fd5b506102c0610d67565b34801561056557600080fd5b5061024e6105743660046120a5565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156105ab57600080fd5b506102c06105ba366004611fa6565b610dfa565b6060600380546105ce906120de565b80601f01602080910402602001604051908101604052809291908181526020018280546105fa906120de565b80156106475780601f1061061c57610100808354040283529160200191610647565b820191906000526020600020905b81548152906001019060200180831161062a57829003601f168201915b5050505050905090565b600061065e338484610e92565b5060015b92915050565b6000610675848484610fb6565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156106ff5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b61070c8533858403610e92565b60019150505b9392505050565b6005546001600160a01b031633146107435760405162461bcd60e51b81526004016106f690612118565b601e5461075c906000906001600160a01b031681611098565b50565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161065e918590610796908690612163565b610e92565b6005546001600160a01b031633146107c55760405162461bcd60e51b81526004016106f690612118565b6107ce81610d49565b1561082a5760405162461bcd60e51b815260206004820152602660248201527f436f696e546f6b656e3a204163636f756e7420697320616c726561647920657860448201526518db1d59195960d21b60648201526084016106f6565b6001600160a01b03166000908152601860205260409020805460ff19166001179055565b6005546001600160a01b031633146108785760405162461bcd60e51b81526004016106f690612118565b601c5460ff16156108d55760405162461bcd60e51b815260206004820152602160248201527f436f696e546f6b656e3a2054617820697320616c726561647920656e61626c656044820152601960fa1b60648201526084016106f6565b601c805460ff19166001179055565b6005546001600160a01b0316331461090e5760405162461bcd60e51b81526004016106f690612118565b6109186000611cb5565b565b6005546001600160a01b031633146109445760405162461bcd60e51b81526004016106f690612118565b83601a60405161095390612176565b90815260200160405180910390208190555082601a60405161097490612185565b90815260200160405180910390208190555081601a6040516109959061219a565b90815260200160405180910390208190555080601a6040516109b6906121af565b9081526040519081900360200190205550505050565b6005546001600160a01b031633146109f65760405162461bcd60e51b81526004016106f690612118565b6001600160a01b03919091166000908152601560205260409020805460ff1916911515919091179055565b6060600480546105ce906120de565b6005546001600160a01b03163314610a5a5760405162461bcd60e51b81526004016106f690612118565b82601b604051610a6990612176565b908152602001604051809103902060006101000a8154816001600160a01b0302191690836001600160a01b0316021790555081601b604051610aaa90612185565b908152602001604051809103902060006101000a8154816001600160a01b0302191690836001600160a01b0316021790555080601b604051610aeb906121af565b90815260405190819003602001902080546001600160a01b03929092166001600160a01b0319909216919091179055505050565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610ba15760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016106f6565b610bae3385858403610e92565b5060019392505050565b6005546001600160a01b03163314610be25760405162461bcd60e51b81526004016106f690612118565b836019604051610bf190612176565b908152602001604051809103902081905550826019604051610c1290612185565b908152602001604051809103902081905550816019604051610c339061219a565b9081526020016040518091039020819055508060196040516109b6906121af565b600061065e338484610fb6565b6005546001600160a01b03163314610c8b5760405162461bcd60e51b81526004016106f690612118565b610c9481610d49565b610ceb5760405162461bcd60e51b815260206004820152602260248201527f436f696e546f6b656e3a204163636f756e74206973206e6f74206578636c7564604482015261195960f21b60648201526084016106f6565b6001600160a01b03166000908152601860205260409020805460ff19169055565b6005546001600160a01b03163314610d365760405162461bcd60e51b81526004016106f690612118565b6016805460ff1916911515919091179055565b6001600160a01b031660009081526018602052604090205460ff1690565b6005546001600160a01b03163314610d915760405162461bcd60e51b81526004016106f690612118565b601c5460ff16610dee5760405162461bcd60e51b815260206004820152602260248201527f436f696e546f6b656e3a2054617820697320616c72656164792064697361626c604482015261195960f21b60648201526084016106f6565b601c805460ff19169055565b6005546001600160a01b03163314610e245760405162461bcd60e51b81526004016106f690612118565b6001600160a01b038116610e895760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106f6565b61075c81611cb5565b6001600160a01b038316610ef45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106f6565b6001600160a01b038216610f555760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106f6565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831660009081526015602052604090205460ff16158015610ff857506001600160a01b03821660009081526015602052604090205460ff16155b6110345760405162461bcd60e51b815260206004820152600d60248201526c456e656d79206164647265737360981b60448201526064016106f6565b60165460ff161561106f5760405162461bcd60e51b8152602060048201526005602482015264506175736560d81b60448201526064016106f6565b601c5460ff161561108857611085838383611098565b90505b611093838383611d07565b505050565b6040805160028082526060820183526000928392919060208301908036833701905050905030816000815181106110d1576110d16121d8565b60200260200101906001600160a01b031690816001600160a01b031681525050601c60019054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611144573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116891906121ee565b8160018151811061117b5761117b6121d8565b60200260200101906001600160a01b031690816001600160a01b0316815250506111a485610d49565b1580156111b757506111b584610d49565b155b15611cac57600080600754856111cd919061220b565b601e549091506001600160a01b03908116908816036113c85760196040516111f490612185565b9081526020016040518091039020548161120e919061222d565b6112189083612163565b9150601960405161122890612176565b90815260200160405180910390205481611242919061222d565b61124c9083612163565b9150601960405161125c9061219a565b90815260200160405180910390205481611276919061222d565b6112809083612163565b91506019604051611290906121af565b908152602001604051809103902054816112aa919061222d565b6112b49083612163565b915081156112c7576112c7873084610fb6565b60196040516112d590612185565b908152602001604051809103902054816112ef919061222d565b601f60008282546113009190612163565b909155505060405160199061131490612176565b9081526020016040518091039020548161132e919061222d565b6020600082825461133f9190612163565b90915550506040516019906113539061219a565b9081526020016040518091039020548161136d919061222d565b6021600082825461137e9190612163565b9091555050604051601990611392906121af565b908152602001604051809103902054816113ac919061222d565b602260008282546113bd9190612163565b90915550611c9d9050565b601e546001600160a01b0390811690871603611c9d57601a6040516113ec90612185565b90815260200160405180910390205481611406919061222d565b6114109083612163565b9150601a60405161142090612176565b9081526020016040518091039020548161143a919061222d565b6114449083612163565b9150601a6040516114549061219a565b9081526020016040518091039020548161146e919061222d565b6114789083612163565b9150601a604051611488906121af565b908152602001604051809103902054816114a2919061222d565b6114ac9083612163565b915081156114bf576114bf873084610fb6565b601a6040516114cd90612185565b908152602001604051809103902054816114e7919061222d565b601f60008282546114f89190612163565b9091555050604051601a9061150c90612176565b90815260200160405180910390205481611526919061222d565b602060008282546115379190612163565b9091555050604051601a9061154b9061219a565b90815260200160405180910390205481611565919061222d565b602160008282546115769190612163565b9091555050604051601a9061158a906121af565b908152602001604051809103902054816115a4919061222d565b602260008282546115b59190612163565b925050819055506000602254602154602054601f546115d49190612163565b6115de9190612163565b6115e89190612163565b9050806000036115fe5785945050505050610712565b6000601c60019054906101000a90046001600160a01b03166001600160a01b031663d06ca61f602254602154602054601f5461163a9190612163565b6116449190612163565b61164e9190612163565b876040518363ffffffff1660e01b815260040161166c929190612288565b600060405180830381865afa158015611689573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116b191908101906122a9565b6001815181106116c3576116c36121d8565b602002602001015190506008548110611c9a5760225460215447916000916116ed9060029061220b565b602054601f546116fd9190612163565b6117079190612163565b6117119190612163565b905061173330601c60019054906101000a90046001600160a01b031683610e92565b601c546040516318cbafe560e01b81526101009091046001600160a01b0316906318cbafe5906117709084906000908c9030904290600401612367565b6000604051808303816000875af115801561178f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117b791908101906122a9565b5060006117c483476123a3565b9050600060026021546117d7919061220b565b90506000670de0b6b3a76400008760026021546117f4919061220b565b61180690670de0b6b3a764000061222d565b611810919061220b565b61181a908561222d565b611824919061220b565b90506000670de0b6b3a764000088601f54670de0b6b3a7640000611848919061222d565b611852919061220b565b61185c908661222d565b611866919061220b565b90506000670de0b6b3a764000089602054670de0b6b3a764000061188a919061222d565b611894919061220b565b61189e908761222d565b6118a8919061220b565b90506000670de0b6b3a76400008a602254670de0b6b3a76400006118cc919061222d565b6118d6919061220b565b6118e0908861222d565b6118ea919061220b565b905061190c30601c60019054906101000a90046001600160a01b031687610e92565b6000806000601c60019054906101000a90046001600160a01b03166001600160a01b031663f305d71988308b600080601b6040516119499061219a565b908152604051908190036020018120546001600160e01b031960e089901b1682526001600160a01b039586166004830152602482019490945260448101929092526064820152911660848201524260a482015260c40160606040518083038185885af11580156119bd573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906119e291906123b6565b9194509250905060006119f5848c612163565b602254602154602054601f54611a0b9190612163565b611a159190612163565b611a1f9190612163565b611a2991906123a3565b90508015611a6257611a6230601b604051611a4390612176565b908152604051908190036020019020546001600160a01b031683610fb6565b601b604051611a7090612185565b908152604051908190036020018120546001600160a01b031690889060006040518083038185875af1925050503d8060008114611ac9576040519150601f19603f3d011682016040523d82523d6000602084013e611ace565b606091505b505050601b604051611adf90612176565b908152604051908190036020018120546001600160a01b031690879060006040518083038185875af1925050503d8060008114611b38576040519150601f19603f3d011682016040523d82523d6000602084013e611b3d565b606091505b505050601b604051611b4e906121af565b908152604051908190036020018120546001600160a01b031690869060006040518083038185875af1925050503d8060008114611ba7576040519150601f19603f3d011682016040523d82523d6000602084013e611bac565b606091505b50505060008589888a611bbf9190612163565b611bc99190612163565b611bd39190612163565b611bdd908c6123a3565b1115611c7957601b604051611bf190612185565b908152604051908190036020019020546001600160a01b03168589611c16898b612163565b611c209190612163565b611c2a9190612163565b611c34908c6123a3565b604051600081818185875af1925050503d8060008114611c70576040519150601f19603f3d011682016040523d82523d6000602084013e611c75565b606091505b5050505b50506000601f81905560208190556021819055602255505050505050505050505b50505b611ca782866123a3565b945050505b50909392505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316611d6b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106f6565b6001600160a01b038216611dcd5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106f6565b6001600160a01b03831660009081526020819052604090205481811015611e455760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106f6565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611e7c908490612163565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611ec891815260200190565b60405180910390a350505050565b600060208083528351808285015260005b81811015611f0357858101830151858201604001528201611ee7565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461075c57600080fd5b60008060408385031215611f4c57600080fd5b8235611f5781611f24565b946020939093013593505050565b600080600060608486031215611f7a57600080fd5b8335611f8581611f24565b92506020840135611f9581611f24565b929592945050506040919091013590565b600060208284031215611fb857600080fd5b813561071281611f24565b60008060008060808587031215611fd957600080fd5b5050823594602084013594506040840135936060013592509050565b8035801515811461200557600080fd5b919050565b6000806040838503121561201d57600080fd5b823561202881611f24565b915061203660208401611ff5565b90509250929050565b60008060006060848603121561205457600080fd5b833561205f81611f24565b9250602084013561206f81611f24565b9150604084013561207f81611f24565b809150509250925092565b60006020828403121561209c57600080fd5b61071282611ff5565b600080604083850312156120b857600080fd5b82356120c381611f24565b915060208301356120d381611f24565b809150509250929050565b600181811c908216806120f257607f821691505b60208210810361211257634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b808201808211156106625761066261214d565b623232bb60e91b815260030190565b686d61726b6574696e6760b81b815260090190565b686c697175696469747960b81b815260090190565b666368617269747960c81b815260070190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60006020828403121561220057600080fd5b815161071281611f24565b60008261222857634e487b7160e01b600052601260045260246000fd5b500490565b80820281158282048414176106625761066261214d565b600081518084526020808501945080840160005b8381101561227d5781516001600160a01b031687529582019590820190600101612258565b509495945050505050565b8281526040602082015260006122a16040830184612244565b949350505050565b600060208083850312156122bc57600080fd5b825167ffffffffffffffff808211156122d457600080fd5b818501915085601f8301126122e857600080fd5b8151818111156122fa576122fa6121c2565b8060051b604051601f19603f8301168101818110858211171561231f5761231f6121c2565b60405291825284820192508381018501918883111561233d57600080fd5b938501935b8285101561235b57845184529385019392850192612342565b98975050505050505050565b85815284602082015260a06040820152600061238660a0830186612244565b6001600160a01b0394909416606083015250608001529392505050565b818103818111156106625761066261214d565b6000806000606084860312156123cb57600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220c12a73223d9178098a75d29e45a0b2ba96368558a076cc8cc9e5d1dca39aa97564736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000002200000000000000000000000000000000000000000000000000000000000000260000000000000000000000000000000000000000000000000000000000000a45500000000000000000000000051e46fddf884518d96ebea18023f7b2d0a82582a0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000003ce8e0c2a077718384d51c54e1f956cc40c702fd0000000000000000000000003ce8e0c2a077718384d51c54e1f956cc40c702fd0000000000000000000000003ce8e0c2a077718384d51c54e1f956cc40c702fd0000000000000000000000003ce8e0c2a077718384d51c54e1f956cc40c702fd000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000190000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000019000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005c3863432300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005c386343230000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _tokenName (string): Æ420
Arg [1] : _tokenSymbol (string): Æ420
Arg [2] : _supply (uint256): 42069
Arg [3] : _addr (address[6]): 0x51e46fDDF884518d96EbeA18023f7B2d0A82582a,0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D,0x3CE8e0c2a077718384D51c54e1F956cC40c702Fd,0x3CE8e0c2a077718384D51c54e1F956cC40c702Fd,0x3CE8e0c2a077718384D51c54e1F956cC40c702Fd,0x3CE8e0c2a077718384D51c54e1F956cC40c702Fd
Arg [4] : _value (uint256[8]): 0,25,0,0,0,25,0,0
-----Encoded View---------------
21 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000260
Arg [2] : 000000000000000000000000000000000000000000000000000000000000a455
Arg [3] : 00000000000000000000000051e46fddf884518d96ebea18023f7b2d0a82582a
Arg [4] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [5] : 0000000000000000000000003ce8e0c2a077718384d51c54e1f956cc40c702fd
Arg [6] : 0000000000000000000000003ce8e0c2a077718384d51c54e1f956cc40c702fd
Arg [7] : 0000000000000000000000003ce8e0c2a077718384d51c54e1f956cc40c702fd
Arg [8] : 0000000000000000000000003ce8e0c2a077718384d51c54e1f956cc40c702fd
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000019
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000019
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [18] : c386343230000000000000000000000000000000000000000000000000000000
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [20] : c386343230000000000000000000000000000000000000000000000000000000
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.