ETH Price: $3,333.32 (-3.40%)

Token

DAOcade ()
 

Overview

Max Total Supply

168

Holders

34

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
bodge.eth
0x625d6405dcac9c82f4b681a131d9182115448f75
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:
ButtonsV2

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : Buttons-v2.sol
/*

DAOCade Buttons V2

         ((((((((((((           (((((((         (((((((((((((((       
      (((        (((((((     %((      (((    (((              (((     
    %%((                (( %%((         (( %((      ((((((      (((   
   %%%((     ((((((/     ((#((     (     ((((     ((((((((((     ((   
   %%%((     ((((((((     (((     (((     (((     ((((((((((     (((  
   #%%((     ((((((((     (((              ((      (((((((((     ((   
    %%((     (((((((      ((                ((       ((((       ((    
    %%((                (((     ((((((((     ((((             (((     
    %%%((            ((((((    ((%%%%%%(((  (((((((((((((((((%        
    %%%%(((((((((((((%%%%%%((((     %%%%%%%%((    ((%%%%%%%           
     %%%%%%%%%%%%%%     %%%%%          *# %%((    ((    (((((((       
            (((((((((   (((((((((((  ((((  /((    (((((        (((    
         (((         (((          ((((            (((     ((     ((.  
       %((     (((    ((   ((((    ((    (((((     (*             ((  
     ,%#((    ((((((((((/          ((    (((((     ((    (((((((/((   
     %%%((     (((    ((    ((     (((             (((           ((   
     %%%%(((         ((((     ((   (((((,   ((((  ((%%(((((((((((     
      %%%%%%(((((((((%%%#(((((#%(((%%%%%%%#%%%%%%% %%%%%%%%%%%%       
         %%%%%%%%%%  /%%%%%%*%%%%     %%%%                            


The future of gaming is democratic.
And democracy, like a Squirtle, must evolve.
This contract replaces the legacy Buttons contract (0x354454B8fd7dF1E5Df421ab92A6401282efeB002).
All holders of legacy buttons have been airdropped new ones.
The legacy contract cannot be minted anymore.

*/


// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import 'base64-sol/base64.sol';
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Pausable.sol";


contract ButtonsV2 is ERC1155Supply, Ownable, Pausable {
    using Strings for uint256;

    uint256 public maxTokensPerButton = 1000;
    uint256[] public priceTiers = [200000000000000, 25000000000000000];
    uint256 public supplyThreshold = 50;

    string[] public buttons = ["A", "B", "UP", "DOWN", "LEFT", "RIGHT", "SELECT", "START"];
    string[] public buttonsDisplay = [":A_BUTTON:", ":B_BUTTON:", ":UP:", ":DOWN:", ":LEFT:", ":RIGHT:", ":SELECT:", ":START:"];
    string baseURI;
    string public name = "DAOcade";

    constructor(
        string memory _baseURI) ERC1155("") {
        baseURI = _baseURI;
    }

    function mintToEarlyHolders(address[] memory addrs, uint256[][] memory balances, uint256[] memory tokens) public onlyOwner{
        for(uint i=0; i< addrs.length; i++){
            _mintBatch(addrs[i], tokens, balances[i], '');
        }
    }

    function setPaused(bool _newPauseState) public onlyOwner {
        if(_newPauseState){
            _pause();
        }else{
            _unpause();
        }
    }

    function mintButton(uint id) public payable whenNotPaused {
        require(id < buttons.length, 'BAD_BUTTON');
        require(totalSupply(id) < maxTokensPerButton, 'MAX_TOKENS');
        if(totalSupply(id) < supplyThreshold){
            require(priceTiers[0] <= msg.value, 'LOW_ETHER');
        }else{
            require(priceTiers[1] <= msg.value, 'LOW_ETHER');
        }
        _mint(msg.sender, id, 1, "");
    }

    function getPrice(uint id) public view returns(uint256){
        if(totalSupply(id) < supplyThreshold){
            return priceTiers[0];
        }else{
            return priceTiers[1];
        }
    }

    function setPrice(uint tier, uint price) public onlyOwner {
        require(tier < 2, 'INVALID_TIER');
        priceTiers[tier] = price;
    }

    function uri(uint id) public view override returns(string memory) {
        require(exists(id), "NOT_EXIST");
        string memory json = Base64.encode(bytes(string(abi.encodePacked('{"name": "', buttonsDisplay[id] , '", "description": "Enables ', buttons[id] ,' voting in the DAOcade Discord.", "image": "', baseURI, buttons[id], '.png' ,'", "attributes": [{"trait_type":"Button", "value":"', buttons[id] ,'"}]}'))));
        return string(abi.encodePacked('data:application/json;base64,', json));
    }

    function withdraw() public onlyOwner {
        uint balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }

}

File 2 of 15 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.0;

import "./IERC1155.sol";
import "./IERC1155Receiver.sol";
import "./extensions/IERC1155MetadataURI.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

    // Mapping from account to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

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

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: balance query for the zero address");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] memory accounts, uint256[] memory ids)
        public
        view
        virtual
        override
        returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC1155-isApprovedForAll}.
     */
    function isApprovedForAll(address account, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[account][operator];
    }

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

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

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data);

        _balances[id][to] += amount;
        emit TransferSingle(operator, address(0), to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `from`
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address from,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), "");

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }

        emit TransferSingle(operator, from, address(0), id, amount);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(
        address from,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

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

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
        }

        emit TransferBatch(operator, from, address(0), ids, amounts);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC1155: setting approval status for self");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

File 3 of 15 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

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 4 of 15 : ERC1155Supply.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/ERC1155Supply.sol)

pragma solidity ^0.8.0;

import "../ERC1155.sol";

/**
 * @dev Extension of ERC1155 that adds tracking of total supply per id.
 *
 * Useful for scenarios where Fungible and Non-fungible tokens have to be
 * clearly identified. Note: While a totalSupply of 1 might mean the
 * corresponding is an NFT, there is no guarantees that no other token with the
 * same id are not going to be minted.
 */
abstract contract ERC1155Supply is ERC1155 {
    mapping(uint256 => uint256) private _totalSupply;

    /**
     * @dev Total amount of tokens in with a given id.
     */
    function totalSupply(uint256 id) public view virtual returns (uint256) {
        return _totalSupply[id];
    }

    /**
     * @dev Indicates whether any token exist with a given id, or not.
     */
    function exists(uint256 id) public view virtual returns (bool) {
        return ERC1155Supply.totalSupply(id) > 0;
    }

    /**
     * @dev See {ERC1155-_beforeTokenTransfer}.
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);

        if (from == address(0)) {
            for (uint256 i = 0; i < ids.length; ++i) {
                _totalSupply[ids[i]] += amounts[i];
            }
        }

        if (to == address(0)) {
            for (uint256 i = 0; i < ids.length; ++i) {
                _totalSupply[ids[i]] -= amounts[i];
            }
        }
    }
}

File 5 of 15 : base64.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0;

/// @title Base64
/// @author Brecht Devos - <[email protected]>
/// @notice Provides functions for encoding/decoding base64
library Base64 {
    string internal constant TABLE_ENCODE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
    bytes  internal constant TABLE_DECODE = hex"0000000000000000000000000000000000000000000000000000000000000000"
                                            hex"00000000000000000000003e0000003f3435363738393a3b3c3d000000000000"
                                            hex"00000102030405060708090a0b0c0d0e0f101112131415161718190000000000"
                                            hex"001a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132330000000000";

    function encode(bytes memory data) internal pure returns (string memory) {
        if (data.length == 0) return '';

        // load the table into memory
        string memory table = TABLE_ENCODE;

        // multiply by 4/3 rounded up
        uint256 encodedLen = 4 * ((data.length + 2) / 3);

        // add some extra buffer at the end required for the writing
        string memory result = new string(encodedLen + 32);

        assembly {
            // set the actual output length
            mstore(result, encodedLen)

            // prepare the lookup table
            let tablePtr := add(table, 1)

            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))

            // result ptr, jump over length
            let resultPtr := add(result, 32)

            // run over the input, 3 bytes at a time
            for {} lt(dataPtr, endPtr) {}
            {
                // read 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // write 4 characters
                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(shr( 6, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(        input,  0x3F))))
                resultPtr := add(resultPtr, 1)
            }

            // padding with '='
            switch mod(mload(data), 3)
            case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) }
            case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) }
        }

        return result;
    }

    function decode(string memory _data) internal pure returns (bytes memory) {
        bytes memory data = bytes(_data);

        if (data.length == 0) return new bytes(0);
        require(data.length % 4 == 0, "invalid base64 decoder input");

        // load the table into memory
        bytes memory table = TABLE_DECODE;

        // every 4 characters represent 3 bytes
        uint256 decodedLen = (data.length / 4) * 3;

        // add some extra buffer at the end required for the writing
        bytes memory result = new bytes(decodedLen + 32);

        assembly {
            // padding with '='
            let lastBytes := mload(add(data, mload(data)))
            if eq(and(lastBytes, 0xFF), 0x3d) {
                decodedLen := sub(decodedLen, 1)
                if eq(and(lastBytes, 0xFFFF), 0x3d3d) {
                    decodedLen := sub(decodedLen, 1)
                }
            }

            // set the actual output length
            mstore(result, decodedLen)

            // prepare the lookup table
            let tablePtr := add(table, 1)

            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))

            // result ptr, jump over length
            let resultPtr := add(result, 32)

            // run over the input, 4 characters at a time
            for {} lt(dataPtr, endPtr) {}
            {
               // read 4 characters
               dataPtr := add(dataPtr, 4)
               let input := mload(dataPtr)

               // write 3 bytes
               let output := add(
                   add(
                       shl(18, and(mload(add(tablePtr, and(shr(24, input), 0xFF))), 0xFF)),
                       shl(12, and(mload(add(tablePtr, and(shr(16, input), 0xFF))), 0xFF))),
                   add(
                       shl( 6, and(mload(add(tablePtr, and(shr( 8, input), 0xFF))), 0xFF)),
                               and(mload(add(tablePtr, and(        input , 0xFF))), 0xFF)
                    )
                )
                mstore(resultPtr, shl(232, output))
                resultPtr := add(resultPtr, 3)
            }
        }

        return result;
    }
}

File 6 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

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

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

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

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

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

File 7 of 15 : ERC1155Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/ERC1155Pausable.sol)

pragma solidity ^0.8.0;

import "../ERC1155.sol";
import "../../../security/Pausable.sol";

/**
 * @dev ERC1155 token with pausable token transfers, minting and burning.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 *
 * _Available since v3.1._
 */
abstract contract ERC1155Pausable is ERC1155, Pausable {
    /**
     * @dev See {ERC1155-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);

        require(!paused(), "ERC1155Pausable: token transfer while paused");
    }
}

File 8 of 15 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

File 9 of 15 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
        @dev Handles the receipt of a single ERC1155 token type. This function is
        called at the end of a `safeTransferFrom` after the balance has been updated.
        To accept the transfer, this must return
        `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
        (i.e. 0xf23a6e61, or its own function selector).
        @param operator The address which initiated the transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param id The ID of the token being transferred
        @param value The amount of tokens being transferred
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
    */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
        @dev Handles the receipt of a multiple ERC1155 token types. This function
        is called at the end of a `safeBatchTransferFrom` after the balances have
        been updated. To accept the transfer(s), this must return
        `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
        (i.e. 0xbc197c81, or its own function selector).
        @param operator The address which initiated the batch transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param ids An array containing ids of each token being transferred (order and length must match values array)
        @param values An array containing amounts of each token being transferred (order and length must match ids array)
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
    */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

File 10 of 15 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.0;

import "../IERC1155.sol";

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

File 11 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

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 12 of 15 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 13 of 15 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

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 14 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface 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 15 of 15 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

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());
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","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":"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":"values","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":"value","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":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"buttons","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"buttonsDisplay","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokensPerButton","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"mintButton","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addrs","type":"address[]"},{"internalType":"uint256[][]","name":"balances","type":"uint256[][]"},{"internalType":"uint256[]","name":"tokens","type":"uint256[]"}],"name":"mintToEarlyHolders","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"priceTiers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","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":"bool","name":"_newPauseState","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tier","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supplyThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","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":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526103e8600555604051806040016040528065b5e620f4800066ffffffffffffff1681526020016658d15e1762800066ffffffffffffff1681525060069060026200005092919062000628565b5060326007556040518061010001604052806040518060400160405280600181526020017f410000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600181526020017f420000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600281526020017f555000000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f444f574e0000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f4c4546540000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f524947485400000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f53454c454354000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f535441525400000000000000000000000000000000000000000000000000000081525081525060089060086200024a92919062000685565b506040518061010001604052806040518060400160405280600a81526020017f3a415f425554544f4e3a0000000000000000000000000000000000000000000081525081526020016040518060400160405280600a81526020017f3a425f425554544f4e3a0000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f3a55503a0000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f3a444f574e3a000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f3a4c4546543a000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f3a52494748543a0000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600881526020017f3a53454c4543543a00000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f3a53544152543a0000000000000000000000000000000000000000000000000081525081525060099060086200043f92919062000685565b506040518060400160405280600781526020017f44414f6361646500000000000000000000000000000000000000000000000000815250600b90805190602001906200048d929190620006ec565b503480156200049b57600080fd5b5060405162005324380380620053248339818101604052810190620004c19190620009a7565b60405180602001604052806000815250620004e2816200053e60201b60201c565b5062000503620004f76200055a60201b60201c565b6200056260201b60201c565b6000600460146101000a81548160ff02191690831515021790555080600a908051906020019062000536929190620006ec565b505062000a5d565b806002908051906020019062000556929190620006ec565b5050565b600033905090565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82805482825590600052602060002090810192821562000672579160200282015b8281111562000671578251829066ffffffffffffff1690559160200191906001019062000649565b5b5090506200068191906200077d565b5090565b828054828255906000526020600020908101928215620006d9579160200282015b82811115620006d8578251829080519060200190620006c7929190620006ec565b5091602001919060010190620006a6565b5b509050620006e891906200079c565b5090565b828054620006fa9062000a27565b90600052602060002090601f0160209004810192826200071e57600085556200076a565b82601f106200073957805160ff19168380011785556200076a565b828001600101855582156200076a579182015b82811115620007695782518255916020019190600101906200074c565b5b5090506200077991906200077d565b5090565b5b80821115620007985760008160009055506001016200077e565b5090565b5b80821115620007c05760008181620007b69190620007c4565b506001016200079d565b5090565b508054620007d29062000a27565b6000825580601f10620007e6575062000807565b601f0160209004906000526020600020908101906200080691906200077d565b5b50565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620008738262000828565b810181811067ffffffffffffffff8211171562000895576200089462000839565b5b80604052505050565b6000620008aa6200080a565b9050620008b8828262000868565b919050565b600067ffffffffffffffff821115620008db57620008da62000839565b5b620008e68262000828565b9050602081019050919050565b60005b8381101562000913578082015181840152602081019050620008f6565b8381111562000923576000848401525b50505050565b6000620009406200093a84620008bd565b6200089e565b9050828152602081018484840111156200095f576200095e62000823565b5b6200096c848285620008f3565b509392505050565b600082601f8301126200098c576200098b6200081e565b5b81516200099e84826020860162000929565b91505092915050565b600060208284031215620009c057620009bf62000814565b5b600082015167ffffffffffffffff811115620009e157620009e062000819565b5b620009ef8482850162000974565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000a4057607f821691505b6020821081141562000a575762000a56620009f8565b5b50919050565b6148b78062000a6d6000396000f3fe60806040526004361061017f5760003560e01c8063715018a6116100d1578063caef61081161008a578063e985e9c511610064578063e985e9c5146105ab578063f242432a146105e8578063f2fde38b14610611578063f7d975771461063a5761017f565b8063caef610814610527578063e676506614610552578063e75722301461056e5761017f565b8063715018a614610417578063832cb8991461042e5780638da5cb5b1461045957806390dcbeff14610484578063a22cb465146104c1578063bd85b039146104ea5761017f565b806316c38b3c1161013e57806342786b671161011857806342786b67146103355780634e1273f4146103725780634f558e79146103af5780635c975abb146103ec5761017f565b806316c38b3c146102cc5780632eb2c2d6146102f55780633ccfd60b1461031e5761017f565b806256120114610184578062fdd58e146101ad57806301bb49a0146101ea57806301ffc9a71461022757806306fdde03146102645780630e89341c1461028f575b600080fd5b34801561019057600080fd5b506101ab60048036038101906101a69190612dda565b610663565b005b3480156101b957600080fd5b506101d460048036038101906101cf9190612e81565b610753565b6040516101e19190612ed0565b60405180910390f35b3480156101f657600080fd5b50610211600480360381019061020c9190612eeb565b61081c565b60405161021e9190612fa0565b60405180910390f35b34801561023357600080fd5b5061024e6004803603810190610249919061301a565b6108c8565b60405161025b9190613062565b60405180910390f35b34801561027057600080fd5b506102796109aa565b6040516102869190612fa0565b60405180910390f35b34801561029b57600080fd5b506102b660048036038101906102b19190612eeb565b610a38565b6040516102c39190612fa0565b60405180910390f35b3480156102d857600080fd5b506102f360048036038101906102ee91906130a9565b610b53565b005b34801561030157600080fd5b5061031c6004803603810190610317919061318b565b610bee565b005b34801561032a57600080fd5b50610333610c8f565b005b34801561034157600080fd5b5061035c60048036038101906103579190612eeb565b610d5a565b6040516103699190612fa0565b60405180910390f35b34801561037e57600080fd5b506103996004803603810190610394919061325a565b610e06565b6040516103a69190613390565b60405180910390f35b3480156103bb57600080fd5b506103d660048036038101906103d19190612eeb565b610f1f565b6040516103e39190613062565b60405180910390f35b3480156103f857600080fd5b50610401610f33565b60405161040e9190613062565b60405180910390f35b34801561042357600080fd5b5061042c610f4a565b005b34801561043a57600080fd5b50610443610fd2565b6040516104509190612ed0565b60405180910390f35b34801561046557600080fd5b5061046e610fd8565b60405161047b91906133c1565b60405180910390f35b34801561049057600080fd5b506104ab60048036038101906104a69190612eeb565b611002565b6040516104b89190612ed0565b60405180910390f35b3480156104cd57600080fd5b506104e860048036038101906104e391906133dc565b611026565b005b3480156104f657600080fd5b50610511600480360381019061050c9190612eeb565b61103c565b60405161051e9190612ed0565b60405180910390f35b34801561053357600080fd5b5061053c611059565b6040516105499190612ed0565b60405180910390f35b61056c60048036038101906105679190612eeb565b61105f565b005b34801561057a57600080fd5b5061059560048036038101906105909190612eeb565b611235565b6040516105a29190612ed0565b60405180910390f35b3480156105b757600080fd5b506105d260048036038101906105cd919061341c565b611298565b6040516105df9190613062565b60405180910390f35b3480156105f457600080fd5b5061060f600480360381019061060a919061345c565b61132c565b005b34801561061d57600080fd5b50610638600480360381019061063391906134f3565b6113cd565b005b34801561064657600080fd5b50610661600480360381019061065c9190613520565b6114c5565b005b61066b6115ab565b73ffffffffffffffffffffffffffffffffffffffff16610689610fd8565b73ffffffffffffffffffffffffffffffffffffffff16146106df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106d6906135ac565b60405180910390fd5b60005b835181101561074d5761073a848281518110610701576107006135cc565b5b60200260200101518385848151811061071d5761071c6135cc565b5b6020026020010151604051806020016040528060008152506115b3565b80806107459061362a565b9150506106e2565b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107bb906136e5565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6008818154811061082c57600080fd5b90600052602060002001600091509050805461084790613734565b80601f016020809104026020016040519081016040528092919081815260200182805461087390613734565b80156108c05780601f10610895576101008083540402835291602001916108c0565b820191906000526020600020905b8154815290600101906020018083116108a357829003601f168201915b505050505081565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061099357507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109a357506109a2826117d1565b5b9050919050565b600b80546109b790613734565b80601f01602080910402602001604051908101604052809291908181526020018280546109e390613734565b8015610a305780601f10610a0557610100808354040283529160200191610a30565b820191906000526020600020905b815481529060010190602001808311610a1357829003601f168201915b505050505081565b6060610a4382610f1f565b610a82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a79906137b2565b60405180910390fd5b6000610b2960098481548110610a9b57610a9a6135cc565b5b9060005260206000200160088581548110610ab957610ab86135cc565b5b90600052602060002001600a60088781548110610ad957610ad86135cc565b5b9060005260206000200160088881548110610af757610af66135cc565b5b90600052602060002001604051602001610b15959493929190613a85565b60405160208183030381529060405261183b565b905080604051602001610b3c9190613b8f565b604051602081830303815290604052915050919050565b610b5b6115ab565b73ffffffffffffffffffffffffffffffffffffffff16610b79610fd8565b73ffffffffffffffffffffffffffffffffffffffff1614610bcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc6906135ac565b60405180910390fd5b8015610be257610bdd6119b4565b610beb565b610bea611a57565b5b50565b610bf66115ab565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610c3c5750610c3b85610c366115ab565b611298565b5b610c7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7290613c23565b60405180910390fd5b610c888585858585611af9565b5050505050565b610c976115ab565b73ffffffffffffffffffffffffffffffffffffffff16610cb5610fd8565b73ffffffffffffffffffffffffffffffffffffffff1614610d0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d02906135ac565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610d56573d6000803e3d6000fd5b5050565b60098181548110610d6a57600080fd5b906000526020600020016000915090508054610d8590613734565b80601f0160208091040260200160405190810160405280929190818152602001828054610db190613734565b8015610dfe5780601f10610dd357610100808354040283529160200191610dfe565b820191906000526020600020905b815481529060010190602001808311610de157829003601f168201915b505050505081565b60608151835114610e4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4390613cb5565b60405180910390fd5b6000835167ffffffffffffffff811115610e6957610e68612a5f565b5b604051908082528060200260200182016040528015610e975781602001602082028036833780820191505090505b50905060005b8451811015610f1457610ee4858281518110610ebc57610ebb6135cc565b5b6020026020010151858381518110610ed757610ed66135cc565b5b6020026020010151610753565b828281518110610ef757610ef66135cc565b5b60200260200101818152505080610f0d9061362a565b9050610e9d565b508091505092915050565b600080610f2b8361103c565b119050919050565b6000600460149054906101000a900460ff16905090565b610f526115ab565b73ffffffffffffffffffffffffffffffffffffffff16610f70610fd8565b73ffffffffffffffffffffffffffffffffffffffff1614610fc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbd906135ac565b60405180910390fd5b610fd06000611e0d565b565b60075481565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6006818154811061101257600080fd5b906000526020600020016000915090505481565b6110386110316115ab565b8383611ed3565b5050565b600060036000838152602001908152602001600020549050919050565b60055481565b611067610f33565b156110a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109e90613d21565b60405180910390fd5b60088054905081106110ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e590613d8d565b60405180910390fd5b6005546110fa8261103c565b1061113a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113190613df9565b60405180910390fd5b6007546111468261103c565b10156111b357346006600081548110611162576111616135cc565b5b906000526020600020015411156111ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a590613e65565b60405180910390fd5b611216565b3460066001815481106111c9576111c86135cc565b5b90600052602060002001541115611215576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120c90613e65565b60405180910390fd5b5b6112323382600160405180602001604052806000815250612040565b50565b60006007546112438361103c565b101561127057600660008154811061125e5761125d6135cc565b5b90600052602060002001549050611293565b6006600181548110611285576112846135cc565b5b906000526020600020015490505b919050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6113346115ab565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061137a5750611379856113746115ab565b611298565b5b6113b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b090613ef7565b60405180910390fd5b6113c685858585856121d6565b5050505050565b6113d56115ab565b73ffffffffffffffffffffffffffffffffffffffff166113f3610fd8565b73ffffffffffffffffffffffffffffffffffffffff1614611449576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611440906135ac565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b090613f89565b60405180910390fd5b6114c281611e0d565b50565b6114cd6115ab565b73ffffffffffffffffffffffffffffffffffffffff166114eb610fd8565b73ffffffffffffffffffffffffffffffffffffffff1614611541576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611538906135ac565b60405180910390fd5b60028210611584576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157b90613ff5565b60405180910390fd5b8060068381548110611599576115986135cc565b5b90600052602060002001819055505050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611623576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161a90614087565b60405180910390fd5b8151835114611667576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165e90614119565b60405180910390fd5b60006116716115ab565b905061168281600087878787612458565b60005b845181101561173b578381815181106116a1576116a06135cc565b5b60200260200101516000808784815181106116bf576116be6135cc565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117219190614139565b9250508190555080806117339061362a565b915050611685565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516117b392919061418f565b60405180910390a46117ca816000878787876125d2565b5050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b606060008251141561185e576040518060200160405280600081525090506119af565b6000604051806060016040528060408152602001614842604091399050600060036002855161188d9190614139565b61189791906141f5565b60046118a39190614226565b905060006020826118b49190614139565b67ffffffffffffffff8111156118cd576118cc612a5f565b5b6040519080825280601f01601f1916602001820160405280156118ff5781602001600182028036833780820191505090505b509050818152600183018586518101602084015b8183101561196e576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825360018201915050611913565b6003895106600181146119885760028114611998576119a3565b613d3d60f01b60028303526119a3565b603d60f81b60018303525b50505050508093505050505b919050565b6119bc610f33565b156119fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f390613d21565b60405180910390fd5b6001600460146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611a406115ab565b604051611a4d91906133c1565b60405180910390a1565b611a5f610f33565b611a9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a95906142cc565b60405180910390fd5b6000600460146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611ae26115ab565b604051611aef91906133c1565b60405180910390a1565b8151835114611b3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3490614119565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611bad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba49061435e565b60405180910390fd5b6000611bb76115ab565b9050611bc7818787878787612458565b60005b8451811015611d78576000858281518110611be857611be76135cc565b5b602002602001015190506000858381518110611c0757611c066135cc565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611ca8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9f906143f0565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d5d9190614139565b9250508190555050505080611d719061362a565b9050611bca565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611def92919061418f565b60405180910390a4611e058187878787876125d2565b505050505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3990614482565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120339190613062565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156120b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a790614087565b60405180910390fd5b60006120ba6115ab565b90506120db816000876120cc886127b9565b6120d5886127b9565b87612458565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461213a9190614139565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516121b89291906144a2565b60405180910390a46121cf81600087878787612833565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612246576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223d9061435e565b60405180910390fd5b60006122506115ab565b9050612270818787612261886127b9565b61226a886127b9565b87612458565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015612307576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122fe906143f0565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123bc9190614139565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6288886040516124399291906144a2565b60405180910390a461244f828888888888612833565b50505050505050565b612466868686868686612a1a565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156125185760005b8351811015612516578281815181106124ba576124b96135cc565b5b6020026020010151600360008684815181106124d9576124d86135cc565b5b6020026020010151815260200190815260200160002060008282546124fe9190614139565b925050819055508061250f9061362a565b905061249e565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156125ca5760005b83518110156125c85782818151811061256c5761256b6135cc565b5b60200260200101516003600086848151811061258b5761258a6135cc565b5b6020026020010151815260200190815260200160002060008282546125b091906144cb565b92505081905550806125c19061362a565b9050612550565b505b505050505050565b6125f18473ffffffffffffffffffffffffffffffffffffffff16612a22565b156127b1578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612637959493929190614554565b602060405180830381600087803b15801561265157600080fd5b505af192505050801561268257506040513d601f19601f8201168201806040525081019061267f91906145d1565b60015b6127285761268e61460b565b806308c379a014156126eb57506126a361462d565b806126ae57506126ed565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e29190612fa0565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271f90614735565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146127af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a6906147c7565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff8111156127d8576127d7612a5f565b5b6040519080825280602002602001820160405280156128065781602001602082028036833780820191505090505b509050828160008151811061281e5761281d6135cc565b5b60200260200101818152505080915050919050565b6128528473ffffffffffffffffffffffffffffffffffffffff16612a22565b15612a12578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016128989594939291906147e7565b602060405180830381600087803b1580156128b257600080fd5b505af19250505080156128e357506040513d601f19601f820116820180604052508101906128e091906145d1565b60015b612989576128ef61460b565b806308c379a0141561294c575061290461462d565b8061290f575061294e565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129439190612fa0565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298090614735565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612a10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a07906147c7565b60405180910390fd5b505b505050505050565b505050505050565b600080823b905060008111915050919050565b6000604051905090565b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612a9782612a4e565b810181811067ffffffffffffffff82111715612ab657612ab5612a5f565b5b80604052505050565b6000612ac9612a35565b9050612ad58282612a8e565b919050565b600067ffffffffffffffff821115612af557612af4612a5f565b5b602082029050602081019050919050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612b3682612b0b565b9050919050565b612b4681612b2b565b8114612b5157600080fd5b50565b600081359050612b6381612b3d565b92915050565b6000612b7c612b7784612ada565b612abf565b90508083825260208201905060208402830185811115612b9f57612b9e612b06565b5b835b81811015612bc85780612bb48882612b54565b845260208401935050602081019050612ba1565b5050509392505050565b600082601f830112612be757612be6612a49565b5b8135612bf7848260208601612b69565b91505092915050565b600067ffffffffffffffff821115612c1b57612c1a612a5f565b5b602082029050602081019050919050565b600067ffffffffffffffff821115612c4757612c46612a5f565b5b602082029050602081019050919050565b6000819050919050565b612c6b81612c58565b8114612c7657600080fd5b50565b600081359050612c8881612c62565b92915050565b6000612ca1612c9c84612c2c565b612abf565b90508083825260208201905060208402830185811115612cc457612cc3612b06565b5b835b81811015612ced5780612cd98882612c79565b845260208401935050602081019050612cc6565b5050509392505050565b600082601f830112612d0c57612d0b612a49565b5b8135612d1c848260208601612c8e565b91505092915050565b6000612d38612d3384612c00565b612abf565b90508083825260208201905060208402830185811115612d5b57612d5a612b06565b5b835b81811015612da257803567ffffffffffffffff811115612d8057612d7f612a49565b5b808601612d8d8982612cf7565b85526020850194505050602081019050612d5d565b5050509392505050565b600082601f830112612dc157612dc0612a49565b5b8135612dd1848260208601612d25565b91505092915050565b600080600060608486031215612df357612df2612a3f565b5b600084013567ffffffffffffffff811115612e1157612e10612a44565b5b612e1d86828701612bd2565b935050602084013567ffffffffffffffff811115612e3e57612e3d612a44565b5b612e4a86828701612dac565b925050604084013567ffffffffffffffff811115612e6b57612e6a612a44565b5b612e7786828701612cf7565b9150509250925092565b60008060408385031215612e9857612e97612a3f565b5b6000612ea685828601612b54565b9250506020612eb785828601612c79565b9150509250929050565b612eca81612c58565b82525050565b6000602082019050612ee56000830184612ec1565b92915050565b600060208284031215612f0157612f00612a3f565b5b6000612f0f84828501612c79565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612f52578082015181840152602081019050612f37565b83811115612f61576000848401525b50505050565b6000612f7282612f18565b612f7c8185612f23565b9350612f8c818560208601612f34565b612f9581612a4e565b840191505092915050565b60006020820190508181036000830152612fba8184612f67565b905092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612ff781612fc2565b811461300257600080fd5b50565b60008135905061301481612fee565b92915050565b6000602082840312156130305761302f612a3f565b5b600061303e84828501613005565b91505092915050565b60008115159050919050565b61305c81613047565b82525050565b60006020820190506130776000830184613053565b92915050565b61308681613047565b811461309157600080fd5b50565b6000813590506130a38161307d565b92915050565b6000602082840312156130bf576130be612a3f565b5b60006130cd84828501613094565b91505092915050565b600080fd5b600067ffffffffffffffff8211156130f6576130f5612a5f565b5b6130ff82612a4e565b9050602081019050919050565b82818337600083830152505050565b600061312e613129846130db565b612abf565b90508281526020810184848401111561314a576131496130d6565b5b61315584828561310c565b509392505050565b600082601f83011261317257613171612a49565b5b813561318284826020860161311b565b91505092915050565b600080600080600060a086880312156131a7576131a6612a3f565b5b60006131b588828901612b54565b95505060206131c688828901612b54565b945050604086013567ffffffffffffffff8111156131e7576131e6612a44565b5b6131f388828901612cf7565b935050606086013567ffffffffffffffff81111561321457613213612a44565b5b61322088828901612cf7565b925050608086013567ffffffffffffffff81111561324157613240612a44565b5b61324d8882890161315d565b9150509295509295909350565b6000806040838503121561327157613270612a3f565b5b600083013567ffffffffffffffff81111561328f5761328e612a44565b5b61329b85828601612bd2565b925050602083013567ffffffffffffffff8111156132bc576132bb612a44565b5b6132c885828601612cf7565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61330781612c58565b82525050565b600061331983836132fe565b60208301905092915050565b6000602082019050919050565b600061333d826132d2565b61334781856132dd565b9350613352836132ee565b8060005b8381101561338357815161336a888261330d565b975061337583613325565b925050600181019050613356565b5085935050505092915050565b600060208201905081810360008301526133aa8184613332565b905092915050565b6133bb81612b2b565b82525050565b60006020820190506133d660008301846133b2565b92915050565b600080604083850312156133f3576133f2612a3f565b5b600061340185828601612b54565b925050602061341285828601613094565b9150509250929050565b6000806040838503121561343357613432612a3f565b5b600061344185828601612b54565b925050602061345285828601612b54565b9150509250929050565b600080600080600060a0868803121561347857613477612a3f565b5b600061348688828901612b54565b955050602061349788828901612b54565b94505060406134a888828901612c79565b93505060606134b988828901612c79565b925050608086013567ffffffffffffffff8111156134da576134d9612a44565b5b6134e68882890161315d565b9150509295509295909350565b60006020828403121561350957613508612a3f565b5b600061351784828501612b54565b91505092915050565b6000806040838503121561353757613536612a3f565b5b600061354585828601612c79565b925050602061355685828601612c79565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613596602083612f23565b91506135a182613560565b602082019050919050565b600060208201905081810360008301526135c581613589565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061363582612c58565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613668576136676135fb565b5b600182019050919050565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b60006136cf602b83612f23565b91506136da82613673565b604082019050919050565b600060208201905081810360008301526136fe816136c2565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061374c57607f821691505b602082108114156137605761375f613705565b5b50919050565b7f4e4f545f45584953540000000000000000000000000000000000000000000000600082015250565b600061379c600983612f23565b91506137a782613766565b602082019050919050565b600060208201905081810360008301526137cb8161378f565b9050919050565b600081905092915050565b7f7b226e616d65223a202200000000000000000000000000000000000000000000600082015250565b6000613813600a836137d2565b915061381e826137dd565b600a82019050919050565b60008190508160005260206000209050919050565b6000815461384b81613734565b61385581866137d2565b945060018216600081146138705760018114613881576138b4565b60ff198316865281860193506138b4565b61388a85613829565b60005b838110156138ac5781548189015260018201915060208101905061388d565b838801955050505b50505092915050565b7f222c20226465736372697074696f6e223a2022456e61626c6573200000000000600082015250565b60006138f3601b836137d2565b91506138fe826138bd565b601b82019050919050565b7f20766f74696e6720696e207468652044414f6361646520446973636f72642e2260008201527f2c2022696d616765223a20220000000000000000000000000000000000000000602082015250565b6000613965602c836137d2565b915061397082613909565b602c82019050919050565b7f2e706e6700000000000000000000000000000000000000000000000000000000600082015250565b60006139b16004836137d2565b91506139bc8261397b565b600482019050919050565b7f222c202261747472696275746573223a205b7b2274726169745f74797065223a60008201527f22427574746f6e222c202276616c7565223a2200000000000000000000000000602082015250565b6000613a236033836137d2565b9150613a2e826139c7565b603382019050919050565b7f227d5d7d00000000000000000000000000000000000000000000000000000000600082015250565b6000613a6f6004836137d2565b9150613a7a82613a39565b600482019050919050565b6000613a9082613806565b9150613a9c828861383e565b9150613aa7826138e6565b9150613ab3828761383e565b9150613abe82613958565b9150613aca828661383e565b9150613ad6828561383e565b9150613ae1826139a4565b9150613aec82613a16565b9150613af8828461383e565b9150613b0382613a62565b91508190509695505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b6000613b48601d836137d2565b9150613b5382613b12565b601d82019050919050565b6000613b6982612f18565b613b7381856137d2565b9350613b83818560208601612f34565b80840191505092915050565b6000613b9a82613b3b565b9150613ba68284613b5e565b915081905092915050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000613c0d603283612f23565b9150613c1882613bb1565b604082019050919050565b60006020820190508181036000830152613c3c81613c00565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000613c9f602983612f23565b9150613caa82613c43565b604082019050919050565b60006020820190508181036000830152613cce81613c92565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000613d0b601083612f23565b9150613d1682613cd5565b602082019050919050565b60006020820190508181036000830152613d3a81613cfe565b9050919050565b7f4241445f425554544f4e00000000000000000000000000000000000000000000600082015250565b6000613d77600a83612f23565b9150613d8282613d41565b602082019050919050565b60006020820190508181036000830152613da681613d6a565b9050919050565b7f4d41585f544f4b454e5300000000000000000000000000000000000000000000600082015250565b6000613de3600a83612f23565b9150613dee82613dad565b602082019050919050565b60006020820190508181036000830152613e1281613dd6565b9050919050565b7f4c4f575f45544845520000000000000000000000000000000000000000000000600082015250565b6000613e4f600983612f23565b9150613e5a82613e19565b602082019050919050565b60006020820190508181036000830152613e7e81613e42565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000613ee1602983612f23565b9150613eec82613e85565b604082019050919050565b60006020820190508181036000830152613f1081613ed4565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613f73602683612f23565b9150613f7e82613f17565b604082019050919050565b60006020820190508181036000830152613fa281613f66565b9050919050565b7f494e56414c49445f544945520000000000000000000000000000000000000000600082015250565b6000613fdf600c83612f23565b9150613fea82613fa9565b602082019050919050565b6000602082019050818103600083015261400e81613fd2565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614071602183612f23565b915061407c82614015565b604082019050919050565b600060208201905081810360008301526140a081614064565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000614103602883612f23565b915061410e826140a7565b604082019050919050565b60006020820190508181036000830152614132816140f6565b9050919050565b600061414482612c58565b915061414f83612c58565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614184576141836135fb565b5b828201905092915050565b600060408201905081810360008301526141a98185613332565b905081810360208301526141bd8184613332565b90509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061420082612c58565b915061420b83612c58565b92508261421b5761421a6141c6565b5b828204905092915050565b600061423182612c58565b915061423c83612c58565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614275576142746135fb565b5b828202905092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006142b6601483612f23565b91506142c182614280565b602082019050919050565b600060208201905081810360008301526142e5816142a9565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614348602583612f23565b9150614353826142ec565b604082019050919050565b600060208201905081810360008301526143778161433b565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b60006143da602a83612f23565b91506143e58261437e565b604082019050919050565b60006020820190508181036000830152614409816143cd565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b600061446c602983612f23565b915061447782614410565b604082019050919050565b6000602082019050818103600083015261449b8161445f565b9050919050565b60006040820190506144b76000830185612ec1565b6144c46020830184612ec1565b9392505050565b60006144d682612c58565b91506144e183612c58565b9250828210156144f4576144f36135fb565b5b828203905092915050565b600081519050919050565b600082825260208201905092915050565b6000614526826144ff565b614530818561450a565b9350614540818560208601612f34565b61454981612a4e565b840191505092915050565b600060a08201905061456960008301886133b2565b61457660208301876133b2565b81810360408301526145888186613332565b9050818103606083015261459c8185613332565b905081810360808301526145b0818461451b565b90509695505050505050565b6000815190506145cb81612fee565b92915050565b6000602082840312156145e7576145e6612a3f565b5b60006145f5848285016145bc565b91505092915050565b60008160e01c9050919050565b600060033d111561462a5760046000803e6146276000516145fe565b90505b90565b600060443d101561463d576146c0565b614645612a35565b60043d036004823e80513d602482011167ffffffffffffffff8211171561466d5750506146c0565b808201805167ffffffffffffffff81111561468b57505050506146c0565b80602083010160043d0385018111156146a85750505050506146c0565b6146b782602001850186612a8e565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b600061471f603483612f23565b915061472a826146c3565b604082019050919050565b6000602082019050818103600083015261474e81614712565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006147b1602883612f23565b91506147bc82614755565b604082019050919050565b600060208201905081810360008301526147e0816147a4565b9050919050565b600060a0820190506147fc60008301886133b2565b61480960208301876133b2565b6148166040830186612ec1565b6148236060830185612ec1565b8181036080830152614835818461451b565b9050969550505050505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220a929390c1bfc645858a023cc10a32653217b461004a2e38f2fed01441be7dd6d64736f6c6343000809003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d657668564e4e4156654e41757579627833726a4a6b486261646143657a7078523531317a7279664e625352422f00000000000000000000

Deployed Bytecode

0x60806040526004361061017f5760003560e01c8063715018a6116100d1578063caef61081161008a578063e985e9c511610064578063e985e9c5146105ab578063f242432a146105e8578063f2fde38b14610611578063f7d975771461063a5761017f565b8063caef610814610527578063e676506614610552578063e75722301461056e5761017f565b8063715018a614610417578063832cb8991461042e5780638da5cb5b1461045957806390dcbeff14610484578063a22cb465146104c1578063bd85b039146104ea5761017f565b806316c38b3c1161013e57806342786b671161011857806342786b67146103355780634e1273f4146103725780634f558e79146103af5780635c975abb146103ec5761017f565b806316c38b3c146102cc5780632eb2c2d6146102f55780633ccfd60b1461031e5761017f565b806256120114610184578062fdd58e146101ad57806301bb49a0146101ea57806301ffc9a71461022757806306fdde03146102645780630e89341c1461028f575b600080fd5b34801561019057600080fd5b506101ab60048036038101906101a69190612dda565b610663565b005b3480156101b957600080fd5b506101d460048036038101906101cf9190612e81565b610753565b6040516101e19190612ed0565b60405180910390f35b3480156101f657600080fd5b50610211600480360381019061020c9190612eeb565b61081c565b60405161021e9190612fa0565b60405180910390f35b34801561023357600080fd5b5061024e6004803603810190610249919061301a565b6108c8565b60405161025b9190613062565b60405180910390f35b34801561027057600080fd5b506102796109aa565b6040516102869190612fa0565b60405180910390f35b34801561029b57600080fd5b506102b660048036038101906102b19190612eeb565b610a38565b6040516102c39190612fa0565b60405180910390f35b3480156102d857600080fd5b506102f360048036038101906102ee91906130a9565b610b53565b005b34801561030157600080fd5b5061031c6004803603810190610317919061318b565b610bee565b005b34801561032a57600080fd5b50610333610c8f565b005b34801561034157600080fd5b5061035c60048036038101906103579190612eeb565b610d5a565b6040516103699190612fa0565b60405180910390f35b34801561037e57600080fd5b506103996004803603810190610394919061325a565b610e06565b6040516103a69190613390565b60405180910390f35b3480156103bb57600080fd5b506103d660048036038101906103d19190612eeb565b610f1f565b6040516103e39190613062565b60405180910390f35b3480156103f857600080fd5b50610401610f33565b60405161040e9190613062565b60405180910390f35b34801561042357600080fd5b5061042c610f4a565b005b34801561043a57600080fd5b50610443610fd2565b6040516104509190612ed0565b60405180910390f35b34801561046557600080fd5b5061046e610fd8565b60405161047b91906133c1565b60405180910390f35b34801561049057600080fd5b506104ab60048036038101906104a69190612eeb565b611002565b6040516104b89190612ed0565b60405180910390f35b3480156104cd57600080fd5b506104e860048036038101906104e391906133dc565b611026565b005b3480156104f657600080fd5b50610511600480360381019061050c9190612eeb565b61103c565b60405161051e9190612ed0565b60405180910390f35b34801561053357600080fd5b5061053c611059565b6040516105499190612ed0565b60405180910390f35b61056c60048036038101906105679190612eeb565b61105f565b005b34801561057a57600080fd5b5061059560048036038101906105909190612eeb565b611235565b6040516105a29190612ed0565b60405180910390f35b3480156105b757600080fd5b506105d260048036038101906105cd919061341c565b611298565b6040516105df9190613062565b60405180910390f35b3480156105f457600080fd5b5061060f600480360381019061060a919061345c565b61132c565b005b34801561061d57600080fd5b50610638600480360381019061063391906134f3565b6113cd565b005b34801561064657600080fd5b50610661600480360381019061065c9190613520565b6114c5565b005b61066b6115ab565b73ffffffffffffffffffffffffffffffffffffffff16610689610fd8565b73ffffffffffffffffffffffffffffffffffffffff16146106df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106d6906135ac565b60405180910390fd5b60005b835181101561074d5761073a848281518110610701576107006135cc565b5b60200260200101518385848151811061071d5761071c6135cc565b5b6020026020010151604051806020016040528060008152506115b3565b80806107459061362a565b9150506106e2565b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107bb906136e5565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6008818154811061082c57600080fd5b90600052602060002001600091509050805461084790613734565b80601f016020809104026020016040519081016040528092919081815260200182805461087390613734565b80156108c05780601f10610895576101008083540402835291602001916108c0565b820191906000526020600020905b8154815290600101906020018083116108a357829003601f168201915b505050505081565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061099357507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109a357506109a2826117d1565b5b9050919050565b600b80546109b790613734565b80601f01602080910402602001604051908101604052809291908181526020018280546109e390613734565b8015610a305780601f10610a0557610100808354040283529160200191610a30565b820191906000526020600020905b815481529060010190602001808311610a1357829003601f168201915b505050505081565b6060610a4382610f1f565b610a82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a79906137b2565b60405180910390fd5b6000610b2960098481548110610a9b57610a9a6135cc565b5b9060005260206000200160088581548110610ab957610ab86135cc565b5b90600052602060002001600a60088781548110610ad957610ad86135cc565b5b9060005260206000200160088881548110610af757610af66135cc565b5b90600052602060002001604051602001610b15959493929190613a85565b60405160208183030381529060405261183b565b905080604051602001610b3c9190613b8f565b604051602081830303815290604052915050919050565b610b5b6115ab565b73ffffffffffffffffffffffffffffffffffffffff16610b79610fd8565b73ffffffffffffffffffffffffffffffffffffffff1614610bcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc6906135ac565b60405180910390fd5b8015610be257610bdd6119b4565b610beb565b610bea611a57565b5b50565b610bf66115ab565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610c3c5750610c3b85610c366115ab565b611298565b5b610c7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7290613c23565b60405180910390fd5b610c888585858585611af9565b5050505050565b610c976115ab565b73ffffffffffffffffffffffffffffffffffffffff16610cb5610fd8565b73ffffffffffffffffffffffffffffffffffffffff1614610d0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d02906135ac565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610d56573d6000803e3d6000fd5b5050565b60098181548110610d6a57600080fd5b906000526020600020016000915090508054610d8590613734565b80601f0160208091040260200160405190810160405280929190818152602001828054610db190613734565b8015610dfe5780601f10610dd357610100808354040283529160200191610dfe565b820191906000526020600020905b815481529060010190602001808311610de157829003601f168201915b505050505081565b60608151835114610e4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4390613cb5565b60405180910390fd5b6000835167ffffffffffffffff811115610e6957610e68612a5f565b5b604051908082528060200260200182016040528015610e975781602001602082028036833780820191505090505b50905060005b8451811015610f1457610ee4858281518110610ebc57610ebb6135cc565b5b6020026020010151858381518110610ed757610ed66135cc565b5b6020026020010151610753565b828281518110610ef757610ef66135cc565b5b60200260200101818152505080610f0d9061362a565b9050610e9d565b508091505092915050565b600080610f2b8361103c565b119050919050565b6000600460149054906101000a900460ff16905090565b610f526115ab565b73ffffffffffffffffffffffffffffffffffffffff16610f70610fd8565b73ffffffffffffffffffffffffffffffffffffffff1614610fc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbd906135ac565b60405180910390fd5b610fd06000611e0d565b565b60075481565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6006818154811061101257600080fd5b906000526020600020016000915090505481565b6110386110316115ab565b8383611ed3565b5050565b600060036000838152602001908152602001600020549050919050565b60055481565b611067610f33565b156110a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109e90613d21565b60405180910390fd5b60088054905081106110ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e590613d8d565b60405180910390fd5b6005546110fa8261103c565b1061113a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113190613df9565b60405180910390fd5b6007546111468261103c565b10156111b357346006600081548110611162576111616135cc565b5b906000526020600020015411156111ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a590613e65565b60405180910390fd5b611216565b3460066001815481106111c9576111c86135cc565b5b90600052602060002001541115611215576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120c90613e65565b60405180910390fd5b5b6112323382600160405180602001604052806000815250612040565b50565b60006007546112438361103c565b101561127057600660008154811061125e5761125d6135cc565b5b90600052602060002001549050611293565b6006600181548110611285576112846135cc565b5b906000526020600020015490505b919050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6113346115ab565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061137a5750611379856113746115ab565b611298565b5b6113b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b090613ef7565b60405180910390fd5b6113c685858585856121d6565b5050505050565b6113d56115ab565b73ffffffffffffffffffffffffffffffffffffffff166113f3610fd8565b73ffffffffffffffffffffffffffffffffffffffff1614611449576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611440906135ac565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b090613f89565b60405180910390fd5b6114c281611e0d565b50565b6114cd6115ab565b73ffffffffffffffffffffffffffffffffffffffff166114eb610fd8565b73ffffffffffffffffffffffffffffffffffffffff1614611541576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611538906135ac565b60405180910390fd5b60028210611584576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157b90613ff5565b60405180910390fd5b8060068381548110611599576115986135cc565b5b90600052602060002001819055505050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611623576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161a90614087565b60405180910390fd5b8151835114611667576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165e90614119565b60405180910390fd5b60006116716115ab565b905061168281600087878787612458565b60005b845181101561173b578381815181106116a1576116a06135cc565b5b60200260200101516000808784815181106116bf576116be6135cc565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117219190614139565b9250508190555080806117339061362a565b915050611685565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516117b392919061418f565b60405180910390a46117ca816000878787876125d2565b5050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b606060008251141561185e576040518060200160405280600081525090506119af565b6000604051806060016040528060408152602001614842604091399050600060036002855161188d9190614139565b61189791906141f5565b60046118a39190614226565b905060006020826118b49190614139565b67ffffffffffffffff8111156118cd576118cc612a5f565b5b6040519080825280601f01601f1916602001820160405280156118ff5781602001600182028036833780820191505090505b509050818152600183018586518101602084015b8183101561196e576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825360018201915050611913565b6003895106600181146119885760028114611998576119a3565b613d3d60f01b60028303526119a3565b603d60f81b60018303525b50505050508093505050505b919050565b6119bc610f33565b156119fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f390613d21565b60405180910390fd5b6001600460146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611a406115ab565b604051611a4d91906133c1565b60405180910390a1565b611a5f610f33565b611a9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a95906142cc565b60405180910390fd5b6000600460146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611ae26115ab565b604051611aef91906133c1565b60405180910390a1565b8151835114611b3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3490614119565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611bad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba49061435e565b60405180910390fd5b6000611bb76115ab565b9050611bc7818787878787612458565b60005b8451811015611d78576000858281518110611be857611be76135cc565b5b602002602001015190506000858381518110611c0757611c066135cc565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611ca8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9f906143f0565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d5d9190614139565b9250508190555050505080611d719061362a565b9050611bca565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611def92919061418f565b60405180910390a4611e058187878787876125d2565b505050505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3990614482565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120339190613062565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156120b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a790614087565b60405180910390fd5b60006120ba6115ab565b90506120db816000876120cc886127b9565b6120d5886127b9565b87612458565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461213a9190614139565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516121b89291906144a2565b60405180910390a46121cf81600087878787612833565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612246576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223d9061435e565b60405180910390fd5b60006122506115ab565b9050612270818787612261886127b9565b61226a886127b9565b87612458565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015612307576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122fe906143f0565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123bc9190614139565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6288886040516124399291906144a2565b60405180910390a461244f828888888888612833565b50505050505050565b612466868686868686612a1a565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156125185760005b8351811015612516578281815181106124ba576124b96135cc565b5b6020026020010151600360008684815181106124d9576124d86135cc565b5b6020026020010151815260200190815260200160002060008282546124fe9190614139565b925050819055508061250f9061362a565b905061249e565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156125ca5760005b83518110156125c85782818151811061256c5761256b6135cc565b5b60200260200101516003600086848151811061258b5761258a6135cc565b5b6020026020010151815260200190815260200160002060008282546125b091906144cb565b92505081905550806125c19061362a565b9050612550565b505b505050505050565b6125f18473ffffffffffffffffffffffffffffffffffffffff16612a22565b156127b1578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612637959493929190614554565b602060405180830381600087803b15801561265157600080fd5b505af192505050801561268257506040513d601f19601f8201168201806040525081019061267f91906145d1565b60015b6127285761268e61460b565b806308c379a014156126eb57506126a361462d565b806126ae57506126ed565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e29190612fa0565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271f90614735565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146127af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a6906147c7565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff8111156127d8576127d7612a5f565b5b6040519080825280602002602001820160405280156128065781602001602082028036833780820191505090505b509050828160008151811061281e5761281d6135cc565b5b60200260200101818152505080915050919050565b6128528473ffffffffffffffffffffffffffffffffffffffff16612a22565b15612a12578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016128989594939291906147e7565b602060405180830381600087803b1580156128b257600080fd5b505af19250505080156128e357506040513d601f19601f820116820180604052508101906128e091906145d1565b60015b612989576128ef61460b565b806308c379a0141561294c575061290461462d565b8061290f575061294e565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129439190612fa0565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298090614735565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612a10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a07906147c7565b60405180910390fd5b505b505050505050565b505050505050565b600080823b905060008111915050919050565b6000604051905090565b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612a9782612a4e565b810181811067ffffffffffffffff82111715612ab657612ab5612a5f565b5b80604052505050565b6000612ac9612a35565b9050612ad58282612a8e565b919050565b600067ffffffffffffffff821115612af557612af4612a5f565b5b602082029050602081019050919050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612b3682612b0b565b9050919050565b612b4681612b2b565b8114612b5157600080fd5b50565b600081359050612b6381612b3d565b92915050565b6000612b7c612b7784612ada565b612abf565b90508083825260208201905060208402830185811115612b9f57612b9e612b06565b5b835b81811015612bc85780612bb48882612b54565b845260208401935050602081019050612ba1565b5050509392505050565b600082601f830112612be757612be6612a49565b5b8135612bf7848260208601612b69565b91505092915050565b600067ffffffffffffffff821115612c1b57612c1a612a5f565b5b602082029050602081019050919050565b600067ffffffffffffffff821115612c4757612c46612a5f565b5b602082029050602081019050919050565b6000819050919050565b612c6b81612c58565b8114612c7657600080fd5b50565b600081359050612c8881612c62565b92915050565b6000612ca1612c9c84612c2c565b612abf565b90508083825260208201905060208402830185811115612cc457612cc3612b06565b5b835b81811015612ced5780612cd98882612c79565b845260208401935050602081019050612cc6565b5050509392505050565b600082601f830112612d0c57612d0b612a49565b5b8135612d1c848260208601612c8e565b91505092915050565b6000612d38612d3384612c00565b612abf565b90508083825260208201905060208402830185811115612d5b57612d5a612b06565b5b835b81811015612da257803567ffffffffffffffff811115612d8057612d7f612a49565b5b808601612d8d8982612cf7565b85526020850194505050602081019050612d5d565b5050509392505050565b600082601f830112612dc157612dc0612a49565b5b8135612dd1848260208601612d25565b91505092915050565b600080600060608486031215612df357612df2612a3f565b5b600084013567ffffffffffffffff811115612e1157612e10612a44565b5b612e1d86828701612bd2565b935050602084013567ffffffffffffffff811115612e3e57612e3d612a44565b5b612e4a86828701612dac565b925050604084013567ffffffffffffffff811115612e6b57612e6a612a44565b5b612e7786828701612cf7565b9150509250925092565b60008060408385031215612e9857612e97612a3f565b5b6000612ea685828601612b54565b9250506020612eb785828601612c79565b9150509250929050565b612eca81612c58565b82525050565b6000602082019050612ee56000830184612ec1565b92915050565b600060208284031215612f0157612f00612a3f565b5b6000612f0f84828501612c79565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612f52578082015181840152602081019050612f37565b83811115612f61576000848401525b50505050565b6000612f7282612f18565b612f7c8185612f23565b9350612f8c818560208601612f34565b612f9581612a4e565b840191505092915050565b60006020820190508181036000830152612fba8184612f67565b905092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612ff781612fc2565b811461300257600080fd5b50565b60008135905061301481612fee565b92915050565b6000602082840312156130305761302f612a3f565b5b600061303e84828501613005565b91505092915050565b60008115159050919050565b61305c81613047565b82525050565b60006020820190506130776000830184613053565b92915050565b61308681613047565b811461309157600080fd5b50565b6000813590506130a38161307d565b92915050565b6000602082840312156130bf576130be612a3f565b5b60006130cd84828501613094565b91505092915050565b600080fd5b600067ffffffffffffffff8211156130f6576130f5612a5f565b5b6130ff82612a4e565b9050602081019050919050565b82818337600083830152505050565b600061312e613129846130db565b612abf565b90508281526020810184848401111561314a576131496130d6565b5b61315584828561310c565b509392505050565b600082601f83011261317257613171612a49565b5b813561318284826020860161311b565b91505092915050565b600080600080600060a086880312156131a7576131a6612a3f565b5b60006131b588828901612b54565b95505060206131c688828901612b54565b945050604086013567ffffffffffffffff8111156131e7576131e6612a44565b5b6131f388828901612cf7565b935050606086013567ffffffffffffffff81111561321457613213612a44565b5b61322088828901612cf7565b925050608086013567ffffffffffffffff81111561324157613240612a44565b5b61324d8882890161315d565b9150509295509295909350565b6000806040838503121561327157613270612a3f565b5b600083013567ffffffffffffffff81111561328f5761328e612a44565b5b61329b85828601612bd2565b925050602083013567ffffffffffffffff8111156132bc576132bb612a44565b5b6132c885828601612cf7565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61330781612c58565b82525050565b600061331983836132fe565b60208301905092915050565b6000602082019050919050565b600061333d826132d2565b61334781856132dd565b9350613352836132ee565b8060005b8381101561338357815161336a888261330d565b975061337583613325565b925050600181019050613356565b5085935050505092915050565b600060208201905081810360008301526133aa8184613332565b905092915050565b6133bb81612b2b565b82525050565b60006020820190506133d660008301846133b2565b92915050565b600080604083850312156133f3576133f2612a3f565b5b600061340185828601612b54565b925050602061341285828601613094565b9150509250929050565b6000806040838503121561343357613432612a3f565b5b600061344185828601612b54565b925050602061345285828601612b54565b9150509250929050565b600080600080600060a0868803121561347857613477612a3f565b5b600061348688828901612b54565b955050602061349788828901612b54565b94505060406134a888828901612c79565b93505060606134b988828901612c79565b925050608086013567ffffffffffffffff8111156134da576134d9612a44565b5b6134e68882890161315d565b9150509295509295909350565b60006020828403121561350957613508612a3f565b5b600061351784828501612b54565b91505092915050565b6000806040838503121561353757613536612a3f565b5b600061354585828601612c79565b925050602061355685828601612c79565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613596602083612f23565b91506135a182613560565b602082019050919050565b600060208201905081810360008301526135c581613589565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061363582612c58565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613668576136676135fb565b5b600182019050919050565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b60006136cf602b83612f23565b91506136da82613673565b604082019050919050565b600060208201905081810360008301526136fe816136c2565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061374c57607f821691505b602082108114156137605761375f613705565b5b50919050565b7f4e4f545f45584953540000000000000000000000000000000000000000000000600082015250565b600061379c600983612f23565b91506137a782613766565b602082019050919050565b600060208201905081810360008301526137cb8161378f565b9050919050565b600081905092915050565b7f7b226e616d65223a202200000000000000000000000000000000000000000000600082015250565b6000613813600a836137d2565b915061381e826137dd565b600a82019050919050565b60008190508160005260206000209050919050565b6000815461384b81613734565b61385581866137d2565b945060018216600081146138705760018114613881576138b4565b60ff198316865281860193506138b4565b61388a85613829565b60005b838110156138ac5781548189015260018201915060208101905061388d565b838801955050505b50505092915050565b7f222c20226465736372697074696f6e223a2022456e61626c6573200000000000600082015250565b60006138f3601b836137d2565b91506138fe826138bd565b601b82019050919050565b7f20766f74696e6720696e207468652044414f6361646520446973636f72642e2260008201527f2c2022696d616765223a20220000000000000000000000000000000000000000602082015250565b6000613965602c836137d2565b915061397082613909565b602c82019050919050565b7f2e706e6700000000000000000000000000000000000000000000000000000000600082015250565b60006139b16004836137d2565b91506139bc8261397b565b600482019050919050565b7f222c202261747472696275746573223a205b7b2274726169745f74797065223a60008201527f22427574746f6e222c202276616c7565223a2200000000000000000000000000602082015250565b6000613a236033836137d2565b9150613a2e826139c7565b603382019050919050565b7f227d5d7d00000000000000000000000000000000000000000000000000000000600082015250565b6000613a6f6004836137d2565b9150613a7a82613a39565b600482019050919050565b6000613a9082613806565b9150613a9c828861383e565b9150613aa7826138e6565b9150613ab3828761383e565b9150613abe82613958565b9150613aca828661383e565b9150613ad6828561383e565b9150613ae1826139a4565b9150613aec82613a16565b9150613af8828461383e565b9150613b0382613a62565b91508190509695505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b6000613b48601d836137d2565b9150613b5382613b12565b601d82019050919050565b6000613b6982612f18565b613b7381856137d2565b9350613b83818560208601612f34565b80840191505092915050565b6000613b9a82613b3b565b9150613ba68284613b5e565b915081905092915050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000613c0d603283612f23565b9150613c1882613bb1565b604082019050919050565b60006020820190508181036000830152613c3c81613c00565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000613c9f602983612f23565b9150613caa82613c43565b604082019050919050565b60006020820190508181036000830152613cce81613c92565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000613d0b601083612f23565b9150613d1682613cd5565b602082019050919050565b60006020820190508181036000830152613d3a81613cfe565b9050919050565b7f4241445f425554544f4e00000000000000000000000000000000000000000000600082015250565b6000613d77600a83612f23565b9150613d8282613d41565b602082019050919050565b60006020820190508181036000830152613da681613d6a565b9050919050565b7f4d41585f544f4b454e5300000000000000000000000000000000000000000000600082015250565b6000613de3600a83612f23565b9150613dee82613dad565b602082019050919050565b60006020820190508181036000830152613e1281613dd6565b9050919050565b7f4c4f575f45544845520000000000000000000000000000000000000000000000600082015250565b6000613e4f600983612f23565b9150613e5a82613e19565b602082019050919050565b60006020820190508181036000830152613e7e81613e42565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000613ee1602983612f23565b9150613eec82613e85565b604082019050919050565b60006020820190508181036000830152613f1081613ed4565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613f73602683612f23565b9150613f7e82613f17565b604082019050919050565b60006020820190508181036000830152613fa281613f66565b9050919050565b7f494e56414c49445f544945520000000000000000000000000000000000000000600082015250565b6000613fdf600c83612f23565b9150613fea82613fa9565b602082019050919050565b6000602082019050818103600083015261400e81613fd2565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614071602183612f23565b915061407c82614015565b604082019050919050565b600060208201905081810360008301526140a081614064565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000614103602883612f23565b915061410e826140a7565b604082019050919050565b60006020820190508181036000830152614132816140f6565b9050919050565b600061414482612c58565b915061414f83612c58565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614184576141836135fb565b5b828201905092915050565b600060408201905081810360008301526141a98185613332565b905081810360208301526141bd8184613332565b90509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061420082612c58565b915061420b83612c58565b92508261421b5761421a6141c6565b5b828204905092915050565b600061423182612c58565b915061423c83612c58565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614275576142746135fb565b5b828202905092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006142b6601483612f23565b91506142c182614280565b602082019050919050565b600060208201905081810360008301526142e5816142a9565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614348602583612f23565b9150614353826142ec565b604082019050919050565b600060208201905081810360008301526143778161433b565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b60006143da602a83612f23565b91506143e58261437e565b604082019050919050565b60006020820190508181036000830152614409816143cd565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b600061446c602983612f23565b915061447782614410565b604082019050919050565b6000602082019050818103600083015261449b8161445f565b9050919050565b60006040820190506144b76000830185612ec1565b6144c46020830184612ec1565b9392505050565b60006144d682612c58565b91506144e183612c58565b9250828210156144f4576144f36135fb565b5b828203905092915050565b600081519050919050565b600082825260208201905092915050565b6000614526826144ff565b614530818561450a565b9350614540818560208601612f34565b61454981612a4e565b840191505092915050565b600060a08201905061456960008301886133b2565b61457660208301876133b2565b81810360408301526145888186613332565b9050818103606083015261459c8185613332565b905081810360808301526145b0818461451b565b90509695505050505050565b6000815190506145cb81612fee565b92915050565b6000602082840312156145e7576145e6612a3f565b5b60006145f5848285016145bc565b91505092915050565b60008160e01c9050919050565b600060033d111561462a5760046000803e6146276000516145fe565b90505b90565b600060443d101561463d576146c0565b614645612a35565b60043d036004823e80513d602482011167ffffffffffffffff8211171561466d5750506146c0565b808201805167ffffffffffffffff81111561468b57505050506146c0565b80602083010160043d0385018111156146a85750505050506146c0565b6146b782602001850186612a8e565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b600061471f603483612f23565b915061472a826146c3565b604082019050919050565b6000602082019050818103600083015261474e81614712565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006147b1602883612f23565b91506147bc82614755565b604082019050919050565b600060208201905081810360008301526147e0816147a4565b9050919050565b600060a0820190506147fc60008301886133b2565b61480960208301876133b2565b6148166040830186612ec1565b6148236060830185612ec1565b8181036080830152614835818461451b565b9050969550505050505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220a929390c1bfc645858a023cc10a32653217b461004a2e38f2fed01441be7dd6d64736f6c63430008090033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d657668564e4e4156654e41757579627833726a4a6b486261646143657a7078523531317a7279664e625352422f00000000000000000000

-----Decoded View---------------
Arg [0] : _baseURI (string): ipfs://QmevhVNNAVeNAuuybx3rjJkHbadaCezpxR511zryfNbSRB/

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [2] : 697066733a2f2f516d657668564e4e4156654e41757579627833726a4a6b4862
Arg [3] : 61646143657a7078523531317a7279664e625352422f00000000000000000000


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.