ERC-20
Overview
Max Total Supply
100,000,000,000,000 zkInu
Holders
140
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
59,741,764,132.235399421927528037 zkInuValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
zkInuDAO
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSE pragma solidity ^0.8.17; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@uniswap-v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; import "@uniswap-v2-core/contracts/interfaces/IUniswapV2Factory.sol"; contract zkInuDAO is IERC20, IERC20Metadata, Ownable { address private constant DEAD = 0x000000000000000000000000000000000000dEaD; address private constant ZERO = 0x0000000000000000000000000000000000000000; address private constant ROUTER = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; string constant _name = "zkInu DAO"; string constant _symbol = "zkInu"; uint8 constant _decimals = 18; uint256 _totalSupply = 100_000_000_000_000 * (10 **_decimals); mapping(address => uint256) _balances; mapping(address => mapping(address => uint256)) _allowances; IUniswapV2Router02 public router; address public pair; uint256 public tgeAt; uint256 public nonFeeBlocks; bool public feesEnabled = false; bool hossaStarted = false; bool inSwap; address teamWallet; uint256 totalFee = 500; uint256 sellBias = 0; uint256 feeDenominator = 10000; mapping(address => bool) isFreeFromFee; mapping(address => bool) liquidityCreator; mapping(address => bool) liquidityPools; event FundsDistributed(uint256 amount); modifier duringSwap() { inSwap = true; _; inSwap = false; } modifier onlyTeam() { require(_msgSender() == teamWallet, "Caller is not a team member"); _; } constructor() { router = IUniswapV2Router02(ROUTER); pair = IUniswapV2Factory(router.factory()).createPair( router.WETH(), address(this) ); liquidityPools[pair] = true; _allowances[owner()][ROUTER] = type(uint256).max; _allowances[address(this)][ROUTER] = type(uint256).max; isFreeFromFee[owner()] = true; liquidityCreator[owner()] = true; _balances[owner()] = _totalSupply; emit Transfer(address(0), owner(), _totalSupply); } receive() external payable {} function totalSupply() external view override returns (uint256) { return _totalSupply; } function decimals() external pure returns (uint8) { return _decimals; } function symbol() external pure returns (string memory) { return _symbol; } function name() external pure returns (string memory) { return _name; } function getOwner() external view returns (address) { return owner(); } function balanceOf( address account ) public view override returns (uint256) { return _balances[account]; } function allowance( address holder, address spender ) external view override returns (uint256) { return _allowances[holder][spender]; } function approve( address spender, uint256 amount ) public override returns (bool) { _allowances[msg.sender][spender] = amount; emit Approval(msg.sender, spender, amount); return true; } function transfer( address recipient, uint256 amount ) external override returns (bool) { return _transferFrom(msg.sender, recipient, amount); } function transferFrom( address sender, address recipient, uint256 amount ) external override returns (bool) { if (_allowances[sender][msg.sender] != type(uint256).max) { _allowances[sender][msg.sender] = _allowances[sender][msg.sender] - amount; } return _transferFrom(sender, recipient, amount); } function _transferFrom( address sender, address recipient, uint256 amount ) internal returns (bool) { require(sender != address(0), "ERC20: transfer from 0x0"); require(recipient != address(0), "ERC20: transfer to 0x0"); require(amount > 0, "Amount must be > zero"); require(_balances[sender] >= amount, "Insufficient balance"); if (!launched() && liquidityPools[recipient]) { require(liquidityCreator[sender], "Liquidity not added yet."); launch(); } if (!hossaStarted) { require( liquidityCreator[sender] || liquidityCreator[recipient], "Trading not open yet." ); } if (inSwap) { return _basicTransfer(sender, recipient, amount); } _balances[sender] = _balances[sender] - amount; uint256 amountReceived = freeFromFee(sender) ? takeFee(recipient, amount) : amount; if (shouldSwapBack(recipient)) { if (amount > 0) swapBack(); } _balances[recipient] = _balances[recipient] + amountReceived; emit Transfer(sender, recipient, amountReceived); return true; } function setTeamWallet( address _team ) external onlyOwner { teamWallet = _team; } function feeWithdrawal( uint256 amount ) external onlyTeam { uint256 amountETH = address(this).balance; payable(teamWallet).transfer((amountETH * amount) / 100); } function launchTrading( uint256 _nonFeeBlocks ) external onlyOwner { require(!hossaStarted && _nonFeeBlocks < 10); nonFeeBlocks = _nonFeeBlocks; hossaStarted = true; tgeAt = block.number; } function totalFeeAmount() public view returns (uint256) { return address(this).balance; } function launched() internal view returns (bool) { return tgeAt != 0; } function launch() internal { tgeAt = block.number; feesEnabled = true; } function _basicTransfer( address sender, address recipient, uint256 amount ) internal returns (bool) { _balances[sender] = _balances[sender] - amount; _balances[recipient] = _balances[recipient] + amount; emit Transfer(sender, recipient, amount); return true; } function currentFees() public view returns (uint256) { return totalFee; } function setIsFreeFromFee( address holder, bool exempt ) external onlyOwner { isFreeFromFee[holder] = exempt; } function enableFees( bool _feesEnabled ) external onlyOwner { feesEnabled = _feesEnabled; } function freeFromFee( address sender ) internal view returns (bool) { return !isFreeFromFee[sender]; } function getCurrentSupply() public view returns (uint256) { return _totalSupply - (balanceOf(DEAD) + balanceOf(ZERO)); } function takeFee( address recipient, uint256 amount ) internal returns (uint256) { bool selling = liquidityPools[recipient]; uint256 feeAmount = (amount * getTotalFee(selling)) / feeDenominator; _balances[address(this)] += feeAmount; return amount - feeAmount; } function getTotalFee( bool isSelling ) public view returns (uint256) { if (tgeAt + nonFeeBlocks >= block.number) { return feeDenominator; } if (isSelling) return totalFee + sellBias; return totalFee - sellBias; } function shouldSwapBack( address recipient ) internal view returns (bool) { return !liquidityPools[msg.sender] && !inSwap && feesEnabled && liquidityPools[recipient]; } function swapBack() internal duringSwap { if (_balances[address(this)] > 0) { uint256 amountToSwap = _balances[address(this)]; address[] memory path = new address[](2); path[0] = address(this); path[1] = router.WETH(); router.swapExactTokensForETHSupportingFeeOnTransferTokens( amountToSwap, 0, path, address(this), block.timestamp ); emit FundsDistributed(amountToSwap); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @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() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { 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 { _transferOwnership(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"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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 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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, 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 `from` to `to` 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 from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @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; } }
pragma solidity >=0.5.0; 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; }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; 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; }
{ "remappings": [ "@openzeppelin/=lib/openzeppelin-contracts/", "@uniswap-v2-core/=lib/v2-core/", "@uniswap-v2-periphery/=lib/v2-periphery/", "ds-test/=lib/forge-std/lib/ds-test/src/", "forge-std/=lib/forge-std/src/", "openzeppelin-contracts/=lib/openzeppelin-contracts/", "v2-core/=lib/v2-core/contracts/", "v2-periphery/=lib/v2-periphery/contracts/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "bytecodeHash": "ipfs" }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "london", "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"FundsDistributed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"holder","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":"currentFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bool","name":"_feesEnabled","type":"bool"}],"name":"enableFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"feeWithdrawal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feesEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"isSelling","type":"bool"}],"name":"getTotalFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nonFeeBlocks","type":"uint256"}],"name":"launchTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"nonFeeBlocks","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"},{"internalType":"bool","name":"exempt","type":"bool"}],"name":"setIsFreeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_team","type":"address"}],"name":"setTeamWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"tgeAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFeeAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052620000126012600a62000513565b6200002490655af3107a40006200052b565b6001556008805461ffff191690556101f46009556000600a55612710600b553480156200005057600080fd5b506200005c33620003ae565b600480546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d90811782556040805163c45a015560e01b81529051919263c45a01559282820192602092908290030181865afa158015620000be573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000e4919062000545565b6001600160a01b031663c9c65396600460009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000146573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200016c919062000545565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523060248201526044016020604051808303816000875af1158015620001b9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001df919062000545565b600580546001600160a01b0319166001600160a01b039290921691821790556000908152600e60205260408120805460ff1916600117905560001990600390620002316000546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081016000908120737a250d5630b4cf539739df2c5dacb4c659f2488d80835290845282822094909455308152600383528181209381529290915281206000199055600190600c90620002a26000546001600160a01b031690565b6001600160a01b0316815260208101919091526040016000908120805460ff191692151592909217909155600190600d90620002e66000546001600160a01b031690565b6001600160a01b0316815260208101919091526040016000908120805460ff191692151592909217909155600154906002906200032b6000546001600160a01b031690565b6001600160a01b03168152602081019190915260400160002055620003586000546001600160a01b031690565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600154604051620003a091815260200190565b60405180910390a362000570565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111562000455578160001904821115620004395762000439620003fe565b808516156200044757918102915b93841c939080029062000419565b509250929050565b6000826200046e575060016200050d565b816200047d575060006200050d565b8160018114620004965760028114620004a157620004c1565b60019150506200050d565b60ff841115620004b557620004b5620003fe565b50506001821b6200050d565b5060208310610133831016604e8410600b8410161715620004e6575081810a6200050d565b620004f2838362000414565b8060001904821115620005095762000509620003fe565b0290505b92915050565b60006200052460ff8416836200045d565b9392505050565b80820281158282048414176200050d576200050d620003fe565b6000602082840312156200055857600080fd5b81516001600160a01b03811681146200052457600080fd5b6113f080620005806000396000f3fe6080604052600436106101a05760003560e01c8063893d20e8116100ec578063b3e80c481161008a578063dd62ed3e11610064578063dd62ed3e146104a9578063f1f3bca3146104ef578063f2fde38b1461050f578063f887ea401461052f57600080fd5b8063b3e80c481461045d578063ce5f330b1461047d578063dcaff7241461049357600080fd5b806396521716116100c657806396521716146103f0578063a64e4f8a14610403578063a8aa1b311461041d578063a9059cbb1461043d57600080fd5b8063893d20e8146103725780638da5cb5b146103a457806395d89b41146103c257600080fd5b806323b872dd116101595780634f3e1efc116101335780634f3e1efc146102fd5780635d9644c41461031257806370a0823114610327578063715018a61461035d57600080fd5b806323b872dd146102a15780632bf5eabb146102c1578063313ce567146102e157600080fd5b806306fdde03146101ac578063095ea7b3146101f05780630961fbf714610220578063134546a2146102425780631525ff7d1461026257806318160ddd1461028257600080fd5b366101a757005b600080fd5b3480156101b857600080fd5b506040805180820190915260098152687a6b496e752044414f60b81b60208201525b6040516101e791906110fd565b60405180910390f35b3480156101fc57600080fd5b5061021061020b366004611160565b61054f565b60405190151581526020016101e7565b34801561022c57600080fd5b5061024061023b36600461118c565b6105bc565b005b34801561024e57600080fd5b5061024061025d3660046111ba565b610686565b34801561026e57600080fd5b5061024061027d3660046111ef565b6106b9565b34801561028e57600080fd5b506001545b6040519081526020016101e7565b3480156102ad57600080fd5b506102106102bc36600461120c565b6106ed565b3480156102cd57600080fd5b506102406102dc36600461124d565b610782565b3480156102ed57600080fd5b50604051601281526020016101e7565b34801561030957600080fd5b5061029361079d565b34801561031e57600080fd5b50600954610293565b34801561033357600080fd5b506102936103423660046111ef565b6001600160a01b031660009081526002602052604090205490565b34801561036957600080fd5b5061024061080b565b34801561037e57600080fd5b506000546001600160a01b03165b6040516001600160a01b0390911681526020016101e7565b3480156103b057600080fd5b506000546001600160a01b031661038c565b3480156103ce57600080fd5b506040805180820190915260058152647a6b496e7560d81b60208201526101da565b3480156103fc57600080fd5b5047610293565b34801561040f57600080fd5b506008546102109060ff1681565b34801561042957600080fd5b5060055461038c906001600160a01b031681565b34801561044957600080fd5b50610210610458366004611160565b61081f565b34801561046957600080fd5b5061024061047836600461118c565b61082c565b34801561048957600080fd5b5061029360065481565b34801561049f57600080fd5b5061029360075481565b3480156104b557600080fd5b506102936104c4366004611268565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b3480156104fb57600080fd5b5061029361050a36600461124d565b61086d565b34801561051b57600080fd5b5061024061052a3660046111ef565b6108b3565b34801561053b57600080fd5b5060045461038c906001600160a01b031681565b3360008181526003602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906105aa9086815260200190565b60405180910390a35060015b92915050565b600854630100000090046001600160a01b0316336001600160a01b03161461062b5760405162461bcd60e51b815260206004820152601b60248201527f43616c6c6572206973206e6f742061207465616d206d656d626572000000000060448201526064015b60405180910390fd5b6008544790630100000090046001600160a01b03166108fc606461064f85856112b7565b61065991906112ce565b6040518115909202916000818181858888f19350505050158015610681573d6000803e3d6000fd5b505050565b61068e61092c565b6001600160a01b03919091166000908152600c60205260409020805460ff1916911515919091179055565b6106c161092c565b600880546001600160a01b039092166301000000026301000000600160b81b0319909216919091179055565b6001600160a01b03831660009081526003602090815260408083203384529091528120546000191461076d576001600160a01b03841660009081526003602090815260408083203384529091529020546107489083906112f0565b6001600160a01b03851660009081526003602090815260408083203384529091529020555b610778848484610986565b90505b9392505050565b61078a61092c565b6008805460ff1916911515919091179055565b60026020527fac33ff75c19e70fe83507db0d683fd3465c996598dc972688b7ace676c89077b5461dead60009081527f6a9609baa168169acaea398c4407efea4be641bb08e21e88806d9836fd9333cc5490916107f991611303565b60015461080691906112f0565b905090565b61081361092c565b61081d6000610d40565b565b600061077b338484610986565b61083461092c565b600854610100900460ff1615801561084c5750600a81105b61085557600080fd5b6007556008805461ff00191661010017905543600655565b6000436007546006546108809190611303565b1061088d575050600b5490565b81156108a357600a546009546105b69190611303565b600a546009546105b691906112f0565b6108bb61092c565b6001600160a01b0381166109205760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610622565b61092981610d40565b50565b6000546001600160a01b0316331461081d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610622565b60006001600160a01b0384166109de5760405162461bcd60e51b815260206004820152601860248201527f45524332303a207472616e736665722066726f6d2030783000000000000000006044820152606401610622565b6001600160a01b038316610a2d5760405162461bcd60e51b8152602060048201526016602482015275045524332303a207472616e7366657220746f203078360541b6044820152606401610622565b60008211610a755760405162461bcd60e51b8152602060048201526015602482015274416d6f756e74206d757374206265203e207a65726f60581b6044820152606401610622565b6001600160a01b038416600090815260026020526040902054821115610ad45760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b6044820152606401610622565b600654158015610afc57506001600160a01b0383166000908152600e602052604090205460ff165b15610b7f576001600160a01b0384166000908152600d602052604090205460ff16610b695760405162461bcd60e51b815260206004820152601860248201527f4c6971756964697479206e6f74206164646564207965742e00000000000000006044820152606401610622565b610b7f436006556008805460ff19166001179055565b600854610100900460ff16610c11576001600160a01b0384166000908152600d602052604090205460ff1680610bcd57506001600160a01b0383166000908152600d602052604090205460ff165b610c115760405162461bcd60e51b81526020600482015260156024820152742a3930b234b733903737ba1037b832b7103cb2ba1760591b6044820152606401610622565b60085462010000900460ff1615610c3457610c2d848484610d90565b905061077b565b6001600160a01b038416600090815260026020526040902054610c589083906112f0565b6001600160a01b038516600090815260026020908152604080832093909355600c90529081205460ff1615610c8d5782610c97565b610c978484610e4a565b9050610ca284610ec8565b15610cb5578215610cb557610cb5610f25565b6001600160a01b038416600090815260026020526040902054610cd9908290611303565b6001600160a01b0380861660008181526002602052604090819020939093559151908716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610d2d9085815260200190565b60405180910390a3506001949350505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038316600090815260026020526040812054610db49083906112f0565b6001600160a01b038086166000908152600260205260408082209390935590851681522054610de4908390611303565b6001600160a01b0380851660008181526002602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610e389086815260200190565b60405180910390a35060019392505050565b6001600160a01b0382166000908152600e6020526040812054600b5460ff909116908290610e778361086d565b610e8190866112b7565b610e8b91906112ce565b30600090815260026020526040812080549293508392909190610eaf908490611303565b90915550610ebf905081856112f0565b95945050505050565b336000908152600e602052604081205460ff16158015610ef1575060085462010000900460ff16155b8015610eff575060085460ff165b80156105b65750506001600160a01b03166000908152600e602052604090205460ff1690565b6008805462ff000019166201000017905530600090815260026020526040902054156110ef573060009081526002602081905260408083205481518381526060810190925292918160200160208202803683370190505090503081600081518110610f9257610f92611316565b60200260200101906001600160a01b031690816001600160a01b031681525050600460009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611005573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611029919061132c565b8160018151811061103c5761103c611316565b6001600160a01b0392831660209182029290920101526004805460405163791ac94760e01b815292169163791ac9479161108191869160009187913091429101611349565b600060405180830381600087803b15801561109b57600080fd5b505af11580156110af573d6000803e3d6000fd5b505050507f8eecd6f35243e1875b7143b093766263953bc97e6e92213e4ae934c67e1fe0de826040516110e491815260200190565b60405180910390a150505b6008805462ff000019169055565b600060208083528351808285015260005b8181101561112a5785810183015185820160400152820161110e565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461092957600080fd5b6000806040838503121561117357600080fd5b823561117e8161114b565b946020939093013593505050565b60006020828403121561119e57600080fd5b5035919050565b803580151581146111b557600080fd5b919050565b600080604083850312156111cd57600080fd5b82356111d88161114b565b91506111e6602084016111a5565b90509250929050565b60006020828403121561120157600080fd5b813561077b8161114b565b60008060006060848603121561122157600080fd5b833561122c8161114b565b9250602084013561123c8161114b565b929592945050506040919091013590565b60006020828403121561125f57600080fd5b61077b826111a5565b6000806040838503121561127b57600080fd5b82356112868161114b565b915060208301356112968161114b565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176105b6576105b66112a1565b6000826112eb57634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156105b6576105b66112a1565b808201808211156105b6576105b66112a1565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561133e57600080fd5b815161077b8161114b565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156113995784516001600160a01b031683529383019391830191600101611374565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220ad1ceb1111db66f3364eb34addd9ac6f211b3ef71557fa7fcd450ea9236f8bae64736f6c63430008110033
Deployed Bytecode
0x6080604052600436106101a05760003560e01c8063893d20e8116100ec578063b3e80c481161008a578063dd62ed3e11610064578063dd62ed3e146104a9578063f1f3bca3146104ef578063f2fde38b1461050f578063f887ea401461052f57600080fd5b8063b3e80c481461045d578063ce5f330b1461047d578063dcaff7241461049357600080fd5b806396521716116100c657806396521716146103f0578063a64e4f8a14610403578063a8aa1b311461041d578063a9059cbb1461043d57600080fd5b8063893d20e8146103725780638da5cb5b146103a457806395d89b41146103c257600080fd5b806323b872dd116101595780634f3e1efc116101335780634f3e1efc146102fd5780635d9644c41461031257806370a0823114610327578063715018a61461035d57600080fd5b806323b872dd146102a15780632bf5eabb146102c1578063313ce567146102e157600080fd5b806306fdde03146101ac578063095ea7b3146101f05780630961fbf714610220578063134546a2146102425780631525ff7d1461026257806318160ddd1461028257600080fd5b366101a757005b600080fd5b3480156101b857600080fd5b506040805180820190915260098152687a6b496e752044414f60b81b60208201525b6040516101e791906110fd565b60405180910390f35b3480156101fc57600080fd5b5061021061020b366004611160565b61054f565b60405190151581526020016101e7565b34801561022c57600080fd5b5061024061023b36600461118c565b6105bc565b005b34801561024e57600080fd5b5061024061025d3660046111ba565b610686565b34801561026e57600080fd5b5061024061027d3660046111ef565b6106b9565b34801561028e57600080fd5b506001545b6040519081526020016101e7565b3480156102ad57600080fd5b506102106102bc36600461120c565b6106ed565b3480156102cd57600080fd5b506102406102dc36600461124d565b610782565b3480156102ed57600080fd5b50604051601281526020016101e7565b34801561030957600080fd5b5061029361079d565b34801561031e57600080fd5b50600954610293565b34801561033357600080fd5b506102936103423660046111ef565b6001600160a01b031660009081526002602052604090205490565b34801561036957600080fd5b5061024061080b565b34801561037e57600080fd5b506000546001600160a01b03165b6040516001600160a01b0390911681526020016101e7565b3480156103b057600080fd5b506000546001600160a01b031661038c565b3480156103ce57600080fd5b506040805180820190915260058152647a6b496e7560d81b60208201526101da565b3480156103fc57600080fd5b5047610293565b34801561040f57600080fd5b506008546102109060ff1681565b34801561042957600080fd5b5060055461038c906001600160a01b031681565b34801561044957600080fd5b50610210610458366004611160565b61081f565b34801561046957600080fd5b5061024061047836600461118c565b61082c565b34801561048957600080fd5b5061029360065481565b34801561049f57600080fd5b5061029360075481565b3480156104b557600080fd5b506102936104c4366004611268565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b3480156104fb57600080fd5b5061029361050a36600461124d565b61086d565b34801561051b57600080fd5b5061024061052a3660046111ef565b6108b3565b34801561053b57600080fd5b5060045461038c906001600160a01b031681565b3360008181526003602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906105aa9086815260200190565b60405180910390a35060015b92915050565b600854630100000090046001600160a01b0316336001600160a01b03161461062b5760405162461bcd60e51b815260206004820152601b60248201527f43616c6c6572206973206e6f742061207465616d206d656d626572000000000060448201526064015b60405180910390fd5b6008544790630100000090046001600160a01b03166108fc606461064f85856112b7565b61065991906112ce565b6040518115909202916000818181858888f19350505050158015610681573d6000803e3d6000fd5b505050565b61068e61092c565b6001600160a01b03919091166000908152600c60205260409020805460ff1916911515919091179055565b6106c161092c565b600880546001600160a01b039092166301000000026301000000600160b81b0319909216919091179055565b6001600160a01b03831660009081526003602090815260408083203384529091528120546000191461076d576001600160a01b03841660009081526003602090815260408083203384529091529020546107489083906112f0565b6001600160a01b03851660009081526003602090815260408083203384529091529020555b610778848484610986565b90505b9392505050565b61078a61092c565b6008805460ff1916911515919091179055565b60026020527fac33ff75c19e70fe83507db0d683fd3465c996598dc972688b7ace676c89077b5461dead60009081527f6a9609baa168169acaea398c4407efea4be641bb08e21e88806d9836fd9333cc5490916107f991611303565b60015461080691906112f0565b905090565b61081361092c565b61081d6000610d40565b565b600061077b338484610986565b61083461092c565b600854610100900460ff1615801561084c5750600a81105b61085557600080fd5b6007556008805461ff00191661010017905543600655565b6000436007546006546108809190611303565b1061088d575050600b5490565b81156108a357600a546009546105b69190611303565b600a546009546105b691906112f0565b6108bb61092c565b6001600160a01b0381166109205760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610622565b61092981610d40565b50565b6000546001600160a01b0316331461081d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610622565b60006001600160a01b0384166109de5760405162461bcd60e51b815260206004820152601860248201527f45524332303a207472616e736665722066726f6d2030783000000000000000006044820152606401610622565b6001600160a01b038316610a2d5760405162461bcd60e51b8152602060048201526016602482015275045524332303a207472616e7366657220746f203078360541b6044820152606401610622565b60008211610a755760405162461bcd60e51b8152602060048201526015602482015274416d6f756e74206d757374206265203e207a65726f60581b6044820152606401610622565b6001600160a01b038416600090815260026020526040902054821115610ad45760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b6044820152606401610622565b600654158015610afc57506001600160a01b0383166000908152600e602052604090205460ff165b15610b7f576001600160a01b0384166000908152600d602052604090205460ff16610b695760405162461bcd60e51b815260206004820152601860248201527f4c6971756964697479206e6f74206164646564207965742e00000000000000006044820152606401610622565b610b7f436006556008805460ff19166001179055565b600854610100900460ff16610c11576001600160a01b0384166000908152600d602052604090205460ff1680610bcd57506001600160a01b0383166000908152600d602052604090205460ff165b610c115760405162461bcd60e51b81526020600482015260156024820152742a3930b234b733903737ba1037b832b7103cb2ba1760591b6044820152606401610622565b60085462010000900460ff1615610c3457610c2d848484610d90565b905061077b565b6001600160a01b038416600090815260026020526040902054610c589083906112f0565b6001600160a01b038516600090815260026020908152604080832093909355600c90529081205460ff1615610c8d5782610c97565b610c978484610e4a565b9050610ca284610ec8565b15610cb5578215610cb557610cb5610f25565b6001600160a01b038416600090815260026020526040902054610cd9908290611303565b6001600160a01b0380861660008181526002602052604090819020939093559151908716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610d2d9085815260200190565b60405180910390a3506001949350505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038316600090815260026020526040812054610db49083906112f0565b6001600160a01b038086166000908152600260205260408082209390935590851681522054610de4908390611303565b6001600160a01b0380851660008181526002602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610e389086815260200190565b60405180910390a35060019392505050565b6001600160a01b0382166000908152600e6020526040812054600b5460ff909116908290610e778361086d565b610e8190866112b7565b610e8b91906112ce565b30600090815260026020526040812080549293508392909190610eaf908490611303565b90915550610ebf905081856112f0565b95945050505050565b336000908152600e602052604081205460ff16158015610ef1575060085462010000900460ff16155b8015610eff575060085460ff165b80156105b65750506001600160a01b03166000908152600e602052604090205460ff1690565b6008805462ff000019166201000017905530600090815260026020526040902054156110ef573060009081526002602081905260408083205481518381526060810190925292918160200160208202803683370190505090503081600081518110610f9257610f92611316565b60200260200101906001600160a01b031690816001600160a01b031681525050600460009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611005573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611029919061132c565b8160018151811061103c5761103c611316565b6001600160a01b0392831660209182029290920101526004805460405163791ac94760e01b815292169163791ac9479161108191869160009187913091429101611349565b600060405180830381600087803b15801561109b57600080fd5b505af11580156110af573d6000803e3d6000fd5b505050507f8eecd6f35243e1875b7143b093766263953bc97e6e92213e4ae934c67e1fe0de826040516110e491815260200190565b60405180910390a150505b6008805462ff000019169055565b600060208083528351808285015260005b8181101561112a5785810183015185820160400152820161110e565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461092957600080fd5b6000806040838503121561117357600080fd5b823561117e8161114b565b946020939093013593505050565b60006020828403121561119e57600080fd5b5035919050565b803580151581146111b557600080fd5b919050565b600080604083850312156111cd57600080fd5b82356111d88161114b565b91506111e6602084016111a5565b90509250929050565b60006020828403121561120157600080fd5b813561077b8161114b565b60008060006060848603121561122157600080fd5b833561122c8161114b565b9250602084013561123c8161114b565b929592945050506040919091013590565b60006020828403121561125f57600080fd5b61077b826111a5565b6000806040838503121561127b57600080fd5b82356112868161114b565b915060208301356112968161114b565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176105b6576105b66112a1565b6000826112eb57634e487b7160e01b600052601260045260246000fd5b500490565b818103818111156105b6576105b66112a1565b808201808211156105b6576105b66112a1565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561133e57600080fd5b815161077b8161114b565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156113995784516001600160a01b031683529383019391830191600101611374565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220ad1ceb1111db66f3364eb34addd9ac6f211b3ef71557fa7fcd450ea9236f8bae64736f6c63430008110033
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.