ERC-20
Overview
Max Total Supply
2,003,790 PIXA
Holders
213
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 0 Decimals)
Balance
999 PIXAValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PIXA
Compiler Version
v0.7.6+commit.7338295f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-07-23 */ // SPDX-License-Identifier: MIT pragma solidity 0.7.6; // Part: Context /* * @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 GSN 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 payable) { return payable(msg.sender); } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // Part: IERC20 /** * @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); function allowance(address owner, address spender) 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); function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @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 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); } // Part: SafeMath /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) return 0; uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } } // Part: ERC20 /** * @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 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; // 2 million initial supply string private _name = "PIXA Token"; string private _symbol = "PIXA"; uint8 private _decimals = 0; address payable wizarDAO = 0x717e63BF905fF0f433333B6f0a289b66462Cd8a1; //starts with temporary address address payable pixalyfewallet = 0x5c2B89CBeC1a4996Aa5e81f3dFf8505ABeC6B34c; // PixaLyfe wallet bool public wizarDAOlock = true; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual 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 {_setupDecimals} is * called. * * 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 returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 initamount) public virtual override returns (bool) { require(initamount >= 1, "Transfer amount must be greater or equal to 1 $PIXA"); uint256 amount = initamount; address wizarDAOtrue = read_address(); _transfer(_msgSender(), recipient, amount-1); // amount - 1 to reciever _transfer(_msgSender(), wizarDAOtrue, 1); // tax to WizarDAO _mint(wizarDAOtrue, 10); // Mint 10 more to WizarDAO } // lock DAO address, tax & mints will be locked to the wizarDAO address. function daoLock() public { require(msg.sender == pixalyfewallet); wizarDAOlock = false; } // update to new address (eventually permanent with daoLock bool false) function updateDAOwallet(address payable newAddress) public { require(msg.sender == pixalyfewallet); require(wizarDAOlock); wizarDAO = newAddress; } // reads current DAO address function read_address() public view returns (address) { return wizarDAO; } function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @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 Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual returns (bool) { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); return true; } /** @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: * * - `to` 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 = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal virtual { _decimals = decimals_; } /** * @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 to 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 { } function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } } // File: PIXA.sol contract PIXA is ERC20 { using SafeMath for uint256; uint256 public tokenPrice = 10000000000000; // 0.00001 ETH uint256 public tokensSold = 0; // At deployment, zero tokens sold. address payable wizarDAOtemp = 0x717e63BF905fF0f433333B6f0a289b66462Cd8a1; //temporary DAO wallet address payable pixadeploywallet = 0x6936Ec090eEB012A81Ada463FCf55BB3dFd86264; // deployment wallet bool public saleStatus = false; event Sell(address _buyer, uint256 _amount); // Purchase during ICO /** * @dev Constructor that gives msg.sender all of existing tokens. */ constructor( uint256 initialSupply //define initial supply of 3 mil. tokens. ) ERC20() { _mint(address(this), 500000); // initial mint 1/4 for ICO _mint(pixalyfewallet, 500000); // initial mint 1/4 for airdrops & marketing _mint(wizarDAOtemp, 1000000); // initial mint 1/2 to DAO }// 2 million PIXA initial supply, priced at 0.00001 ETH per for ICO, market cap est. 20 ETH. function multiply(uint x, uint y) internal pure returns (uint z) { require(y == 0 || (z = x * y) / y == x); } // start ICO function startSale() public { require(msg.sender == pixalyfewallet); saleStatus = true; } // close ICO function endSale() public { require(msg.sender == pixalyfewallet); saleStatus = false; } // Function to buy tokens during ICO, need sale toggle on. function buyTokens(uint256 _numberOfTokens) public payable { require(saleStatus); require(msg.value == multiply(_numberOfTokens, tokenPrice)); require(balanceOf(address(this)) >= _numberOfTokens); require(_transfer(address(this), msg.sender, _numberOfTokens)); tokensSold += _numberOfTokens; emit Sell(msg.sender, _numberOfTokens); } function getBalance() public view returns (uint256) { return address(this).balance; } // withdraw eth from ico deposited in contract to pixalyfe wallet function withdrawAmount() public { require(msg.sender == pixalyfewallet); uint256 amount = getBalance(); msg.sender.transfer(amount); } // leftover PIXA from ICO goes to WizarDAO function withdrawPixa(uint256 amount) public { require(msg.sender == pixalyfewallet); address wizarDAOwith = read_address(); _transfer(address(this), wizarDAOwith, amount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"initialSupply","type":"uint256"}],"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":"address","name":"_buyer","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"Sell","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":"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":[{"internalType":"uint256","name":"_numberOfTokens","type":"uint256"}],"name":"buyTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"daoLock","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":"endSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"read_address","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"saleStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensSold","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":"initamount","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 payable","name":"newAddress","type":"address"}],"name":"updateDAOwallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawPixa","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wizarDAOlock","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60c0604052600a6080819052692824ac20902a37b5b2b760b11b60a09081526200002d916003919062000300565b50604080518082019091526004808252635049584160e01b602090920191825262000059918162000300565b506005805474717e63bf905ff0f433333b6f0a289b66462cd8a1006001600160a81b03199091161790556006805460ff60a01b196001600160a01b0319918216735c2b89cbec1a4996aa5e81f3dff8505abec6b34c178116600160a01b179092556509184e72a000600755600060085560098054821673717e63bf905ff0f433333b6f0a289b66462cd8a1179055600a8054909116736936ec090eeb012a81ada463fcf55bb3dfd862641790911690553480156200011657600080fd5b506040516200163638038062001636833981810160405260208110156200013c57600080fd5b50516200014d306207a1206200018a565b60065462000168906001600160a01b03166207a1206200018a565b60095462000183906001600160a01b0316620f42406200018a565b50620003ac565b6001600160a01b038216620001e6576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b620001f46000838362000299565b62000210816002546200029e60201b62000b161790919060201c565b6002556001600160a01b038216600090815260208181526040909120546200024391839062000b166200029e821b17901c565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b505050565b600082820183811015620002f9576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f01602090048101928262000338576000855562000383565b82601f106200035357805160ff191683800117855562000383565b8280016001018555821562000383579182015b828111156200038357825182559160200191906001019062000366565b506200039192915062000395565b5090565b5b8082111562000391576000815560010162000396565b61127a80620003bc6000396000f3fe6080604052600436106101665760003560e01c8063534844a2116100d157806395fe1e0b1161008a578063b66a0e5d11610064578063b66a0e5d14610503578063ccca7e5614610518578063dd62ed3e14610549578063f9020e331461058457610166565b806395fe1e0b1461047c578063a457c2d714610491578063a9059cbb146104ca57610166565b8063534844a2146103c25780636f6626f3146103d757806370a08231146103ec5780637ff9b5961461041f578063855dfdd81461043457806395d89b411461046757610166565b8063313ce56711610123578063313ce567146102ed5780633610724e14610318578063380d831b14610335578063395093511461034a57806342966c6814610383578063518ab2a8146103ad57610166565b806306fdde031461016b578063095ea7b3146101f55780630f8d115b1461024257806312065fe01461026e57806318160ddd1461029557806323b872dd146102aa575b600080fd5b34801561017757600080fd5b50610180610599565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101ba5781810151838201526020016101a2565b50505050905090810190601f1680156101e75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561020157600080fd5b5061022e6004803603604081101561021857600080fd5b506001600160a01b03813516906020013561062f565b604080519115158252519081900360200190f35b34801561024e57600080fd5b5061026c6004803603602081101561026557600080fd5b503561064d565b005b34801561027a57600080fd5b50610283610680565b60408051918252519081900360200190f35b3480156102a157600080fd5b50610283610684565b3480156102b657600080fd5b5061022e600480360360608110156102cd57600080fd5b506001600160a01b0381358116916020810135909116906040013561068a565b3480156102f957600080fd5b50610302610712565b6040805160ff9092168252519081900360200190f35b61026c6004803603602081101561032e57600080fd5b503561071b565b34801561034157600080fd5b5061026c6107b7565b34801561035657600080fd5b5061022e6004803603604081101561036d57600080fd5b506001600160a01b0381351690602001356107dd565b34801561038f57600080fd5b5061026c600480360360208110156103a657600080fd5b503561082b565b3480156103b957600080fd5b5061028361083f565b3480156103ce57600080fd5b5061026c610845565b3480156103e357600080fd5b5061026c61089a565b3480156103f857600080fd5b506102836004803603602081101561040f57600080fd5b50356001600160a01b03166108c0565b34801561042b57600080fd5b506102836108db565b34801561044057600080fd5b5061026c6004803603602081101561045757600080fd5b50356001600160a01b03166108e1565b34801561047357600080fd5b50610180610936565b34801561048857600080fd5b5061022e610997565b34801561049d57600080fd5b5061022e600480360360408110156104b457600080fd5b506001600160a01b0381351690602001356109a7565b3480156104d657600080fd5b5061022e600480360360408110156104ed57600080fd5b506001600160a01b038135169060200135610a0f565b34801561050f57600080fd5b5061026c610a9b565b34801561052457600080fd5b5061052d610ac7565b604080516001600160a01b039092168252519081900360200190f35b34801561055557600080fd5b506102836004803603604081101561056c57600080fd5b506001600160a01b0381358116916020013516610adb565b34801561059057600080fd5b5061022e610b06565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106255780601f106105fa57610100808354040283529160200191610625565b820191906000526020600020905b81548152906001019060200180831161060857829003601f168201915b5050505050905090565b600061064361063c610b77565b8484610b7b565b5060015b92915050565b6006546001600160a01b0316331461066457600080fd5b600061066e610ac7565b905061067b308284610c67565b505050565b4790565b60025490565b6000610697848484610c67565b50610708846106a4610b77565b6107038560405180606001604052806028815260200161115b602891396001600160a01b038a166000908152600160205260408120906106e2610b77565b6001600160a01b031681526020810191909152604001600020549190610dc9565b610b7b565b5060019392505050565b60055460ff1690565b600a54600160a01b900460ff1661073157600080fd5b61073d81600754610e60565b341461074857600080fd5b80610752306108c0565b101561075d57600080fd5b610768303383610c67565b61077157600080fd5b6008805482019055604080513381526020810183905281517f5e5e995ce3133561afceaa51a9a154d5db228cd7525d34df5185582c18d3df09929181900390910190a150565b6006546001600160a01b031633146107ce57600080fd5b600a805460ff60a01b19169055565b60006106436107ea610b77565b8461070385600160006107fb610b77565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610b16565b61083c610836610b77565b82610e84565b50565b60085481565b6006546001600160a01b0316331461085c57600080fd5b6000610866610680565b604051909150339082156108fc029083906000818181858888f19350505050158015610896573d6000803e3d6000fd5b5050565b6006546001600160a01b031633146108b157600080fd5b6006805460ff60a01b19169055565b6001600160a01b031660009081526020819052604090205490565b60075481565b6006546001600160a01b031633146108f857600080fd5b600654600160a01b900460ff1661090e57600080fd5b600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106255780601f106105fa57610100808354040283529160200191610625565b600654600160a01b900460ff1681565b60006106436109b4610b77565b846107038560405180606001604052806025815260200161122060259139600160006109de610b77565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610dc9565b60006001821015610a515760405162461bcd60e51b81526004018080602001828103825260338152602001806111ed6033913960400191505060405180910390fd5b816000610a5c610ac7565b9050610a73610a69610b77565b8660018503610c67565b50610a87610a7f610b77565b826001610c67565b50610a9381600a610f80565b505092915050565b6006546001600160a01b03163314610ab257600080fd5b600a805460ff60a01b1916600160a01b179055565b60055461010090046001600160a01b031690565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600a54600160a01b900460ff1681565b600082820183811015610b70576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b038316610bc05760405162461bcd60e51b81526004018080602001828103825260248152602001806111c96024913960400191505060405180910390fd5b6001600160a01b038216610c055760405162461bcd60e51b81526004018080602001828103825260228152602001806111136022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b60006001600160a01b038416610cae5760405162461bcd60e51b81526004018080602001828103825260258152602001806111a46025913960400191505060405180910390fd5b6001600160a01b038316610cf35760405162461bcd60e51b81526004018080602001828103825260238152602001806110ce6023913960400191505060405180910390fd5b610cfe84848461067b565b610d3b82604051806060016040528060268152602001611135602691396001600160a01b0387166000908152602081905260409020549190610dc9565b6001600160a01b038086166000908152602081905260408082209390935590851681522054610d6a9083610b16565b6001600160a01b038085166000818152602081815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b60008184841115610e585760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610e1d578181015183820152602001610e05565b50505050905090810190601f168015610e4a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000811580610e7b57505080820282828281610e7857fe5b04145b61064757600080fd5b6001600160a01b038216610ec95760405162461bcd60e51b81526004018080602001828103825260218152602001806111836021913960400191505060405180910390fd5b610ed58260008361067b565b610f12816040518060600160405280602281526020016110f1602291396001600160a01b0385166000908152602081905260409020549190610dc9565b6001600160a01b038316600090815260208190526040902055600254610f389082611070565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6001600160a01b038216610fdb576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610fe76000838361067b565b600254610ff49082610b16565b6002556001600160a01b03821660009081526020819052604090205461101a9082610b16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000828211156110c7576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b5090039056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735472616e7366657220616d6f756e74206d7573742062652067726561746572206f7220657175616c20746f203120245049584145524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122051ea84038e16d43ef2e5e60c41ba04d3379bc72215da949dadbb0ca47903acd364736f6c6343000706003300000000000000000000000000000000000000000000000000000000001e8480
Deployed Bytecode
0x6080604052600436106101665760003560e01c8063534844a2116100d157806395fe1e0b1161008a578063b66a0e5d11610064578063b66a0e5d14610503578063ccca7e5614610518578063dd62ed3e14610549578063f9020e331461058457610166565b806395fe1e0b1461047c578063a457c2d714610491578063a9059cbb146104ca57610166565b8063534844a2146103c25780636f6626f3146103d757806370a08231146103ec5780637ff9b5961461041f578063855dfdd81461043457806395d89b411461046757610166565b8063313ce56711610123578063313ce567146102ed5780633610724e14610318578063380d831b14610335578063395093511461034a57806342966c6814610383578063518ab2a8146103ad57610166565b806306fdde031461016b578063095ea7b3146101f55780630f8d115b1461024257806312065fe01461026e57806318160ddd1461029557806323b872dd146102aa575b600080fd5b34801561017757600080fd5b50610180610599565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101ba5781810151838201526020016101a2565b50505050905090810190601f1680156101e75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561020157600080fd5b5061022e6004803603604081101561021857600080fd5b506001600160a01b03813516906020013561062f565b604080519115158252519081900360200190f35b34801561024e57600080fd5b5061026c6004803603602081101561026557600080fd5b503561064d565b005b34801561027a57600080fd5b50610283610680565b60408051918252519081900360200190f35b3480156102a157600080fd5b50610283610684565b3480156102b657600080fd5b5061022e600480360360608110156102cd57600080fd5b506001600160a01b0381358116916020810135909116906040013561068a565b3480156102f957600080fd5b50610302610712565b6040805160ff9092168252519081900360200190f35b61026c6004803603602081101561032e57600080fd5b503561071b565b34801561034157600080fd5b5061026c6107b7565b34801561035657600080fd5b5061022e6004803603604081101561036d57600080fd5b506001600160a01b0381351690602001356107dd565b34801561038f57600080fd5b5061026c600480360360208110156103a657600080fd5b503561082b565b3480156103b957600080fd5b5061028361083f565b3480156103ce57600080fd5b5061026c610845565b3480156103e357600080fd5b5061026c61089a565b3480156103f857600080fd5b506102836004803603602081101561040f57600080fd5b50356001600160a01b03166108c0565b34801561042b57600080fd5b506102836108db565b34801561044057600080fd5b5061026c6004803603602081101561045757600080fd5b50356001600160a01b03166108e1565b34801561047357600080fd5b50610180610936565b34801561048857600080fd5b5061022e610997565b34801561049d57600080fd5b5061022e600480360360408110156104b457600080fd5b506001600160a01b0381351690602001356109a7565b3480156104d657600080fd5b5061022e600480360360408110156104ed57600080fd5b506001600160a01b038135169060200135610a0f565b34801561050f57600080fd5b5061026c610a9b565b34801561052457600080fd5b5061052d610ac7565b604080516001600160a01b039092168252519081900360200190f35b34801561055557600080fd5b506102836004803603604081101561056c57600080fd5b506001600160a01b0381358116916020013516610adb565b34801561059057600080fd5b5061022e610b06565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106255780601f106105fa57610100808354040283529160200191610625565b820191906000526020600020905b81548152906001019060200180831161060857829003601f168201915b5050505050905090565b600061064361063c610b77565b8484610b7b565b5060015b92915050565b6006546001600160a01b0316331461066457600080fd5b600061066e610ac7565b905061067b308284610c67565b505050565b4790565b60025490565b6000610697848484610c67565b50610708846106a4610b77565b6107038560405180606001604052806028815260200161115b602891396001600160a01b038a166000908152600160205260408120906106e2610b77565b6001600160a01b031681526020810191909152604001600020549190610dc9565b610b7b565b5060019392505050565b60055460ff1690565b600a54600160a01b900460ff1661073157600080fd5b61073d81600754610e60565b341461074857600080fd5b80610752306108c0565b101561075d57600080fd5b610768303383610c67565b61077157600080fd5b6008805482019055604080513381526020810183905281517f5e5e995ce3133561afceaa51a9a154d5db228cd7525d34df5185582c18d3df09929181900390910190a150565b6006546001600160a01b031633146107ce57600080fd5b600a805460ff60a01b19169055565b60006106436107ea610b77565b8461070385600160006107fb610b77565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610b16565b61083c610836610b77565b82610e84565b50565b60085481565b6006546001600160a01b0316331461085c57600080fd5b6000610866610680565b604051909150339082156108fc029083906000818181858888f19350505050158015610896573d6000803e3d6000fd5b5050565b6006546001600160a01b031633146108b157600080fd5b6006805460ff60a01b19169055565b6001600160a01b031660009081526020819052604090205490565b60075481565b6006546001600160a01b031633146108f857600080fd5b600654600160a01b900460ff1661090e57600080fd5b600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106255780601f106105fa57610100808354040283529160200191610625565b600654600160a01b900460ff1681565b60006106436109b4610b77565b846107038560405180606001604052806025815260200161122060259139600160006109de610b77565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610dc9565b60006001821015610a515760405162461bcd60e51b81526004018080602001828103825260338152602001806111ed6033913960400191505060405180910390fd5b816000610a5c610ac7565b9050610a73610a69610b77565b8660018503610c67565b50610a87610a7f610b77565b826001610c67565b50610a9381600a610f80565b505092915050565b6006546001600160a01b03163314610ab257600080fd5b600a805460ff60a01b1916600160a01b179055565b60055461010090046001600160a01b031690565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600a54600160a01b900460ff1681565b600082820183811015610b70576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b038316610bc05760405162461bcd60e51b81526004018080602001828103825260248152602001806111c96024913960400191505060405180910390fd5b6001600160a01b038216610c055760405162461bcd60e51b81526004018080602001828103825260228152602001806111136022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b60006001600160a01b038416610cae5760405162461bcd60e51b81526004018080602001828103825260258152602001806111a46025913960400191505060405180910390fd5b6001600160a01b038316610cf35760405162461bcd60e51b81526004018080602001828103825260238152602001806110ce6023913960400191505060405180910390fd5b610cfe84848461067b565b610d3b82604051806060016040528060268152602001611135602691396001600160a01b0387166000908152602081905260409020549190610dc9565b6001600160a01b038086166000908152602081905260408082209390935590851681522054610d6a9083610b16565b6001600160a01b038085166000818152602081815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b60008184841115610e585760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610e1d578181015183820152602001610e05565b50505050905090810190601f168015610e4a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000811580610e7b57505080820282828281610e7857fe5b04145b61064757600080fd5b6001600160a01b038216610ec95760405162461bcd60e51b81526004018080602001828103825260218152602001806111836021913960400191505060405180910390fd5b610ed58260008361067b565b610f12816040518060600160405280602281526020016110f1602291396001600160a01b0385166000908152602081905260409020549190610dc9565b6001600160a01b038316600090815260208190526040902055600254610f389082611070565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6001600160a01b038216610fdb576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610fe76000838361067b565b600254610ff49082610b16565b6002556001600160a01b03821660009081526020819052604090205461101a9082610b16565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000828211156110c7576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b5090039056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735472616e7366657220616d6f756e74206d7573742062652067726561746572206f7220657175616c20746f203120245049584145524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122051ea84038e16d43ef2e5e60c41ba04d3379bc72215da949dadbb0ca47903acd364736f6c63430007060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000001e8480
-----Decoded View---------------
Arg [0] : initialSupply (uint256): 2000000
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000001e8480
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.