POL Price: $0.696229 (-0.70%)
 

Overview

Max Total Supply

94,375,795,299.324795617287361533 $KMC

Holders

6,168 (0.00%)

Market

Price

$0.00 @ 0.000010 POL (-0.02%)

Onchain Market Cap

$641,755.41

Circulating Supply Market Cap

$238,247.00

Other Info

Token Contract (WITH 18 Decimals)

Balance
19,699.559353513785005845 $KMC

Value
$0.13 ( ~0.186720104416765 POL) [0.0000%]
0x8175732f812af3aff7cf5f73dfcf947c9eef279c
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Kitsumon is an NFT game about collecting, breeding, and caring for adorable Kitsu pets. From professions like Farming, Fishing, Crafting and more, and an in-depth breeding system, all the way to MOBA PvP modes and land acquisition, Kitsumon has everything and more.

Market

Volume (24H):$17.53
Market Capitalization:$238,247.00
Circulating Supply:35,060,556,581.00 $KMC
Market Data Source: Coinmarketcap

Contract Source Code Verified (Exact Match)

Contract Name:
KMCv1

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 28 : KMCv1.sol
// SPDX-License-Identifier: WTFPL
pragma solidity 0.8.6;

import "./extensions/presets/ERC20CappedPresetUpgradeable.sol";

contract KMCv1 is ERC20CappedPresetUpgradeable {
    bool private _initlialized;
    bool private _restrictionActive;
    uint256 private _tradingStart;
    uint256 private _maxTransferAmount;
    uint256 private constant _delayBetweenTx = 30;
    mapping(address => bool) private _isWhitelisted;
    mapping(address => bool) private _isUnthrottled;
    mapping(address => uint256) private _previousTx;

    event TradingTimeChanged(uint256 tradingTime);
    event RestrictionActiveChanged(bool active);
    event MaxTransferAmountChanged(uint256 maxTransferAmount);
    event MarkedWhitelisted(address indexed account, bool isWhitelisted);
    event MarkedUnthrottled(address indexed account, bool isUnthrottled);

    function __KMCv1_init(
        string memory _name,
        string memory _symbol,
        uint256 _cap
    ) public initializer {
        ERC20CappedPresetUpgradeable.__ERC20CappedPresetUpgradeable_init(_name, _symbol, _cap);
    }

    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual override transactionThrottler(sender, recipient, amount) {
        super._transfer(sender, recipient, amount);
    }

    function initAntibot() external onlyOwner {
        require(!_initlialized, "Protection: Already initialized");
        _initlialized = true;
        _isUnthrottled[owner()] = true;
        _tradingStart = 1639407600;
        _maxTransferAmount = 15_000 * 10**18;
        _restrictionActive = true;

        emit MarkedUnthrottled(owner(), true);
        emit TradingTimeChanged(_tradingStart);
        emit MaxTransferAmountChanged(_maxTransferAmount);
        emit RestrictionActiveChanged(_restrictionActive);
    }

    function setTradingStart(uint256 _time) external onlyOwner {
        require(_tradingStart > block.timestamp, "Protection: To late");
        _tradingStart = _time;
        emit TradingTimeChanged(_tradingStart);
    }

    function setMaxTransferAmount(uint256 _amount) external onlyOwner {
        _maxTransferAmount = _amount;
        emit MaxTransferAmountChanged(_maxTransferAmount);
    }

    function setRestrictionActive(bool _active) external onlyOwner {
        _restrictionActive = _active;
        emit RestrictionActiveChanged(_restrictionActive);
    }

    function unthrottleAccount(address _account, bool _unthrottled) external onlyOwner {
        require(_account != address(0), "Zero address");
        _isUnthrottled[_account] = _unthrottled;
        emit MarkedUnthrottled(_account, _unthrottled);
    }

    function isUnthrottled(address account) external view returns (bool) {
        return _isUnthrottled[account];
    }

    function whitelistAccount(address _account, bool _whitelisted) external onlyOwner {
        require(_account != address(0), "Zero address");
        _isWhitelisted[_account] = _whitelisted;
        emit MarkedWhitelisted(_account, _whitelisted);
    }

    function isWhitelisted(address account) external view returns (bool) {
        return _isWhitelisted[account];
    }

    modifier transactionThrottler(
        address sender,
        address recipient,
        uint256 amount
    ) {
        require(sender != recipient, "sender is recipient");
        if (_restrictionActive && !_isUnthrottled[recipient] && !_isUnthrottled[sender]) {
            require(block.timestamp >= _tradingStart, "Protection: Transfers disabled");

            if (_maxTransferAmount > 0) {
                require(amount <= _maxTransferAmount, "Protection: Limit exceeded");
            }

            if (!_isWhitelisted[recipient]) {
                require(_previousTx[recipient] + _delayBetweenTx <= block.timestamp, "Protection: 30 sec/tx allowed");
                _previousTx[recipient] = block.timestamp;
            }

            if (!_isWhitelisted[sender]) {
                require(_previousTx[sender] + _delayBetweenTx <= block.timestamp, "Protection: 30 sec/tx allowed");
                _previousTx[sender] = block.timestamp;
            }
        }
        _;
    }
}

File 2 of 28 : ERC20CappedPresetUpgradeable.sol
// SPDX-License-Identifier: WTFPL
pragma solidity 0.8.6;

import "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC20CappedUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol";

import "./Erc20PresetUpgradeable.sol";

abstract contract ERC20CappedPresetUpgradeable is ERC20CappedUpgradeable, Erc20PresetUpgradeable {
    /**
     * @dev initializes contract
     */
    function __ERC20CappedPresetUpgradeable_init(
        string memory _name,
        string memory _symbol,
        uint256 _cap
    ) public initializer {
        Erc20PresetUpgradeable.__Erc20PresetUpgradeable_init(_name, _symbol);
        __ERC20CappedPresetUpgradeable_init_unchained(_cap);
    }

    function __ERC20CappedPresetUpgradeable_init_unchained(uint256 _cap) public initializer {
        ERC20CappedUpgradeable.__ERC20Capped_init_unchained(_cap);
    }

    function _beforeTokenTransfer(
        address _from,
        address _to,
        uint256 _amount
    ) internal virtual override(Erc20PresetUpgradeable, ERC20Upgradeable) {
        super._beforeTokenTransfer(_from, _to, _amount);
    }

    function mint(address _account, uint256 _amount) external virtual override onlyRole(MINTER_ROLE) {
        _mint(_account, _amount);
    }

    function _mint(address _account, uint256 _amount) internal virtual override(ERC20CappedUpgradeable, Erc20PresetUpgradeable) {
        super._mint(_account, _amount);
    }

    uint256[50] private __gap;
}

File 3 of 28 : ERC20CappedUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC20/extensions/ERC20Capped.sol)

pragma solidity ^0.8.0;

import "../ERC20Upgradeable.sol";
import "../../../proxy/utils/Initializable.sol";

/**
 * @dev Extension of {ERC20} that adds a cap to the supply of tokens.
 */
abstract contract ERC20CappedUpgradeable is Initializable, ERC20Upgradeable {
    uint256 private _cap;

    /**
     * @dev Sets the value of the `cap`. This value is immutable, it can only be
     * set once during construction.
     */
    function __ERC20Capped_init(uint256 cap_) internal initializer {
        __Context_init_unchained();
        __ERC20Capped_init_unchained(cap_);
    }

    function __ERC20Capped_init_unchained(uint256 cap_) internal initializer {
        require(cap_ > 0, "ERC20Capped: cap is 0");
        _cap = cap_;
    }

    /**
     * @dev Returns the cap on the token's total supply.
     */
    function cap() public view virtual returns (uint256) {
        return _cap;
    }

    /**
     * @dev See {ERC20-_mint}.
     */
    function _mint(address account, uint256 amount) internal virtual override {
        require(ERC20Upgradeable.totalSupply() + amount <= cap(), "ERC20Capped: cap exceeded");
        super._mint(account, amount);
    }
    uint256[50] private __gap;
}

File 4 of 28 : ERC20Upgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20Upgradeable.sol";
import "./extensions/IERC20MetadataUpgradeable.sol";
import "../../utils/ContextUpgradeable.sol";
import "../../proxy/utils/Initializable.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead 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 ERC20Upgradeable is Initializable, ContextUpgradeable, IERC20Upgradeable, IERC20MetadataUpgradeable {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    function __ERC20_init(string memory name_, string memory symbol_) internal initializer {
        __Context_init_unchained();
        __ERC20_init_unchained(name_, symbol_);
    }

    function __ERC20_init_unchained(string memory name_, string memory symbol_) internal initializer {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

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

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

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `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);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `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);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(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:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

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

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

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

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

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
    uint256[45] private __gap;
}

File 5 of 28 : Erc20PresetUpgradeable.sol
// SPDX-License-Identifier: WTFPL
pragma solidity 0.8.6;

import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol";

import "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC20PausableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC20BurnableUpgradeable.sol";

import "@openzeppelin/contracts-upgradeable/access/AccessControlEnumerableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/utils/math/SafeMathUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC20/utils/SafeERC20Upgradeable.sol";

import "../../../../interfaces/IErc20.sol";
import "../../../../security/MinterPresetUpgradeable.sol";
import "../../../../security/SecurityPresetUpgradeable.sol";

abstract contract Erc20PresetUpgradeable is
    IErc20,
    SecurityPresetUpgradeable,
    MinterPresetUpgradeable,
    ERC20BurnableUpgradeable,
    ERC20PausableUpgradeable
{
    using SafeMathUpgradeable for uint256;
    using SafeERC20Upgradeable for IERC20Upgradeable;

    /**
     * @dev initializes contract
     */
    function __Erc20PresetUpgradeable_init(string memory _name, string memory _symbol) public initializer {
        SecurityPresetUpgradeable.__SecurityPresetUpgradeable_init();
        MinterPresetUpgradeable.__MinterPresetUpgradeable_init_unchained();
        __Erc20PresetUpgradeable_init_unchained(_name, _symbol);
    }

    function __Erc20PresetUpgradeable_init_unchained(string memory _name, string memory _symbol) internal initializer {
        ERC20Upgradeable.__ERC20_init_unchained(_name, _symbol);
        ERC20BurnableUpgradeable.__ERC20Burnable_init_unchained();
        ERC20PausableUpgradeable.__ERC20Pausable_init_unchained();
    }

    /**
     * @dev Creates `amount` new tokens for `to`.
     *
     * See {ERC20-_mint}.
     *
     * Requirements:
     *
     * - the caller must have the `MINTER_ROLE`.
     */
    function mint(address account, uint256 amount) external virtual override onlyRole(MINTER_ROLE) {
        _mint(account, amount);
    }

    function _mint(address account, uint256 amount) internal virtual override {
        super._mint(account, amount);
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual override(ERC20Upgradeable, ERC20PausableUpgradeable) {
        super._beforeTokenTransfer(from, to, amount);
    }

    uint256[50] private __gap;
}

File 6 of 28 : Initializable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (proxy/utils/Initializable.sol)

pragma solidity ^0.8.0;

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 *
 * [CAUTION]
 * ====
 * Avoid leaving a contract uninitialized.
 *
 * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
 * contract, which may impact the proxy. To initialize the implementation contract, you can either invoke the
 * initializer manually, or you can include a constructor to automatically mark it as initialized when it is deployed:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * /// @custom:oz-upgrades-unsafe-allow constructor
 * constructor() initializer {}
 * ```
 * ====
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        require(_initializing || !_initialized, "Initializable: contract is already initialized");

        bool isTopLevelCall = !_initializing;
        if (isTopLevelCall) {
            _initializing = true;
            _initialized = true;
        }

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }
}

File 7 of 28 : IERC20Upgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20Upgradeable {
    /**
     * @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 28 : IERC20MetadataUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20Upgradeable.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20MetadataUpgradeable is IERC20Upgradeable {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

File 9 of 28 : ContextUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Context.sol)

pragma solidity ^0.8.0;
import "../proxy/utils/Initializable.sol";

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract ContextUpgradeable is Initializable {
    function __Context_init() internal initializer {
        __Context_init_unchained();
    }

    function __Context_init_unchained() internal initializer {
    }
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
    uint256[50] private __gap;
}

File 10 of 28 : ERC20PausableUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC20/extensions/ERC20Pausable.sol)

pragma solidity ^0.8.0;

import "../ERC20Upgradeable.sol";
import "../../../security/PausableUpgradeable.sol";
import "../../../proxy/utils/Initializable.sol";

/**
 * @dev ERC20 token with pausable token transfers, minting and burning.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 */
abstract contract ERC20PausableUpgradeable is Initializable, ERC20Upgradeable, PausableUpgradeable {
    function __ERC20Pausable_init() internal initializer {
        __Context_init_unchained();
        __Pausable_init_unchained();
        __ERC20Pausable_init_unchained();
    }

    function __ERC20Pausable_init_unchained() internal initializer {
    }
    /**
     * @dev See {ERC20-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, amount);

        require(!paused(), "ERC20Pausable: token transfer while paused");
    }
    uint256[50] private __gap;
}

File 11 of 28 : ERC20BurnableUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC20/extensions/ERC20Burnable.sol)

pragma solidity ^0.8.0;

import "../ERC20Upgradeable.sol";
import "../../../utils/ContextUpgradeable.sol";
import "../../../proxy/utils/Initializable.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).
 */
abstract contract ERC20BurnableUpgradeable is Initializable, ContextUpgradeable, ERC20Upgradeable {
    function __ERC20Burnable_init() internal initializer {
        __Context_init_unchained();
        __ERC20Burnable_init_unchained();
    }

    function __ERC20Burnable_init_unchained() internal initializer {
    }
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        uint256 currentAllowance = allowance(account, _msgSender());
        require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance");
        unchecked {
            _approve(account, _msgSender(), currentAllowance - amount);
        }
        _burn(account, amount);
    }
    uint256[50] private __gap;
}

File 12 of 28 : AccessControlEnumerableUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (access/AccessControlEnumerable.sol)

pragma solidity ^0.8.0;

import "./IAccessControlEnumerableUpgradeable.sol";
import "./AccessControlUpgradeable.sol";
import "../utils/structs/EnumerableSetUpgradeable.sol";
import "../proxy/utils/Initializable.sol";

/**
 * @dev Extension of {AccessControl} that allows enumerating the members of each role.
 */
abstract contract AccessControlEnumerableUpgradeable is Initializable, IAccessControlEnumerableUpgradeable, AccessControlUpgradeable {
    function __AccessControlEnumerable_init() internal initializer {
        __Context_init_unchained();
        __ERC165_init_unchained();
        __AccessControl_init_unchained();
        __AccessControlEnumerable_init_unchained();
    }

    function __AccessControlEnumerable_init_unchained() internal initializer {
    }
    using EnumerableSetUpgradeable for EnumerableSetUpgradeable.AddressSet;

    mapping(bytes32 => EnumerableSetUpgradeable.AddressSet) private _roleMembers;

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControlEnumerableUpgradeable).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view override returns (address) {
        return _roleMembers[role].at(index);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view override returns (uint256) {
        return _roleMembers[role].length();
    }

    /**
     * @dev Overload {_grantRole} to track enumerable memberships
     */
    function _grantRole(bytes32 role, address account) internal virtual override {
        super._grantRole(role, account);
        _roleMembers[role].add(account);
    }

    /**
     * @dev Overload {_revokeRole} to track enumerable memberships
     */
    function _revokeRole(bytes32 role, address account) internal virtual override {
        super._revokeRole(role, account);
        _roleMembers[role].remove(account);
    }
    uint256[49] private __gap;
}

File 13 of 28 : OwnableUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/ContextUpgradeable.sol";
import "../proxy/utils/Initializable.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract OwnableUpgradeable is Initializable, ContextUpgradeable {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    function __Ownable_init() internal initializer {
        __Context_init_unchained();
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal initializer {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
    uint256[49] private __gap;
}

File 14 of 28 : SafeMathUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMathUpgradeable {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 15 of 28 : SafeERC20Upgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20Upgradeable.sol";
import "../../../utils/AddressUpgradeable.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20Upgradeable {
    using AddressUpgradeable for address;

    function safeTransfer(
        IERC20Upgradeable token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20Upgradeable token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20Upgradeable token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20Upgradeable token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20Upgradeable token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20Upgradeable token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 16 of 28 : IErc20.sol
// SPDX-License-Identifier: WTFPL
pragma solidity 0.8.6;

import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/IERC20MetadataUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/access/AccessControlEnumerableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC20/utils/SafeERC20Upgradeable.sol";

interface IErc20 is IERC20Upgradeable, IERC20MetadataUpgradeable, IAccessControlEnumerableUpgradeable {
    function mint(address account, uint256 amount) external;
}

File 17 of 28 : MinterPresetUpgradeable.sol
// SPDX-License-Identifier: WTFPL
pragma solidity 0.8.6;

import "./SecurityPresetUpgradeable.sol";

abstract contract MinterPresetUpgradeable is SecurityPresetUpgradeable {
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");

    function __MinterPresetUpgradeable_init() public initializer {
        SecurityPresetUpgradeable.__SecurityPresetUpgradeable_init();
        __MinterPresetUpgradeable_init_unchained();
    }

    function __MinterPresetUpgradeable_init_unchained() internal initializer {
        AccessControlUpgradeable._setupRole(MINTER_ROLE, _msgSender());
    }

    uint256[50] private __gap;
}

File 18 of 28 : SecurityPresetUpgradeable.sol
// SPDX-License-Identifier: WTFPL
pragma solidity 0.8.6;

import "@openzeppelin/contracts-upgradeable/access/AccessControlEnumerableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/utils/math/SafeMathUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol";

abstract contract SecurityPresetUpgradeable is
    OwnableUpgradeable,
    AccessControlEnumerableUpgradeable,
    PausableUpgradeable,
    ReentrancyGuardUpgradeable
{
    using SafeMathUpgradeable for uint256;

    bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE");

    bool private _isEnabled = true;

    function __SecurityPresetUpgradeable_init() public initializer {
        OwnableUpgradeable.__Ownable_init_unchained();
        ContextUpgradeable.__Context_init_unchained();
        ERC165Upgradeable.__ERC165_init_unchained();
        AccessControlUpgradeable.__AccessControl_init_unchained();
        AccessControlEnumerableUpgradeable.__AccessControlEnumerable_init_unchained();
        PausableUpgradeable.__Pausable_init_unchained();
        __SecurityPresetUpgradeable_init_unchained();
    }

    function __SecurityPresetUpgradeable_init_unchained() internal initializer {
        AccessControlUpgradeable._setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
        AccessControlUpgradeable._setupRole(PAUSER_ROLE, _msgSender());
    }

    modifier whenEnabled() {
        require(_isEnabled == true, "This is disabled");
        _;
    }

    /**
     * @dev Pauses all token transfers.
     *
     * See {ERC20Pausable} and {Pausable-_pause}.
     *
     * Requirements:
     *
     * - the caller must have the `PAUSER_ROLE`.
     */
    function pause() external virtual whenNotPaused onlyRole(PAUSER_ROLE) {
        PausableUpgradeable._pause();
    }

    /**
     * @dev Unpauses all token transfers.
     *
     * See {ERC20Pausable} and {Pausable-_unpause}.
     *
     * Requirements:
     *
     * - the caller must have the `PAUSER_ROLE`.
     */
    function unpause() external virtual whenPaused onlyRole(PAUSER_ROLE) {
        PausableUpgradeable._unpause();
    }

    function toggleEnabled() external onlyRole(DEFAULT_ADMIN_ROLE) {
        if (_isEnabled == true) {
            _isEnabled = false;
        } else if (_isEnabled == false) {
            _isEnabled = true;
        } else {
            revert();
        }
    }

    receive() external payable {}

    fallback() external payable {}

    uint256[50] private __gap;
}

File 19 of 28 : PausableUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (security/Pausable.sol)

pragma solidity ^0.8.0;

import "../utils/ContextUpgradeable.sol";
import "../proxy/utils/Initializable.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.
 */
abstract contract PausableUpgradeable is Initializable, ContextUpgradeable {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

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

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    function __Pausable_init() internal initializer {
        __Context_init_unchained();
        __Pausable_init_unchained();
    }

    function __Pausable_init_unchained() internal initializer {
        _paused = false;
    }

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

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

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

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
    uint256[49] private __gap;
}

File 20 of 28 : IAccessControlEnumerableUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (access/IAccessControlEnumerable.sol)

pragma solidity ^0.8.0;

import "./IAccessControlUpgradeable.sol";

/**
 * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.
 */
interface IAccessControlEnumerableUpgradeable is IAccessControlUpgradeable {
    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) external view returns (address);

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) external view returns (uint256);
}

File 21 of 28 : AccessControlUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControlUpgradeable.sol";
import "../utils/ContextUpgradeable.sol";
import "../utils/StringsUpgradeable.sol";
import "../utils/introspection/ERC165Upgradeable.sol";
import "../proxy/utils/Initializable.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControlUpgradeable is Initializable, ContextUpgradeable, IAccessControlUpgradeable, ERC165Upgradeable {
    function __AccessControl_init() internal initializer {
        __Context_init_unchained();
        __ERC165_init_unchained();
        __AccessControl_init_unchained();
    }

    function __AccessControl_init_unchained() internal initializer {
    }
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControlUpgradeable).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        StringsUpgradeable.toHexString(uint160(account), 20),
                        " is missing role ",
                        StringsUpgradeable.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
    uint256[49] private __gap;
}

File 22 of 28 : EnumerableSetUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/structs/EnumerableSet.sol)

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSetUpgradeable {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastvalue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastvalue;
                // Update the index for the moved value
                set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        return _values(set._inner);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        assembly {
            result := store
        }

        return result;
    }
}

File 23 of 28 : IAccessControlUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControlUpgradeable {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

File 24 of 28 : StringsUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library StringsUpgradeable {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 25 of 28 : ERC165Upgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165Upgradeable.sol";
import "../../proxy/utils/Initializable.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165Upgradeable is Initializable, IERC165Upgradeable {
    function __ERC165_init() internal initializer {
        __ERC165_init_unchained();
    }

    function __ERC165_init_unchained() internal initializer {
    }
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165Upgradeable).interfaceId;
    }
    uint256[50] private __gap;
}

File 26 of 28 : IERC165Upgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165Upgradeable {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 27 of 28 : AddressUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library AddressUpgradeable {
    /**
     * @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) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @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");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 28 of 28 : ReentrancyGuardUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;
import "../proxy/utils/Initializable.sol";

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuardUpgradeable is Initializable {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    function __ReentrancyGuard_init() internal initializer {
        __ReentrancyGuard_init_unchained();
    }

    function __ReentrancyGuard_init_unchained() internal initializer {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
    uint256[49] private __gap;
}

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

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isUnthrottled","type":"bool"}],"name":"MarkedUnthrottled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isWhitelisted","type":"bool"}],"name":"MarkedWhitelisted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxTransferAmount","type":"uint256"}],"name":"MaxTransferAmountChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"active","type":"bool"}],"name":"RestrictionActiveChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tradingTime","type":"uint256"}],"name":"TradingTimeChanged","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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint256","name":"_cap","type":"uint256"}],"name":"__ERC20CappedPresetUpgradeable_init","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cap","type":"uint256"}],"name":"__ERC20CappedPresetUpgradeable_init_unchained","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"name":"__Erc20PresetUpgradeable_init","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint256","name":"_cap","type":"uint256"}],"name":"__KMCv1_init","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"__MinterPresetUpgradeable_init","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"__SecurityPresetUpgradeable_init","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":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cap","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":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initAntibot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isUnthrottled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setMaxTransferAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_active","type":"bool"}],"name":"setRestrictionActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_time","type":"uint256"}],"name":"setTradingStart","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"bool","name":"_unthrottled","type":"bool"}],"name":"unthrottleAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"bool","name":"_whitelisted","type":"bool"}],"name":"whitelistAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526101c4805460ff1916600117905534801561001e57600080fd5b506130f68061002e6000396000f3fe6080604052600436106102745760003560e01c8063715018a61161014e578063a9059cbb116100bb578063db4551e311610077578063db4551e3146107ac578063db694675146107cc578063dc4aa059146107e1578063dd62ed3e1461081b578063e63ab1e914610861578063f2fde38b1461088357005b8063a9059cbb146106d8578063aba1b3d1146106f8578063ca15c87314610718578063d07eda6114610738578063d539139314610758578063d547741f1461078c57005b80639010d07c1161010a5780639010d07c1461062e57806391d148541461064e57806395d89b411461066e57806399c8df1814610683578063a217fddf146106a3578063a457c2d7146106b857005b8063715018a6146105725780637419683c1461058757806379cc6790146105a75780638456cb59146105c75780638bf55409146105dc5780638da5cb5b146105fc57005b806336568abe116101ec57806342966c68116101a857806342966c68146104ae5780634af640d1146104ce5780634e7d333e146104ee5780635c975abb146105035780636ddd73111461051c57806370a082311461053c57005b806336568abe146103ea578063395093511461040a5780633af32abf1461042a5780633f4ba83a1461046457806340c10f191461047957806341cb80b61461049957005b806323b872dd1161023b57806323b872dd14610333578063248a9ca3146103535780632f2ff15d146103835780633044b56c146103a3578063313ce567146103b8578063355274ea146103d457005b806301ffc9a71461027d57806306fdde03146102b2578063095ea7b3146102d45780630c8d9d7b146102f457806318160ddd1461031457005b3661027b57005b005b34801561028957600080fd5b5061029d610298366004612d56565b6108a3565b60405190151581526020015b60405180910390f35b3480156102be57600080fd5b506102c76108ce565b6040516102a99190612ec6565b3480156102e057600080fd5b5061029d6102ef366004612cb3565b610960565b34801561030057600080fd5b5061027b61030f366004612c89565b610976565b34801561032057600080fd5b5060fd545b6040519081526020016102a9565b34801561033f57600080fd5b5061029d61034e366004612c4d565b610a4f565b34801561035f57600080fd5b5061032561036e366004612cf8565b60009081526097602052604090206001015490565b34801561038f57600080fd5b5061027b61039e366004612d11565b610af9565b3480156103af57600080fd5b5061027b610b24565b3480156103c457600080fd5b50604051601281526020016102a9565b3480156103e057600080fd5b5061012d54610325565b3480156103f657600080fd5b5061027b610405366004612d11565b610b73565b34801561041657600080fd5b5061029d610425366004612cb3565b610bf1565b34801561043657600080fd5b5061029d610445366004612bff565b6001600160a01b031660009081526102f4602052604090205460ff1690565b34801561047057600080fd5b5061027b610c2d565b34801561048557600080fd5b5061027b610494366004612cb3565b610c98565b3480156104a557600080fd5b5061027b610ccd565b3480156104ba57600080fd5b5061027b6104c9366004612cf8565b610d70565b3480156104da57600080fd5b5061027b6104e9366004612cdd565b610d7a565b3480156104fa57600080fd5b5061027b610dfd565b34801561050f57600080fd5b506101605460ff1661029d565b34801561052857600080fd5b5061027b610537366004612de4565b610e64565b34801561054857600080fd5b50610325610557366004612bff565b6001600160a01b0316600090815260fb602052604090205490565b34801561057e57600080fd5b5061027b610ede565b34801561059357600080fd5b5061027b6105a2366004612cf8565b610f14565b3480156105b357600080fd5b5061027b6105c2366004612cb3565b610fbc565b3480156105d357600080fd5b5061027b61103d565b3480156105e857600080fd5b5061027b6105f7366004612cf8565b6110a5565b34801561060857600080fd5b506033546001600160a01b03165b6040516001600160a01b0390911681526020016102a9565b34801561063a57600080fd5b50610616610649366004612d34565b611105565b34801561065a57600080fd5b5061029d610669366004612d11565b611124565b34801561067a57600080fd5b506102c761114f565b34801561068f57600080fd5b5061027b61069e366004612c89565b61115e565b3480156106af57600080fd5b50610325600081565b3480156106c457600080fd5b5061029d6106d3366004612cb3565b611226565b3480156106e457600080fd5b5061029d6106f3366004612cb3565b6112bf565b34801561070457600080fd5b5061027b610713366004612d80565b6112cc565b34801561072457600080fd5b50610325610733366004612cf8565b611353565b34801561074457600080fd5b5061027b610753366004612de4565b61136a565b34801561076457600080fd5b506103257f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b34801561079857600080fd5b5061027b6107a7366004612d11565b6113d4565b3480156107b857600080fd5b5061027b6107c7366004612cf8565b6113fa565b3480156107d857600080fd5b5061027b61146f565b3480156107ed57600080fd5b5061029d6107fc366004612bff565b6001600160a01b031660009081526102f5602052604090205460ff1690565b34801561082757600080fd5b50610325610836366004612c1a565b6001600160a01b03918216600090815260fc6020908152604080832093909416825291909152205490565b34801561086d57600080fd5b506103256000805160206130a183398151915281565b34801561088f57600080fd5b5061027b61089e366004612bff565b61167a565b60006001600160e01b03198216635a05180f60e01b14806108c857506108c882611712565b92915050565b606060fe80546108dd9061300d565b80601f01602080910402602001604051908101604052809291908181526020018280546109099061300d565b80156109565780601f1061092b57610100808354040283529160200191610956565b820191906000526020600020905b81548152906001019060200180831161093957829003601f168201915b5050505050905090565b600061096d338484611747565b50600192915050565b6033546001600160a01b031633146109a95760405162461bcd60e51b81526004016109a090612f47565b60405180910390fd5b6001600160a01b0382166109ee5760405162461bcd60e51b815260206004820152600c60248201526b5a65726f206164647265737360a01b60448201526064016109a0565b6001600160a01b03821660008181526102f56020908152604091829020805460ff191685151590811790915591519182527f032b60b621d5620ebed4224d2af054acf250833415d69a1a90b9c0de47c951f191015b60405180910390a25050565b6000610a5c84848461186b565b6001600160a01b038416600090815260fc6020908152604080832033845290915290205482811015610ae15760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016109a0565b610aee8533858403611747565b506001949350505050565b600082815260976020526040902060010154610b158133611b4d565b610b1f8383611bb1565b505050565b6000610b308133611b4d565b6101c45460ff16151560011415610b4f576101c4805460ff1916905550565b6101c45460ff16610b6b576101c4805460ff1916600117905550565b600080fd5b50565b6001600160a01b0381163314610be35760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016109a0565b610bed8282611bd3565b5050565b33600081815260fc602090815260408083206001600160a01b0387168452909152812054909161096d918590610c28908690612f7c565b611747565b6101605460ff16610c775760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016109a0565b6000805160206130a1833981519152610c908133611b4d565b610b70611bf5565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610cc38133611b4d565b610b1f8383611c85565b600054610100900460ff1680610ce6575060005460ff16155b610d025760405162461bcd60e51b81526004016109a090612ef9565b600054610100900460ff16158015610d24576000805461ffff19166101011790555b610d2c611c8f565b610d34611cef565b610d3c611cef565b610d44611cef565b610d4c611cef565b610d54611d59565b610d5c611dcf565b8015610b70576000805461ff001916905550565b610b703382611e49565b6033546001600160a01b03163314610da45760405162461bcd60e51b81526004016109a090612f47565b6102f1805461ff0019166101008315158102919091179182905560405160ff9190920416151581527ff19da345eb86d7718a0c6e1d1e68d0c70e9fb40e7f54bfaaa1110c5dd5942eaa906020015b60405180910390a150565b600054610100900460ff1680610e16575060005460ff16155b610e325760405162461bcd60e51b81526004016109a090612ef9565b600054610100900460ff16158015610e54576000805461ffff19166101011790555b610e5c610ccd565b610d5c611fa3565b600054610100900460ff1680610e7d575060005460ff16155b610e995760405162461bcd60e51b81526004016109a090612ef9565b600054610100900460ff16158015610ebb576000805461ffff19166101011790555b610ec684848461136a565b8015610ed8576000805461ff00191690555b50505050565b6033546001600160a01b03163314610f085760405162461bcd60e51b81526004016109a090612f47565b610f126000612024565b565b6033546001600160a01b03163314610f3e5760405162461bcd60e51b81526004016109a090612f47565b426102f25411610f865760405162461bcd60e51b815260206004820152601360248201527250726f74656374696f6e3a20546f206c61746560681b60448201526064016109a0565b6102f28190556040518181527feb0dd367985442b0f5a817b2cee27fa94416adda70f365044808a6552418fec690602001610df2565b6000610fc88333610836565b9050818110156110265760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b60648201526084016109a0565b6110338333848403611747565b610b1f8383611e49565b6101605460ff16156110845760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016109a0565b6000805160206130a183398151915261109d8133611b4d565b610b70612076565b6033546001600160a01b031633146110cf5760405162461bcd60e51b81526004016109a090612f47565b6102f38190556040518181527ff81e49436a9468d4e5a18ec3a66d9a51fd5eb03de3ddddd43bd85f6ae1b072b390602001610df2565b600082815260c96020526040812061111d90836120f3565b9392505050565b60009182526097602090815260408084206001600160a01b0393909316845291905290205460ff1690565b606060ff80546108dd9061300d565b6033546001600160a01b031633146111885760405162461bcd60e51b81526004016109a090612f47565b6001600160a01b0382166111cd5760405162461bcd60e51b815260206004820152600c60248201526b5a65726f206164647265737360a01b60448201526064016109a0565b6001600160a01b03821660008181526102f46020908152604091829020805460ff191685151590811790915591519182527fc1f37bd5d85be2239236c010011c8837e596c2c28d94d45893872fb5064e75ce9101610a43565b33600090815260fc602090815260408083206001600160a01b0386168452909152812054828110156112a85760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016109a0565b6112b53385858403611747565b5060019392505050565b600061096d33848461186b565b600054610100900460ff16806112e5575060005460ff16155b6113015760405162461bcd60e51b81526004016109a090612ef9565b600054610100900460ff16158015611323576000805461ffff19166101011790555b61132b610ccd565b611333611fa3565b61133d83836120ff565b8015610b1f576000805461ff0019169055505050565b600081815260c9602052604081206108c890612170565b600054610100900460ff1680611383575060005460ff16155b61139f5760405162461bcd60e51b81526004016109a090612ef9565b600054610100900460ff161580156113c1576000805461ffff19166101011790555b6113cb84846112cc565b610ec6826113fa565b6000828152609760205260409020600101546113f08133611b4d565b610b1f8383611bd3565b600054610100900460ff1680611413575060005460ff16155b61142f5760405162461bcd60e51b81526004016109a090612ef9565b600054610100900460ff16158015611451576000805461ffff19166101011790555b61145a8261217a565b8015610bed576000805461ff00191690555050565b6033546001600160a01b031633146114995760405162461bcd60e51b81526004016109a090612f47565b6102f15460ff16156114ed5760405162461bcd60e51b815260206004820152601f60248201527f50726f74656374696f6e3a20416c726561647920696e697469616c697a65640060448201526064016109a0565b6102f1805460ff191660019081179091556102f560006115156033546001600160a01b031690565b6001600160a01b031681526020810191909152604001600020805491151560ff199092169190911790556361b75ff06102f25569032d26d12e980b6000006102f3556102f1805461ff0019166101001790556115796033546001600160a01b031690565b6001600160a01b03167f032b60b621d5620ebed4224d2af054acf250833415d69a1a90b9c0de47c951f160016040516115b6911515815260200190565b60405180910390a27feb0dd367985442b0f5a817b2cee27fa94416adda70f365044808a6552418fec66102f2546040516115f291815260200190565b60405180910390a17ff81e49436a9468d4e5a18ec3a66d9a51fd5eb03de3ddddd43bd85f6ae1b072b36102f35460405161162e91815260200190565b60405180910390a16102f15460405161010090910460ff16151581527ff19da345eb86d7718a0c6e1d1e68d0c70e9fb40e7f54bfaaa1110c5dd5942eaa906020015b60405180910390a1565b6033546001600160a01b031633146116a45760405162461bcd60e51b81526004016109a090612f47565b6001600160a01b0381166117095760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109a0565b610b7081612024565b60006001600160e01b03198216637965db0b60e01b14806108c857506301ffc9a760e01b6001600160e01b03198316146108c8565b6001600160a01b0383166117a95760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016109a0565b6001600160a01b03821661180a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016109a0565b6001600160a01b03838116600081815260fc602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b828282816001600160a01b0316836001600160a01b031614156118c65760405162461bcd60e51b81526020600482015260136024820152721cd95b99195c881a5cc81c9958da5c1a595b9d606a1b60448201526064016109a0565b6102f154610100900460ff1680156118f857506001600160a01b03821660009081526102f5602052604090205460ff16155b801561191e57506001600160a01b03831660009081526102f5602052604090205460ff16155b15611b3a576102f2544210156119765760405162461bcd60e51b815260206004820152601e60248201527f50726f74656374696f6e3a205472616e73666572732064697361626c6564000060448201526064016109a0565b6102f354156119d2576102f3548111156119d25760405162461bcd60e51b815260206004820152601a60248201527f50726f74656374696f6e3a204c696d697420657863656564656400000000000060448201526064016109a0565b6001600160a01b03821660009081526102f4602052604090205460ff16611a86576001600160a01b03821660009081526102f660205260409020544290611a1b90601e90612f7c565b1115611a695760405162461bcd60e51b815260206004820152601d60248201527f50726f74656374696f6e3a203330207365632f747820616c6c6f77656400000060448201526064016109a0565b6001600160a01b03821660009081526102f6602052604090204290555b6001600160a01b03831660009081526102f4602052604090205460ff16611b3a576001600160a01b03831660009081526102f660205260409020544290611acf90601e90612f7c565b1115611b1d5760405162461bcd60e51b815260206004820152601d60248201527f50726f74656374696f6e3a203330207365632f747820616c6c6f77656400000060448201526064016109a0565b6001600160a01b03831660009081526102f6602052604090204290555b611b45868686612234565b505050505050565b611b578282611124565b610bed57611b6f816001600160a01b0316601461240d565b611b7a83602061240d565b604051602001611b8b929190612e51565b60408051601f198184030181529082905262461bcd60e51b82526109a091600401612ec6565b611bbb82826125a9565b600082815260c960205260409020610b1f908261262f565b611bdd8282612644565b600082815260c960205260409020610b1f90826126ab565b6101605460ff16611c3f5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016109a0565b610160805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b039091168152602001611670565b610bed82826126c0565b600054610100900460ff1680611ca8575060005460ff16155b611cc45760405162461bcd60e51b81526004016109a090612ef9565b600054610100900460ff16158015611ce6576000805461ffff19166101011790555b610d5c33612024565b600054610100900460ff1680611d08575060005460ff16155b611d245760405162461bcd60e51b81526004016109a090612ef9565b600054610100900460ff16158015610d5c576000805461ffff19166101011790558015610b70576000805461ff001916905550565b600054610100900460ff1680611d72575060005460ff16155b611d8e5760405162461bcd60e51b81526004016109a090612ef9565b600054610100900460ff16158015611db0576000805461ffff19166101011790555b610160805460ff191690558015610b70576000805461ff001916905550565b600054610100900460ff1680611de8575060005460ff16155b611e045760405162461bcd60e51b81526004016109a090612ef9565b600054610100900460ff16158015611e26576000805461ffff19166101011790555b611e316000336126ca565b610d5c6000805160206130a1833981519152336126ca565b6001600160a01b038216611ea95760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016109a0565b611eb5826000836126d4565b6001600160a01b038216600090815260fb602052604090205481811015611f295760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016109a0565b6001600160a01b038316600090815260fb60205260408120838303905560fd8054849290611f58908490612fb3565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600054610100900460ff1680611fbc575060005460ff16155b611fd85760405162461bcd60e51b81526004016109a090612ef9565b600054610100900460ff16158015611ffa576000805461ffff19166101011790555b610d5c7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336126ca565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6101605460ff16156120bd5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016109a0565b610160805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611c6d3390565b600061111d83836126df565b600054610100900460ff1680612118575060005460ff16155b6121345760405162461bcd60e51b81526004016109a090612ef9565b600054610100900460ff16158015612156576000805461ffff19166101011790555b6121608383612709565b612168611cef565b61133d611cef565b60006108c8825490565b600054610100900460ff1680612193575060005460ff16155b6121af5760405162461bcd60e51b81526004016109a090612ef9565b600054610100900460ff161580156121d1576000805461ffff19166101011790555b600082116122195760405162461bcd60e51b8152602060048201526015602482015274045524332304361707065643a20636170206973203605c1b60448201526064016109a0565b61012d8290558015610bed576000805461ff00191690555050565b6001600160a01b0383166122985760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016109a0565b6001600160a01b0382166122fa5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016109a0565b6123058383836126d4565b6001600160a01b038316600090815260fb60205260409020548181101561237d5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016109a0565b6001600160a01b03808516600090815260fb60205260408082208585039055918516815290812080548492906123b4908490612f7c565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161240091815260200190565b60405180910390a3610ed8565b6060600061241c836002612f94565b612427906002612f7c565b67ffffffffffffffff81111561243f5761243f61308a565b6040519080825280601f01601f191660200182016040528015612469576020820181803683370190505b509050600360fc1b8160008151811061248457612484613074565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106124b3576124b3613074565b60200101906001600160f81b031916908160001a90535060006124d7846002612f94565b6124e2906001612f7c565b90505b600181111561255a576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061251657612516613074565b1a60f81b82828151811061252c5761252c613074565b60200101906001600160f81b031916908160001a90535060049490941c9361255381612ff6565b90506124e5565b50831561111d5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016109a0565b6125b38282611124565b610bed5760008281526097602090815260408083206001600160a01b03851684529091529020805460ff191660011790556125eb3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600061111d836001600160a01b03841661279e565b61264e8282611124565b15610bed5760008281526097602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600061111d836001600160a01b0384166127ed565b610bed82826128e0565b610bed8282611bb1565b610b1f838383612950565b60008260000182815481106126f6576126f6613074565b9060005260206000200154905092915050565b600054610100900460ff1680612722575060005460ff16155b61273e5760405162461bcd60e51b81526004016109a090612ef9565b600054610100900460ff16158015612760576000805461ffff19166101011790555b82516127739060fe906020860190612aad565b5081516127879060ff906020850190612aad565b508015610b1f576000805461ff0019169055505050565b60008181526001830160205260408120546127e5575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556108c8565b5060006108c8565b600081815260018301602052604081205480156128d6576000612811600183612fb3565b855490915060009061282590600190612fb3565b905081811461288a57600086600001828154811061284557612845613074565b906000526020600020015490508087600001848154811061286857612868613074565b6000918252602080832090910192909255918252600188019052604090208390555b855486908061289b5761289b61305e565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506108c8565b60009150506108c8565b61012d54816128ee60fd5490565b6128f89190612f7c565b11156129465760405162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a206361702065786365656465640000000000000060448201526064016109a0565b610bed828261295b565b610b1f838383612a46565b6001600160a01b0382166129b15760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016109a0565b6129bd600083836126d4565b8060fd60008282546129cf9190612f7c565b90915550506001600160a01b038216600090815260fb6020526040812080548392906129fc908490612f7c565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6101605460ff1615610b1f5760405162461bcd60e51b815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e736665722077686044820152691a5b19481c185d5cd95960b21b60648201526084016109a0565b828054612ab99061300d565b90600052602060002090601f016020900481019282612adb5760008555612b21565b82601f10612af457805160ff1916838001178555612b21565b82800160010185558215612b21579182015b82811115612b21578251825591602001919060010190612b06565b50612b2d929150612b31565b5090565b5b80821115612b2d5760008155600101612b32565b80356001600160a01b0381168114612b5d57600080fd5b919050565b80358015158114612b5d57600080fd5b600082601f830112612b8357600080fd5b813567ffffffffffffffff80821115612b9e57612b9e61308a565b604051601f8301601f19908116603f01168101908282118183101715612bc657612bc661308a565b81604052838152866020858801011115612bdf57600080fd5b836020870160208301376000602085830101528094505050505092915050565b600060208284031215612c1157600080fd5b61111d82612b46565b60008060408385031215612c2d57600080fd5b612c3683612b46565b9150612c4460208401612b46565b90509250929050565b600080600060608486031215612c6257600080fd5b612c6b84612b46565b9250612c7960208501612b46565b9150604084013590509250925092565b60008060408385031215612c9c57600080fd5b612ca583612b46565b9150612c4460208401612b62565b60008060408385031215612cc657600080fd5b612ccf83612b46565b946020939093013593505050565b600060208284031215612cef57600080fd5b61111d82612b62565b600060208284031215612d0a57600080fd5b5035919050565b60008060408385031215612d2457600080fd5b82359150612c4460208401612b46565b60008060408385031215612d4757600080fd5b50508035926020909101359150565b600060208284031215612d6857600080fd5b81356001600160e01b03198116811461111d57600080fd5b60008060408385031215612d9357600080fd5b823567ffffffffffffffff80821115612dab57600080fd5b612db786838701612b72565b93506020850135915080821115612dcd57600080fd5b50612dda85828601612b72565b9150509250929050565b600080600060608486031215612df957600080fd5b833567ffffffffffffffff80821115612e1157600080fd5b612e1d87838801612b72565b94506020860135915080821115612e3357600080fd5b50612e4086828701612b72565b925050604084013590509250925092565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612e89816017850160208801612fca565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612eba816028840160208801612fca565b01602801949350505050565b6020815260008251806020840152612ee5816040850160208701612fca565b601f01601f19169190910160400192915050565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115612f8f57612f8f613048565b500190565b6000816000190483118215151615612fae57612fae613048565b500290565b600082821015612fc557612fc5613048565b500390565b60005b83811015612fe5578181015183820152602001612fcd565b83811115610ed85750506000910152565b60008161300557613005613048565b506000190190565b600181811c9082168061302157607f821691505b6020821081141561304257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fdfe65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862aa2646970667358221220796e685ca59e25a45b08dfb70afd5881e2b7eccba6bc9d7437e198015e926fc164736f6c63430008060033

Deployed Bytecode

0x6080604052600436106102745760003560e01c8063715018a61161014e578063a9059cbb116100bb578063db4551e311610077578063db4551e3146107ac578063db694675146107cc578063dc4aa059146107e1578063dd62ed3e1461081b578063e63ab1e914610861578063f2fde38b1461088357005b8063a9059cbb146106d8578063aba1b3d1146106f8578063ca15c87314610718578063d07eda6114610738578063d539139314610758578063d547741f1461078c57005b80639010d07c1161010a5780639010d07c1461062e57806391d148541461064e57806395d89b411461066e57806399c8df1814610683578063a217fddf146106a3578063a457c2d7146106b857005b8063715018a6146105725780637419683c1461058757806379cc6790146105a75780638456cb59146105c75780638bf55409146105dc5780638da5cb5b146105fc57005b806336568abe116101ec57806342966c68116101a857806342966c68146104ae5780634af640d1146104ce5780634e7d333e146104ee5780635c975abb146105035780636ddd73111461051c57806370a082311461053c57005b806336568abe146103ea578063395093511461040a5780633af32abf1461042a5780633f4ba83a1461046457806340c10f191461047957806341cb80b61461049957005b806323b872dd1161023b57806323b872dd14610333578063248a9ca3146103535780632f2ff15d146103835780633044b56c146103a3578063313ce567146103b8578063355274ea146103d457005b806301ffc9a71461027d57806306fdde03146102b2578063095ea7b3146102d45780630c8d9d7b146102f457806318160ddd1461031457005b3661027b57005b005b34801561028957600080fd5b5061029d610298366004612d56565b6108a3565b60405190151581526020015b60405180910390f35b3480156102be57600080fd5b506102c76108ce565b6040516102a99190612ec6565b3480156102e057600080fd5b5061029d6102ef366004612cb3565b610960565b34801561030057600080fd5b5061027b61030f366004612c89565b610976565b34801561032057600080fd5b5060fd545b6040519081526020016102a9565b34801561033f57600080fd5b5061029d61034e366004612c4d565b610a4f565b34801561035f57600080fd5b5061032561036e366004612cf8565b60009081526097602052604090206001015490565b34801561038f57600080fd5b5061027b61039e366004612d11565b610af9565b3480156103af57600080fd5b5061027b610b24565b3480156103c457600080fd5b50604051601281526020016102a9565b3480156103e057600080fd5b5061012d54610325565b3480156103f657600080fd5b5061027b610405366004612d11565b610b73565b34801561041657600080fd5b5061029d610425366004612cb3565b610bf1565b34801561043657600080fd5b5061029d610445366004612bff565b6001600160a01b031660009081526102f4602052604090205460ff1690565b34801561047057600080fd5b5061027b610c2d565b34801561048557600080fd5b5061027b610494366004612cb3565b610c98565b3480156104a557600080fd5b5061027b610ccd565b3480156104ba57600080fd5b5061027b6104c9366004612cf8565b610d70565b3480156104da57600080fd5b5061027b6104e9366004612cdd565b610d7a565b3480156104fa57600080fd5b5061027b610dfd565b34801561050f57600080fd5b506101605460ff1661029d565b34801561052857600080fd5b5061027b610537366004612de4565b610e64565b34801561054857600080fd5b50610325610557366004612bff565b6001600160a01b0316600090815260fb602052604090205490565b34801561057e57600080fd5b5061027b610ede565b34801561059357600080fd5b5061027b6105a2366004612cf8565b610f14565b3480156105b357600080fd5b5061027b6105c2366004612cb3565b610fbc565b3480156105d357600080fd5b5061027b61103d565b3480156105e857600080fd5b5061027b6105f7366004612cf8565b6110a5565b34801561060857600080fd5b506033546001600160a01b03165b6040516001600160a01b0390911681526020016102a9565b34801561063a57600080fd5b50610616610649366004612d34565b611105565b34801561065a57600080fd5b5061029d610669366004612d11565b611124565b34801561067a57600080fd5b506102c761114f565b34801561068f57600080fd5b5061027b61069e366004612c89565b61115e565b3480156106af57600080fd5b50610325600081565b3480156106c457600080fd5b5061029d6106d3366004612cb3565b611226565b3480156106e457600080fd5b5061029d6106f3366004612cb3565b6112bf565b34801561070457600080fd5b5061027b610713366004612d80565b6112cc565b34801561072457600080fd5b50610325610733366004612cf8565b611353565b34801561074457600080fd5b5061027b610753366004612de4565b61136a565b34801561076457600080fd5b506103257f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b34801561079857600080fd5b5061027b6107a7366004612d11565b6113d4565b3480156107b857600080fd5b5061027b6107c7366004612cf8565b6113fa565b3480156107d857600080fd5b5061027b61146f565b3480156107ed57600080fd5b5061029d6107fc366004612bff565b6001600160a01b031660009081526102f5602052604090205460ff1690565b34801561082757600080fd5b50610325610836366004612c1a565b6001600160a01b03918216600090815260fc6020908152604080832093909416825291909152205490565b34801561086d57600080fd5b506103256000805160206130a183398151915281565b34801561088f57600080fd5b5061027b61089e366004612bff565b61167a565b60006001600160e01b03198216635a05180f60e01b14806108c857506108c882611712565b92915050565b606060fe80546108dd9061300d565b80601f01602080910402602001604051908101604052809291908181526020018280546109099061300d565b80156109565780601f1061092b57610100808354040283529160200191610956565b820191906000526020600020905b81548152906001019060200180831161093957829003601f168201915b5050505050905090565b600061096d338484611747565b50600192915050565b6033546001600160a01b031633146109a95760405162461bcd60e51b81526004016109a090612f47565b60405180910390fd5b6001600160a01b0382166109ee5760405162461bcd60e51b815260206004820152600c60248201526b5a65726f206164647265737360a01b60448201526064016109a0565b6001600160a01b03821660008181526102f56020908152604091829020805460ff191685151590811790915591519182527f032b60b621d5620ebed4224d2af054acf250833415d69a1a90b9c0de47c951f191015b60405180910390a25050565b6000610a5c84848461186b565b6001600160a01b038416600090815260fc6020908152604080832033845290915290205482811015610ae15760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016109a0565b610aee8533858403611747565b506001949350505050565b600082815260976020526040902060010154610b158133611b4d565b610b1f8383611bb1565b505050565b6000610b308133611b4d565b6101c45460ff16151560011415610b4f576101c4805460ff1916905550565b6101c45460ff16610b6b576101c4805460ff1916600117905550565b600080fd5b50565b6001600160a01b0381163314610be35760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016109a0565b610bed8282611bd3565b5050565b33600081815260fc602090815260408083206001600160a01b0387168452909152812054909161096d918590610c28908690612f7c565b611747565b6101605460ff16610c775760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016109a0565b6000805160206130a1833981519152610c908133611b4d565b610b70611bf5565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610cc38133611b4d565b610b1f8383611c85565b600054610100900460ff1680610ce6575060005460ff16155b610d025760405162461bcd60e51b81526004016109a090612ef9565b600054610100900460ff16158015610d24576000805461ffff19166101011790555b610d2c611c8f565b610d34611cef565b610d3c611cef565b610d44611cef565b610d4c611cef565b610d54611d59565b610d5c611dcf565b8015610b70576000805461ff001916905550565b610b703382611e49565b6033546001600160a01b03163314610da45760405162461bcd60e51b81526004016109a090612f47565b6102f1805461ff0019166101008315158102919091179182905560405160ff9190920416151581527ff19da345eb86d7718a0c6e1d1e68d0c70e9fb40e7f54bfaaa1110c5dd5942eaa906020015b60405180910390a150565b600054610100900460ff1680610e16575060005460ff16155b610e325760405162461bcd60e51b81526004016109a090612ef9565b600054610100900460ff16158015610e54576000805461ffff19166101011790555b610e5c610ccd565b610d5c611fa3565b600054610100900460ff1680610e7d575060005460ff16155b610e995760405162461bcd60e51b81526004016109a090612ef9565b600054610100900460ff16158015610ebb576000805461ffff19166101011790555b610ec684848461136a565b8015610ed8576000805461ff00191690555b50505050565b6033546001600160a01b03163314610f085760405162461bcd60e51b81526004016109a090612f47565b610f126000612024565b565b6033546001600160a01b03163314610f3e5760405162461bcd60e51b81526004016109a090612f47565b426102f25411610f865760405162461bcd60e51b815260206004820152601360248201527250726f74656374696f6e3a20546f206c61746560681b60448201526064016109a0565b6102f28190556040518181527feb0dd367985442b0f5a817b2cee27fa94416adda70f365044808a6552418fec690602001610df2565b6000610fc88333610836565b9050818110156110265760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b60648201526084016109a0565b6110338333848403611747565b610b1f8383611e49565b6101605460ff16156110845760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016109a0565b6000805160206130a183398151915261109d8133611b4d565b610b70612076565b6033546001600160a01b031633146110cf5760405162461bcd60e51b81526004016109a090612f47565b6102f38190556040518181527ff81e49436a9468d4e5a18ec3a66d9a51fd5eb03de3ddddd43bd85f6ae1b072b390602001610df2565b600082815260c96020526040812061111d90836120f3565b9392505050565b60009182526097602090815260408084206001600160a01b0393909316845291905290205460ff1690565b606060ff80546108dd9061300d565b6033546001600160a01b031633146111885760405162461bcd60e51b81526004016109a090612f47565b6001600160a01b0382166111cd5760405162461bcd60e51b815260206004820152600c60248201526b5a65726f206164647265737360a01b60448201526064016109a0565b6001600160a01b03821660008181526102f46020908152604091829020805460ff191685151590811790915591519182527fc1f37bd5d85be2239236c010011c8837e596c2c28d94d45893872fb5064e75ce9101610a43565b33600090815260fc602090815260408083206001600160a01b0386168452909152812054828110156112a85760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016109a0565b6112b53385858403611747565b5060019392505050565b600061096d33848461186b565b600054610100900460ff16806112e5575060005460ff16155b6113015760405162461bcd60e51b81526004016109a090612ef9565b600054610100900460ff16158015611323576000805461ffff19166101011790555b61132b610ccd565b611333611fa3565b61133d83836120ff565b8015610b1f576000805461ff0019169055505050565b600081815260c9602052604081206108c890612170565b600054610100900460ff1680611383575060005460ff16155b61139f5760405162461bcd60e51b81526004016109a090612ef9565b600054610100900460ff161580156113c1576000805461ffff19166101011790555b6113cb84846112cc565b610ec6826113fa565b6000828152609760205260409020600101546113f08133611b4d565b610b1f8383611bd3565b600054610100900460ff1680611413575060005460ff16155b61142f5760405162461bcd60e51b81526004016109a090612ef9565b600054610100900460ff16158015611451576000805461ffff19166101011790555b61145a8261217a565b8015610bed576000805461ff00191690555050565b6033546001600160a01b031633146114995760405162461bcd60e51b81526004016109a090612f47565b6102f15460ff16156114ed5760405162461bcd60e51b815260206004820152601f60248201527f50726f74656374696f6e3a20416c726561647920696e697469616c697a65640060448201526064016109a0565b6102f1805460ff191660019081179091556102f560006115156033546001600160a01b031690565b6001600160a01b031681526020810191909152604001600020805491151560ff199092169190911790556361b75ff06102f25569032d26d12e980b6000006102f3556102f1805461ff0019166101001790556115796033546001600160a01b031690565b6001600160a01b03167f032b60b621d5620ebed4224d2af054acf250833415d69a1a90b9c0de47c951f160016040516115b6911515815260200190565b60405180910390a27feb0dd367985442b0f5a817b2cee27fa94416adda70f365044808a6552418fec66102f2546040516115f291815260200190565b60405180910390a17ff81e49436a9468d4e5a18ec3a66d9a51fd5eb03de3ddddd43bd85f6ae1b072b36102f35460405161162e91815260200190565b60405180910390a16102f15460405161010090910460ff16151581527ff19da345eb86d7718a0c6e1d1e68d0c70e9fb40e7f54bfaaa1110c5dd5942eaa906020015b60405180910390a1565b6033546001600160a01b031633146116a45760405162461bcd60e51b81526004016109a090612f47565b6001600160a01b0381166117095760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109a0565b610b7081612024565b60006001600160e01b03198216637965db0b60e01b14806108c857506301ffc9a760e01b6001600160e01b03198316146108c8565b6001600160a01b0383166117a95760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016109a0565b6001600160a01b03821661180a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016109a0565b6001600160a01b03838116600081815260fc602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b828282816001600160a01b0316836001600160a01b031614156118c65760405162461bcd60e51b81526020600482015260136024820152721cd95b99195c881a5cc81c9958da5c1a595b9d606a1b60448201526064016109a0565b6102f154610100900460ff1680156118f857506001600160a01b03821660009081526102f5602052604090205460ff16155b801561191e57506001600160a01b03831660009081526102f5602052604090205460ff16155b15611b3a576102f2544210156119765760405162461bcd60e51b815260206004820152601e60248201527f50726f74656374696f6e3a205472616e73666572732064697361626c6564000060448201526064016109a0565b6102f354156119d2576102f3548111156119d25760405162461bcd60e51b815260206004820152601a60248201527f50726f74656374696f6e3a204c696d697420657863656564656400000000000060448201526064016109a0565b6001600160a01b03821660009081526102f4602052604090205460ff16611a86576001600160a01b03821660009081526102f660205260409020544290611a1b90601e90612f7c565b1115611a695760405162461bcd60e51b815260206004820152601d60248201527f50726f74656374696f6e3a203330207365632f747820616c6c6f77656400000060448201526064016109a0565b6001600160a01b03821660009081526102f6602052604090204290555b6001600160a01b03831660009081526102f4602052604090205460ff16611b3a576001600160a01b03831660009081526102f660205260409020544290611acf90601e90612f7c565b1115611b1d5760405162461bcd60e51b815260206004820152601d60248201527f50726f74656374696f6e3a203330207365632f747820616c6c6f77656400000060448201526064016109a0565b6001600160a01b03831660009081526102f6602052604090204290555b611b45868686612234565b505050505050565b611b578282611124565b610bed57611b6f816001600160a01b0316601461240d565b611b7a83602061240d565b604051602001611b8b929190612e51565b60408051601f198184030181529082905262461bcd60e51b82526109a091600401612ec6565b611bbb82826125a9565b600082815260c960205260409020610b1f908261262f565b611bdd8282612644565b600082815260c960205260409020610b1f90826126ab565b6101605460ff16611c3f5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016109a0565b610160805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b039091168152602001611670565b610bed82826126c0565b600054610100900460ff1680611ca8575060005460ff16155b611cc45760405162461bcd60e51b81526004016109a090612ef9565b600054610100900460ff16158015611ce6576000805461ffff19166101011790555b610d5c33612024565b600054610100900460ff1680611d08575060005460ff16155b611d245760405162461bcd60e51b81526004016109a090612ef9565b600054610100900460ff16158015610d5c576000805461ffff19166101011790558015610b70576000805461ff001916905550565b600054610100900460ff1680611d72575060005460ff16155b611d8e5760405162461bcd60e51b81526004016109a090612ef9565b600054610100900460ff16158015611db0576000805461ffff19166101011790555b610160805460ff191690558015610b70576000805461ff001916905550565b600054610100900460ff1680611de8575060005460ff16155b611e045760405162461bcd60e51b81526004016109a090612ef9565b600054610100900460ff16158015611e26576000805461ffff19166101011790555b611e316000336126ca565b610d5c6000805160206130a1833981519152336126ca565b6001600160a01b038216611ea95760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016109a0565b611eb5826000836126d4565b6001600160a01b038216600090815260fb602052604090205481811015611f295760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016109a0565b6001600160a01b038316600090815260fb60205260408120838303905560fd8054849290611f58908490612fb3565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600054610100900460ff1680611fbc575060005460ff16155b611fd85760405162461bcd60e51b81526004016109a090612ef9565b600054610100900460ff16158015611ffa576000805461ffff19166101011790555b610d5c7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336126ca565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6101605460ff16156120bd5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016109a0565b610160805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611c6d3390565b600061111d83836126df565b600054610100900460ff1680612118575060005460ff16155b6121345760405162461bcd60e51b81526004016109a090612ef9565b600054610100900460ff16158015612156576000805461ffff19166101011790555b6121608383612709565b612168611cef565b61133d611cef565b60006108c8825490565b600054610100900460ff1680612193575060005460ff16155b6121af5760405162461bcd60e51b81526004016109a090612ef9565b600054610100900460ff161580156121d1576000805461ffff19166101011790555b600082116122195760405162461bcd60e51b8152602060048201526015602482015274045524332304361707065643a20636170206973203605c1b60448201526064016109a0565b61012d8290558015610bed576000805461ff00191690555050565b6001600160a01b0383166122985760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016109a0565b6001600160a01b0382166122fa5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016109a0565b6123058383836126d4565b6001600160a01b038316600090815260fb60205260409020548181101561237d5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016109a0565b6001600160a01b03808516600090815260fb60205260408082208585039055918516815290812080548492906123b4908490612f7c565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161240091815260200190565b60405180910390a3610ed8565b6060600061241c836002612f94565b612427906002612f7c565b67ffffffffffffffff81111561243f5761243f61308a565b6040519080825280601f01601f191660200182016040528015612469576020820181803683370190505b509050600360fc1b8160008151811061248457612484613074565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106124b3576124b3613074565b60200101906001600160f81b031916908160001a90535060006124d7846002612f94565b6124e2906001612f7c565b90505b600181111561255a576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061251657612516613074565b1a60f81b82828151811061252c5761252c613074565b60200101906001600160f81b031916908160001a90535060049490941c9361255381612ff6565b90506124e5565b50831561111d5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016109a0565b6125b38282611124565b610bed5760008281526097602090815260408083206001600160a01b03851684529091529020805460ff191660011790556125eb3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600061111d836001600160a01b03841661279e565b61264e8282611124565b15610bed5760008281526097602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600061111d836001600160a01b0384166127ed565b610bed82826128e0565b610bed8282611bb1565b610b1f838383612950565b60008260000182815481106126f6576126f6613074565b9060005260206000200154905092915050565b600054610100900460ff1680612722575060005460ff16155b61273e5760405162461bcd60e51b81526004016109a090612ef9565b600054610100900460ff16158015612760576000805461ffff19166101011790555b82516127739060fe906020860190612aad565b5081516127879060ff906020850190612aad565b508015610b1f576000805461ff0019169055505050565b60008181526001830160205260408120546127e5575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556108c8565b5060006108c8565b600081815260018301602052604081205480156128d6576000612811600183612fb3565b855490915060009061282590600190612fb3565b905081811461288a57600086600001828154811061284557612845613074565b906000526020600020015490508087600001848154811061286857612868613074565b6000918252602080832090910192909255918252600188019052604090208390555b855486908061289b5761289b61305e565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506108c8565b60009150506108c8565b61012d54816128ee60fd5490565b6128f89190612f7c565b11156129465760405162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a206361702065786365656465640000000000000060448201526064016109a0565b610bed828261295b565b610b1f838383612a46565b6001600160a01b0382166129b15760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016109a0565b6129bd600083836126d4565b8060fd60008282546129cf9190612f7c565b90915550506001600160a01b038216600090815260fb6020526040812080548392906129fc908490612f7c565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6101605460ff1615610b1f5760405162461bcd60e51b815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e736665722077686044820152691a5b19481c185d5cd95960b21b60648201526084016109a0565b828054612ab99061300d565b90600052602060002090601f016020900481019282612adb5760008555612b21565b82601f10612af457805160ff1916838001178555612b21565b82800160010185558215612b21579182015b82811115612b21578251825591602001919060010190612b06565b50612b2d929150612b31565b5090565b5b80821115612b2d5760008155600101612b32565b80356001600160a01b0381168114612b5d57600080fd5b919050565b80358015158114612b5d57600080fd5b600082601f830112612b8357600080fd5b813567ffffffffffffffff80821115612b9e57612b9e61308a565b604051601f8301601f19908116603f01168101908282118183101715612bc657612bc661308a565b81604052838152866020858801011115612bdf57600080fd5b836020870160208301376000602085830101528094505050505092915050565b600060208284031215612c1157600080fd5b61111d82612b46565b60008060408385031215612c2d57600080fd5b612c3683612b46565b9150612c4460208401612b46565b90509250929050565b600080600060608486031215612c6257600080fd5b612c6b84612b46565b9250612c7960208501612b46565b9150604084013590509250925092565b60008060408385031215612c9c57600080fd5b612ca583612b46565b9150612c4460208401612b62565b60008060408385031215612cc657600080fd5b612ccf83612b46565b946020939093013593505050565b600060208284031215612cef57600080fd5b61111d82612b62565b600060208284031215612d0a57600080fd5b5035919050565b60008060408385031215612d2457600080fd5b82359150612c4460208401612b46565b60008060408385031215612d4757600080fd5b50508035926020909101359150565b600060208284031215612d6857600080fd5b81356001600160e01b03198116811461111d57600080fd5b60008060408385031215612d9357600080fd5b823567ffffffffffffffff80821115612dab57600080fd5b612db786838701612b72565b93506020850135915080821115612dcd57600080fd5b50612dda85828601612b72565b9150509250929050565b600080600060608486031215612df957600080fd5b833567ffffffffffffffff80821115612e1157600080fd5b612e1d87838801612b72565b94506020860135915080821115612e3357600080fd5b50612e4086828701612b72565b925050604084013590509250925092565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612e89816017850160208801612fca565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612eba816028840160208801612fca565b01602801949350505050565b6020815260008251806020840152612ee5816040850160208701612fca565b601f01601f19169190910160400192915050565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115612f8f57612f8f613048565b500190565b6000816000190483118215151615612fae57612fae613048565b500290565b600082821015612fc557612fc5613048565b500390565b60005b83811015612fe5578181015183820152602001612fcd565b83811115610ed85750506000910152565b60008161300557613005613048565b506000190190565b600181811c9082168061302157607f821691505b6020821081141561304257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fdfe65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862aa2646970667358221220796e685ca59e25a45b08dfb70afd5881e2b7eccba6bc9d7437e198015e926fc164736f6c63430008060033

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.