ETH Price: $3,437.57 (+4.15%)

Token

MetaFactory (ROBOT)
 

Overview

Max Total Supply

420,000 ROBOT

Holders

1,235 (0.00%)

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
16.544501109032376435 ROBOT

Value
$0.00
0x187089b33e5812310ed32a57f53b3fad0383a19d
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Meta Factory is a marketplace for digi-physical apparel created by community-owned brands.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
PausableERC20

Compiler Version
v0.6.4+commit.1dca32f3

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-09-30
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.4;

contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor () internal { }

    function _msgSender() internal view virtual returns (address payable) {
        return 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;
    }
}


/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

/**
 * @dev 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, 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) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * 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);
        uint256 c = a - b;

        return c;
    }

    /**
     * @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) {
        // 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 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts 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 mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }
}

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * Taken from https://github.com/OpenZeppelin/openzeppelin-contracts/blob/release-v3.0.0/contracts/token/ERC20/IERC20.sol
 * added pausable and "exit to community" functionality
 */
contract PausableERC20 is Context, IERC20 {
    using SafeMath for uint256;
    using Address for address;

    mapping (address => uint256) private _balances;

    mapping (address => mapping (address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint256 private _amount;
    uint8 private _decimals;

    address private _admin;
    bool private _paused;

    event Paused(bool state);
    event ExitedToCommunity();
    
    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    //constructor (address admin, string memory name, string memory symbol, uint256 amount) public {
    constructor () public {
        _admin = 0x2150Cb38ee362bceAC3d4A2704A82eeeD02E93EC;
        _name = "MetaFactory";
        _symbol = "ROBOT";
        _amount = 420000;
        _decimals = 18;
        _mint(_admin, _amount * (10 ** uint256(_decimals)));
    }

    /**
     * @dev checks to ensure that only the admin can execute
     */ 
    modifier onlyAdmin {
        require(msg.sender == _admin, "admin only");
        _;
    }

    /**
     * @dev checks to ensure the contract is not paused
     * only the admin can execute methods when the contract is paused
     * or when the contract has exited to community
     */ 
    modifier notPaused {
        require(msg.sender == _admin || _paused == false, "transfer is paused");
        _;
    }

    /**
     * @dev once exited to community, the contract can no longer be paused 
     */ 
    function exitToCommunity() public onlyAdmin returns (bool) {
        _paused = false;
        _admin = address(0);
        emit ExitedToCommunity();
        return true;
    }

    /**
     * @dev sets the contract in a paused state, only admin can transfer tokens
     */ 
    function pause(bool _pause) public onlyAdmin returns (bool) {
        _paused = _pause;
        emit Paused(_paused);
        return _paused;
    }

    /**
     * @dev Returns the admin address for the token.
     */
    function admin() public view returns (address) {
        return _admin;
    } 

    /**
     * @dev Returns the name of the token.
     */
    function name() public view returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view 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 returns (uint8) {
        return _decimals;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20};
     *
     * Requirements:
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        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 {
        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);
    }

    /** @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 Sets `amount` as the allowance of `spender` over the `owner`s tokens.
     *
     * This is internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be 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) notPaused internal virtual { }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[],"name":"ExitedToCommunity","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"state","type":"bool"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"exitToCommunity","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":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_pause","type":"bool"}],"name":"pause","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060068054610100600160a81b031916742150cb38ee362bceac3d4a2704a82eeed02e93ec0017905560408051808201909152600b8082526a4d657461466163746f727960a81b60209092019182526200006e91600391620002d5565b50604080518082019091526005808252641493d093d560da1b60209092019182526200009d91600491620002d5565b50620668a060058190556006805460ff191660121790819055620000e0916001600160a01b036101008304169160ff16600a0a026001600160e01b03620000e616565b6200037a565b6001600160a01b03821662000142576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b62000159600083836001600160e01b03620001fe16565b62000175816002546200027360201b62000a681790919060201c565b6002556001600160a01b03821660009081526020818152604090912054620001a891839062000a6862000273821b17901c565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60065461010090046001600160a01b0316331480620002275750600654600160a81b900460ff16155b6200026e576040805162461bcd60e51b81526020600482015260126024820152711d1c985b9cd9995c881a5cc81c185d5cd95960721b604482015290519081900360640190fd5b505050565b600082820183811015620002ce576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200031857805160ff191683800117855562000348565b8280016001018555821562000348579182015b82811115620003485782518255916020019190600101906200032b565b50620003569291506200035a565b5090565b6200037791905b8082111562000356576000815560010162000361565b90565b610c73806200038a6000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c806370a082311161008c578063a9059cbb11610066578063a9059cbb146102bf578063dd62ed3e146102eb578063ecb0fb2914610319578063f851a44014610321576100ea565b806370a082311461026557806395d89b411461028b578063a457c2d714610293576100ea565b806318160ddd116100c857806318160ddd146101cb57806323b872dd146101e5578063313ce5671461021b5780633950935114610239576100ea565b806302329a29146100ef57806306fdde0314610122578063095ea7b31461019f575b600080fd5b61010e6004803603602081101561010557600080fd5b50351515610345565b604080519115158252519081900360200190f35b61012a610406565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561016457818101518382015260200161014c565b50505050905090810190601f1680156101915780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61010e600480360360408110156101b557600080fd5b506001600160a01b03813516906020013561049c565b6101d36104b9565b60408051918252519081900360200190f35b61010e600480360360608110156101fb57600080fd5b506001600160a01b038135811691602081013590911690604001356104bf565b61022361054c565b6040805160ff9092168252519081900360200190f35b61010e6004803603604081101561024f57600080fd5b506001600160a01b038135169060200135610555565b6101d36004803603602081101561027b57600080fd5b50356001600160a01b03166105a9565b61012a6105c4565b61010e600480360360408110156102a957600080fd5b506001600160a01b038135169060200135610625565b61010e600480360360408110156102d557600080fd5b506001600160a01b038135169060200135610693565b6101d36004803603604081101561030157600080fd5b506001600160a01b03813581169160200135166106a7565b61010e6106d2565b610329610766565b604080516001600160a01b039092168252519081900360200190f35b60065460009061010090046001600160a01b03163314610399576040805162461bcd60e51b815260206004820152600a60248201526961646d696e206f6e6c7960b01b604482015290519081900360640190fd5b60068054831515600160a81b90810260ff60a81b199092169190911791829055604080519190920460ff161515815290517f0e2fb031ee032dc02d8011dc50b816eb450cf856abd8261680dac74f72165bd29181900360200190a15050600654600160a81b900460ff1690565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104925780601f1061046757610100808354040283529160200191610492565b820191906000526020600020905b81548152906001019060200180831161047557829003601f168201915b5050505050905090565b60006104b06104a961077a565b848461077e565b50600192915050565b60025490565b60006104cc84848461086a565b610542846104d861077a565b61053d85604051806060016040528060288152602001610ba8602891396001600160a01b038a1660009081526001602052604081209061051661077a565b6001600160a01b03168152602081019190915260400160002054919063ffffffff6109d116565b61077e565b5060019392505050565b60065460ff1690565b60006104b061056261077a565b8461053d856001600061057361077a565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff610a6816565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104925780601f1061046757610100808354040283529160200191610492565b60006104b061063261077a565b8461053d85604051806060016040528060258152602001610c19602591396001600061065c61077a565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff6109d116565b60006104b06106a061077a565b848461086a565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60065460009061010090046001600160a01b03163314610726576040805162461bcd60e51b815260206004820152600a60248201526961646d696e206f6e6c7960b01b604482015290519081900360640190fd5b60068054610100600160b01b03191690556040517f27831a44e06e83223b94d51c15b2d75ca4969a26777e11b8334921725067102390600090a150600190565b60065461010090046001600160a01b031690565b3390565b6001600160a01b0383166107c35760405162461bcd60e51b8152600401808060200182810382526024815260200180610bf56024913960400191505060405180910390fd5b6001600160a01b0382166108085760405162461bcd60e51b8152600401808060200182810382526022815260200180610b606022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166108af5760405162461bcd60e51b8152600401808060200182810382526025815260200180610bd06025913960400191505060405180910390fd5b6001600160a01b0382166108f45760405162461bcd60e51b8152600401808060200182810382526023815260200180610b3d6023913960400191505060405180910390fd5b6108ff838383610ac9565b61094281604051806060016040528060268152602001610b82602691396001600160a01b038616600090815260208190526040902054919063ffffffff6109d116565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610977908263ffffffff610a6816565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610a605760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610a25578181015183820152602001610a0d565b50505050905090810190601f168015610a525780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610ac2576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60065461010090046001600160a01b0316331480610af15750600654600160a81b900460ff16155b610b37576040805162461bcd60e51b81526020600482015260126024820152711d1c985b9cd9995c881a5cc81c185d5cd95960721b604482015290519081900360640190fd5b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212206fb5c853a120680d3ec1f0c45beace286d31ee77608334f2caebbe210982576864736f6c63430006040033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c806370a082311161008c578063a9059cbb11610066578063a9059cbb146102bf578063dd62ed3e146102eb578063ecb0fb2914610319578063f851a44014610321576100ea565b806370a082311461026557806395d89b411461028b578063a457c2d714610293576100ea565b806318160ddd116100c857806318160ddd146101cb57806323b872dd146101e5578063313ce5671461021b5780633950935114610239576100ea565b806302329a29146100ef57806306fdde0314610122578063095ea7b31461019f575b600080fd5b61010e6004803603602081101561010557600080fd5b50351515610345565b604080519115158252519081900360200190f35b61012a610406565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561016457818101518382015260200161014c565b50505050905090810190601f1680156101915780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61010e600480360360408110156101b557600080fd5b506001600160a01b03813516906020013561049c565b6101d36104b9565b60408051918252519081900360200190f35b61010e600480360360608110156101fb57600080fd5b506001600160a01b038135811691602081013590911690604001356104bf565b61022361054c565b6040805160ff9092168252519081900360200190f35b61010e6004803603604081101561024f57600080fd5b506001600160a01b038135169060200135610555565b6101d36004803603602081101561027b57600080fd5b50356001600160a01b03166105a9565b61012a6105c4565b61010e600480360360408110156102a957600080fd5b506001600160a01b038135169060200135610625565b61010e600480360360408110156102d557600080fd5b506001600160a01b038135169060200135610693565b6101d36004803603604081101561030157600080fd5b506001600160a01b03813581169160200135166106a7565b61010e6106d2565b610329610766565b604080516001600160a01b039092168252519081900360200190f35b60065460009061010090046001600160a01b03163314610399576040805162461bcd60e51b815260206004820152600a60248201526961646d696e206f6e6c7960b01b604482015290519081900360640190fd5b60068054831515600160a81b90810260ff60a81b199092169190911791829055604080519190920460ff161515815290517f0e2fb031ee032dc02d8011dc50b816eb450cf856abd8261680dac74f72165bd29181900360200190a15050600654600160a81b900460ff1690565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104925780601f1061046757610100808354040283529160200191610492565b820191906000526020600020905b81548152906001019060200180831161047557829003601f168201915b5050505050905090565b60006104b06104a961077a565b848461077e565b50600192915050565b60025490565b60006104cc84848461086a565b610542846104d861077a565b61053d85604051806060016040528060288152602001610ba8602891396001600160a01b038a1660009081526001602052604081209061051661077a565b6001600160a01b03168152602081019190915260400160002054919063ffffffff6109d116565b61077e565b5060019392505050565b60065460ff1690565b60006104b061056261077a565b8461053d856001600061057361077a565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff610a6816565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104925780601f1061046757610100808354040283529160200191610492565b60006104b061063261077a565b8461053d85604051806060016040528060258152602001610c19602591396001600061065c61077a565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff6109d116565b60006104b06106a061077a565b848461086a565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60065460009061010090046001600160a01b03163314610726576040805162461bcd60e51b815260206004820152600a60248201526961646d696e206f6e6c7960b01b604482015290519081900360640190fd5b60068054610100600160b01b03191690556040517f27831a44e06e83223b94d51c15b2d75ca4969a26777e11b8334921725067102390600090a150600190565b60065461010090046001600160a01b031690565b3390565b6001600160a01b0383166107c35760405162461bcd60e51b8152600401808060200182810382526024815260200180610bf56024913960400191505060405180910390fd5b6001600160a01b0382166108085760405162461bcd60e51b8152600401808060200182810382526022815260200180610b606022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166108af5760405162461bcd60e51b8152600401808060200182810382526025815260200180610bd06025913960400191505060405180910390fd5b6001600160a01b0382166108f45760405162461bcd60e51b8152600401808060200182810382526023815260200180610b3d6023913960400191505060405180910390fd5b6108ff838383610ac9565b61094281604051806060016040528060268152602001610b82602691396001600160a01b038616600090815260208190526040902054919063ffffffff6109d116565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610977908263ffffffff610a6816565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610a605760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610a25578181015183820152602001610a0d565b50505050905090810190601f168015610a525780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610ac2576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60065461010090046001600160a01b0316331480610af15750600654600160a81b900460ff16155b610b37576040805162461bcd60e51b81526020600482015260126024820152711d1c985b9cd9995c881a5cc81c185d5cd95960721b604482015290519081900360640190fd5b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212206fb5c853a120680d3ec1f0c45beace286d31ee77608334f2caebbe210982576864736f6c63430006040033

Deployed Bytecode Sourcemap

11536:10077:0:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;11536:10077:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;13581:151:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;13581:151:0;;;;:::i;:::-;;;;;;;;;;;;;;;;;;13962:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;13962:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16068:169;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;16068:169:0;;;;;;;;:::i;15037:100::-;;;:::i;:::-;;;;;;;;;;;;;;;;16711:321;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;16711:321:0;;;;;;;;;;;;;;;;;:::i;14889:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;17441:218;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;17441:218:0;;;;;;;;:::i;15200:119::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;15200:119:0;-1:-1:-1;;;;;15200:119:0;;:::i;14164:87::-;;;:::i;18162:269::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;18162:269:0;;;;;;;;:::i;15532:175::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;15532:175:0;;;;;;;;:::i;15770:151::-;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;15770:151:0;;;;;;;;;;:::i;13293:180::-;;;:::i;13812:79::-;;;:::i;:::-;;;;-1:-1:-1;;;;;13812:79:0;;;;;;;;;;;;;;13581:151;12819:6;;13635:4;;12819:6;;;-1:-1:-1;;;;;12819:6:0;12805:10;:20;12797:43;;;;;-1:-1:-1;;;12797:43:0;;;;;;;;;;;;-1:-1:-1;;;12797:43:0;;;;;;;;;;;;;;;13652:7:::1;:16:::0;;;::::1;;-1:-1:-1::0;;;13652:16:0;;::::1;-1:-1:-1::0;;;;13652:16:0;;::::1;::::0;;;::::1;::::0;;;;13684:15:::1;::::0;;13691:7;;;::::1;13652:16;13691:7;13684:15;;::::0;;;;::::1;::::0;;;;::::1;::::0;;::::1;-1:-1:-1::0;;13717:7:0::1;::::0;-1:-1:-1;;;13717:7:0;::::1;;;::::0;13581:151::o;13962:83::-;14032:5;14025:12;;;;;;;;-1:-1:-1;;14025:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13999:13;;14025:12;;14032:5;;14025:12;;14032:5;14025:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13962:83;:::o;16068:169::-;16151:4;16168:39;16177:12;:10;:12::i;:::-;16191:7;16200:6;16168:8;:39::i;:::-;-1:-1:-1;16225:4:0;16068:169;;;;:::o;15037:100::-;15117:12;;15037:100;:::o;16711:321::-;16817:4;16834:36;16844:6;16852:9;16863:6;16834:9;:36::i;:::-;16881:121;16890:6;16898:12;:10;:12::i;:::-;16912:89;16950:6;16912:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16912:19:0;;;;;;:11;:19;;;;;;16932:12;:10;:12::i;:::-;-1:-1:-1;;;;;16912:33:0;;;;;;;;;;;;-1:-1:-1;16912:33:0;;;:89;;:37;:89;:::i;:::-;16881:8;:121::i;:::-;-1:-1:-1;17020:4:0;16711:321;;;;;:::o;14889:83::-;14955:9;;;;14889:83;:::o;17441:218::-;17529:4;17546:83;17555:12;:10;:12::i;:::-;17569:7;17578:50;17617:10;17578:11;:25;17590:12;:10;:12::i;:::-;-1:-1:-1;;;;;17578:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;17578:25:0;;;:34;;;;;;;;;;;:50;:38;:50;:::i;15200:119::-;-1:-1:-1;;;;;15293:18:0;15266:7;15293:18;;;;;;;;;;;;15200:119::o;14164:87::-;14236:7;14229:14;;;;;;;;-1:-1:-1;;14229:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14203:13;;14229:14;;14236:7;;14229:14;;14236:7;14229:14;;;;;;;;;;;;;;;;;;;;;;;;18162:269;18255:4;18272:129;18281:12;:10;:12::i;:::-;18295:7;18304:96;18343:15;18304:96;;;;;;;;;;;;;;;;;:11;:25;18316:12;:10;:12::i;:::-;-1:-1:-1;;;;;18304:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;18304:25:0;;;:34;;;;;;;;;;;:96;;:38;:96;:::i;15532:175::-;15618:4;15635:42;15645:12;:10;:12::i;:::-;15659:9;15670:6;15635:9;:42::i;15770:151::-;-1:-1:-1;;;;;15886:18:0;;;15859:7;15886:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;15770:151::o;13293:180::-;12819:6;;13346:4;;12819:6;;;-1:-1:-1;;;;;12819:6:0;12805:10;:20;12797:43;;;;;-1:-1:-1;;;12797:43:0;;;;;;;;;;;;-1:-1:-1;;;12797:43:0;;;;;;;;;;;;;;;13363:7:::1;:15:::0;;-1:-1:-1;;;;;;13389:19:0;;;13424::::1;::::0;::::1;::::0;13373:5:::1;::::0;13424:19:::1;-1:-1:-1::0;13461:4:0::1;13293:180:::0;:::o;13812:79::-;13877:6;;;;;-1:-1:-1;;;;;13877:6:0;;13812:79::o;277:106::-;365:10;277:106;:::o;20559:346::-;-1:-1:-1;;;;;20661:19:0;;20653:68;;;;-1:-1:-1;;;20653:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20740:21:0;;20732:68;;;;-1:-1:-1;;;20732:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20813:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;20865:32;;;;;;;;;;;;;;;;;20559:346;;;:::o;18921:539::-;-1:-1:-1;;;;;19027:20:0;;19019:70;;;;-1:-1:-1;;;19019:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19108:23:0;;19100:71;;;;-1:-1:-1;;;19100:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19184:47;19205:6;19213:9;19224:6;19184:20;:47::i;:::-;19264:71;19286:6;19264:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19264:17:0;;:9;:17;;;;;;;;;;;;:71;;:21;:71;:::i;:::-;-1:-1:-1;;;;;19244:17:0;;;:9;:17;;;;;;;;;;;:91;;;;19369:20;;;;;;;:32;;19394:6;19369:32;:24;:32;:::i;:::-;-1:-1:-1;;;;;19346:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;19417:35;;;;;;;19346:20;;19417:35;;;;;;;;;;;;;18921:539;;;:::o;5068:192::-;5154:7;5190:12;5182:6;;;;5174:29;;;;-1:-1:-1;;;5174:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;5174:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5226:5:0;;;5068:192::o;4181:181::-;4239:7;4271:5;;;4295:6;;;;4287:46;;;;;-1:-1:-1;;;4287:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4353:1;4181:181;-1:-1:-1;;;4181:181:0:o;21508:102::-;13120:6;;;;;-1:-1:-1;;;;;13120:6:0;13106:10;:20;;:40;;-1:-1:-1;13130:7:0;;-1:-1:-1;;;13130:7:0;;;;:16;13106:40;13098:71;;;;;-1:-1:-1;;;13098:71:0;;;;;;;;;;;;-1:-1:-1;;;13098:71:0;;;;;;;;;;;;;;;21508:102;;;:::o

Swarm Source

ipfs://6fb5c853a120680d3ec1f0c45beace286d31ee77608334f2caebbe2109825768
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.