ETH Price: $3,321.17 (-0.59%)

Token

 

Overview

Max Total Supply

14,533

Holders

186

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
lobobug.eth
0xaF081fB7562a138afB14E5813E832A72Ac2465E7
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
RemixDaoToken

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 16 : RemixDaoToken.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

// ========== Imports ==========
import "./access/AdminControl.sol";
import "solmate/src/tokens/ERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

contract RemixDaoToken is ERC1155, Pausable, ReentrancyGuard, AdminControl, Ownable {
  using Strings for uint256;

  uint256 constant TOKEN_ID = 1;
  uint256 public constant MAX_SUPPLY = 50000;
  address public constant DAO_MULTISIG = 0xCa52757875aBDFc1DDed370828DFc2bE2d4D53c4;

  // ========== Mutable Variables ==========

  string public baseURI;

  uint256 public totalMinted;
  uint256 public totalBurned;

  bytes32 public merkleRoot;
  uint256 public currentDrop;
  mapping(address => mapping(uint256 => uint256)) public amountsMinted;

  // ========== Constructor ==========

  constructor() {
    _pause();

    grantRole(DEFAULT_ADMIN_ROLE, DAO_MULTISIG);
    grantRole(ADMIN_ROLE, DAO_MULTISIG);

    renounceRole(DEFAULT_ADMIN_ROLE, _msgSender());
  }

  // ========== Claiming ==========

  function claimTokens(address _account, uint256 _quantity, bytes32[] calldata _proof) public whenNotPaused nonReentrant {
    require(verify(leaf(_account, _quantity), _proof), "Not permitted");
    require(totalMinted + _quantity <= MAX_SUPPLY, "Not enough tokens remaining");
    require(amountsMinted[_account][currentDrop] == 0, "Already claimed");

    amountsMinted[_account][currentDrop] += _quantity;

    totalMinted += _quantity;

    _mint(_account, TOKEN_ID, _quantity, "");
  }

  // ========== Public Methods ==========

  function totalTokenSupply() public view returns (uint256) {
    return totalMinted - totalBurned;
  }

  function totalSupply(uint256 _id) public view returns (uint256) {
    if (_id != TOKEN_ID) {
      return 0;
    }
    return totalMinted - totalBurned;
  }

  // ========== Burnable ==========

  function burn(address _account, uint256 _quantity) public virtual {
    require(
      _account == _msgSender() || isApprovedForAll[_account][_msgSender()],
      "ERC1155: caller is not owner nor approved"
    );

    _burn(_account, TOKEN_ID, _quantity);

    totalBurned += _quantity;
  }

  // ========== Admin ==========

  function ownerMint(address _to, uint256 _quantity) public onlyAdmin {
    require(totalMinted + _quantity <= MAX_SUPPLY, "Not enough tokens remaining");

    totalMinted += _quantity;

    _mint(_to, TOKEN_ID, _quantity, "");
  }

  function setMerkleRoot(bytes32 _merkleRoot) external onlyAdmin {
    require(_merkleRoot.length > 0, "_merkleRoot is empty");
    merkleRoot = _merkleRoot;
  }

  function setBaseURI(string memory _baseURI) public onlyAdmin {
    baseURI = _baseURI;
  }

  function incrementCurrentDrop() public onlyAdmin {
    _pause();
    currentDrop++;
  }

  function pause() public onlyAdmin {
    _pause();
  }

  function unpause() public onlyAdmin {
    _unpause();
  }

  function withdraw() public onlyOwner {
    Address.sendValue(payable(msg.sender), address(this).balance);
  }

  function withdrawTokens(IERC20 token) public onlyOwner {
    require(address(token) != address(0));
    token.transfer(msg.sender, token.balanceOf(address(this)));
  }

  // ============ Overrides ========

  function supportsInterface(bytes4 interfaceId) public view override(ERC1155, AdminControl) returns (bool) {
    return interfaceId == type(IAccessControl).interfaceId ||
           interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165
           interfaceId == 0xd9b67a26 || // ERC165 Interface ID for ERC1155
           interfaceId == 0x0e89341c; // ERC165 Interface ID for ERC1155MetadataURI
  }

  function uri(uint256 _tokenId) public view override returns (string memory) {
    require(_tokenId == TOKEN_ID, "URI requested for invalid token");
    return
      bytes(baseURI).length > 0
        ? string(abi.encodePacked(baseURI, _tokenId.toString()))
        : baseURI;
  }

  // ============ Helpers ========

  function leaf(address _account, uint256 _amount) internal pure returns (bytes32) {
    return keccak256(abi.encodePacked(_account, _amount));
  }

  function verify(bytes32 _leaf, bytes32[] memory _proof) internal view returns (bool) {
    return MerkleProof.verify(_proof, merkleRoot, _leaf);
  }

  receive() external payable virtual {}
}

File 2 of 16 : AccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.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 AccessControl is Context, IAccessControl, ERC165 {
    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(IAccessControl).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 ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.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 granted `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}.
     * ====
     */
    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);
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 3 of 16 : IAccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @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 4 of 16 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 5 of 16 : Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.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 Pausable is Context {
    /**
     * @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.
     */
    constructor() {
        _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());
    }
}

File 6 of 16 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @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 ReentrancyGuard {
    // 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;

    constructor() {
        _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 make 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;
    }
}

File 7 of 16 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 8 of 16 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // 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 Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

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

        (bool success, bytes memory returndata) = target.delegatecall(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 9 of 16 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 10 of 16 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    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 11 of 16 : MerkleProof.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        bytes32 computedHash = leaf;

        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];

            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }

        // Check if the computed hash (root) is equal to the provided root
        return computedHash == root;
    }
}

File 12 of 16 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.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 ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 13 of 16 : IERC165.sol
// SPDX-License-Identifier: MIT

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 IERC165 {
    /**
     * @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 14 of 16 : AdminControl.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import "./IAdminControl.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/Context.sol";

abstract contract AdminControl is AccessControl {

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

  constructor() {
    _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
    _setupRole(ADMIN_ROLE, _msgSender());
  }

  // ========== Modifiers ==========

  modifier onlyAdmin() {
    require(hasRole(ADMIN_ROLE, _msgSender()), "Caller is not an admin");
    _;
  }

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

File 15 of 16 : IAdminControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev External interface of AdminControl declared to support ERC165 detection.
 */
interface IAdminControl {

}

File 16 of 16 : ERC1155.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.8.0;

/// @notice Minimalist and gas efficient standard ERC1155 implementation.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC1155.sol)
abstract contract ERC1155 {
    /*//////////////////////////////////////////////////////////////
                                 EVENTS
    //////////////////////////////////////////////////////////////*/

    event TransferSingle(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256 id,
        uint256 amount
    );

    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] amounts
    );

    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    event URI(string value, uint256 indexed id);

    /*//////////////////////////////////////////////////////////////
                             ERC1155 STORAGE
    //////////////////////////////////////////////////////////////*/

    mapping(address => mapping(uint256 => uint256)) public balanceOf;

    mapping(address => mapping(address => bool)) public isApprovedForAll;

    /*//////////////////////////////////////////////////////////////
                             METADATA LOGIC
    //////////////////////////////////////////////////////////////*/

    function uri(uint256 id) public view virtual returns (string memory);

    /*//////////////////////////////////////////////////////////////
                              ERC1155 LOGIC
    //////////////////////////////////////////////////////////////*/

    function setApprovalForAll(address operator, bool approved) public virtual {
        isApprovedForAll[msg.sender][operator] = approved;

        emit ApprovalForAll(msg.sender, operator, approved);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) public virtual {
        require(msg.sender == from || isApprovedForAll[from][msg.sender], "NOT_AUTHORIZED");

        balanceOf[from][id] -= amount;
        balanceOf[to][id] += amount;

        emit TransferSingle(msg.sender, from, to, id, amount);

        require(
            to.code.length == 0
                ? to != address(0)
                : ERC1155TokenReceiver(to).onERC1155Received(msg.sender, from, id, amount, data) ==
                    ERC1155TokenReceiver.onERC1155Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) public virtual {
        require(ids.length == amounts.length, "LENGTH_MISMATCH");

        require(msg.sender == from || isApprovedForAll[from][msg.sender], "NOT_AUTHORIZED");

        // Storing these outside the loop saves ~15 gas per iteration.
        uint256 id;
        uint256 amount;

        for (uint256 i = 0; i < ids.length; ) {
            id = ids[i];
            amount = amounts[i];

            balanceOf[from][id] -= amount;
            balanceOf[to][id] += amount;

            // An array can't have a total length
            // larger than the max uint256 value.
            unchecked {
                ++i;
            }
        }

        emit TransferBatch(msg.sender, from, to, ids, amounts);

        require(
            to.code.length == 0
                ? to != address(0)
                : ERC1155TokenReceiver(to).onERC1155BatchReceived(msg.sender, from, ids, amounts, data) ==
                    ERC1155TokenReceiver.onERC1155BatchReceived.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    function balanceOfBatch(address[] calldata owners, uint256[] calldata ids)
        public
        view
        virtual
        returns (uint256[] memory balances)
    {
        require(owners.length == ids.length, "LENGTH_MISMATCH");

        balances = new uint256[](owners.length);

        // Unchecked because the only math done is incrementing
        // the array index counter which cannot possibly overflow.
        unchecked {
            for (uint256 i = 0; i < owners.length; ++i) {
                balances[i] = balanceOf[owners[i]][ids[i]];
            }
        }
    }

    /*//////////////////////////////////////////////////////////////
                              ERC165 LOGIC
    //////////////////////////////////////////////////////////////*/

    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
        return
            interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165
            interfaceId == 0xd9b67a26 || // ERC165 Interface ID for ERC1155
            interfaceId == 0x0e89341c; // ERC165 Interface ID for ERC1155MetadataURI
    }

    /*//////////////////////////////////////////////////////////////
                        INTERNAL MINT/BURN LOGIC
    //////////////////////////////////////////////////////////////*/

    function _mint(
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        balanceOf[to][id] += amount;

        emit TransferSingle(msg.sender, address(0), to, id, amount);

        require(
            to.code.length == 0
                ? to != address(0)
                : ERC1155TokenReceiver(to).onERC1155Received(msg.sender, address(0), id, amount, data) ==
                    ERC1155TokenReceiver.onERC1155Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    function _batchMint(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        uint256 idsLength = ids.length; // Saves MLOADs.

        require(idsLength == amounts.length, "LENGTH_MISMATCH");

        for (uint256 i = 0; i < idsLength; ) {
            balanceOf[to][ids[i]] += amounts[i];

            // An array can't have a total length
            // larger than the max uint256 value.
            unchecked {
                ++i;
            }
        }

        emit TransferBatch(msg.sender, address(0), to, ids, amounts);

        require(
            to.code.length == 0
                ? to != address(0)
                : ERC1155TokenReceiver(to).onERC1155BatchReceived(msg.sender, address(0), ids, amounts, data) ==
                    ERC1155TokenReceiver.onERC1155BatchReceived.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    function _batchBurn(
        address from,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        uint256 idsLength = ids.length; // Saves MLOADs.

        require(idsLength == amounts.length, "LENGTH_MISMATCH");

        for (uint256 i = 0; i < idsLength; ) {
            balanceOf[from][ids[i]] -= amounts[i];

            // An array can't have a total length
            // larger than the max uint256 value.
            unchecked {
                ++i;
            }
        }

        emit TransferBatch(msg.sender, from, address(0), ids, amounts);
    }

    function _burn(
        address from,
        uint256 id,
        uint256 amount
    ) internal virtual {
        balanceOf[from][id] -= amount;

        emit TransferSingle(msg.sender, from, address(0), id, amount);
    }
}

/// @notice A generic interface for a contract which properly accepts ERC1155 tokens.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC1155.sol)
abstract contract ERC1155TokenReceiver {
    function onERC1155Received(
        address,
        address,
        uint256,
        uint256,
        bytes calldata
    ) external virtual returns (bytes4) {
        return ERC1155TokenReceiver.onERC1155Received.selector;
    }

    function onERC1155BatchReceived(
        address,
        address,
        uint256[] calldata,
        uint256[] calldata,
        bytes calldata
    ) external virtual returns (bytes4) {
        return ERC1155TokenReceiver.onERC1155BatchReceived.selector;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","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":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":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DAO_MULTISIG","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"amountsMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"owners","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"balances","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"claimTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentDrop","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"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":[],"name":"incrementCurrentDrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","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":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","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":"totalBurned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTokenSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"uint256","name":"_tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b506002805460ff1916905560016003556200002e600033620000c1565b620000496000805160206200340e83398151915233620000c1565b6200005433620000d1565b6200005e62000123565b6200007f600073ca52757875abdfc1dded370828dfc2be2d4d53c4620001c2565b620000ae6000805160206200340e83398151915273ca52757875abdfc1dded370828dfc2be2d4d53c4620001c2565b620000bb600033620001f1565b6200076e565b620000cd82826200026f565b5050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60025460ff16156200016f5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064015b60405180910390fd5b6002805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258620001a53390565b6040516001600160a01b03909116815260200160405180910390a1565b600082815260046020526040902060010154620001e0813362000313565b620001ec83836200026f565b505050565b6001600160a01b0381163314620002635760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840162000166565b620000cd8282620003b0565b60008281526004602090815260408083206001600160a01b038516845290915290205460ff16620000cd5760008281526004602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620002cf3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526004602090815260408083206001600160a01b038516845290915290205460ff16620000cd576200035f816001600160a01b031660146200043460201b620018a61760201c565b62000375836020620018a662000434821b17811c565b6040516020016200038892919062000627565b60408051601f198184030181529082905262461bcd60e51b82526200016691600401620006a0565b60008281526004602090815260408083206001600160a01b038516845290915290205460ff1615620000cd5760008281526004602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6060600062000445836002620006eb565b620004529060026200070d565b6001600160401b038111156200046c576200046c62000728565b6040519080825280601f01601f19166020018201604052801562000497576020820181803683370190505b509050600360fc1b81600081518110620004b557620004b56200073e565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110620004e757620004e76200073e565b60200101906001600160f81b031916908160001a90535060006200050d846002620006eb565b6200051a9060016200070d565b90505b60018111156200059c576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106200055257620005526200073e565b1a60f81b8282815181106200056b576200056b6200073e565b60200101906001600160f81b031916908160001a90535060049490941c93620005948162000754565b90506200051d565b508315620005ed5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640162000166565b9392505050565b60005b8381101562000611578181015183820152602001620005f7565b8381111562000621576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835162000661816017850160208801620005f4565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835162000694816028840160208801620005f4565b01602801949350505050565b6020815260008251806020840152620006c1816040850160208701620005f4565b601f01601f19169190910160400192915050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615620007085762000708620006d5565b500290565b60008219821115620007235762000723620006d5565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081620007665762000766620006d5565b506000190190565b612c90806200077e6000396000f3fe6080604052600436106102335760003560e01c80636c0360eb1161012e578063a22cb465116100ab578063d547741f1161006f578063d547741f14610693578063d89135cd146106b3578063e985e9c5146106c9578063f242432a14610704578063f2fde38b1461072457600080fd5b8063a22cb465146105e5578063a2309ff814610605578063bd85b0391461061b578063cfb4a1fc1461063b578063d522eabc1461065b57600080fd5b80638da5cb5b116100f25780638da5cb5b1461055d578063919a0b7c1461057b57806391d14854146105905780639dc29fac146105b0578063a217fddf146105d057600080fd5b80636c0360eb146104dc578063715018a6146104f157806375b238fc146105065780637cb64759146105285780638456cb591461054857600080fd5b80632f2ff15d116101bc578063484b973c11610180578063484b973c1461043757806349df728c146104575780634e1273f41461047757806355f804b3146104a45780635c975abb146104c457600080fd5b80632f2ff15d146103b757806332cb6b0c146103d757806336568abe146103ed5780633ccfd60b1461040d5780633f4ba83a1461042257600080fd5b80631245c653116102035780631245c653146103245780631ca8b6cb1461033a578063248a9ca31461034f5780632eb2c2d61461037f5780632eb4a7ab146103a157600080fd5b8062fdd58e1461023f57806301ffc9a7146102875780630750fa45146102b75780630e89341c146102f757600080fd5b3661023a57005b600080fd5b34801561024b57600080fd5b5061027461025a36600461225b565b600060208181529281526040808220909352908152205481565b6040519081526020015b60405180910390f35b34801561029357600080fd5b506102a76102a236600461229d565b610744565b604051901515815260200161027e565b3480156102c357600080fd5b506102df73ca52757875abdfc1dded370828dfc2be2d4d53c481565b6040516001600160a01b03909116815260200161027e565b34801561030357600080fd5b506103176103123660046122ba565b6107b1565b60405161027e919061232b565b34801561033057600080fd5b50610274600a5481565b34801561034657600080fd5b506102746108df565b34801561035b57600080fd5b5061027461036a3660046122ba565b60009081526004602052604090206001015490565b34801561038b57600080fd5b5061039f61039a3660046123cc565b6108f6565b005b3480156103ad57600080fd5b5061027460095481565b3480156103c357600080fd5b5061039f6103d236600461248b565b610ba8565b3480156103e357600080fd5b5061027461c35081565b3480156103f957600080fd5b5061039f61040836600461248b565b610bd3565b34801561041957600080fd5b5061039f610c51565b34801561042e57600080fd5b5061039f610c87565b34801561044357600080fd5b5061039f61045236600461225b565b610cc3565b34801561046357600080fd5b5061039f6104723660046124bb565b610d8b565b34801561048357600080fd5b506104976104923660046124d8565b610ec7565b60405161027e9190612544565b3480156104b057600080fd5b5061039f6104bf36600461259e565b610ffc565b3480156104d057600080fd5b5060025460ff166102a7565b3480156104e857600080fd5b50610317611043565b3480156104fd57600080fd5b5061039f6110d1565b34801561051257600080fd5b50610274600080516020612c3b83398151915281565b34801561053457600080fd5b5061039f6105433660046122ba565b611105565b34801561055457600080fd5b5061039f61113e565b34801561056957600080fd5b506005546001600160a01b03166102df565b34801561058757600080fd5b5061039f61117a565b34801561059c57600080fd5b506102a76105ab36600461248b565b6111cd565b3480156105bc57600080fd5b5061039f6105cb36600461225b565b6111f8565b3480156105dc57600080fd5b50610274600081565b3480156105f157600080fd5b5061039f61060036600461265d565b6112b7565b34801561061157600080fd5b5061027460075481565b34801561062757600080fd5b506102746106363660046122ba565b611323565b34801561064757600080fd5b5061039f61065636600461268b565b611345565b34801561066757600080fd5b5061027461067636600461225b565b600b60209081526000928352604080842090915290825290205481565b34801561069f57600080fd5b5061039f6106ae36600461248b565b6115dc565b3480156106bf57600080fd5b5061027460085481565b3480156106d557600080fd5b506102a76106e43660046126db565b600160209081526000928352604080842090915290825290205460ff1681565b34801561071057600080fd5b5061039f61071f366004612709565b611602565b34801561073057600080fd5b5061039f61073f3660046124bb565b61180b565b60006001600160e01b03198216637965db0b60e01b148061077557506301ffc9a760e01b6001600160e01b03198316145b806107905750636cdb3d1360e11b6001600160e01b03198316145b806107ab57506303a24d0760e21b6001600160e01b03198316145b92915050565b6060600182146108085760405162461bcd60e51b815260206004820152601f60248201527f5552492072657175657374656420666f7220696e76616c696420746f6b656e0060448201526064015b60405180910390fd5b60006006805461081790612785565b9050116108ae576006805461082b90612785565b80601f016020809104026020016040519081016040528092919081815260200182805461085790612785565b80156108a45780601f10610879576101008083540402835291602001916108a4565b820191906000526020600020905b81548152906001019060200180831161088757829003601f168201915b50505050506107ab565b60066108b983611a49565b6040516020016108ca9291906127dc565b60405160208183030381529060405292915050565b60006008546007546108f19190612899565b905090565b8483146109375760405162461bcd60e51b815260206004820152600f60248201526e0988a9c8ea890be9a92a69a82a8869608b1b60448201526064016107ff565b336001600160a01b038916148061097157506001600160a01b038816600090815260016020908152604080832033845290915290205460ff165b6109ae5760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064016107ff565b60008060005b87811015610a69578888828181106109ce576109ce6128b0565b9050602002013592508686828181106109e9576109e96128b0565b6001600160a01b038e1660009081526020818152604080832089845282528220805493909102949094013595508593925090610a26908490612899565b90915550506001600160a01b038a1660009081526020818152604080832086845290915281208054849290610a5c9084906128c6565b90915550506001016109b4565b50886001600160a01b03168a6001600160a01b0316336001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8b8b8b8b604051610abd9493929190612914565b60405180910390a46001600160a01b0389163b15610b735760405163bc197c8160e01b808252906001600160a01b038b169063bc197c8190610b119033908f908e908e908e908e908e908e9060040161296f565b602060405180830381600087803b158015610b2b57600080fd5b505af1158015610b3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6391906129d3565b6001600160e01b03191614610b80565b6001600160a01b03891615155b610b9c5760405162461bcd60e51b81526004016107ff906129f0565b50505050505050505050565b600082815260046020526040902060010154610bc48133611b4f565b610bce8383611bb3565b505050565b6001600160a01b0381163314610c435760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016107ff565b610c4d8282611c39565b5050565b6005546001600160a01b03163314610c7b5760405162461bcd60e51b81526004016107ff90612a1a565b610c853347611ca0565b565b610c9f600080516020612c3b833981519152336111cd565b610cbb5760405162461bcd60e51b81526004016107ff90612a4f565b610c85611db9565b610cdb600080516020612c3b833981519152336111cd565b610cf75760405162461bcd60e51b81526004016107ff90612a4f565b61c35081600754610d0891906128c6565b1115610d565760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420656e6f75676820746f6b656e732072656d61696e696e67000000000060448201526064016107ff565b8060076000828254610d6891906128c6565b92505081905550610c4d8260018360405180602001604052806000815250611e4c565b6005546001600160a01b03163314610db55760405162461bcd60e51b81526004016107ff90612a1a565b6001600160a01b038116610dc857600080fd5b6040516370a0823160e01b81523060048201526001600160a01b0382169063a9059cbb90339083906370a082319060240160206040518083038186803b158015610e1157600080fd5b505afa158015610e25573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e499190612a7f565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b158015610e8f57600080fd5b505af1158015610ea3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4d9190612a98565b6060838214610f0a5760405162461bcd60e51b815260206004820152600f60248201526e0988a9c8ea890be9a92a69a82a8869608b1b60448201526064016107ff565b8367ffffffffffffffff811115610f2357610f23612588565b604051908082528060200260200182016040528015610f4c578160200160208202803683370190505b50905060005b84811015610ff357600080878784818110610f6f57610f6f6128b0565b9050602002016020810190610f8491906124bb565b6001600160a01b03166001600160a01b031681526020019081526020016000206000858584818110610fb857610fb86128b0565b90506020020135815260200190815260200160002054828281518110610fe057610fe06128b0565b6020908102919091010152600101610f52565b50949350505050565b611014600080516020612c3b833981519152336111cd565b6110305760405162461bcd60e51b81526004016107ff90612a4f565b8051610c4d9060069060208401906121ad565b6006805461105090612785565b80601f016020809104026020016040519081016040528092919081815260200182805461107c90612785565b80156110c95780601f1061109e576101008083540402835291602001916110c9565b820191906000526020600020905b8154815290600101906020018083116110ac57829003601f168201915b505050505081565b6005546001600160a01b031633146110fb5760405162461bcd60e51b81526004016107ff90612a1a565b610c856000611fa3565b61111d600080516020612c3b833981519152336111cd565b6111395760405162461bcd60e51b81526004016107ff90612a4f565b600955565b611156600080516020612c3b833981519152336111cd565b6111725760405162461bcd60e51b81526004016107ff90612a4f565b610c85611ff5565b611192600080516020612c3b833981519152336111cd565b6111ae5760405162461bcd60e51b81526004016107ff90612a4f565b6111b6611ff5565b600a80549060006111c683612ab5565b9190505550565b60009182526004602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6001600160a01b03821633148061123257506001600160a01b038216600090815260016020908152604080832033845290915290205460ff165b6112905760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b60648201526084016107ff565b61129c82600183612070565b80600860008282546112ae91906128c6565b90915550505050565b3360008181526001602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60006001821461133557506000919050565b6008546007546107ab9190612899565b60025460ff161561138b5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016107ff565b600260035414156113de5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107ff565b600260035560408051606086901b6bffffffffffffffffffffffff191660208083019190915260348083018790528351808403909101815260549092019092528051910120611460908383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506120f492505050565b61149c5760405162461bcd60e51b815260206004820152600d60248201526c139bdd081c195c9b5a5d1d1959609a1b60448201526064016107ff565b61c350836007546114ad91906128c6565b11156114fb5760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420656e6f75676820746f6b656e732072656d61696e696e67000000000060448201526064016107ff565b6001600160a01b0384166000908152600b60209081526040808320600a548452909152902054156115605760405162461bcd60e51b815260206004820152600f60248201526e105b1c9958591e4818db185a5b5959608a1b60448201526064016107ff565b6001600160a01b0384166000908152600b60209081526040808320600a548452909152812080548592906115959084906128c6565b9250508190555082600760008282546115ae91906128c6565b925050819055506115d18460018560405180602001604052806000815250611e4c565b505060016003555050565b6000828152600460205260409020600101546115f88133611b4f565b610bce8383611c39565b336001600160a01b038716148061163c57506001600160a01b038616600090815260016020908152604080832033845290915290205460ff165b6116795760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064016107ff565b6001600160a01b038616600090815260208181526040808320878452909152812080548592906116aa908490612899565b90915550506001600160a01b038516600090815260208181526040808320878452909152812080548592906116e09084906128c6565b909155505060408051858152602081018590526001600160a01b03808816929089169133917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46001600160a01b0385163b156117da5760405163f23a6e6160e01b808252906001600160a01b0387169063f23a6e61906117789033908b908a908a908a908a90600401612ad0565b602060405180830381600087803b15801561179257600080fd5b505af11580156117a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ca91906129d3565b6001600160e01b031916146117e7565b6001600160a01b03851615155b6118035760405162461bcd60e51b81526004016107ff906129f0565b505050505050565b6005546001600160a01b031633146118355760405162461bcd60e51b81526004016107ff90612a1a565b6001600160a01b03811661189a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107ff565b6118a381611fa3565b50565b606060006118b5836002612b17565b6118c09060026128c6565b67ffffffffffffffff8111156118d8576118d8612588565b6040519080825280601f01601f191660200182016040528015611902576020820181803683370190505b509050600360fc1b8160008151811061191d5761191d6128b0565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061194c5761194c6128b0565b60200101906001600160f81b031916908160001a9053506000611970846002612b17565b61197b9060016128c6565b90505b60018111156119f3576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106119af576119af6128b0565b1a60f81b8282815181106119c5576119c56128b0565b60200101906001600160f81b031916908160001a90535060049490941c936119ec81612b36565b905061197e565b508315611a425760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016107ff565b9392505050565b606081611a6d5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611a975780611a8181612ab5565b9150611a909050600a83612b63565b9150611a71565b60008167ffffffffffffffff811115611ab257611ab2612588565b6040519080825280601f01601f191660200182016040528015611adc576020820181803683370190505b5090505b8415611b4757611af1600183612899565b9150611afe600a86612b77565b611b099060306128c6565b60f81b818381518110611b1e57611b1e6128b0565b60200101906001600160f81b031916908160001a905350611b40600a86612b63565b9450611ae0565b949350505050565b611b5982826111cd565b610c4d57611b71816001600160a01b031660146118a6565b611b7c8360206118a6565b604051602001611b8d929190612b8b565b60408051601f198184030181529082905262461bcd60e51b82526107ff9160040161232b565b611bbd82826111cd565b610c4d5760008281526004602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611bf53390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b611c4382826111cd565b15610c4d5760008281526004602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b80471015611cf05760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016107ff565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611d3d576040519150601f19603f3d011682016040523d82523d6000602084013e611d42565b606091505b5050905080610bce5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016107ff565b60025460ff16611e025760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016107ff565b6002805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b03841660009081526020818152604080832086845290915281208054849290611e7d9084906128c6565b909155505060408051848152602081018490526001600160a01b0386169160009133917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46001600160a01b0384163b15611f745760405163f23a6e6160e01b808252906001600160a01b0386169063f23a6e6190611f12903390600090899089908990600401612c00565b602060405180830381600087803b158015611f2c57600080fd5b505af1158015611f40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f6491906129d3565b6001600160e01b03191614611f81565b6001600160a01b03841615155b611f9d5760405162461bcd60e51b81526004016107ff906129f0565b50505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60025460ff161561203b5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016107ff565b6002805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611e2f3390565b6001600160a01b038316600090815260208181526040808320858452909152812080548392906120a1908490612899565b909155505060408051838152602081018390526000916001600160a01b0386169133917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4505050565b6000611a428260095485600081815b85518110156121a2576000868281518110612120576121206128b0565b6020026020010151905080831161216257604080516020810185905290810182905260600160405160208183030381529060405280519060200120925061218f565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061219a81612ab5565b915050612103565b509092149392505050565b8280546121b990612785565b90600052602060002090601f0160209004810192826121db5760008555612221565b82601f106121f457805160ff1916838001178555612221565b82800160010185558215612221579182015b82811115612221578251825591602001919060010190612206565b5061222d929150612231565b5090565b5b8082111561222d5760008155600101612232565b6001600160a01b03811681146118a357600080fd5b6000806040838503121561226e57600080fd5b823561227981612246565b946020939093013593505050565b6001600160e01b0319811681146118a357600080fd5b6000602082840312156122af57600080fd5b8135611a4281612287565b6000602082840312156122cc57600080fd5b5035919050565b60005b838110156122ee5781810151838201526020016122d6565b83811115611f9d5750506000910152565b600081518084526123178160208601602086016122d3565b601f01601f19169290920160200192915050565b602081526000611a4260208301846122ff565b60008083601f84011261235057600080fd5b50813567ffffffffffffffff81111561236857600080fd5b6020830191508360208260051b850101111561238357600080fd5b9250929050565b60008083601f84011261239c57600080fd5b50813567ffffffffffffffff8111156123b457600080fd5b60208301915083602082850101111561238357600080fd5b60008060008060008060008060a0898b0312156123e857600080fd5b88356123f381612246565b9750602089013561240381612246565b9650604089013567ffffffffffffffff8082111561242057600080fd5b61242c8c838d0161233e565b909850965060608b013591508082111561244557600080fd5b6124518c838d0161233e565b909650945060808b013591508082111561246a57600080fd5b506124778b828c0161238a565b999c989b5096995094979396929594505050565b6000806040838503121561249e57600080fd5b8235915060208301356124b081612246565b809150509250929050565b6000602082840312156124cd57600080fd5b8135611a4281612246565b600080600080604085870312156124ee57600080fd5b843567ffffffffffffffff8082111561250657600080fd5b6125128883890161233e565b9096509450602087013591508082111561252b57600080fd5b506125388782880161233e565b95989497509550505050565b6020808252825182820181905260009190848201906040850190845b8181101561257c57835183529284019291840191600101612560565b50909695505050505050565b634e487b7160e01b600052604160045260246000fd5b6000602082840312156125b057600080fd5b813567ffffffffffffffff808211156125c857600080fd5b818401915084601f8301126125dc57600080fd5b8135818111156125ee576125ee612588565b604051601f8201601f19908116603f0116810190838211818310171561261657612616612588565b8160405282815287602084870101111561262f57600080fd5b826020860160208301376000928101602001929092525095945050505050565b80151581146118a357600080fd5b6000806040838503121561267057600080fd5b823561267b81612246565b915060208301356124b08161264f565b600080600080606085870312156126a157600080fd5b84356126ac81612246565b935060208501359250604085013567ffffffffffffffff8111156126cf57600080fd5b6125388782880161233e565b600080604083850312156126ee57600080fd5b82356126f981612246565b915060208301356124b081612246565b60008060008060008060a0878903121561272257600080fd5b863561272d81612246565b9550602087013561273d81612246565b94506040870135935060608701359250608087013567ffffffffffffffff81111561276757600080fd5b61277389828a0161238a565b979a9699509497509295939492505050565b600181811c9082168061279957607f821691505b602082108114156127ba57634e487b7160e01b600052602260045260246000fd5b50919050565b600081516127d28185602086016122d3565b9290920192915050565b600080845481600182811c9150808316806127f857607f831692505b602080841082141561281857634e487b7160e01b86526022600452602486fd5b81801561282c576001811461283d5761286a565b60ff1986168952848901965061286a565b60008b81526020902060005b868110156128625781548b820152908501908301612849565b505084890196505b50505050505061287a81856127c0565b95945050505050565b634e487b7160e01b600052601160045260246000fd5b6000828210156128ab576128ab612883565b500390565b634e487b7160e01b600052603260045260246000fd5b600082198211156128d9576128d9612883565b500190565b81835260006001600160fb1b038311156128f757600080fd5b8260051b8083602087013760009401602001938452509192915050565b6040815260006129286040830186886128de565b828103602084015261293b8185876128de565b979650505050505050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6001600160a01b0389811682528816602082015260a06040820181905260009061299c908301888a6128de565b82810360608401526129af8187896128de565b905082810360808401526129c4818587612946565b9b9a5050505050505050505050565b6000602082840312156129e557600080fd5b8151611a4281612287565b60208082526010908201526f155394d0519157d49150d2541251539560821b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526016908201527521b0b63632b91034b9903737ba1030b71030b236b4b760511b604082015260600190565b600060208284031215612a9157600080fd5b5051919050565b600060208284031215612aaa57600080fd5b8151611a428161264f565b6000600019821415612ac957612ac9612883565b5060010190565b6001600160a01b03878116825286166020820152604081018590526060810184905260a060808201819052600090612b0b9083018486612946565b98975050505050505050565b6000816000190483118215151615612b3157612b31612883565b500290565b600081612b4557612b45612883565b506000190190565b634e487b7160e01b600052601260045260246000fd5b600082612b7257612b72612b4d565b500490565b600082612b8657612b86612b4d565b500690565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612bc38160178501602088016122d3565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612bf48160288401602088016122d3565b01602801949350505050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a06080820181905260009061293b908301846122ff56fea49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775a264697066735822122084c000c672861c97442905a3c4371cfb4fe10bb0d21635c4c1b4fd67f3b7ebe364736f6c63430008090033a49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775

Deployed Bytecode

0x6080604052600436106102335760003560e01c80636c0360eb1161012e578063a22cb465116100ab578063d547741f1161006f578063d547741f14610693578063d89135cd146106b3578063e985e9c5146106c9578063f242432a14610704578063f2fde38b1461072457600080fd5b8063a22cb465146105e5578063a2309ff814610605578063bd85b0391461061b578063cfb4a1fc1461063b578063d522eabc1461065b57600080fd5b80638da5cb5b116100f25780638da5cb5b1461055d578063919a0b7c1461057b57806391d14854146105905780639dc29fac146105b0578063a217fddf146105d057600080fd5b80636c0360eb146104dc578063715018a6146104f157806375b238fc146105065780637cb64759146105285780638456cb591461054857600080fd5b80632f2ff15d116101bc578063484b973c11610180578063484b973c1461043757806349df728c146104575780634e1273f41461047757806355f804b3146104a45780635c975abb146104c457600080fd5b80632f2ff15d146103b757806332cb6b0c146103d757806336568abe146103ed5780633ccfd60b1461040d5780633f4ba83a1461042257600080fd5b80631245c653116102035780631245c653146103245780631ca8b6cb1461033a578063248a9ca31461034f5780632eb2c2d61461037f5780632eb4a7ab146103a157600080fd5b8062fdd58e1461023f57806301ffc9a7146102875780630750fa45146102b75780630e89341c146102f757600080fd5b3661023a57005b600080fd5b34801561024b57600080fd5b5061027461025a36600461225b565b600060208181529281526040808220909352908152205481565b6040519081526020015b60405180910390f35b34801561029357600080fd5b506102a76102a236600461229d565b610744565b604051901515815260200161027e565b3480156102c357600080fd5b506102df73ca52757875abdfc1dded370828dfc2be2d4d53c481565b6040516001600160a01b03909116815260200161027e565b34801561030357600080fd5b506103176103123660046122ba565b6107b1565b60405161027e919061232b565b34801561033057600080fd5b50610274600a5481565b34801561034657600080fd5b506102746108df565b34801561035b57600080fd5b5061027461036a3660046122ba565b60009081526004602052604090206001015490565b34801561038b57600080fd5b5061039f61039a3660046123cc565b6108f6565b005b3480156103ad57600080fd5b5061027460095481565b3480156103c357600080fd5b5061039f6103d236600461248b565b610ba8565b3480156103e357600080fd5b5061027461c35081565b3480156103f957600080fd5b5061039f61040836600461248b565b610bd3565b34801561041957600080fd5b5061039f610c51565b34801561042e57600080fd5b5061039f610c87565b34801561044357600080fd5b5061039f61045236600461225b565b610cc3565b34801561046357600080fd5b5061039f6104723660046124bb565b610d8b565b34801561048357600080fd5b506104976104923660046124d8565b610ec7565b60405161027e9190612544565b3480156104b057600080fd5b5061039f6104bf36600461259e565b610ffc565b3480156104d057600080fd5b5060025460ff166102a7565b3480156104e857600080fd5b50610317611043565b3480156104fd57600080fd5b5061039f6110d1565b34801561051257600080fd5b50610274600080516020612c3b83398151915281565b34801561053457600080fd5b5061039f6105433660046122ba565b611105565b34801561055457600080fd5b5061039f61113e565b34801561056957600080fd5b506005546001600160a01b03166102df565b34801561058757600080fd5b5061039f61117a565b34801561059c57600080fd5b506102a76105ab36600461248b565b6111cd565b3480156105bc57600080fd5b5061039f6105cb36600461225b565b6111f8565b3480156105dc57600080fd5b50610274600081565b3480156105f157600080fd5b5061039f61060036600461265d565b6112b7565b34801561061157600080fd5b5061027460075481565b34801561062757600080fd5b506102746106363660046122ba565b611323565b34801561064757600080fd5b5061039f61065636600461268b565b611345565b34801561066757600080fd5b5061027461067636600461225b565b600b60209081526000928352604080842090915290825290205481565b34801561069f57600080fd5b5061039f6106ae36600461248b565b6115dc565b3480156106bf57600080fd5b5061027460085481565b3480156106d557600080fd5b506102a76106e43660046126db565b600160209081526000928352604080842090915290825290205460ff1681565b34801561071057600080fd5b5061039f61071f366004612709565b611602565b34801561073057600080fd5b5061039f61073f3660046124bb565b61180b565b60006001600160e01b03198216637965db0b60e01b148061077557506301ffc9a760e01b6001600160e01b03198316145b806107905750636cdb3d1360e11b6001600160e01b03198316145b806107ab57506303a24d0760e21b6001600160e01b03198316145b92915050565b6060600182146108085760405162461bcd60e51b815260206004820152601f60248201527f5552492072657175657374656420666f7220696e76616c696420746f6b656e0060448201526064015b60405180910390fd5b60006006805461081790612785565b9050116108ae576006805461082b90612785565b80601f016020809104026020016040519081016040528092919081815260200182805461085790612785565b80156108a45780601f10610879576101008083540402835291602001916108a4565b820191906000526020600020905b81548152906001019060200180831161088757829003601f168201915b50505050506107ab565b60066108b983611a49565b6040516020016108ca9291906127dc565b60405160208183030381529060405292915050565b60006008546007546108f19190612899565b905090565b8483146109375760405162461bcd60e51b815260206004820152600f60248201526e0988a9c8ea890be9a92a69a82a8869608b1b60448201526064016107ff565b336001600160a01b038916148061097157506001600160a01b038816600090815260016020908152604080832033845290915290205460ff165b6109ae5760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064016107ff565b60008060005b87811015610a69578888828181106109ce576109ce6128b0565b9050602002013592508686828181106109e9576109e96128b0565b6001600160a01b038e1660009081526020818152604080832089845282528220805493909102949094013595508593925090610a26908490612899565b90915550506001600160a01b038a1660009081526020818152604080832086845290915281208054849290610a5c9084906128c6565b90915550506001016109b4565b50886001600160a01b03168a6001600160a01b0316336001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8b8b8b8b604051610abd9493929190612914565b60405180910390a46001600160a01b0389163b15610b735760405163bc197c8160e01b808252906001600160a01b038b169063bc197c8190610b119033908f908e908e908e908e908e908e9060040161296f565b602060405180830381600087803b158015610b2b57600080fd5b505af1158015610b3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6391906129d3565b6001600160e01b03191614610b80565b6001600160a01b03891615155b610b9c5760405162461bcd60e51b81526004016107ff906129f0565b50505050505050505050565b600082815260046020526040902060010154610bc48133611b4f565b610bce8383611bb3565b505050565b6001600160a01b0381163314610c435760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016107ff565b610c4d8282611c39565b5050565b6005546001600160a01b03163314610c7b5760405162461bcd60e51b81526004016107ff90612a1a565b610c853347611ca0565b565b610c9f600080516020612c3b833981519152336111cd565b610cbb5760405162461bcd60e51b81526004016107ff90612a4f565b610c85611db9565b610cdb600080516020612c3b833981519152336111cd565b610cf75760405162461bcd60e51b81526004016107ff90612a4f565b61c35081600754610d0891906128c6565b1115610d565760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420656e6f75676820746f6b656e732072656d61696e696e67000000000060448201526064016107ff565b8060076000828254610d6891906128c6565b92505081905550610c4d8260018360405180602001604052806000815250611e4c565b6005546001600160a01b03163314610db55760405162461bcd60e51b81526004016107ff90612a1a565b6001600160a01b038116610dc857600080fd5b6040516370a0823160e01b81523060048201526001600160a01b0382169063a9059cbb90339083906370a082319060240160206040518083038186803b158015610e1157600080fd5b505afa158015610e25573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e499190612a7f565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b158015610e8f57600080fd5b505af1158015610ea3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4d9190612a98565b6060838214610f0a5760405162461bcd60e51b815260206004820152600f60248201526e0988a9c8ea890be9a92a69a82a8869608b1b60448201526064016107ff565b8367ffffffffffffffff811115610f2357610f23612588565b604051908082528060200260200182016040528015610f4c578160200160208202803683370190505b50905060005b84811015610ff357600080878784818110610f6f57610f6f6128b0565b9050602002016020810190610f8491906124bb565b6001600160a01b03166001600160a01b031681526020019081526020016000206000858584818110610fb857610fb86128b0565b90506020020135815260200190815260200160002054828281518110610fe057610fe06128b0565b6020908102919091010152600101610f52565b50949350505050565b611014600080516020612c3b833981519152336111cd565b6110305760405162461bcd60e51b81526004016107ff90612a4f565b8051610c4d9060069060208401906121ad565b6006805461105090612785565b80601f016020809104026020016040519081016040528092919081815260200182805461107c90612785565b80156110c95780601f1061109e576101008083540402835291602001916110c9565b820191906000526020600020905b8154815290600101906020018083116110ac57829003601f168201915b505050505081565b6005546001600160a01b031633146110fb5760405162461bcd60e51b81526004016107ff90612a1a565b610c856000611fa3565b61111d600080516020612c3b833981519152336111cd565b6111395760405162461bcd60e51b81526004016107ff90612a4f565b600955565b611156600080516020612c3b833981519152336111cd565b6111725760405162461bcd60e51b81526004016107ff90612a4f565b610c85611ff5565b611192600080516020612c3b833981519152336111cd565b6111ae5760405162461bcd60e51b81526004016107ff90612a4f565b6111b6611ff5565b600a80549060006111c683612ab5565b9190505550565b60009182526004602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6001600160a01b03821633148061123257506001600160a01b038216600090815260016020908152604080832033845290915290205460ff165b6112905760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b60648201526084016107ff565b61129c82600183612070565b80600860008282546112ae91906128c6565b90915550505050565b3360008181526001602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60006001821461133557506000919050565b6008546007546107ab9190612899565b60025460ff161561138b5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016107ff565b600260035414156113de5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107ff565b600260035560408051606086901b6bffffffffffffffffffffffff191660208083019190915260348083018790528351808403909101815260549092019092528051910120611460908383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506120f492505050565b61149c5760405162461bcd60e51b815260206004820152600d60248201526c139bdd081c195c9b5a5d1d1959609a1b60448201526064016107ff565b61c350836007546114ad91906128c6565b11156114fb5760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420656e6f75676820746f6b656e732072656d61696e696e67000000000060448201526064016107ff565b6001600160a01b0384166000908152600b60209081526040808320600a548452909152902054156115605760405162461bcd60e51b815260206004820152600f60248201526e105b1c9958591e4818db185a5b5959608a1b60448201526064016107ff565b6001600160a01b0384166000908152600b60209081526040808320600a548452909152812080548592906115959084906128c6565b9250508190555082600760008282546115ae91906128c6565b925050819055506115d18460018560405180602001604052806000815250611e4c565b505060016003555050565b6000828152600460205260409020600101546115f88133611b4f565b610bce8383611c39565b336001600160a01b038716148061163c57506001600160a01b038616600090815260016020908152604080832033845290915290205460ff165b6116795760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064016107ff565b6001600160a01b038616600090815260208181526040808320878452909152812080548592906116aa908490612899565b90915550506001600160a01b038516600090815260208181526040808320878452909152812080548592906116e09084906128c6565b909155505060408051858152602081018590526001600160a01b03808816929089169133917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46001600160a01b0385163b156117da5760405163f23a6e6160e01b808252906001600160a01b0387169063f23a6e61906117789033908b908a908a908a908a90600401612ad0565b602060405180830381600087803b15801561179257600080fd5b505af11580156117a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ca91906129d3565b6001600160e01b031916146117e7565b6001600160a01b03851615155b6118035760405162461bcd60e51b81526004016107ff906129f0565b505050505050565b6005546001600160a01b031633146118355760405162461bcd60e51b81526004016107ff90612a1a565b6001600160a01b03811661189a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107ff565b6118a381611fa3565b50565b606060006118b5836002612b17565b6118c09060026128c6565b67ffffffffffffffff8111156118d8576118d8612588565b6040519080825280601f01601f191660200182016040528015611902576020820181803683370190505b509050600360fc1b8160008151811061191d5761191d6128b0565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061194c5761194c6128b0565b60200101906001600160f81b031916908160001a9053506000611970846002612b17565b61197b9060016128c6565b90505b60018111156119f3576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106119af576119af6128b0565b1a60f81b8282815181106119c5576119c56128b0565b60200101906001600160f81b031916908160001a90535060049490941c936119ec81612b36565b905061197e565b508315611a425760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016107ff565b9392505050565b606081611a6d5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611a975780611a8181612ab5565b9150611a909050600a83612b63565b9150611a71565b60008167ffffffffffffffff811115611ab257611ab2612588565b6040519080825280601f01601f191660200182016040528015611adc576020820181803683370190505b5090505b8415611b4757611af1600183612899565b9150611afe600a86612b77565b611b099060306128c6565b60f81b818381518110611b1e57611b1e6128b0565b60200101906001600160f81b031916908160001a905350611b40600a86612b63565b9450611ae0565b949350505050565b611b5982826111cd565b610c4d57611b71816001600160a01b031660146118a6565b611b7c8360206118a6565b604051602001611b8d929190612b8b565b60408051601f198184030181529082905262461bcd60e51b82526107ff9160040161232b565b611bbd82826111cd565b610c4d5760008281526004602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611bf53390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b611c4382826111cd565b15610c4d5760008281526004602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b80471015611cf05760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016107ff565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611d3d576040519150601f19603f3d011682016040523d82523d6000602084013e611d42565b606091505b5050905080610bce5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016107ff565b60025460ff16611e025760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016107ff565b6002805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b03841660009081526020818152604080832086845290915281208054849290611e7d9084906128c6565b909155505060408051848152602081018490526001600160a01b0386169160009133917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46001600160a01b0384163b15611f745760405163f23a6e6160e01b808252906001600160a01b0386169063f23a6e6190611f12903390600090899089908990600401612c00565b602060405180830381600087803b158015611f2c57600080fd5b505af1158015611f40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f6491906129d3565b6001600160e01b03191614611f81565b6001600160a01b03841615155b611f9d5760405162461bcd60e51b81526004016107ff906129f0565b50505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60025460ff161561203b5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016107ff565b6002805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611e2f3390565b6001600160a01b038316600090815260208181526040808320858452909152812080548392906120a1908490612899565b909155505060408051838152602081018390526000916001600160a01b0386169133917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4505050565b6000611a428260095485600081815b85518110156121a2576000868281518110612120576121206128b0565b6020026020010151905080831161216257604080516020810185905290810182905260600160405160208183030381529060405280519060200120925061218f565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061219a81612ab5565b915050612103565b509092149392505050565b8280546121b990612785565b90600052602060002090601f0160209004810192826121db5760008555612221565b82601f106121f457805160ff1916838001178555612221565b82800160010185558215612221579182015b82811115612221578251825591602001919060010190612206565b5061222d929150612231565b5090565b5b8082111561222d5760008155600101612232565b6001600160a01b03811681146118a357600080fd5b6000806040838503121561226e57600080fd5b823561227981612246565b946020939093013593505050565b6001600160e01b0319811681146118a357600080fd5b6000602082840312156122af57600080fd5b8135611a4281612287565b6000602082840312156122cc57600080fd5b5035919050565b60005b838110156122ee5781810151838201526020016122d6565b83811115611f9d5750506000910152565b600081518084526123178160208601602086016122d3565b601f01601f19169290920160200192915050565b602081526000611a4260208301846122ff565b60008083601f84011261235057600080fd5b50813567ffffffffffffffff81111561236857600080fd5b6020830191508360208260051b850101111561238357600080fd5b9250929050565b60008083601f84011261239c57600080fd5b50813567ffffffffffffffff8111156123b457600080fd5b60208301915083602082850101111561238357600080fd5b60008060008060008060008060a0898b0312156123e857600080fd5b88356123f381612246565b9750602089013561240381612246565b9650604089013567ffffffffffffffff8082111561242057600080fd5b61242c8c838d0161233e565b909850965060608b013591508082111561244557600080fd5b6124518c838d0161233e565b909650945060808b013591508082111561246a57600080fd5b506124778b828c0161238a565b999c989b5096995094979396929594505050565b6000806040838503121561249e57600080fd5b8235915060208301356124b081612246565b809150509250929050565b6000602082840312156124cd57600080fd5b8135611a4281612246565b600080600080604085870312156124ee57600080fd5b843567ffffffffffffffff8082111561250657600080fd5b6125128883890161233e565b9096509450602087013591508082111561252b57600080fd5b506125388782880161233e565b95989497509550505050565b6020808252825182820181905260009190848201906040850190845b8181101561257c57835183529284019291840191600101612560565b50909695505050505050565b634e487b7160e01b600052604160045260246000fd5b6000602082840312156125b057600080fd5b813567ffffffffffffffff808211156125c857600080fd5b818401915084601f8301126125dc57600080fd5b8135818111156125ee576125ee612588565b604051601f8201601f19908116603f0116810190838211818310171561261657612616612588565b8160405282815287602084870101111561262f57600080fd5b826020860160208301376000928101602001929092525095945050505050565b80151581146118a357600080fd5b6000806040838503121561267057600080fd5b823561267b81612246565b915060208301356124b08161264f565b600080600080606085870312156126a157600080fd5b84356126ac81612246565b935060208501359250604085013567ffffffffffffffff8111156126cf57600080fd5b6125388782880161233e565b600080604083850312156126ee57600080fd5b82356126f981612246565b915060208301356124b081612246565b60008060008060008060a0878903121561272257600080fd5b863561272d81612246565b9550602087013561273d81612246565b94506040870135935060608701359250608087013567ffffffffffffffff81111561276757600080fd5b61277389828a0161238a565b979a9699509497509295939492505050565b600181811c9082168061279957607f821691505b602082108114156127ba57634e487b7160e01b600052602260045260246000fd5b50919050565b600081516127d28185602086016122d3565b9290920192915050565b600080845481600182811c9150808316806127f857607f831692505b602080841082141561281857634e487b7160e01b86526022600452602486fd5b81801561282c576001811461283d5761286a565b60ff1986168952848901965061286a565b60008b81526020902060005b868110156128625781548b820152908501908301612849565b505084890196505b50505050505061287a81856127c0565b95945050505050565b634e487b7160e01b600052601160045260246000fd5b6000828210156128ab576128ab612883565b500390565b634e487b7160e01b600052603260045260246000fd5b600082198211156128d9576128d9612883565b500190565b81835260006001600160fb1b038311156128f757600080fd5b8260051b8083602087013760009401602001938452509192915050565b6040815260006129286040830186886128de565b828103602084015261293b8185876128de565b979650505050505050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6001600160a01b0389811682528816602082015260a06040820181905260009061299c908301888a6128de565b82810360608401526129af8187896128de565b905082810360808401526129c4818587612946565b9b9a5050505050505050505050565b6000602082840312156129e557600080fd5b8151611a4281612287565b60208082526010908201526f155394d0519157d49150d2541251539560821b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526016908201527521b0b63632b91034b9903737ba1030b71030b236b4b760511b604082015260600190565b600060208284031215612a9157600080fd5b5051919050565b600060208284031215612aaa57600080fd5b8151611a428161264f565b6000600019821415612ac957612ac9612883565b5060010190565b6001600160a01b03878116825286166020820152604081018590526060810184905260a060808201819052600090612b0b9083018486612946565b98975050505050505050565b6000816000190483118215151615612b3157612b31612883565b500290565b600081612b4557612b45612883565b506000190190565b634e487b7160e01b600052601260045260246000fd5b600082612b7257612b72612b4d565b500490565b600082612b8657612b86612b4d565b500690565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612bc38160178501602088016122d3565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612bf48160288401602088016122d3565b01602801949350505050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a06080820181905260009061293b908301846122ff56fea49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775a264697066735822122084c000c672861c97442905a3c4371cfb4fe10bb0d21635c4c1b4fd67f3b7ebe364736f6c63430008090033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.