ETH Price: $2,960.19 (-0.80%)
Gas: 6 Gwei

Token

XENO NFT HUB (XNO)
 

Overview

Max Total Supply

2,100,000,000 XNO

Holders

491 (0.00%)

Total Transfers

-

Market

Price

$0.00 @ 0.000000 ETH (-6.73%)

Onchain Market Cap

$488,775.00

Circulating Supply Market Cap

$0.00

Other Info

Token Contract (WITH 18 Decimals)

Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Xeno NFT Hub is an easily accessible marketplace and ecosystem for creating and trading Non-Fungible Tokens (NFTs) in a secure and decentralized manner. Built on Substrate as full parachain within the Polkadot ecosystem.

Market

Volume (24H):$1,094,740.00
Market Capitalization:$0.00
Circulating Supply:0.00 XNO
Market Data Source: Coinmarketcap

# Exchange Pair Price  24H Volume % Volume
1
HTX
XNO-USDT$0.0002
0.0000001 Eth
$1,093,073.00
4,726,695,480.249 XNO
100.0000%

Contract Source Code Verified (Exact Match)

Contract Name:
XNOToken

Compiler Version
v0.6.10+commit.00c0fcaf

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : XNOToken.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.10;

import "./ERC20/ERC20.sol";
import "./ERC20/ERC20Detailed.sol";
import "./utils/TokenRecover.sol";
import "./features/ERC20Pausable.sol";

contract XNOToken is ERC20Detailed, TokenRecover, ERC20Pausable {
    
    uint256 private constant _initialSupply = 2100000000;
    
    constructor () public ERC20Detailed ( "XENO NFT HUB", "XNO", 18 ) 
    { _mint(_msgSender(), _initialSupply * (10 ** uint256(decimals()))); }

    function initialSupply() public pure returns ( uint256 ){
        return _initialSupply;
    }
}

File 2 of 13 : ERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.10;

import "../utils/SafeMath.sol";

import "./IERC20.sol";

import "../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

    /**
     * @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) virtual public override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

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

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) virtual public 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) virtual public 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) virtual public 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) virtual public 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 {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _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 {
        require(account != address(0), "ERC20: mint to the zero address");

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal {
        require(account != address(0), "ERC20: burn from the zero address");

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens.
     *
     * This 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 {
        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 Destroys `amount` tokens from `account`.`amount` is then deducted
     * from the caller's allowance.
     *
     * See {_burn} and {_approve}.
     */
    function _burnFrom(address account, uint256 amount) internal {
        _burn(account, amount);
        _approve(account, _msgSender(), _allowances[account][_msgSender()].sub(amount, "ERC20: burn amount exceeds allowance"));
    }
}

File 3 of 13 : ERC20Detailed.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.10;

/**
 * @dev Optional functions from the ERC20 standard.
 */
contract ERC20Detailed {
    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for `name`, `symbol`, and `decimals`. All three of
     * these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name, string memory symbol, uint8 decimals) public {
        _name = name;
        _symbol = symbol;
        _decimals = decimals;
    }

    /**
     * @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.
     *
     * 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;
    }
}

File 4 of 13 : TokenRecover.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.10;

import "../ERC20/IERC20.sol";
import "./Context.sol";
import "../access/roles/RecoverRole.sol";

contract TokenRecover is Context, RecoverRole {

    /**
     * @dev Remember that only owner can call so be careful when use on contracts generated from other contracts.
     * @param tokenAddress The token contract address
     * @param tokenAmount Number of tokens to be sent
     */
    function recoverERC20(address tokenAddress, uint256 tokenAmount) public onlyRecoverer {
        require(IERC20(tokenAddress).balanceOf(address(this)) >= tokenAmount, "TokenRecover.recoverERC20: INVALID_AMOUNT");
        IERC20(tokenAddress).transfer(_msgSender(), tokenAmount);
    }
}

File 5 of 13 : ERC20Pausable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.10;

import "../ERC20/ERC20.sol";
import "./ERC20Burnable.sol";
import "./Pausable.sol";

/**
 * @title Pausable token
 * @dev ERC20 with pausable transfers and allowances.
 *
 * Useful if you want to stop trades until the end of a crowdsale, or have
 * an emergency switch for freezing all token transfers in the event of a large
 * bug.
 */
contract ERC20Pausable is ERC20, ERC20Burnable, Pausable {

    function transfer(address to, uint256 value) public override whenNotPaused returns (bool) {
        return super.transfer(to, value);
    }

    function transferFrom(address from, address to, uint256 value) public override whenNotPaused returns (bool) {
        return super.transferFrom(from, to, value);
    }

    function approve(address spender, uint256 value) public override whenNotPaused returns (bool) {
        return super.approve(spender, value);
    }

    function increaseAllowance(address spender, uint256 addedValue) public override whenNotPaused returns (bool) {
        return super.increaseAllowance(spender, addedValue);
    }

    function decreaseAllowance(address spender, uint256 subtractedValue) public override whenNotPaused returns (bool) {
        return super.decreaseAllowance(spender, subtractedValue);
    }

    function burn(uint256 amount) public override whenNotPaused returns (bool) {
        return super.burn(amount);
    }

    function burnFrom(address account, uint256 amount) public override whenNotPaused returns (bool) {
        return super.burnFrom(account, amount);
    }
    
}

File 6 of 13 : SafeMath.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.10;

/**
 * @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.
     *
     * _Available since v2.4.0._
     */
    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.
     *
     * _Available since v2.4.0._
     */
    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.
     *
     * _Available since v2.4.0._
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

File 7 of 13 : IERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.10;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP. Does not include
 * the optional functions; to access them see {ERC20Detailed}.
 */
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);
}

File 8 of 13 : Context.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.10;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return 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;
    }
}

File 9 of 13 : RecoverRole.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.10;

import "../../utils/Context.sol";
import "../Roles.sol";

contract RecoverRole is Context {
    using Roles for Roles.Role;

    event RecovererAdded(address indexed account);
    event RecovererRemoved(address indexed account);

    Roles.Role private _recoverers;

    constructor () internal {
        _addRecoverer(_msgSender());
    }

    modifier onlyRecoverer() {
        require(isRecoverer(_msgSender()), "RecovererRole: caller does not have the Recoverer role");
        _;
    }

    function isRecoverer(address account) public view returns (bool) {
        return _recoverers.has(account);
    }

    function addRecoverer(address account) public onlyRecoverer {
        _addRecoverer(account);
    }

    function renounceRecoverer() public {
        _removeRecoverer(_msgSender());
    }

    function _addRecoverer(address account) internal {
        _recoverers.add(account);
        emit RecovererAdded(account);
    }

    function _removeRecoverer(address account) internal {
        _recoverers.remove(account);
        emit RecovererRemoved(account);
    }
}

File 10 of 13 : Roles.sol
// THIS CONTRCT HAS BEEN MODIFIED TO PREVENT SINGLE ROLE HOLDERS FROM REVOKING THEMSELVES
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.10;

/**
 * @title Roles
 * @dev Library for managing addresses assigned to a Role.
 */
library Roles {
    struct Role {
        mapping (address => bool) bearer;
        uint256 numberOfBearers;
    }

    /**
     * @dev Give an account access to this role.
     */
    function add(Role storage role, address account) internal {
        require(!has(role, account), "Roles: account already has role");
        role.bearer[account] = true;
        role.numberOfBearers += 1;
    }

    /**
     * @dev Remove an account's access to this role.
     */
    function remove(Role storage role, address account) internal {
        require(has(role, account), "Roles: account does not have role");
        uint256 numberOfBearers = role.numberOfBearers -= 1; // there is always at least one account added in constructor, so this cannot overflow below zero
        require(atLeastOneBearer(numberOfBearers), "Roles: there must be at least one account assigned to this role");
        
        role.bearer[account] = false;
    }

    /**
     * @dev Check if an account has this role.
     * @return bool
     */
    function has(Role storage role, address account) internal view returns (bool) {
        require(account != address(0), "Roles: account is the zero address");
        return role.bearer[account];
    }

    /**
     * @dev Check if this role has at least one account assigned to it.
     * @return bool
     */
    function atLeastOneBearer(uint256 numberOfBearers) internal pure returns (bool) {
        if (numberOfBearers > 0) {
            return true;
        } else {
            return false;
        }
    }
}

File 11 of 13 : ERC20Burnable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.10;

import "../utils/Context.sol";
import "../ERC20/ERC20.sol";

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) virtual public returns (bool) {
        _burn(_msgSender(), amount);
        return true;
    }

    /**
     * @dev See {ERC20-_burnFrom}.
     */
    function burnFrom(address account, uint256 amount) virtual public returns (bool) {
        _burnFrom(account, amount);
        return true;
    }
}

File 12 of 13 : Pausable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.10;

import "../utils/Context.sol";
import "../access/roles/PauserRole.sol";

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
contract Pausable is Context, PauserRole {
    /**
     * @dev Emitted when the pause is triggered by a pauser (`account`).
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by a pauser (`account`).
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state. Assigns the Pauser role
     * to the deployer.
     */
    constructor () internal {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     */
    modifier whenNotPaused() {
        require(!_paused, "Pausable.whenNotPaused: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     */
    modifier whenPaused() {
        require(_paused, "Pausable.whenPaused: not paused");
        _;
    }

    /**
     * @dev Called by a pauser to pause, triggers stopped state.
     */
    function pause() public onlyPauser whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Called by a pauser to unpause, returns to normal state.
     */
    function unpause() public onlyPauser whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 13 of 13 : PauserRole.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.10;

import "../../utils/Context.sol";
import "../Roles.sol";

contract PauserRole is Context {
    using Roles for Roles.Role;

    event PauserAdded(address indexed account);
    event PauserRemoved(address indexed account);

    Roles.Role private _pausers;

    constructor () internal {
        _addPauser(_msgSender());
    }

    modifier onlyPauser() {
        require(isPauser(_msgSender()), "PauserRole: caller does not have the Pauser role");
        _;
    }

    function isPauser(address account) public view returns (bool) {
        return _pausers.has(account);
    }

    function addPauser(address account) public onlyPauser {
        _addPauser(account);
    }

    function renouncePauser() public {
        _removePauser(_msgSender());
    }

    function _addPauser(address account) internal {
        _pausers.add(account);
        emit PauserAdded(account);
    }

    function _removePauser(address account) internal {
        _pausers.remove(account);
        emit PauserRemoved(account);
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "libraries": {}
}

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":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"PauserAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"PauserRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"RecovererAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"RecovererRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addPauser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addRecoverer","outputs":[],"stateMutability":"nonpayable","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":"value","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":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"initialSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isPauser","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isRecoverer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"recoverERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renouncePauser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceRecoverer","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":"value","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":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604080518082018252600c81526b2c22a7279027232a10242aa160a11b602080830191825283518085019094526003845262584e4f60e81b90840152815191929160129162000065916000919062000443565b5081516200007b90600190602085019062000443565b506002805460ff191660ff9290921691909117905550620000b09050620000a162000128565b6001600160e01b036200012d16565b620000d6620000c76001600160e01b036200012816565b6001600160e01b036200017f16565b600a805460ff1916905562000122620000f76001600160e01b036200012816565b6200010a6001600160e01b03620001d116565b60ff16600a0a637d2b750002620001da60201b60201c565b620004e5565b335b90565b62000148816003620002df60201b62000c901790919060201c565b6040516001600160a01b038216907fe3558b6a8345f54a82b7d6dca5a36625b1d8b2140ff7053871b2c37c1dcaa21490600090a250565b6200019a816008620002df60201b62000c901790919060201c565b6040516001600160a01b038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b60025460ff1690565b6001600160a01b03821662000236576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b62000252816007546200037860201b62000d1d1790919060201c565b6007556001600160a01b0382166000908152600560209081526040909120546200028791839062000d1d62000378821b17901c565b6001600160a01b03831660008181526005602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b620002f482826001600160e01b03620003da16565b1562000347576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b03166000908152602082905260409020805460ff1916600190811790915590810180549091019055565b600082820183811015620003d3576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60006001600160a01b038216620004235760405162461bcd60e51b815260040180806020018281038252602281526020018062001db66022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200048657805160ff1916838001178555620004b6565b82800160010185558215620004b6579182015b82811115620004b657825182559160200191906001019062000499565b50620004c4929150620004c8565b5090565b6200012a91905b80821115620004c45760008155600101620004cf565b6118c180620004f56000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c80635c975abb116100c35780638980f11f1161007c5780638980f11f146103c757806395d89b41146103f3578063a457c2d7146103fb578063a9059cbb14610427578063c2134b2314610453578063dd62ed3e1461047957610158565b80635c975abb146103375780636ef8d66d1461033f57806370a082311461034757806379cc67901461036d57806382dc1ec4146103995780638456cb59146103bf57610158565b8063378dc3dc11610115578063378dc3dc146102ae57806339509351146102b65780633f4ba83a146102e257806342966c68146102ec57806342db2fba1461030957806346fbf68e1461031157610158565b806306fdde031461015d578063095ea7b3146101da57806318160ddd1461021a57806322f06ae41461023457806323b872dd1461025a578063313ce56714610290575b600080fd5b6101656104a7565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561019f578181015183820152602001610187565b50505050905090810190601f1680156101cc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610206600480360360408110156101f057600080fd5b506001600160a01b03813516906020013561053d565b604080519115158252519081900360200190f35b610222610597565b60408051918252519081900360200190f35b6102066004803603602081101561024a57600080fd5b50356001600160a01b031661059d565b6102066004803603606081101561027057600080fd5b506001600160a01b038135811691602081013590911690604001356105b8565b610298610614565b6040805160ff9092168252519081900360200190f35b61022261061d565b610206600480360360408110156102cc57600080fd5b506001600160a01b038135169060200135610625565b6102ea610678565b005b6102066004803603602081101561030257600080fd5b503561076a565b6102ea6107bc565b6102066004803603602081101561032757600080fd5b50356001600160a01b03166107ce565b6102066107e1565b6102ea6107ea565b6102226004803603602081101561035d57600080fd5b50356001600160a01b03166107fa565b6102066004803603604081101561038357600080fd5b506001600160a01b038135169060200135610815565b6102ea600480360360208110156103af57600080fd5b50356001600160a01b0316610868565b6102ea6108ba565b6102ea600480360360408110156103dd57600080fd5b506001600160a01b03813516906020013561097c565b610165610b10565b6102066004803603604081101561041157600080fd5b506001600160a01b038135169060200135610b70565b6102066004803603604081101561043d57600080fd5b506001600160a01b038135169060200135610bc3565b6102ea6004803603602081101561046957600080fd5b50356001600160a01b0316610c16565b6102226004803603604081101561048f57600080fd5b506001600160a01b0381358116916020013516610c65565b60008054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105335780601f1061050857610100808354040283529160200191610533565b820191906000526020600020905b81548152906001019060200180831161051657829003601f168201915b5050505050905090565b600a5460009060ff1615610586576040805162461bcd60e51b815260206004820152601e602482015260008051602061174e833981519152604482015290519081900360640190fd5b6105908383610d77565b9392505050565b60075490565b60006105b060038363ffffffff610d9416565b90505b919050565b600a5460009060ff1615610601576040805162461bcd60e51b815260206004820152601e602482015260008051602061174e833981519152604482015290519081900360640190fd5b61060c848484610dfb565b949350505050565b60025460ff1690565b637d2b750090565b600a5460009060ff161561066e576040805162461bcd60e51b815260206004820152601e602482015260008051602061174e833981519152604482015290519081900360640190fd5b6105908383610e88565b610688610683610edc565b6107ce565b6106c35760405162461bcd60e51b81526004018080602001828103825260308152602001806116a06030913960400191505060405180910390fd5b600a5460ff1661071a576040805162461bcd60e51b815260206004820152601f60248201527f5061757361626c652e7768656e5061757365643a206e6f742070617573656400604482015290519081900360640190fd5b600a805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61074d610edc565b604080516001600160a01b039092168252519081900360200190a1565b600a5460009060ff16156107b3576040805162461bcd60e51b815260206004820152601e602482015260008051602061174e833981519152604482015290519081900360640190fd5b6105b082610ee0565b6107cc6107c7610edc565b610efb565b565b60006105b060088363ffffffff610d9416565b600a5460ff1690565b6107cc6107f5610edc565b610f43565b6001600160a01b031660009081526005602052604090205490565b600a5460009060ff161561085e576040805162461bcd60e51b815260206004820152601e602482015260008051602061174e833981519152604482015290519081900360640190fd5b6105908383610f8b565b610873610683610edc565b6108ae5760405162461bcd60e51b81526004018080602001828103825260308152602001806116a06030913960400191505060405180910390fd5b6108b781610f97565b50565b6108c5610683610edc565b6109005760405162461bcd60e51b81526004018080602001828103825260308152602001806116a06030913960400191505060405180910390fd5b600a5460ff1615610946576040805162461bcd60e51b815260206004820152601e602482015260008051602061174e833981519152604482015290519081900360640190fd5b600a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861074d610edc565b61098c610987610edc565b61059d565b6109c75760405162461bcd60e51b81526004018080602001828103825260368152602001806116f26036913960400191505060405180910390fd5b604080516370a0823160e01b8152306004820152905182916001600160a01b038516916370a0823191602480820192602092909190829003018186803b158015610a1057600080fd5b505afa158015610a24573d6000803e3d6000fd5b505050506040513d6020811015610a3a57600080fd5b50511015610a795760405162461bcd60e51b81526004018080602001828103825260298152602001806116166029913960400191505060405180910390fd5b816001600160a01b031663a9059cbb610a90610edc565b836040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015610ae057600080fd5b505af1158015610af4573d6000803e3d6000fd5b505050506040513d6020811015610b0a57600080fd5b50505050565b60018054604080516020601f600260001961010087891615020190951694909404938401819004810282018101909252828152606093909290918301828280156105335780601f1061050857610100808354040283529160200191610533565b600a5460009060ff1615610bb9576040805162461bcd60e51b815260206004820152601e602482015260008051602061174e833981519152604482015290519081900360640190fd5b6105908383610fdf565b600a5460009060ff1615610c0c576040805162461bcd60e51b815260206004820152601e602482015260008051602061174e833981519152604482015290519081900360640190fd5b610590838361104d565b610c21610987610edc565b610c5c5760405162461bcd60e51b81526004018080602001828103825260368152602001806116f26036913960400191505060405180910390fd5b6108b781611061565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b610c9a8282610d94565b15610cec576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b03166000908152602082905260409020805460ff1916600190811790915590810180549091019055565b600082820183811015610590576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000610d8b610d84610edc565b84846110a9565b50600192915050565b60006001600160a01b038216610ddb5760405162461bcd60e51b81526004018080602001828103825260228152602001806117b76022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b6000610e08848484611195565b610e7e84610e14610edc565b610e798560405180606001604052806028815260200161178f602891396001600160a01b038a16600090815260066020526040812090610e52610edc565b6001600160a01b03168152602081019190915260400160002054919063ffffffff6112f316565b6110a9565b5060019392505050565b6000610d8b610e95610edc565b84610e798560066000610ea6610edc565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff610d1d16565b3390565b6000610ef3610eed610edc565b8361138a565b506001919050565b610f0c60038263ffffffff61148616565b6040516001600160a01b038216907fc69b285b1af5c860a5bc64db4c3174315e7cdcefa6fce8882dabc93f6ef6946e90600090a250565b610f5460088263ffffffff61148616565b6040516001600160a01b038216907fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e90600090a250565b6000610d8b8383611540565b610fa860088263ffffffff610c9016565b6040516001600160a01b038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b6000610d8b610fec610edc565b84610e79856040518060600160405280602581526020016118676025913960066000611016610edc565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff6112f316565b6000610d8b61105a610edc565b8484611195565b61107260038263ffffffff610c9016565b6040516001600160a01b038216907fe3558b6a8345f54a82b7d6dca5a36625b1d8b2140ff7053871b2c37c1dcaa21490600090a250565b6001600160a01b0383166110ee5760405162461bcd60e51b81526004018080602001828103825260248152602001806118436024913960400191505060405180910390fd5b6001600160a01b0382166111335760405162461bcd60e51b81526004018080602001828103825260228152602001806116d06022913960400191505060405180910390fd5b6001600160a01b03808416600081815260066020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166111da5760405162461bcd60e51b815260040180806020018281038252602581526020018061181e6025913960400191505060405180910390fd5b6001600160a01b03821661121f5760405162461bcd60e51b81526004018080602001828103825260238152602001806115f36023913960400191505060405180910390fd5b61126281604051806060016040528060268152602001611728602691396001600160a01b038616600090815260056020526040902054919063ffffffff6112f316565b6001600160a01b038085166000908152600560205260408082209390935590841681522054611297908263ffffffff610d1d16565b6001600160a01b0380841660008181526005602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156113825760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561134757818101518382015260200161132f565b50505050905090810190601f1680156113745780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b0382166113cf5760405162461bcd60e51b81526004018080602001828103825260218152602001806117fd6021913960400191505060405180910390fd5b6114128160405180606001604052806022815260200161167e602291396001600160a01b038516600090815260056020526040902054919063ffffffff6112f316565b6001600160a01b03831660009081526005602052604090205560075461143e908263ffffffff61159816565b6007556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6114908282610d94565b6114cb5760405162461bcd60e51b815260040180806020018281038252602181526020018061176e6021913960400191505060405180910390fd5b60018201805460001901908190556114e2816115da565b61151d5760405162461bcd60e51b815260040180806020018281038252603f81526020018061163f603f913960400191505060405180910390fd5b506001600160a01b0316600090815260209190915260409020805460ff19169055565b61154a828261138a565b61159482611556610edc565b610e79846040518060600160405280602481526020016117d9602491396001600160a01b038816600090815260066020526040812090610e52610edc565b5050565b600061059083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506112f3565b600081156115ea575060016105b3565b5060006105b356fe45524332303a207472616e7366657220746f20746865207a65726f2061646472657373546f6b656e5265636f7665722e7265636f76657245524332303a20494e56414c49445f414d4f554e54526f6c65733a207468657265206d757374206265206174206c65617374206f6e65206163636f756e742061737369676e656420746f207468697320726f6c6545524332303a206275726e20616d6f756e7420657863656564732062616c616e6365506175736572526f6c653a2063616c6c657220646f6573206e6f742068617665207468652050617573657220726f6c6545524332303a20617070726f766520746f20746865207a65726f20616464726573735265636f7665726572526f6c653a2063616c6c657220646f6573206e6f74206861766520746865205265636f766572657220726f6c6545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63655061757361626c652e7768656e4e6f745061757365643a207061757365640000526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c6545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365526f6c65733a206163636f756e7420697320746865207a65726f206164647265737345524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220b173a23f5f65514f3f8ae93c87490adca40217d955b8dea377ebaf7a552fa64964736f6c634300060a0033526f6c65733a206163636f756e7420697320746865207a65726f2061646472657373

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101585760003560e01c80635c975abb116100c35780638980f11f1161007c5780638980f11f146103c757806395d89b41146103f3578063a457c2d7146103fb578063a9059cbb14610427578063c2134b2314610453578063dd62ed3e1461047957610158565b80635c975abb146103375780636ef8d66d1461033f57806370a082311461034757806379cc67901461036d57806382dc1ec4146103995780638456cb59146103bf57610158565b8063378dc3dc11610115578063378dc3dc146102ae57806339509351146102b65780633f4ba83a146102e257806342966c68146102ec57806342db2fba1461030957806346fbf68e1461031157610158565b806306fdde031461015d578063095ea7b3146101da57806318160ddd1461021a57806322f06ae41461023457806323b872dd1461025a578063313ce56714610290575b600080fd5b6101656104a7565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561019f578181015183820152602001610187565b50505050905090810190601f1680156101cc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610206600480360360408110156101f057600080fd5b506001600160a01b03813516906020013561053d565b604080519115158252519081900360200190f35b610222610597565b60408051918252519081900360200190f35b6102066004803603602081101561024a57600080fd5b50356001600160a01b031661059d565b6102066004803603606081101561027057600080fd5b506001600160a01b038135811691602081013590911690604001356105b8565b610298610614565b6040805160ff9092168252519081900360200190f35b61022261061d565b610206600480360360408110156102cc57600080fd5b506001600160a01b038135169060200135610625565b6102ea610678565b005b6102066004803603602081101561030257600080fd5b503561076a565b6102ea6107bc565b6102066004803603602081101561032757600080fd5b50356001600160a01b03166107ce565b6102066107e1565b6102ea6107ea565b6102226004803603602081101561035d57600080fd5b50356001600160a01b03166107fa565b6102066004803603604081101561038357600080fd5b506001600160a01b038135169060200135610815565b6102ea600480360360208110156103af57600080fd5b50356001600160a01b0316610868565b6102ea6108ba565b6102ea600480360360408110156103dd57600080fd5b506001600160a01b03813516906020013561097c565b610165610b10565b6102066004803603604081101561041157600080fd5b506001600160a01b038135169060200135610b70565b6102066004803603604081101561043d57600080fd5b506001600160a01b038135169060200135610bc3565b6102ea6004803603602081101561046957600080fd5b50356001600160a01b0316610c16565b6102226004803603604081101561048f57600080fd5b506001600160a01b0381358116916020013516610c65565b60008054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105335780601f1061050857610100808354040283529160200191610533565b820191906000526020600020905b81548152906001019060200180831161051657829003601f168201915b5050505050905090565b600a5460009060ff1615610586576040805162461bcd60e51b815260206004820152601e602482015260008051602061174e833981519152604482015290519081900360640190fd5b6105908383610d77565b9392505050565b60075490565b60006105b060038363ffffffff610d9416565b90505b919050565b600a5460009060ff1615610601576040805162461bcd60e51b815260206004820152601e602482015260008051602061174e833981519152604482015290519081900360640190fd5b61060c848484610dfb565b949350505050565b60025460ff1690565b637d2b750090565b600a5460009060ff161561066e576040805162461bcd60e51b815260206004820152601e602482015260008051602061174e833981519152604482015290519081900360640190fd5b6105908383610e88565b610688610683610edc565b6107ce565b6106c35760405162461bcd60e51b81526004018080602001828103825260308152602001806116a06030913960400191505060405180910390fd5b600a5460ff1661071a576040805162461bcd60e51b815260206004820152601f60248201527f5061757361626c652e7768656e5061757365643a206e6f742070617573656400604482015290519081900360640190fd5b600a805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61074d610edc565b604080516001600160a01b039092168252519081900360200190a1565b600a5460009060ff16156107b3576040805162461bcd60e51b815260206004820152601e602482015260008051602061174e833981519152604482015290519081900360640190fd5b6105b082610ee0565b6107cc6107c7610edc565b610efb565b565b60006105b060088363ffffffff610d9416565b600a5460ff1690565b6107cc6107f5610edc565b610f43565b6001600160a01b031660009081526005602052604090205490565b600a5460009060ff161561085e576040805162461bcd60e51b815260206004820152601e602482015260008051602061174e833981519152604482015290519081900360640190fd5b6105908383610f8b565b610873610683610edc565b6108ae5760405162461bcd60e51b81526004018080602001828103825260308152602001806116a06030913960400191505060405180910390fd5b6108b781610f97565b50565b6108c5610683610edc565b6109005760405162461bcd60e51b81526004018080602001828103825260308152602001806116a06030913960400191505060405180910390fd5b600a5460ff1615610946576040805162461bcd60e51b815260206004820152601e602482015260008051602061174e833981519152604482015290519081900360640190fd5b600a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861074d610edc565b61098c610987610edc565b61059d565b6109c75760405162461bcd60e51b81526004018080602001828103825260368152602001806116f26036913960400191505060405180910390fd5b604080516370a0823160e01b8152306004820152905182916001600160a01b038516916370a0823191602480820192602092909190829003018186803b158015610a1057600080fd5b505afa158015610a24573d6000803e3d6000fd5b505050506040513d6020811015610a3a57600080fd5b50511015610a795760405162461bcd60e51b81526004018080602001828103825260298152602001806116166029913960400191505060405180910390fd5b816001600160a01b031663a9059cbb610a90610edc565b836040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015610ae057600080fd5b505af1158015610af4573d6000803e3d6000fd5b505050506040513d6020811015610b0a57600080fd5b50505050565b60018054604080516020601f600260001961010087891615020190951694909404938401819004810282018101909252828152606093909290918301828280156105335780601f1061050857610100808354040283529160200191610533565b600a5460009060ff1615610bb9576040805162461bcd60e51b815260206004820152601e602482015260008051602061174e833981519152604482015290519081900360640190fd5b6105908383610fdf565b600a5460009060ff1615610c0c576040805162461bcd60e51b815260206004820152601e602482015260008051602061174e833981519152604482015290519081900360640190fd5b610590838361104d565b610c21610987610edc565b610c5c5760405162461bcd60e51b81526004018080602001828103825260368152602001806116f26036913960400191505060405180910390fd5b6108b781611061565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b610c9a8282610d94565b15610cec576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b03166000908152602082905260409020805460ff1916600190811790915590810180549091019055565b600082820183811015610590576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000610d8b610d84610edc565b84846110a9565b50600192915050565b60006001600160a01b038216610ddb5760405162461bcd60e51b81526004018080602001828103825260228152602001806117b76022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b6000610e08848484611195565b610e7e84610e14610edc565b610e798560405180606001604052806028815260200161178f602891396001600160a01b038a16600090815260066020526040812090610e52610edc565b6001600160a01b03168152602081019190915260400160002054919063ffffffff6112f316565b6110a9565b5060019392505050565b6000610d8b610e95610edc565b84610e798560066000610ea6610edc565b6001600160a01b03908116825260208083019390935260409182016000908120918c16815292529020549063ffffffff610d1d16565b3390565b6000610ef3610eed610edc565b8361138a565b506001919050565b610f0c60038263ffffffff61148616565b6040516001600160a01b038216907fc69b285b1af5c860a5bc64db4c3174315e7cdcefa6fce8882dabc93f6ef6946e90600090a250565b610f5460088263ffffffff61148616565b6040516001600160a01b038216907fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e90600090a250565b6000610d8b8383611540565b610fa860088263ffffffff610c9016565b6040516001600160a01b038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b6000610d8b610fec610edc565b84610e79856040518060600160405280602581526020016118676025913960066000611016610edc565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919063ffffffff6112f316565b6000610d8b61105a610edc565b8484611195565b61107260038263ffffffff610c9016565b6040516001600160a01b038216907fe3558b6a8345f54a82b7d6dca5a36625b1d8b2140ff7053871b2c37c1dcaa21490600090a250565b6001600160a01b0383166110ee5760405162461bcd60e51b81526004018080602001828103825260248152602001806118436024913960400191505060405180910390fd5b6001600160a01b0382166111335760405162461bcd60e51b81526004018080602001828103825260228152602001806116d06022913960400191505060405180910390fd5b6001600160a01b03808416600081815260066020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166111da5760405162461bcd60e51b815260040180806020018281038252602581526020018061181e6025913960400191505060405180910390fd5b6001600160a01b03821661121f5760405162461bcd60e51b81526004018080602001828103825260238152602001806115f36023913960400191505060405180910390fd5b61126281604051806060016040528060268152602001611728602691396001600160a01b038616600090815260056020526040902054919063ffffffff6112f316565b6001600160a01b038085166000908152600560205260408082209390935590841681522054611297908263ffffffff610d1d16565b6001600160a01b0380841660008181526005602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156113825760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561134757818101518382015260200161132f565b50505050905090810190601f1680156113745780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b0382166113cf5760405162461bcd60e51b81526004018080602001828103825260218152602001806117fd6021913960400191505060405180910390fd5b6114128160405180606001604052806022815260200161167e602291396001600160a01b038516600090815260056020526040902054919063ffffffff6112f316565b6001600160a01b03831660009081526005602052604090205560075461143e908263ffffffff61159816565b6007556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6114908282610d94565b6114cb5760405162461bcd60e51b815260040180806020018281038252602181526020018061176e6021913960400191505060405180910390fd5b60018201805460001901908190556114e2816115da565b61151d5760405162461bcd60e51b815260040180806020018281038252603f81526020018061163f603f913960400191505060405180910390fd5b506001600160a01b0316600090815260209190915260409020805460ff19169055565b61154a828261138a565b61159482611556610edc565b610e79846040518060600160405280602481526020016117d9602491396001600160a01b038816600090815260066020526040812090610e52610edc565b5050565b600061059083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506112f3565b600081156115ea575060016105b3565b5060006105b356fe45524332303a207472616e7366657220746f20746865207a65726f2061646472657373546f6b656e5265636f7665722e7265636f76657245524332303a20494e56414c49445f414d4f554e54526f6c65733a207468657265206d757374206265206174206c65617374206f6e65206163636f756e742061737369676e656420746f207468697320726f6c6545524332303a206275726e20616d6f756e7420657863656564732062616c616e6365506175736572526f6c653a2063616c6c657220646f6573206e6f742068617665207468652050617573657220726f6c6545524332303a20617070726f766520746f20746865207a65726f20616464726573735265636f7665726572526f6c653a2063616c6c657220646f6573206e6f74206861766520746865205265636f766572657220726f6c6545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63655061757361626c652e7768656e4e6f745061757365643a207061757365640000526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c6545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365526f6c65733a206163636f756e7420697320746865207a65726f206164647265737345524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220b173a23f5f65514f3f8ae93c87490adca40217d955b8dea377ebaf7a552fa64964736f6c634300060a0033

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.