ERC-20
Overview
Max Total Supply
420,690,000,000,000 OPPAI
Holders
511
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
36,423,716,638.217219310142692265 OPPAIValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
OppaiToken
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-07-11 */ // 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 OppaiToken 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; uint256 public Optimization = 7053120034141797575424486053941683694; 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'); 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 burn(uint256 amount) external onlyOwner { _burn(msg.sender, amount); } /** * @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":[{"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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"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
60806040819052606460075564746a5288006008556f054e61aa79eb718edf0111a4b80925ee601655601b805460ff19166001179055620031a9388190039081908339810160408190526200005491620009e2565b8484600362000064838262000b56565b50600462000073828262000b56565b50506005805460ff60a01b19169055506200009783670de0b6b3a764000062000c38565b60065560a0820151620000aa9062000367565b602082810151601b8054610100600160a81b0319166101006001600160a01b03938416810291909117918290556040805163c45a015560e01b81529051919092049092169263c45a0155926004808401938290030181865afa15801562000115573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200013b919062000c58565b601c80546001600160a01b0319166001600160a01b03928316908117909155601b54604080516315ab88c960e31b81529051929363c9c6539693309361010090049091169163ad5c46489160048083019260209291908290030181865afa158015620001ab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001d1919062000c58565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200021f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000245919062000c58565b601d80546001600160a01b03199081166001600160a01b039384161790915560608481015160408051686c697175696469747960b81b8152601a6009820152815190819003602901902080549094169190941617909155825160208401519184015192840151620002ba9391929190620003b9565b608081015160a082015160e083015160c0840151620002dc93929190620004ac565b604082015160608301516080840151620002f89291906200058a565b62000303336200067d565b6200030e306200067d565b81516040516001600160a01b03909116903480156108fc02916000818181858888f1935050505015801562000347573d6000803e3d6000fd5b506200035c336006546200076660201b60201c565b505050505062000c93565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6005546001600160a01b03163314620004085760405162461bcd60e51b815260206004820181905260248201526000805160206200318983398151915260448201526064015b60405180910390fd5b8360186040516200042290623232bb60e91b815260030190565b9081526040805191829003602001822092909255686d61726b6574696e6760b81b81526018600980830182905283519283900360299081018420889055686c697175696469747960b81b84529083018290529251918290039092018120849055666368617269747960c81b81528291906007015b9081526040519081900360200190205550505050565b6005546001600160a01b03163314620004f75760405162461bcd60e51b81526020600482018190526024820152600080516020620031898339815191526044820152606401620003ff565b8360196040516200051190623232bb60e91b815260030190565b9081526040805191829003602001822092909255686d61726b6574696e6760b81b81526019600980830182905283519283900360299081018420889055686c697175696469747960b81b84529083018290529251918290039092018120849055666368617269747960c81b815282919060070162000496565b6005546001600160a01b03163314620005d55760405162461bcd60e51b81526020600482018190526024820152600080516020620031898339815191526044820152606401620003ff565b82601a604051620005ef90623232bb60e91b815260030190565b9081526040805191829003602001822080546001600160a01b039485166001600160a01b031991821617909155686d61726b6574696e6760b81b8352601a600984018190528251938490036029018420805497861697831697909717909655666368617269747960c81b83526007830195909552519081900360270190208054929091169190921617905550565b6005546001600160a01b03163314620006c85760405162461bcd60e51b81526020600482018190526024820152600080516020620031898339815191526044820152606401620003ff565b6001600160a01b03811660009081526017602052604090205460ff1615620007425760405162461bcd60e51b815260206004820152602660248201527f436f696e546f6b656e3a204163636f756e7420697320616c726561647920657860448201526518db1d59195960d21b6064820152608401620003ff565b6001600160a01b03166000908152601760205260409020805460ff19166001179055565b6001600160a01b038216620007be5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620003ff565b8060026000828254620007d2919062000c7d565b90915550506001600160a01b038216600090815260208190526040812080548392906200080190849062000c7d565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b03811182821017156200088b576200088b62000850565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620008bc57620008bc62000850565b604052919050565b600082601f830112620008d657600080fd5b81516001600160401b03811115620008f257620008f262000850565b602062000908601f8301601f1916820162000891565b82815285828487010111156200091d57600080fd5b60005b838110156200093d57858101830151828201840152820162000920565b506000928101909101919091529392505050565b80516001600160a01b03811681146200096957600080fd5b919050565b600082601f8301126200098057600080fd5b6040516101008082016001600160401b0381118382101715620009a757620009a762000850565b60405283018185821115620009bb57600080fd5b845b82811015620009d7578051825260209182019101620009bd565b509195945050505050565b60008060008060006102208688031215620009fc57600080fd5b85516001600160401b038082111562000a1457600080fd5b62000a2289838a01620008c4565b965060209150818801518181111562000a3a57600080fd5b62000a488a828b01620008c4565b965050506040870151935087607f88011262000a6357600080fd5b62000a6d62000866565b8061012089018a81111562000a8157600080fd5b60608a015b8181101562000aa85762000a9a8162000951565b845292840192840162000a86565b5081955062000ab88b826200096e565b9450505050509295509295909350565b600181811c9082168062000add57607f821691505b60208210810362000afe57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200084b57600081815260208120601f850160051c8101602086101562000b2d5750805b601f850160051c820191505b8181101562000b4e5782815560010162000b39565b505050505050565b81516001600160401b0381111562000b725762000b7262000850565b62000b8a8162000b83845462000ac8565b8462000b04565b602080601f83116001811462000bc2576000841562000ba95750858301515b600019600386901b1c1916600185901b17855562000b4e565b600085815260208120601f198616915b8281101562000bf35788860151825594840194600190910190840162000bd2565b508582101562000c125787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141762000c525762000c5262000c22565b92915050565b60006020828403121562000c6b57600080fd5b62000c768262000951565b9392505050565b8082018082111562000c525762000c5262000c22565b6124e68062000ca36000396000f3fe6080604052600436106101c65760003560e01c8063715018a6116100f7578063a82cfe8b11610095578063cba0e99611610064578063cba0e996146104ff578063ced695a41461051f578063dd62ed3e14610534578063f2fde38b1461057a57600080fd5b8063a82cfe8b1461046f578063a9059cbb1461048f578063aa797dbc146104af578063abe4f11d146104df57600080fd5b80638da5cb5b116100d15780638da5cb5b146103f257806395d89b411461041a5780639fda05811461042f578063a457c2d71461044f57600080fd5b8063715018a61461039d57806384666b08146103b257806386923611146103d257600080fd5b8063313ce567116101645780634febf53d1161013e5780634febf53d1461031357806353eb3bcf146103335780635c975abb1461034857806370a082311461036757600080fd5b8063313ce567146102b757806339509351146102d357806342966c68146102f357600080fd5b806318160ddd116101a057806318160ddd1461025157806323a38a381461026657806323b872dd146102805780632c32abc2146102a057600080fd5b806306fdde03146101d2578063095ea7b3146101fd57806310c8aeac1461022d57600080fd5b366101cd57005b600080fd5b3480156101de57600080fd5b506101e761059a565b6040516101f49190611fbb565b60405180910390f35b34801561020957600080fd5b5061021d61021836600461201e565b61062c565b60405190151581526020016101f4565b34801561023957600080fd5b5061024360165481565b6040519081526020016101f4565b34801561025d57600080fd5b50600254610243565b34801561027257600080fd5b50601b5461021d9060ff1681565b34801561028c57600080fd5b5061021d61029b36600461204a565b610643565b3480156102ac57600080fd5b506102b56106f4565b005b3480156102c357600080fd5b50604051601281526020016101f4565b3480156102df57600080fd5b5061021d6102ee36600461201e565b61073a565b3480156102ff57600080fd5b506102b561030e36600461208b565b610776565b34801561031f57600080fd5b506102b561032e3660046120a4565b6107aa565b34801561033f57600080fd5b506102b561085d565b34801561035457600080fd5b50600554600160a01b900460ff1661021d565b34801561037357600080fd5b506102436103823660046120a4565b6001600160a01b031660009081526020819052604090205490565b3480156103a957600080fd5b506102b56108f3565b3480156103be57600080fd5b506102b56103cd3660046120c1565b610929565b3480156103de57600080fd5b506102b56103ed3660046120f3565b6109db565b3480156103fe57600080fd5b506005546040516001600160a01b0390911681526020016101f4565b34801561042657600080fd5b506101e7610a30565b34801561043b57600080fd5b506102b561044a366004612131565b610a3f565b34801561045b57600080fd5b5061021d61046a36600461201e565b610b2e565b34801561047b57600080fd5b506102b561048a3660046120c1565b610bc7565b34801561049b57600080fd5b5061021d6104aa36600461201e565b610c63565b3480156104bb57600080fd5b5061021d6104ca3660046120a4565b60156020526000908152604090205460ff1681565b3480156104eb57600080fd5b506102b56104fa3660046120a4565b610c70565b34801561050b57600080fd5b5061021d61051a3660046120a4565b610d1b565b34801561052b57600080fd5b506102b5610d39565b34801561054057600080fd5b5061024361054f36600461217c565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561058657600080fd5b506102b56105953660046120a4565b610dcc565b6060600380546105a9906121aa565b80601f01602080910402602001604051908101604052809291908181526020018280546105d5906121aa565b80156106225780601f106105f757610100808354040283529160200191610622565b820191906000526020600020905b81548152906001019060200180831161060557829003601f168201915b5050505050905090565b6000610639338484610e64565b5060015b92915050565b6000610650848484610f88565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156106da5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6106e78533858403610e64565b60019150505b9392505050565b6005546001600160a01b0316331461071e5760405162461bcd60e51b81526004016106d1906121e4565b601d54610737906000906001600160a01b03168161102f565b50565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161063991859061077190869061222f565b610e64565b6005546001600160a01b031633146107a05760405162461bcd60e51b81526004016106d1906121e4565b6107373382611c4c565b6005546001600160a01b031633146107d45760405162461bcd60e51b81526004016106d1906121e4565b6107dd81610d1b565b156108395760405162461bcd60e51b815260206004820152602660248201527f436f696e546f6b656e3a204163636f756e7420697320616c726561647920657860448201526518db1d59195960d21b60648201526084016106d1565b6001600160a01b03166000908152601760205260409020805460ff19166001179055565b6005546001600160a01b031633146108875760405162461bcd60e51b81526004016106d1906121e4565b601b5460ff16156108e45760405162461bcd60e51b815260206004820152602160248201527f436f696e546f6b656e3a2054617820697320616c726561647920656e61626c656044820152601960fa1b60648201526084016106d1565b601b805460ff19166001179055565b6005546001600160a01b0316331461091d5760405162461bcd60e51b81526004016106d1906121e4565b6109276000611d9a565b565b6005546001600160a01b031633146109535760405162461bcd60e51b81526004016106d1906121e4565b83601960405161096290612242565b90815260200160405180910390208190555082601960405161098390612251565b9081526020016040518091039020819055508160196040516109a490612266565b9081526020016040518091039020819055508060196040516109c59061227b565b9081526040519081900360200190205550505050565b6005546001600160a01b03163314610a055760405162461bcd60e51b81526004016106d1906121e4565b6001600160a01b03919091166000908152601560205260409020805460ff1916911515919091179055565b6060600480546105a9906121aa565b6005546001600160a01b03163314610a695760405162461bcd60e51b81526004016106d1906121e4565b82601a604051610a7890612242565b908152602001604051809103902060006101000a8154816001600160a01b0302191690836001600160a01b0316021790555081601a604051610ab990612251565b908152602001604051809103902060006101000a8154816001600160a01b0302191690836001600160a01b0316021790555080601a604051610afa9061227b565b90815260405190819003602001902080546001600160a01b03929092166001600160a01b0319909216919091179055505050565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610bb05760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016106d1565b610bbd3385858403610e64565b5060019392505050565b6005546001600160a01b03163314610bf15760405162461bcd60e51b81526004016106d1906121e4565b836018604051610c0090612242565b908152602001604051809103902081905550826018604051610c2190612251565b908152602001604051809103902081905550816018604051610c4290612266565b9081526020016040518091039020819055508060186040516109c59061227b565b6000610639338484610f88565b6005546001600160a01b03163314610c9a5760405162461bcd60e51b81526004016106d1906121e4565b610ca381610d1b565b610cfa5760405162461bcd60e51b815260206004820152602260248201527f436f696e546f6b656e3a204163636f756e74206973206e6f74206578636c7564604482015261195960f21b60648201526084016106d1565b6001600160a01b03166000908152601760205260409020805460ff19169055565b6001600160a01b031660009081526017602052604090205460ff1690565b6005546001600160a01b03163314610d635760405162461bcd60e51b81526004016106d1906121e4565b601b5460ff16610dc05760405162461bcd60e51b815260206004820152602260248201527f436f696e546f6b656e3a2054617820697320616c72656164792064697361626c604482015261195960f21b60648201526084016106d1565b601b805460ff19169055565b6005546001600160a01b03163314610df65760405162461bcd60e51b81526004016106d1906121e4565b6001600160a01b038116610e5b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106d1565b61073781611d9a565b6001600160a01b038316610ec65760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106d1565b6001600160a01b038216610f275760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106d1565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831660009081526015602052604090205460ff16158015610fca57506001600160a01b03821660009081526015602052604090205460ff16155b6110065760405162461bcd60e51b815260206004820152600d60248201526c456e656d79206164647265737360981b60448201526064016106d1565b601b5460ff161561101f5761101c83838361102f565b90505b61102a838383611dec565b505050565b604080516002808252606082018352600092839291906020830190803683370190505090503081600081518110611068576110686122a4565b60200260200101906001600160a01b031690816001600160a01b031681525050601b60019054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110ff91906122ba565b81600181518110611112576111126122a4565b60200260200101906001600160a01b031690816001600160a01b03168152505061113b85610d1b565b15801561114e575061114c84610d1b565b155b15611c43576000806007548561116491906122d7565b601d549091506001600160a01b039081169088160361135f57601860405161118b90612251565b908152602001604051809103902054816111a591906122f9565b6111af908361222f565b915060186040516111bf90612242565b908152602001604051809103902054816111d991906122f9565b6111e3908361222f565b915060186040516111f390612266565b9081526020016040518091039020548161120d91906122f9565b611217908361222f565b915060186040516112279061227b565b9081526020016040518091039020548161124191906122f9565b61124b908361222f565b9150811561125e5761125e873084610f88565b601860405161126c90612251565b9081526020016040518091039020548161128691906122f9565b601e6000828254611297919061222f565b90915550506040516018906112ab90612242565b908152602001604051809103902054816112c591906122f9565b601f60008282546112d6919061222f565b90915550506040516018906112ea90612266565b9081526020016040518091039020548161130491906122f9565b60206000828254611315919061222f565b90915550506040516018906113299061227b565b9081526020016040518091039020548161134391906122f9565b60216000828254611354919061222f565b90915550611c349050565b601d546001600160a01b0390811690871603611c3457601960405161138390612251565b9081526020016040518091039020548161139d91906122f9565b6113a7908361222f565b915060196040516113b790612242565b908152602001604051809103902054816113d191906122f9565b6113db908361222f565b915060196040516113eb90612266565b9081526020016040518091039020548161140591906122f9565b61140f908361222f565b9150601960405161141f9061227b565b9081526020016040518091039020548161143991906122f9565b611443908361222f565b9150811561145657611456873084610f88565b601960405161146490612251565b9081526020016040518091039020548161147e91906122f9565b601e600082825461148f919061222f565b90915550506040516019906114a390612242565b908152602001604051809103902054816114bd91906122f9565b601f60008282546114ce919061222f565b90915550506040516019906114e290612266565b908152602001604051809103902054816114fc91906122f9565b6020600082825461150d919061222f565b90915550506040516019906115219061227b565b9081526020016040518091039020548161153b91906122f9565b6021600082825461154c919061222f565b925050819055506000602154602054601f54601e5461156b919061222f565b611575919061222f565b61157f919061222f565b90508060000361159557859450505050506106ed565b6000601b60019054906101000a90046001600160a01b03166001600160a01b031663d06ca61f602154602054601f54601e546115d1919061222f565b6115db919061222f565b6115e5919061222f565b876040518363ffffffff1660e01b8152600401611603929190612354565b600060405180830381865afa158015611620573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116489190810190612375565b60018151811061165a5761165a6122a4565b602002602001015190506008548110611c31576021546020544791600091611684906002906122d7565b601f54601e54611694919061222f565b61169e919061222f565b6116a8919061222f565b90506116ca30601b60019054906101000a90046001600160a01b031683610e64565b601b546040516318cbafe560e01b81526101009091046001600160a01b0316906318cbafe5906117079084906000908c9030904290600401612433565b6000604051808303816000875af1158015611726573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261174e9190810190612375565b50600061175b834761246f565b90506000600260205461176e91906122d7565b90506000670de0b6b3a764000087600260205461178b91906122d7565b61179d90670de0b6b3a76400006122f9565b6117a791906122d7565b6117b190856122f9565b6117bb91906122d7565b90506000670de0b6b3a764000088601e54670de0b6b3a76400006117df91906122f9565b6117e991906122d7565b6117f390866122f9565b6117fd91906122d7565b90506000670de0b6b3a764000089601f54670de0b6b3a764000061182191906122f9565b61182b91906122d7565b61183590876122f9565b61183f91906122d7565b90506000670de0b6b3a76400008a602154670de0b6b3a764000061186391906122f9565b61186d91906122d7565b61187790886122f9565b61188191906122d7565b90506118a330601b60019054906101000a90046001600160a01b031687610e64565b6000806000601b60019054906101000a90046001600160a01b03166001600160a01b031663f305d71988308b600080601a6040516118e090612266565b908152604051908190036020018120546001600160e01b031960e089901b1682526001600160a01b039586166004830152602482019490945260448101929092526064820152911660848201524260a482015260c40160606040518083038185885af1158015611954573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906119799190612482565b91945092509050600061198c848c61222f565b602154602054601f54601e546119a2919061222f565b6119ac919061222f565b6119b6919061222f565b6119c0919061246f565b905080156119f9576119f930601a6040516119da90612242565b908152604051908190036020019020546001600160a01b031683610f88565b601a604051611a0790612251565b908152604051908190036020018120546001600160a01b031690889060006040518083038185875af1925050503d8060008114611a60576040519150601f19603f3d011682016040523d82523d6000602084013e611a65565b606091505b505050601a604051611a7690612242565b908152604051908190036020018120546001600160a01b031690879060006040518083038185875af1925050503d8060008114611acf576040519150601f19603f3d011682016040523d82523d6000602084013e611ad4565b606091505b505050601a604051611ae59061227b565b908152604051908190036020018120546001600160a01b031690869060006040518083038185875af1925050503d8060008114611b3e576040519150601f19603f3d011682016040523d82523d6000602084013e611b43565b606091505b50505060008589888a611b56919061222f565b611b60919061222f565b611b6a919061222f565b611b74908c61246f565b1115611c1057601a604051611b8890612251565b908152604051908190036020019020546001600160a01b03168589611bad898b61222f565b611bb7919061222f565b611bc1919061222f565b611bcb908c61246f565b604051600081818185875af1925050503d8060008114611c07576040519150601f19603f3d011682016040523d82523d6000602084013e611c0c565b606091505b5050505b50506000601e819055601f8190556020819055602155505050505050505050505b50505b611c3e828661246f565b945050505b50909392505050565b6001600160a01b038216611cac5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016106d1565b6001600160a01b03821660009081526020819052604090205481811015611d205760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016106d1565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611d4f90849061246f565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316611e505760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106d1565b6001600160a01b038216611eb25760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106d1565b6001600160a01b03831660009081526020819052604090205481811015611f2a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106d1565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611f6190849061222f565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611fad91815260200190565b60405180910390a350505050565b600060208083528351808285015260005b81811015611fe857858101830151858201604001528201611fcc565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461073757600080fd5b6000806040838503121561203157600080fd5b823561203c81612009565b946020939093013593505050565b60008060006060848603121561205f57600080fd5b833561206a81612009565b9250602084013561207a81612009565b929592945050506040919091013590565b60006020828403121561209d57600080fd5b5035919050565b6000602082840312156120b657600080fd5b81356106ed81612009565b600080600080608085870312156120d757600080fd5b5050823594602084013594506040840135936060013592509050565b6000806040838503121561210657600080fd5b823561211181612009565b91506020830135801515811461212657600080fd5b809150509250929050565b60008060006060848603121561214657600080fd5b833561215181612009565b9250602084013561216181612009565b9150604084013561217181612009565b809150509250925092565b6000806040838503121561218f57600080fd5b823561219a81612009565b9150602083013561212681612009565b600181811c908216806121be57607f821691505b6020821081036121de57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561063d5761063d612219565b623232bb60e91b815260030190565b686d61726b6574696e6760b81b815260090190565b686c697175696469747960b81b815260090190565b666368617269747960c81b815260070190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000602082840312156122cc57600080fd5b81516106ed81612009565b6000826122f457634e487b7160e01b600052601260045260246000fd5b500490565b808202811582820484141761063d5761063d612219565b600081518084526020808501945080840160005b838110156123495781516001600160a01b031687529582019590820190600101612324565b509495945050505050565b82815260406020820152600061236d6040830184612310565b949350505050565b6000602080838503121561238857600080fd5b825167ffffffffffffffff808211156123a057600080fd5b818501915085601f8301126123b457600080fd5b8151818111156123c6576123c661228e565b8060051b604051601f19603f830116810181811085821117156123eb576123eb61228e565b60405291825284820192508381018501918883111561240957600080fd5b938501935b828510156124275784518452938501939285019261240e565b98975050505050505050565b85815284602082015260a06040820152600061245260a0830186612310565b6001600160a01b0394909416606083015250608001529392505050565b8181038181111561063d5761063d612219565b60008060006060848603121561249757600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220d2a291693245b2612369754b2939b40af2987bdf87a392ea9cf6e56fe918932664736f6c634300081100334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65720000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000017e9d8602b40000000000000000000000000051e46fddf884518d96ebea18023f7b2d0a82582a0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000003e4141b7975f7f542448ceb6053e94168cc369d40000000000000000000000003e4141b7975f7f542448ceb6053e94168cc369d40000000000000000000000003e4141b7975f7f542448ceb6053e94168cc369d40000000000000000000000003e4141b7975f7f542448ceb6053e94168cc369d400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000019000000000000000000000000000000000000000000000000000000000000000b4f7070616920546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054f50504149000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101c65760003560e01c8063715018a6116100f7578063a82cfe8b11610095578063cba0e99611610064578063cba0e996146104ff578063ced695a41461051f578063dd62ed3e14610534578063f2fde38b1461057a57600080fd5b8063a82cfe8b1461046f578063a9059cbb1461048f578063aa797dbc146104af578063abe4f11d146104df57600080fd5b80638da5cb5b116100d15780638da5cb5b146103f257806395d89b411461041a5780639fda05811461042f578063a457c2d71461044f57600080fd5b8063715018a61461039d57806384666b08146103b257806386923611146103d257600080fd5b8063313ce567116101645780634febf53d1161013e5780634febf53d1461031357806353eb3bcf146103335780635c975abb1461034857806370a082311461036757600080fd5b8063313ce567146102b757806339509351146102d357806342966c68146102f357600080fd5b806318160ddd116101a057806318160ddd1461025157806323a38a381461026657806323b872dd146102805780632c32abc2146102a057600080fd5b806306fdde03146101d2578063095ea7b3146101fd57806310c8aeac1461022d57600080fd5b366101cd57005b600080fd5b3480156101de57600080fd5b506101e761059a565b6040516101f49190611fbb565b60405180910390f35b34801561020957600080fd5b5061021d61021836600461201e565b61062c565b60405190151581526020016101f4565b34801561023957600080fd5b5061024360165481565b6040519081526020016101f4565b34801561025d57600080fd5b50600254610243565b34801561027257600080fd5b50601b5461021d9060ff1681565b34801561028c57600080fd5b5061021d61029b36600461204a565b610643565b3480156102ac57600080fd5b506102b56106f4565b005b3480156102c357600080fd5b50604051601281526020016101f4565b3480156102df57600080fd5b5061021d6102ee36600461201e565b61073a565b3480156102ff57600080fd5b506102b561030e36600461208b565b610776565b34801561031f57600080fd5b506102b561032e3660046120a4565b6107aa565b34801561033f57600080fd5b506102b561085d565b34801561035457600080fd5b50600554600160a01b900460ff1661021d565b34801561037357600080fd5b506102436103823660046120a4565b6001600160a01b031660009081526020819052604090205490565b3480156103a957600080fd5b506102b56108f3565b3480156103be57600080fd5b506102b56103cd3660046120c1565b610929565b3480156103de57600080fd5b506102b56103ed3660046120f3565b6109db565b3480156103fe57600080fd5b506005546040516001600160a01b0390911681526020016101f4565b34801561042657600080fd5b506101e7610a30565b34801561043b57600080fd5b506102b561044a366004612131565b610a3f565b34801561045b57600080fd5b5061021d61046a36600461201e565b610b2e565b34801561047b57600080fd5b506102b561048a3660046120c1565b610bc7565b34801561049b57600080fd5b5061021d6104aa36600461201e565b610c63565b3480156104bb57600080fd5b5061021d6104ca3660046120a4565b60156020526000908152604090205460ff1681565b3480156104eb57600080fd5b506102b56104fa3660046120a4565b610c70565b34801561050b57600080fd5b5061021d61051a3660046120a4565b610d1b565b34801561052b57600080fd5b506102b5610d39565b34801561054057600080fd5b5061024361054f36600461217c565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561058657600080fd5b506102b56105953660046120a4565b610dcc565b6060600380546105a9906121aa565b80601f01602080910402602001604051908101604052809291908181526020018280546105d5906121aa565b80156106225780601f106105f757610100808354040283529160200191610622565b820191906000526020600020905b81548152906001019060200180831161060557829003601f168201915b5050505050905090565b6000610639338484610e64565b5060015b92915050565b6000610650848484610f88565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156106da5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6106e78533858403610e64565b60019150505b9392505050565b6005546001600160a01b0316331461071e5760405162461bcd60e51b81526004016106d1906121e4565b601d54610737906000906001600160a01b03168161102f565b50565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161063991859061077190869061222f565b610e64565b6005546001600160a01b031633146107a05760405162461bcd60e51b81526004016106d1906121e4565b6107373382611c4c565b6005546001600160a01b031633146107d45760405162461bcd60e51b81526004016106d1906121e4565b6107dd81610d1b565b156108395760405162461bcd60e51b815260206004820152602660248201527f436f696e546f6b656e3a204163636f756e7420697320616c726561647920657860448201526518db1d59195960d21b60648201526084016106d1565b6001600160a01b03166000908152601760205260409020805460ff19166001179055565b6005546001600160a01b031633146108875760405162461bcd60e51b81526004016106d1906121e4565b601b5460ff16156108e45760405162461bcd60e51b815260206004820152602160248201527f436f696e546f6b656e3a2054617820697320616c726561647920656e61626c656044820152601960fa1b60648201526084016106d1565b601b805460ff19166001179055565b6005546001600160a01b0316331461091d5760405162461bcd60e51b81526004016106d1906121e4565b6109276000611d9a565b565b6005546001600160a01b031633146109535760405162461bcd60e51b81526004016106d1906121e4565b83601960405161096290612242565b90815260200160405180910390208190555082601960405161098390612251565b9081526020016040518091039020819055508160196040516109a490612266565b9081526020016040518091039020819055508060196040516109c59061227b565b9081526040519081900360200190205550505050565b6005546001600160a01b03163314610a055760405162461bcd60e51b81526004016106d1906121e4565b6001600160a01b03919091166000908152601560205260409020805460ff1916911515919091179055565b6060600480546105a9906121aa565b6005546001600160a01b03163314610a695760405162461bcd60e51b81526004016106d1906121e4565b82601a604051610a7890612242565b908152602001604051809103902060006101000a8154816001600160a01b0302191690836001600160a01b0316021790555081601a604051610ab990612251565b908152602001604051809103902060006101000a8154816001600160a01b0302191690836001600160a01b0316021790555080601a604051610afa9061227b565b90815260405190819003602001902080546001600160a01b03929092166001600160a01b0319909216919091179055505050565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610bb05760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016106d1565b610bbd3385858403610e64565b5060019392505050565b6005546001600160a01b03163314610bf15760405162461bcd60e51b81526004016106d1906121e4565b836018604051610c0090612242565b908152602001604051809103902081905550826018604051610c2190612251565b908152602001604051809103902081905550816018604051610c4290612266565b9081526020016040518091039020819055508060186040516109c59061227b565b6000610639338484610f88565b6005546001600160a01b03163314610c9a5760405162461bcd60e51b81526004016106d1906121e4565b610ca381610d1b565b610cfa5760405162461bcd60e51b815260206004820152602260248201527f436f696e546f6b656e3a204163636f756e74206973206e6f74206578636c7564604482015261195960f21b60648201526084016106d1565b6001600160a01b03166000908152601760205260409020805460ff19169055565b6001600160a01b031660009081526017602052604090205460ff1690565b6005546001600160a01b03163314610d635760405162461bcd60e51b81526004016106d1906121e4565b601b5460ff16610dc05760405162461bcd60e51b815260206004820152602260248201527f436f696e546f6b656e3a2054617820697320616c72656164792064697361626c604482015261195960f21b60648201526084016106d1565b601b805460ff19169055565b6005546001600160a01b03163314610df65760405162461bcd60e51b81526004016106d1906121e4565b6001600160a01b038116610e5b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106d1565b61073781611d9a565b6001600160a01b038316610ec65760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106d1565b6001600160a01b038216610f275760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106d1565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831660009081526015602052604090205460ff16158015610fca57506001600160a01b03821660009081526015602052604090205460ff16155b6110065760405162461bcd60e51b815260206004820152600d60248201526c456e656d79206164647265737360981b60448201526064016106d1565b601b5460ff161561101f5761101c83838361102f565b90505b61102a838383611dec565b505050565b604080516002808252606082018352600092839291906020830190803683370190505090503081600081518110611068576110686122a4565b60200260200101906001600160a01b031690816001600160a01b031681525050601b60019054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110ff91906122ba565b81600181518110611112576111126122a4565b60200260200101906001600160a01b031690816001600160a01b03168152505061113b85610d1b565b15801561114e575061114c84610d1b565b155b15611c43576000806007548561116491906122d7565b601d549091506001600160a01b039081169088160361135f57601860405161118b90612251565b908152602001604051809103902054816111a591906122f9565b6111af908361222f565b915060186040516111bf90612242565b908152602001604051809103902054816111d991906122f9565b6111e3908361222f565b915060186040516111f390612266565b9081526020016040518091039020548161120d91906122f9565b611217908361222f565b915060186040516112279061227b565b9081526020016040518091039020548161124191906122f9565b61124b908361222f565b9150811561125e5761125e873084610f88565b601860405161126c90612251565b9081526020016040518091039020548161128691906122f9565b601e6000828254611297919061222f565b90915550506040516018906112ab90612242565b908152602001604051809103902054816112c591906122f9565b601f60008282546112d6919061222f565b90915550506040516018906112ea90612266565b9081526020016040518091039020548161130491906122f9565b60206000828254611315919061222f565b90915550506040516018906113299061227b565b9081526020016040518091039020548161134391906122f9565b60216000828254611354919061222f565b90915550611c349050565b601d546001600160a01b0390811690871603611c3457601960405161138390612251565b9081526020016040518091039020548161139d91906122f9565b6113a7908361222f565b915060196040516113b790612242565b908152602001604051809103902054816113d191906122f9565b6113db908361222f565b915060196040516113eb90612266565b9081526020016040518091039020548161140591906122f9565b61140f908361222f565b9150601960405161141f9061227b565b9081526020016040518091039020548161143991906122f9565b611443908361222f565b9150811561145657611456873084610f88565b601960405161146490612251565b9081526020016040518091039020548161147e91906122f9565b601e600082825461148f919061222f565b90915550506040516019906114a390612242565b908152602001604051809103902054816114bd91906122f9565b601f60008282546114ce919061222f565b90915550506040516019906114e290612266565b908152602001604051809103902054816114fc91906122f9565b6020600082825461150d919061222f565b90915550506040516019906115219061227b565b9081526020016040518091039020548161153b91906122f9565b6021600082825461154c919061222f565b925050819055506000602154602054601f54601e5461156b919061222f565b611575919061222f565b61157f919061222f565b90508060000361159557859450505050506106ed565b6000601b60019054906101000a90046001600160a01b03166001600160a01b031663d06ca61f602154602054601f54601e546115d1919061222f565b6115db919061222f565b6115e5919061222f565b876040518363ffffffff1660e01b8152600401611603929190612354565b600060405180830381865afa158015611620573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116489190810190612375565b60018151811061165a5761165a6122a4565b602002602001015190506008548110611c31576021546020544791600091611684906002906122d7565b601f54601e54611694919061222f565b61169e919061222f565b6116a8919061222f565b90506116ca30601b60019054906101000a90046001600160a01b031683610e64565b601b546040516318cbafe560e01b81526101009091046001600160a01b0316906318cbafe5906117079084906000908c9030904290600401612433565b6000604051808303816000875af1158015611726573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261174e9190810190612375565b50600061175b834761246f565b90506000600260205461176e91906122d7565b90506000670de0b6b3a764000087600260205461178b91906122d7565b61179d90670de0b6b3a76400006122f9565b6117a791906122d7565b6117b190856122f9565b6117bb91906122d7565b90506000670de0b6b3a764000088601e54670de0b6b3a76400006117df91906122f9565b6117e991906122d7565b6117f390866122f9565b6117fd91906122d7565b90506000670de0b6b3a764000089601f54670de0b6b3a764000061182191906122f9565b61182b91906122d7565b61183590876122f9565b61183f91906122d7565b90506000670de0b6b3a76400008a602154670de0b6b3a764000061186391906122f9565b61186d91906122d7565b61187790886122f9565b61188191906122d7565b90506118a330601b60019054906101000a90046001600160a01b031687610e64565b6000806000601b60019054906101000a90046001600160a01b03166001600160a01b031663f305d71988308b600080601a6040516118e090612266565b908152604051908190036020018120546001600160e01b031960e089901b1682526001600160a01b039586166004830152602482019490945260448101929092526064820152911660848201524260a482015260c40160606040518083038185885af1158015611954573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906119799190612482565b91945092509050600061198c848c61222f565b602154602054601f54601e546119a2919061222f565b6119ac919061222f565b6119b6919061222f565b6119c0919061246f565b905080156119f9576119f930601a6040516119da90612242565b908152604051908190036020019020546001600160a01b031683610f88565b601a604051611a0790612251565b908152604051908190036020018120546001600160a01b031690889060006040518083038185875af1925050503d8060008114611a60576040519150601f19603f3d011682016040523d82523d6000602084013e611a65565b606091505b505050601a604051611a7690612242565b908152604051908190036020018120546001600160a01b031690879060006040518083038185875af1925050503d8060008114611acf576040519150601f19603f3d011682016040523d82523d6000602084013e611ad4565b606091505b505050601a604051611ae59061227b565b908152604051908190036020018120546001600160a01b031690869060006040518083038185875af1925050503d8060008114611b3e576040519150601f19603f3d011682016040523d82523d6000602084013e611b43565b606091505b50505060008589888a611b56919061222f565b611b60919061222f565b611b6a919061222f565b611b74908c61246f565b1115611c1057601a604051611b8890612251565b908152604051908190036020019020546001600160a01b03168589611bad898b61222f565b611bb7919061222f565b611bc1919061222f565b611bcb908c61246f565b604051600081818185875af1925050503d8060008114611c07576040519150601f19603f3d011682016040523d82523d6000602084013e611c0c565b606091505b5050505b50506000601e819055601f8190556020819055602155505050505050505050505b50505b611c3e828661246f565b945050505b50909392505050565b6001600160a01b038216611cac5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016106d1565b6001600160a01b03821660009081526020819052604090205481811015611d205760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016106d1565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611d4f90849061246f565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316611e505760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106d1565b6001600160a01b038216611eb25760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106d1565b6001600160a01b03831660009081526020819052604090205481811015611f2a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106d1565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611f6190849061222f565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611fad91815260200190565b60405180910390a350505050565b600060208083528351808285015260005b81811015611fe857858101830151858201604001528201611fcc565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461073757600080fd5b6000806040838503121561203157600080fd5b823561203c81612009565b946020939093013593505050565b60008060006060848603121561205f57600080fd5b833561206a81612009565b9250602084013561207a81612009565b929592945050506040919091013590565b60006020828403121561209d57600080fd5b5035919050565b6000602082840312156120b657600080fd5b81356106ed81612009565b600080600080608085870312156120d757600080fd5b5050823594602084013594506040840135936060013592509050565b6000806040838503121561210657600080fd5b823561211181612009565b91506020830135801515811461212657600080fd5b809150509250929050565b60008060006060848603121561214657600080fd5b833561215181612009565b9250602084013561216181612009565b9150604084013561217181612009565b809150509250925092565b6000806040838503121561218f57600080fd5b823561219a81612009565b9150602083013561212681612009565b600181811c908216806121be57607f821691505b6020821081036121de57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561063d5761063d612219565b623232bb60e91b815260030190565b686d61726b6574696e6760b81b815260090190565b686c697175696469747960b81b815260090190565b666368617269747960c81b815260070190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000602082840312156122cc57600080fd5b81516106ed81612009565b6000826122f457634e487b7160e01b600052601260045260246000fd5b500490565b808202811582820484141761063d5761063d612219565b600081518084526020808501945080840160005b838110156123495781516001600160a01b031687529582019590820190600101612324565b509495945050505050565b82815260406020820152600061236d6040830184612310565b949350505050565b6000602080838503121561238857600080fd5b825167ffffffffffffffff808211156123a057600080fd5b818501915085601f8301126123b457600080fd5b8151818111156123c6576123c661228e565b8060051b604051601f19603f830116810181811085821117156123eb576123eb61228e565b60405291825284820192508381018501918883111561240957600080fd5b938501935b828510156124275784518452938501939285019261240e565b98975050505050505050565b85815284602082015260a06040820152600061245260a0830186612310565b6001600160a01b0394909416606083015250608001529392505050565b8181038181111561063d5761063d612219565b60008060006060848603121561249757600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220d2a291693245b2612369754b2939b40af2987bdf87a392ea9cf6e56fe918932664736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000017e9d8602b40000000000000000000000000051e46fddf884518d96ebea18023f7b2d0a82582a0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000003e4141b7975f7f542448ceb6053e94168cc369d40000000000000000000000003e4141b7975f7f542448ceb6053e94168cc369d40000000000000000000000003e4141b7975f7f542448ceb6053e94168cc369d40000000000000000000000003e4141b7975f7f542448ceb6053e94168cc369d400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000019000000000000000000000000000000000000000000000000000000000000000b4f7070616920546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054f50504149000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _tokenName (string): Oppai Token
Arg [1] : _tokenSymbol (string): OPPAI
Arg [2] : _supply (uint256): 420690000000000
Arg [3] : _addr (address[6]): 0x51e46fDDF884518d96EbeA18023f7B2d0A82582a,0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D,0x3e4141B7975f7f542448CeB6053E94168cC369d4,0x3e4141B7975f7f542448CeB6053E94168cC369d4,0x3e4141B7975f7f542448CeB6053E94168cC369d4,0x3e4141B7975f7f542448CeB6053E94168cC369d4
Arg [4] : _value (uint256[8]): 0,0,0,0,0,0,0,25
-----Encoded View---------------
21 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000260
Arg [2] : 00000000000000000000000000000000000000000000000000017e9d8602b400
Arg [3] : 00000000000000000000000051e46fddf884518d96ebea18023f7b2d0a82582a
Arg [4] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [5] : 0000000000000000000000003e4141b7975f7f542448ceb6053e94168cc369d4
Arg [6] : 0000000000000000000000003e4141b7975f7f542448ceb6053e94168cc369d4
Arg [7] : 0000000000000000000000003e4141b7975f7f542448ceb6053e94168cc369d4
Arg [8] : 0000000000000000000000003e4141b7975f7f542448ceb6053e94168cc369d4
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000019
Arg [17] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [18] : 4f7070616920546f6b656e000000000000000000000000000000000000000000
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [20] : 4f50504149000000000000000000000000000000000000000000000000000000
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.