ETH Price: $1,904.32 (-1.30%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Mint147412212022-05-09 7:48:111042 days ago1652082491IN
0xC4965dAc...a37b3e020
0 ETH0.0025762627.85296735
Set Approval For...143542182022-03-09 18:33:161102 days ago1646850796IN
0xC4965dAc...a37b3e020
0 ETH0.0018768540.18799119
Mint142936142022-02-28 8:45:241112 days ago1646037924IN
0xC4965dAc...a37b3e020
0 ETH0.0034493137.82262733
Mint139383792022-01-04 10:06:291167 days ago1641290789IN
0xC4965dAc...a37b3e020
0 ETH0.0079019265
Mint139133142021-12-31 13:09:571170 days ago1640956197IN
0xC4965dAc...a37b3e020
0 ETH0.0067123272.56175784
Set Approval For...138675182021-12-24 11:02:231177 days ago1640343743IN
0xC4965dAc...a37b3e020
0 ETH0.0017745837.99797334
Mint138674952021-12-24 10:58:201178 days ago1640343500IN
0xC4965dAc...a37b3e020
0 ETH0.0050954541.37265066
Mint138674852021-12-24 10:55:541178 days ago1640343354IN
0xC4965dAc...a37b3e020
0 ETH0.0015632543.06261861
Mint137333402021-12-03 11:24:091198 days ago1638530649IN
0xC4965dAc...a37b3e020
0 ETH0.0095057779.13167568
Mint137077472021-11-29 9:16:081203 days ago1638177368IN
0xC4965dAc...a37b3e020
0 ETH0.0113308694.21816023
Mint137076962021-11-29 9:02:471203 days ago1638176567IN
0xC4965dAc...a37b3e020
0 ETH0.0028053582.82948929
Mint136962082021-11-27 12:59:281204 days ago1638017968IN
0xC4965dAc...a37b3e020
0 ETH0.0076764764.61241381
Mint136877702021-11-26 4:55:061206 days ago1637902506IN
0xC4965dAc...a37b3e020
0 ETH0.0070912759.03692968
Mint136783112021-11-24 16:45:291207 days ago1637772329IN
0xC4965dAc...a37b3e020
0 ETH0.01094124120
Mint136781032021-11-24 15:58:121207 days ago1637769492IN
0xC4965dAc...a37b3e020
0 ETH0.01082817118.75991559
Mint136769802021-11-24 11:32:321207 days ago1637753552IN
0xC4965dAc...a37b3e020
0 ETH0.01069658113.91587905
Mint136768462021-11-24 11:01:001208 days ago1637751660IN
0xC4965dAc...a37b3e020
0 ETH0.0086722795.10424559
Mint136768132021-11-24 10:53:301208 days ago1637751210IN
0xC4965dAc...a37b3e020
0 ETH0.0063369.41028657
Mint136762542021-11-24 8:47:131208 days ago1637743633IN
0xC4965dAc...a37b3e020
0 ETH0.00950328104.18100391
Mint136754152021-11-24 5:33:391208 days ago1637732019IN
0xC4965dAc...a37b3e020
0 ETH0.0065575270.89752916
Mint136753992021-11-24 5:30:591208 days ago1637731859IN
0xC4965dAc...a37b3e020
0 ETH0.0078971585.40140412
Mint136751322021-11-24 4:35:411208 days ago1637728541IN
0xC4965dAc...a37b3e020
0 ETH0.01026985111.04830955
Mint136740902021-11-24 0:39:061208 days ago1637714346IN
0xC4965dAc...a37b3e020
0 ETH0.0072650678.54553671
Mint136723522021-11-23 18:10:341208 days ago1637691034IN
0xC4965dAc...a37b3e020
0 ETH0.01122131121.34436252
Mint136723332021-11-23 18:05:431208 days ago1637690743IN
0xC4965dAc...a37b3e020
0 ETH0.00451506120.11352612
View all transactions

Advanced mode:
Parent Transaction Hash Method Block
From
To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
KewlClubERC1155RandomMint

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : KewlClubERC1155RandomMint.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.10;

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

contract KewlClubERC1155RandomMint is ERC1155, Ownable {
    bytes32 public merkleRoot;

    string public name;
    string public symbol;

    uint256 public totalSupply;

    uint256 public constant TOKEN_0 = 0;
    uint256 public constant TOKEN_1 = 1;

    mapping(address => uint256) public claimedAmounts;

    event Claimed(
        address indexed account,
        uint256 token0Amount,
        uint256 token1Amount
    );

    event MerkleRootUpdate(bytes32 oldMerkleRoot, bytes32 newMerkleRoot);

    constructor(
        string memory _name,
        string memory _symbol,
        bytes32 _merkleRoot,
        string memory url
    ) ERC1155(url) {
        name = _name;
        symbol = _symbol;
        merkleRoot = _merkleRoot;
    }

    function mint(
        address account,
        uint256 entitledAmount,
        uint256 claimAmount,
        bytes32[] calldata merkleProof
    ) external {
        require(
            MerkleProof.verify(
                merkleProof,
                merkleRoot,
                keccak256(abi.encodePacked(account, entitledAmount))
            ),
            "KewlClubERC1155RandomMint: invalid proof"
        );

        require(
            claimAmount > 0,
            "KewlClubERC1155RandomMint: claim amount is zero"
        );
        uint256 claimedAmount = claimedAmounts[account];
        require(
            entitledAmount >= claimAmount + claimedAmount,
            "KewlClubERC1155RandomMint: claim amount too large"
        );

        claimedAmounts[account] = claimAmount + claimedAmount;

        totalSupply += claimAmount;

        uint256 token0ToMint;
        uint256 token1ToMint;

        for (uint256 i = 0; i < claimAmount; i++) {
            uint256 kindOfRandomNumber = uint256(
                keccak256(
                    abi.encodePacked(
                        blockhash(block.number - 1),
                        block.timestamp,
                        i
                    )
                )
            );

            if (kindOfRandomNumber % 2 == 0) {
                token1ToMint += 1;
            } else {
                token0ToMint += 1;
            }
        }

        if (token0ToMint > 0) _mint(account, TOKEN_0, token0ToMint, "");
        if (token1ToMint > 0) _mint(account, TOKEN_1, token1ToMint, "");

        emit Claimed(account, token0ToMint, token1ToMint);
    }

    function setURI(string memory newuri) external onlyOwner {
        _setURI(newuri);
    }

    function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner {
        bytes32 oldMerkleRoot = merkleRoot;
        merkleRoot = _merkleRoot;
        emit MerkleRootUpdate(oldMerkleRoot, _merkleRoot);
    }
}

File 2 of 11 : ERC1155.sol
// SPDX-License-Identifier: MIT

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 {
        require(_msgSender() != operator, "ERC1155: setting approval status for self");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_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 `account`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - If `account` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address account,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(account != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

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

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

        _doSafeTransferAcceptanceCheck(operator, address(0), account, 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 `account`
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address account,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(account != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();

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

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

        emit TransferSingle(operator, account, 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 account,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(account != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

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

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

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

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

    /**
     * @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 11 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 4 of 11 : MerkleProof.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */

library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        bytes32 computedHash = leaf;

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

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

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

File 5 of 11 : IERC1155.sol
// SPDX-License-Identifier: MIT

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 6 of 11 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT

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 7 of 11 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT

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 8 of 11 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 9 of 11 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 10 of 11 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"string","name":"url","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":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"token0Amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"token1Amount","type":"uint256"}],"name":"Claimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"oldMerkleRoot","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"newMerkleRoot","type":"bytes32"}],"name":"MerkleRootUpdate","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":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"},{"inputs":[],"name":"TOKEN_0","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOKEN_1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"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":"address","name":"","type":"address"}],"name":"claimedAmounts","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":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"entitledAmount","type":"uint256"},{"internalType":"uint256","name":"claimAmount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newuri","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b50604051620040173803806200401783398181016040528101906200003791906200041f565b806200004981620000ad60201b60201c565b506200006a6200005e620000c960201b60201c565b620000d160201b60201c565b83600590805190602001906200008292919062000197565b5082600690805190602001906200009b92919062000197565b50816004819055505050505062000553565b8060029080519060200190620000c592919062000197565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001a5906200051d565b90600052602060002090601f016020900481019282620001c9576000855562000215565b82601f10620001e457805160ff191683800117855562000215565b8280016001018555821562000215579182015b8281111562000214578251825591602001919060010190620001f7565b5b50905062000224919062000228565b5090565b5b808211156200024357600081600090555060010162000229565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620002b08262000265565b810181811067ffffffffffffffff82111715620002d257620002d162000276565b5b80604052505050565b6000620002e762000247565b9050620002f58282620002a5565b919050565b600067ffffffffffffffff82111562000318576200031762000276565b5b620003238262000265565b9050602081019050919050565b60005b838110156200035057808201518184015260208101905062000333565b8381111562000360576000848401525b50505050565b60006200037d6200037784620002fa565b620002db565b9050828152602081018484840111156200039c576200039b62000260565b5b620003a984828562000330565b509392505050565b600082601f830112620003c957620003c86200025b565b5b8151620003db84826020860162000366565b91505092915050565b6000819050919050565b620003f981620003e4565b81146200040557600080fd5b50565b6000815190506200041981620003ee565b92915050565b600080600080608085870312156200043c576200043b62000251565b5b600085015167ffffffffffffffff8111156200045d576200045c62000256565b5b6200046b87828801620003b1565b945050602085015167ffffffffffffffff8111156200048f576200048e62000256565b5b6200049d87828801620003b1565b9350506040620004b08782880162000408565b925050606085015167ffffffffffffffff811115620004d457620004d362000256565b5b620004e287828801620003b1565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200053657607f821691505b602082108114156200054d576200054c620004ee565b5b50919050565b613ab480620005636000396000f3fe608060405234801561001057600080fd5b50600436106101365760003560e01c8063597d78e1116100b857806395d89b411161007c57806395d89b411461033b578063a22cb46514610359578063d99939a214610375578063e985e9c514610393578063f242432a146103c3578063f2fde38b146103df57610136565b8063597d78e1146102ab57806371417b32146102c7578063715018a6146102f75780637cb64759146103015780638da5cb5b1461031d57610136565b806318160ddd116100ff57806318160ddd146102055780632eb2c2d6146102235780632eb4a7ab1461023f5780634a3268e41461025d5780634e1273f41461027b57610136565b8062fdd58e1461013b57806301ffc9a71461016b57806302fe53051461019b57806306fdde03146101b75780630e89341c146101d5575b600080fd5b610155600480360381019061015091906120e4565b6103fb565b6040516101629190612133565b60405180910390f35b610185600480360381019061018091906121a6565b6104c4565b60405161019291906121ee565b60405180910390f35b6101b560048036038101906101b0919061234f565b6105a6565b005b6101bf61062e565b6040516101cc9190612420565b60405180910390f35b6101ef60048036038101906101ea9190612442565b6106bc565b6040516101fc9190612420565b60405180910390f35b61020d610750565b60405161021a9190612133565b60405180910390f35b61023d600480360381019061023891906125d8565b610756565b005b6102476107f7565b60405161025491906126c0565b60405180910390f35b6102656107fd565b6040516102729190612133565b60405180910390f35b6102956004803603810190610290919061279e565b610802565b6040516102a291906128d4565b60405180910390f35b6102c560048036038101906102c09190612951565b61091b565b005b6102e160048036038101906102dc91906129d9565b610c4e565b6040516102ee9190612133565b60405180910390f35b6102ff610c66565b005b61031b60048036038101906103169190612a32565b610cee565b005b610325610db5565b6040516103329190612a6e565b60405180910390f35b610343610ddf565b6040516103509190612420565b60405180910390f35b610373600480360381019061036e9190612ab5565b610e6d565b005b61037d610fee565b60405161038a9190612133565b60405180910390f35b6103ad60048036038101906103a89190612af5565b610ff3565b6040516103ba91906121ee565b60405180910390f35b6103dd60048036038101906103d89190612b35565b611087565b005b6103f960048036038101906103f491906129d9565b611128565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561046c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161046390612c3e565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061058f57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061059f575061059e82611220565b5b9050919050565b6105ae61128a565b73ffffffffffffffffffffffffffffffffffffffff166105cc610db5565b73ffffffffffffffffffffffffffffffffffffffff1614610622576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161061990612caa565b60405180910390fd5b61062b81611292565b50565b6005805461063b90612cf9565b80601f016020809104026020016040519081016040528092919081815260200182805461066790612cf9565b80156106b45780601f10610689576101008083540402835291602001916106b4565b820191906000526020600020905b81548152906001019060200180831161069757829003601f168201915b505050505081565b6060600280546106cb90612cf9565b80601f01602080910402602001604051908101604052809291908181526020018280546106f790612cf9565b80156107445780601f1061071957610100808354040283529160200191610744565b820191906000526020600020905b81548152906001019060200180831161072757829003601f168201915b50505050509050919050565b60075481565b61075e61128a565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806107a457506107a38561079e61128a565b610ff3565b5b6107e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107da90612d9d565b60405180910390fd5b6107f085858585856112ac565b5050505050565b60045481565b600181565b60608151835114610848576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083f90612e2f565b60405180910390fd5b6000835167ffffffffffffffff81111561086557610864612224565b5b6040519080825280602002602001820160405280156108935781602001602082028036833780820191505090505b50905060005b8451811015610910576108e08582815181106108b8576108b7612e4f565b5b60200260200101518583815181106108d3576108d2612e4f565b5b60200260200101516103fb565b8282815181106108f3576108f2612e4f565b5b6020026020010181815250508061090990612ead565b9050610899565b508091505092915050565b610991828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050506004548787604051602001610976929190612f5f565b604051602081830303815290604052805190602001206115c0565b6109d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c790612ffd565b60405180910390fd5b60008311610a13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0a9061308f565b60405180910390fd5b6000600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508084610a6391906130af565b851015610aa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9c90613177565b60405180910390fd5b8084610ab191906130af565b600860008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360076000828254610b0691906130af565b9250508190555060008060005b86811015610ba7576000600143610b2a9190613197565b404283604051602001610b3f939291906131ec565b6040516020818303038152906040528051906020012060001c90506000600282610b699190613258565b1415610b8357600183610b7c91906130af565b9250610b93565b600184610b9091906130af565b93505b508080610b9f90612ead565b915050610b13565b506000821115610bce57610bcd8860008460405180602001604052806000815250611676565b5b6000811115610bf457610bf38860018360405180602001604052806000815250611676565b5b8773ffffffffffffffffffffffffffffffffffffffff167f987d620f307ff6b94d58743cb7a7509f24071586a77759b77c2d4e29f75a2f9a8383604051610c3c929190613289565b60405180910390a25050505050505050565b60086020528060005260406000206000915090505481565b610c6e61128a565b73ffffffffffffffffffffffffffffffffffffffff16610c8c610db5565b73ffffffffffffffffffffffffffffffffffffffff1614610ce2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd990612caa565b60405180910390fd5b610cec600061180c565b565b610cf661128a565b73ffffffffffffffffffffffffffffffffffffffff16610d14610db5565b73ffffffffffffffffffffffffffffffffffffffff1614610d6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6190612caa565b60405180910390fd5b60006004549050816004819055507ffcd27cd7a77a9eccbb4e8486be3480eaba598dcbf275f828256125bff2295f958183604051610da99291906132b2565b60405180910390a15050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60068054610dec90612cf9565b80601f0160208091040260200160405190810160405280929190818152602001828054610e1890612cf9565b8015610e655780601f10610e3a57610100808354040283529160200191610e65565b820191906000526020600020905b815481529060010190602001808311610e4857829003601f168201915b505050505081565b8173ffffffffffffffffffffffffffffffffffffffff16610e8c61128a565b73ffffffffffffffffffffffffffffffffffffffff161415610ee3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eda9061334d565b60405180910390fd5b8060016000610ef061128a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610f9d61128a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610fe291906121ee565b60405180910390a35050565b600081565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61108f61128a565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806110d557506110d4856110cf61128a565b610ff3565b5b611114576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110b906133df565b60405180910390fd5b61112185858585856118d2565b5050505050565b61113061128a565b73ffffffffffffffffffffffffffffffffffffffff1661114e610db5565b73ffffffffffffffffffffffffffffffffffffffff16146111a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119b90612caa565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611214576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120b90613471565b60405180910390fd5b61121d8161180c565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b80600290805190602001906112a8929190611f99565b5050565b81518351146112f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e790613503565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611360576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135790613595565b60405180910390fd5b600061136a61128a565b905061137a818787878787611b54565b60005b845181101561152b57600085828151811061139b5761139a612e4f565b5b6020026020010151905060008583815181106113ba576113b9612e4f565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561145b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145290613627565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461151091906130af565b925050819055505050508061152490612ead565b905061137d565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516115a2929190613647565b60405180910390a46115b8818787878787611b5c565b505050505050565b60008082905060005b85518110156116685760008682815181106115e7576115e6612e4f565b5b6020026020010151905080831161162857828160405160200161160b92919061367e565b604051602081830303815290604052805190602001209250611654565b808360405160200161163b92919061367e565b6040516020818303038152906040528051906020012092505b50808061166090612ead565b9150506115c9565b508381149150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156116e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116dd9061371c565b60405180910390fd5b60006116f061128a565b90506117118160008761170288611d34565b61170b88611d34565b87611b54565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461177091906130af565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516117ee929190613289565b60405180910390a461180581600087878787611dae565b5050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611942576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193990613595565b60405180910390fd5b600061194c61128a565b905061196c81878761195d88611d34565b61196688611d34565b87611b54565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611a03576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119fa90613627565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ab891906130af565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051611b35929190613289565b60405180910390a4611b4b828888888888611dae565b50505050505050565b505050505050565b611b7b8473ffffffffffffffffffffffffffffffffffffffff16611f86565b15611d2c578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401611bc1959493929190613791565b6020604051808303816000875af1925050508015611bfd57506040513d601f19601f82011682018060405250810190611bfa919061380e565b60015b611ca357611c09613848565b806308c379a01415611c665750611c1e61386a565b80611c295750611c68565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5d9190612420565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9a90613972565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611d2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2190613a04565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff811115611d5357611d52612224565b5b604051908082528060200260200182016040528015611d815781602001602082028036833780820191505090505b5090508281600081518110611d9957611d98612e4f565b5b60200260200101818152505080915050919050565b611dcd8473ffffffffffffffffffffffffffffffffffffffff16611f86565b15611f7e578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401611e13959493929190613a24565b6020604051808303816000875af1925050508015611e4f57506040513d601f19601f82011682018060405250810190611e4c919061380e565b60015b611ef557611e5b613848565b806308c379a01415611eb85750611e7061386a565b80611e7b5750611eba565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eaf9190612420565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eec90613972565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611f7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7390613a04565b60405180910390fd5b505b505050505050565b600080823b905060008111915050919050565b828054611fa590612cf9565b90600052602060002090601f016020900481019282611fc7576000855561200e565b82601f10611fe057805160ff191683800117855561200e565b8280016001018555821561200e579182015b8281111561200d578251825591602001919060010190611ff2565b5b50905061201b919061201f565b5090565b5b80821115612038576000816000905550600101612020565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061207b82612050565b9050919050565b61208b81612070565b811461209657600080fd5b50565b6000813590506120a881612082565b92915050565b6000819050919050565b6120c1816120ae565b81146120cc57600080fd5b50565b6000813590506120de816120b8565b92915050565b600080604083850312156120fb576120fa612046565b5b600061210985828601612099565b925050602061211a858286016120cf565b9150509250929050565b61212d816120ae565b82525050565b60006020820190506121486000830184612124565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6121838161214e565b811461218e57600080fd5b50565b6000813590506121a08161217a565b92915050565b6000602082840312156121bc576121bb612046565b5b60006121ca84828501612191565b91505092915050565b60008115159050919050565b6121e8816121d3565b82525050565b600060208201905061220360008301846121df565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61225c82612213565b810181811067ffffffffffffffff8211171561227b5761227a612224565b5b80604052505050565b600061228e61203c565b905061229a8282612253565b919050565b600067ffffffffffffffff8211156122ba576122b9612224565b5b6122c382612213565b9050602081019050919050565b82818337600083830152505050565b60006122f26122ed8461229f565b612284565b90508281526020810184848401111561230e5761230d61220e565b5b6123198482856122d0565b509392505050565b600082601f83011261233657612335612209565b5b81356123468482602086016122df565b91505092915050565b60006020828403121561236557612364612046565b5b600082013567ffffffffffffffff8111156123835761238261204b565b5b61238f84828501612321565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156123d25780820151818401526020810190506123b7565b838111156123e1576000848401525b50505050565b60006123f282612398565b6123fc81856123a3565b935061240c8185602086016123b4565b61241581612213565b840191505092915050565b6000602082019050818103600083015261243a81846123e7565b905092915050565b60006020828403121561245857612457612046565b5b6000612466848285016120cf565b91505092915050565b600067ffffffffffffffff82111561248a57612489612224565b5b602082029050602081019050919050565b600080fd5b60006124b36124ae8461246f565b612284565b905080838252602082019050602084028301858111156124d6576124d561249b565b5b835b818110156124ff57806124eb88826120cf565b8452602084019350506020810190506124d8565b5050509392505050565b600082601f83011261251e5761251d612209565b5b813561252e8482602086016124a0565b91505092915050565b600067ffffffffffffffff82111561255257612551612224565b5b61255b82612213565b9050602081019050919050565b600061257b61257684612537565b612284565b9050828152602081018484840111156125975761259661220e565b5b6125a28482856122d0565b509392505050565b600082601f8301126125bf576125be612209565b5b81356125cf848260208601612568565b91505092915050565b600080600080600060a086880312156125f4576125f3612046565b5b600061260288828901612099565b955050602061261388828901612099565b945050604086013567ffffffffffffffff8111156126345761263361204b565b5b61264088828901612509565b935050606086013567ffffffffffffffff8111156126615761266061204b565b5b61266d88828901612509565b925050608086013567ffffffffffffffff81111561268e5761268d61204b565b5b61269a888289016125aa565b9150509295509295909350565b6000819050919050565b6126ba816126a7565b82525050565b60006020820190506126d560008301846126b1565b92915050565b600067ffffffffffffffff8211156126f6576126f5612224565b5b602082029050602081019050919050565b600061271a612715846126db565b612284565b9050808382526020820190506020840283018581111561273d5761273c61249b565b5b835b8181101561276657806127528882612099565b84526020840193505060208101905061273f565b5050509392505050565b600082601f83011261278557612784612209565b5b8135612795848260208601612707565b91505092915050565b600080604083850312156127b5576127b4612046565b5b600083013567ffffffffffffffff8111156127d3576127d261204b565b5b6127df85828601612770565b925050602083013567ffffffffffffffff811115612800576127ff61204b565b5b61280c85828601612509565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61284b816120ae565b82525050565b600061285d8383612842565b60208301905092915050565b6000602082019050919050565b600061288182612816565b61288b8185612821565b935061289683612832565b8060005b838110156128c75781516128ae8882612851565b97506128b983612869565b92505060018101905061289a565b5085935050505092915050565b600060208201905081810360008301526128ee8184612876565b905092915050565b600080fd5b60008083601f84011261291157612910612209565b5b8235905067ffffffffffffffff81111561292e5761292d6128f6565b5b60208301915083602082028301111561294a5761294961249b565b5b9250929050565b60008060008060006080868803121561296d5761296c612046565b5b600061297b88828901612099565b955050602061298c888289016120cf565b945050604061299d888289016120cf565b935050606086013567ffffffffffffffff8111156129be576129bd61204b565b5b6129ca888289016128fb565b92509250509295509295909350565b6000602082840312156129ef576129ee612046565b5b60006129fd84828501612099565b91505092915050565b612a0f816126a7565b8114612a1a57600080fd5b50565b600081359050612a2c81612a06565b92915050565b600060208284031215612a4857612a47612046565b5b6000612a5684828501612a1d565b91505092915050565b612a6881612070565b82525050565b6000602082019050612a836000830184612a5f565b92915050565b612a92816121d3565b8114612a9d57600080fd5b50565b600081359050612aaf81612a89565b92915050565b60008060408385031215612acc57612acb612046565b5b6000612ada85828601612099565b9250506020612aeb85828601612aa0565b9150509250929050565b60008060408385031215612b0c57612b0b612046565b5b6000612b1a85828601612099565b9250506020612b2b85828601612099565b9150509250929050565b600080600080600060a08688031215612b5157612b50612046565b5b6000612b5f88828901612099565b9550506020612b7088828901612099565b9450506040612b81888289016120cf565b9350506060612b92888289016120cf565b925050608086013567ffffffffffffffff811115612bb357612bb261204b565b5b612bbf888289016125aa565b9150509295509295909350565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000612c28602b836123a3565b9150612c3382612bcc565b604082019050919050565b60006020820190508181036000830152612c5781612c1b565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612c946020836123a3565b9150612c9f82612c5e565b602082019050919050565b60006020820190508181036000830152612cc381612c87565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612d1157607f821691505b60208210811415612d2557612d24612cca565b5b50919050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000612d876032836123a3565b9150612d9282612d2b565b604082019050919050565b60006020820190508181036000830152612db681612d7a565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000612e196029836123a3565b9150612e2482612dbd565b604082019050919050565b60006020820190508181036000830152612e4881612e0c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612eb8826120ae565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612eeb57612eea612e7e565b5b600182019050919050565b60008160601b9050919050565b6000612f0e82612ef6565b9050919050565b6000612f2082612f03565b9050919050565b612f38612f3382612070565b612f15565b82525050565b6000819050919050565b612f59612f54826120ae565b612f3e565b82525050565b6000612f6b8285612f27565b601482019150612f7b8284612f48565b6020820191508190509392505050565b7f4b65776c436c75624552433131353552616e646f6d4d696e743a20696e76616c60008201527f69642070726f6f66000000000000000000000000000000000000000000000000602082015250565b6000612fe76028836123a3565b9150612ff282612f8b565b604082019050919050565b6000602082019050818103600083015261301681612fda565b9050919050565b7f4b65776c436c75624552433131353552616e646f6d4d696e743a20636c61696d60008201527f20616d6f756e74206973207a65726f0000000000000000000000000000000000602082015250565b6000613079602f836123a3565b91506130848261301d565b604082019050919050565b600060208201905081810360008301526130a88161306c565b9050919050565b60006130ba826120ae565b91506130c5836120ae565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156130fa576130f9612e7e565b5b828201905092915050565b7f4b65776c436c75624552433131353552616e646f6d4d696e743a20636c61696d60008201527f20616d6f756e7420746f6f206c61726765000000000000000000000000000000602082015250565b60006131616031836123a3565b915061316c82613105565b604082019050919050565b6000602082019050818103600083015261319081613154565b9050919050565b60006131a2826120ae565b91506131ad836120ae565b9250828210156131c0576131bf612e7e565b5b828203905092915050565b6000819050919050565b6131e66131e1826126a7565b6131cb565b82525050565b60006131f882866131d5565b6020820191506132088285612f48565b6020820191506132188284612f48565b602082019150819050949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613263826120ae565b915061326e836120ae565b92508261327e5761327d613229565b5b828206905092915050565b600060408201905061329e6000830185612124565b6132ab6020830184612124565b9392505050565b60006040820190506132c760008301856126b1565b6132d460208301846126b1565b9392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b60006133376029836123a3565b9150613342826132db565b604082019050919050565b600060208201905081810360008301526133668161332a565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b60006133c96029836123a3565b91506133d48261336d565b604082019050919050565b600060208201905081810360008301526133f8816133bc565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061345b6026836123a3565b9150613466826133ff565b604082019050919050565b6000602082019050818103600083015261348a8161344e565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b60006134ed6028836123a3565b91506134f882613491565b604082019050919050565b6000602082019050818103600083015261351c816134e0565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b600061357f6025836123a3565b915061358a82613523565b604082019050919050565b600060208201905081810360008301526135ae81613572565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000613611602a836123a3565b915061361c826135b5565b604082019050919050565b6000602082019050818103600083015261364081613604565b9050919050565b600060408201905081810360008301526136618185612876565b905081810360208301526136758184612876565b90509392505050565b600061368a82856131d5565b60208201915061369a82846131d5565b6020820191508190509392505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006137066021836123a3565b9150613711826136aa565b604082019050919050565b60006020820190508181036000830152613735816136f9565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006137638261373c565b61376d8185613747565b935061377d8185602086016123b4565b61378681612213565b840191505092915050565b600060a0820190506137a66000830188612a5f565b6137b36020830187612a5f565b81810360408301526137c58186612876565b905081810360608301526137d98185612876565b905081810360808301526137ed8184613758565b90509695505050505050565b6000815190506138088161217a565b92915050565b60006020828403121561382457613823612046565b5b6000613832848285016137f9565b91505092915050565b60008160e01c9050919050565b600060033d11156138675760046000803e61386460005161383b565b90505b90565b600060443d101561387a576138fd565b61388261203c565b60043d036004823e80513d602482011167ffffffffffffffff821117156138aa5750506138fd565b808201805167ffffffffffffffff8111156138c857505050506138fd565b80602083010160043d0385018111156138e55750505050506138fd565b6138f482602001850186612253565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b600061395c6034836123a3565b915061396782613900565b604082019050919050565b6000602082019050818103600083015261398b8161394f565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006139ee6028836123a3565b91506139f982613992565b604082019050919050565b60006020820190508181036000830152613a1d816139e1565b9050919050565b600060a082019050613a396000830188612a5f565b613a466020830187612a5f565b613a536040830186612124565b613a606060830185612124565b8181036080830152613a728184613758565b9050969550505050505056fea26469706673582212209ba2c529c378744679a8a6a8025f600af85970cb953ea8e8d53f5f0e51cc4a8a64736f6c634300080a0033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c081c01e98c8c176386a493307375c0d0f65470179f5c19e86703e70a1b5745723000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000184b65776c20436c75622078207261696c616974652e726f62000000000000000000000000000000000000000000000000000000000000000000000000000000054b432d5252000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005a68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d52507657475a766b31355956354664665663376547364c71796733466a705a3759717758586f5664666e69612f7b69647d2e6a736f6e000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101365760003560e01c8063597d78e1116100b857806395d89b411161007c57806395d89b411461033b578063a22cb46514610359578063d99939a214610375578063e985e9c514610393578063f242432a146103c3578063f2fde38b146103df57610136565b8063597d78e1146102ab57806371417b32146102c7578063715018a6146102f75780637cb64759146103015780638da5cb5b1461031d57610136565b806318160ddd116100ff57806318160ddd146102055780632eb2c2d6146102235780632eb4a7ab1461023f5780634a3268e41461025d5780634e1273f41461027b57610136565b8062fdd58e1461013b57806301ffc9a71461016b57806302fe53051461019b57806306fdde03146101b75780630e89341c146101d5575b600080fd5b610155600480360381019061015091906120e4565b6103fb565b6040516101629190612133565b60405180910390f35b610185600480360381019061018091906121a6565b6104c4565b60405161019291906121ee565b60405180910390f35b6101b560048036038101906101b0919061234f565b6105a6565b005b6101bf61062e565b6040516101cc9190612420565b60405180910390f35b6101ef60048036038101906101ea9190612442565b6106bc565b6040516101fc9190612420565b60405180910390f35b61020d610750565b60405161021a9190612133565b60405180910390f35b61023d600480360381019061023891906125d8565b610756565b005b6102476107f7565b60405161025491906126c0565b60405180910390f35b6102656107fd565b6040516102729190612133565b60405180910390f35b6102956004803603810190610290919061279e565b610802565b6040516102a291906128d4565b60405180910390f35b6102c560048036038101906102c09190612951565b61091b565b005b6102e160048036038101906102dc91906129d9565b610c4e565b6040516102ee9190612133565b60405180910390f35b6102ff610c66565b005b61031b60048036038101906103169190612a32565b610cee565b005b610325610db5565b6040516103329190612a6e565b60405180910390f35b610343610ddf565b6040516103509190612420565b60405180910390f35b610373600480360381019061036e9190612ab5565b610e6d565b005b61037d610fee565b60405161038a9190612133565b60405180910390f35b6103ad60048036038101906103a89190612af5565b610ff3565b6040516103ba91906121ee565b60405180910390f35b6103dd60048036038101906103d89190612b35565b611087565b005b6103f960048036038101906103f491906129d9565b611128565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561046c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161046390612c3e565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061058f57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061059f575061059e82611220565b5b9050919050565b6105ae61128a565b73ffffffffffffffffffffffffffffffffffffffff166105cc610db5565b73ffffffffffffffffffffffffffffffffffffffff1614610622576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161061990612caa565b60405180910390fd5b61062b81611292565b50565b6005805461063b90612cf9565b80601f016020809104026020016040519081016040528092919081815260200182805461066790612cf9565b80156106b45780601f10610689576101008083540402835291602001916106b4565b820191906000526020600020905b81548152906001019060200180831161069757829003601f168201915b505050505081565b6060600280546106cb90612cf9565b80601f01602080910402602001604051908101604052809291908181526020018280546106f790612cf9565b80156107445780601f1061071957610100808354040283529160200191610744565b820191906000526020600020905b81548152906001019060200180831161072757829003601f168201915b50505050509050919050565b60075481565b61075e61128a565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806107a457506107a38561079e61128a565b610ff3565b5b6107e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107da90612d9d565b60405180910390fd5b6107f085858585856112ac565b5050505050565b60045481565b600181565b60608151835114610848576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083f90612e2f565b60405180910390fd5b6000835167ffffffffffffffff81111561086557610864612224565b5b6040519080825280602002602001820160405280156108935781602001602082028036833780820191505090505b50905060005b8451811015610910576108e08582815181106108b8576108b7612e4f565b5b60200260200101518583815181106108d3576108d2612e4f565b5b60200260200101516103fb565b8282815181106108f3576108f2612e4f565b5b6020026020010181815250508061090990612ead565b9050610899565b508091505092915050565b610991828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050506004548787604051602001610976929190612f5f565b604051602081830303815290604052805190602001206115c0565b6109d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c790612ffd565b60405180910390fd5b60008311610a13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0a9061308f565b60405180910390fd5b6000600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508084610a6391906130af565b851015610aa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9c90613177565b60405180910390fd5b8084610ab191906130af565b600860008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360076000828254610b0691906130af565b9250508190555060008060005b86811015610ba7576000600143610b2a9190613197565b404283604051602001610b3f939291906131ec565b6040516020818303038152906040528051906020012060001c90506000600282610b699190613258565b1415610b8357600183610b7c91906130af565b9250610b93565b600184610b9091906130af565b93505b508080610b9f90612ead565b915050610b13565b506000821115610bce57610bcd8860008460405180602001604052806000815250611676565b5b6000811115610bf457610bf38860018360405180602001604052806000815250611676565b5b8773ffffffffffffffffffffffffffffffffffffffff167f987d620f307ff6b94d58743cb7a7509f24071586a77759b77c2d4e29f75a2f9a8383604051610c3c929190613289565b60405180910390a25050505050505050565b60086020528060005260406000206000915090505481565b610c6e61128a565b73ffffffffffffffffffffffffffffffffffffffff16610c8c610db5565b73ffffffffffffffffffffffffffffffffffffffff1614610ce2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd990612caa565b60405180910390fd5b610cec600061180c565b565b610cf661128a565b73ffffffffffffffffffffffffffffffffffffffff16610d14610db5565b73ffffffffffffffffffffffffffffffffffffffff1614610d6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6190612caa565b60405180910390fd5b60006004549050816004819055507ffcd27cd7a77a9eccbb4e8486be3480eaba598dcbf275f828256125bff2295f958183604051610da99291906132b2565b60405180910390a15050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60068054610dec90612cf9565b80601f0160208091040260200160405190810160405280929190818152602001828054610e1890612cf9565b8015610e655780601f10610e3a57610100808354040283529160200191610e65565b820191906000526020600020905b815481529060010190602001808311610e4857829003601f168201915b505050505081565b8173ffffffffffffffffffffffffffffffffffffffff16610e8c61128a565b73ffffffffffffffffffffffffffffffffffffffff161415610ee3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eda9061334d565b60405180910390fd5b8060016000610ef061128a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610f9d61128a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610fe291906121ee565b60405180910390a35050565b600081565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61108f61128a565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806110d557506110d4856110cf61128a565b610ff3565b5b611114576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110b906133df565b60405180910390fd5b61112185858585856118d2565b5050505050565b61113061128a565b73ffffffffffffffffffffffffffffffffffffffff1661114e610db5565b73ffffffffffffffffffffffffffffffffffffffff16146111a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119b90612caa565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611214576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120b90613471565b60405180910390fd5b61121d8161180c565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b80600290805190602001906112a8929190611f99565b5050565b81518351146112f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e790613503565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611360576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135790613595565b60405180910390fd5b600061136a61128a565b905061137a818787878787611b54565b60005b845181101561152b57600085828151811061139b5761139a612e4f565b5b6020026020010151905060008583815181106113ba576113b9612e4f565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561145b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145290613627565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461151091906130af565b925050819055505050508061152490612ead565b905061137d565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516115a2929190613647565b60405180910390a46115b8818787878787611b5c565b505050505050565b60008082905060005b85518110156116685760008682815181106115e7576115e6612e4f565b5b6020026020010151905080831161162857828160405160200161160b92919061367e565b604051602081830303815290604052805190602001209250611654565b808360405160200161163b92919061367e565b6040516020818303038152906040528051906020012092505b50808061166090612ead565b9150506115c9565b508381149150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156116e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116dd9061371c565b60405180910390fd5b60006116f061128a565b90506117118160008761170288611d34565b61170b88611d34565b87611b54565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461177091906130af565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516117ee929190613289565b60405180910390a461180581600087878787611dae565b5050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611942576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193990613595565b60405180910390fd5b600061194c61128a565b905061196c81878761195d88611d34565b61196688611d34565b87611b54565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611a03576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119fa90613627565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ab891906130af565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051611b35929190613289565b60405180910390a4611b4b828888888888611dae565b50505050505050565b505050505050565b611b7b8473ffffffffffffffffffffffffffffffffffffffff16611f86565b15611d2c578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401611bc1959493929190613791565b6020604051808303816000875af1925050508015611bfd57506040513d601f19601f82011682018060405250810190611bfa919061380e565b60015b611ca357611c09613848565b806308c379a01415611c665750611c1e61386a565b80611c295750611c68565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5d9190612420565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9a90613972565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611d2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2190613a04565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff811115611d5357611d52612224565b5b604051908082528060200260200182016040528015611d815781602001602082028036833780820191505090505b5090508281600081518110611d9957611d98612e4f565b5b60200260200101818152505080915050919050565b611dcd8473ffffffffffffffffffffffffffffffffffffffff16611f86565b15611f7e578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401611e13959493929190613a24565b6020604051808303816000875af1925050508015611e4f57506040513d601f19601f82011682018060405250810190611e4c919061380e565b60015b611ef557611e5b613848565b806308c379a01415611eb85750611e7061386a565b80611e7b5750611eba565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eaf9190612420565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eec90613972565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611f7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7390613a04565b60405180910390fd5b505b505050505050565b600080823b905060008111915050919050565b828054611fa590612cf9565b90600052602060002090601f016020900481019282611fc7576000855561200e565b82601f10611fe057805160ff191683800117855561200e565b8280016001018555821561200e579182015b8281111561200d578251825591602001919060010190611ff2565b5b50905061201b919061201f565b5090565b5b80821115612038576000816000905550600101612020565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061207b82612050565b9050919050565b61208b81612070565b811461209657600080fd5b50565b6000813590506120a881612082565b92915050565b6000819050919050565b6120c1816120ae565b81146120cc57600080fd5b50565b6000813590506120de816120b8565b92915050565b600080604083850312156120fb576120fa612046565b5b600061210985828601612099565b925050602061211a858286016120cf565b9150509250929050565b61212d816120ae565b82525050565b60006020820190506121486000830184612124565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6121838161214e565b811461218e57600080fd5b50565b6000813590506121a08161217a565b92915050565b6000602082840312156121bc576121bb612046565b5b60006121ca84828501612191565b91505092915050565b60008115159050919050565b6121e8816121d3565b82525050565b600060208201905061220360008301846121df565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61225c82612213565b810181811067ffffffffffffffff8211171561227b5761227a612224565b5b80604052505050565b600061228e61203c565b905061229a8282612253565b919050565b600067ffffffffffffffff8211156122ba576122b9612224565b5b6122c382612213565b9050602081019050919050565b82818337600083830152505050565b60006122f26122ed8461229f565b612284565b90508281526020810184848401111561230e5761230d61220e565b5b6123198482856122d0565b509392505050565b600082601f83011261233657612335612209565b5b81356123468482602086016122df565b91505092915050565b60006020828403121561236557612364612046565b5b600082013567ffffffffffffffff8111156123835761238261204b565b5b61238f84828501612321565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156123d25780820151818401526020810190506123b7565b838111156123e1576000848401525b50505050565b60006123f282612398565b6123fc81856123a3565b935061240c8185602086016123b4565b61241581612213565b840191505092915050565b6000602082019050818103600083015261243a81846123e7565b905092915050565b60006020828403121561245857612457612046565b5b6000612466848285016120cf565b91505092915050565b600067ffffffffffffffff82111561248a57612489612224565b5b602082029050602081019050919050565b600080fd5b60006124b36124ae8461246f565b612284565b905080838252602082019050602084028301858111156124d6576124d561249b565b5b835b818110156124ff57806124eb88826120cf565b8452602084019350506020810190506124d8565b5050509392505050565b600082601f83011261251e5761251d612209565b5b813561252e8482602086016124a0565b91505092915050565b600067ffffffffffffffff82111561255257612551612224565b5b61255b82612213565b9050602081019050919050565b600061257b61257684612537565b612284565b9050828152602081018484840111156125975761259661220e565b5b6125a28482856122d0565b509392505050565b600082601f8301126125bf576125be612209565b5b81356125cf848260208601612568565b91505092915050565b600080600080600060a086880312156125f4576125f3612046565b5b600061260288828901612099565b955050602061261388828901612099565b945050604086013567ffffffffffffffff8111156126345761263361204b565b5b61264088828901612509565b935050606086013567ffffffffffffffff8111156126615761266061204b565b5b61266d88828901612509565b925050608086013567ffffffffffffffff81111561268e5761268d61204b565b5b61269a888289016125aa565b9150509295509295909350565b6000819050919050565b6126ba816126a7565b82525050565b60006020820190506126d560008301846126b1565b92915050565b600067ffffffffffffffff8211156126f6576126f5612224565b5b602082029050602081019050919050565b600061271a612715846126db565b612284565b9050808382526020820190506020840283018581111561273d5761273c61249b565b5b835b8181101561276657806127528882612099565b84526020840193505060208101905061273f565b5050509392505050565b600082601f83011261278557612784612209565b5b8135612795848260208601612707565b91505092915050565b600080604083850312156127b5576127b4612046565b5b600083013567ffffffffffffffff8111156127d3576127d261204b565b5b6127df85828601612770565b925050602083013567ffffffffffffffff811115612800576127ff61204b565b5b61280c85828601612509565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61284b816120ae565b82525050565b600061285d8383612842565b60208301905092915050565b6000602082019050919050565b600061288182612816565b61288b8185612821565b935061289683612832565b8060005b838110156128c75781516128ae8882612851565b97506128b983612869565b92505060018101905061289a565b5085935050505092915050565b600060208201905081810360008301526128ee8184612876565b905092915050565b600080fd5b60008083601f84011261291157612910612209565b5b8235905067ffffffffffffffff81111561292e5761292d6128f6565b5b60208301915083602082028301111561294a5761294961249b565b5b9250929050565b60008060008060006080868803121561296d5761296c612046565b5b600061297b88828901612099565b955050602061298c888289016120cf565b945050604061299d888289016120cf565b935050606086013567ffffffffffffffff8111156129be576129bd61204b565b5b6129ca888289016128fb565b92509250509295509295909350565b6000602082840312156129ef576129ee612046565b5b60006129fd84828501612099565b91505092915050565b612a0f816126a7565b8114612a1a57600080fd5b50565b600081359050612a2c81612a06565b92915050565b600060208284031215612a4857612a47612046565b5b6000612a5684828501612a1d565b91505092915050565b612a6881612070565b82525050565b6000602082019050612a836000830184612a5f565b92915050565b612a92816121d3565b8114612a9d57600080fd5b50565b600081359050612aaf81612a89565b92915050565b60008060408385031215612acc57612acb612046565b5b6000612ada85828601612099565b9250506020612aeb85828601612aa0565b9150509250929050565b60008060408385031215612b0c57612b0b612046565b5b6000612b1a85828601612099565b9250506020612b2b85828601612099565b9150509250929050565b600080600080600060a08688031215612b5157612b50612046565b5b6000612b5f88828901612099565b9550506020612b7088828901612099565b9450506040612b81888289016120cf565b9350506060612b92888289016120cf565b925050608086013567ffffffffffffffff811115612bb357612bb261204b565b5b612bbf888289016125aa565b9150509295509295909350565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000612c28602b836123a3565b9150612c3382612bcc565b604082019050919050565b60006020820190508181036000830152612c5781612c1b565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612c946020836123a3565b9150612c9f82612c5e565b602082019050919050565b60006020820190508181036000830152612cc381612c87565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612d1157607f821691505b60208210811415612d2557612d24612cca565b5b50919050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000612d876032836123a3565b9150612d9282612d2b565b604082019050919050565b60006020820190508181036000830152612db681612d7a565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000612e196029836123a3565b9150612e2482612dbd565b604082019050919050565b60006020820190508181036000830152612e4881612e0c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612eb8826120ae565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612eeb57612eea612e7e565b5b600182019050919050565b60008160601b9050919050565b6000612f0e82612ef6565b9050919050565b6000612f2082612f03565b9050919050565b612f38612f3382612070565b612f15565b82525050565b6000819050919050565b612f59612f54826120ae565b612f3e565b82525050565b6000612f6b8285612f27565b601482019150612f7b8284612f48565b6020820191508190509392505050565b7f4b65776c436c75624552433131353552616e646f6d4d696e743a20696e76616c60008201527f69642070726f6f66000000000000000000000000000000000000000000000000602082015250565b6000612fe76028836123a3565b9150612ff282612f8b565b604082019050919050565b6000602082019050818103600083015261301681612fda565b9050919050565b7f4b65776c436c75624552433131353552616e646f6d4d696e743a20636c61696d60008201527f20616d6f756e74206973207a65726f0000000000000000000000000000000000602082015250565b6000613079602f836123a3565b91506130848261301d565b604082019050919050565b600060208201905081810360008301526130a88161306c565b9050919050565b60006130ba826120ae565b91506130c5836120ae565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156130fa576130f9612e7e565b5b828201905092915050565b7f4b65776c436c75624552433131353552616e646f6d4d696e743a20636c61696d60008201527f20616d6f756e7420746f6f206c61726765000000000000000000000000000000602082015250565b60006131616031836123a3565b915061316c82613105565b604082019050919050565b6000602082019050818103600083015261319081613154565b9050919050565b60006131a2826120ae565b91506131ad836120ae565b9250828210156131c0576131bf612e7e565b5b828203905092915050565b6000819050919050565b6131e66131e1826126a7565b6131cb565b82525050565b60006131f882866131d5565b6020820191506132088285612f48565b6020820191506132188284612f48565b602082019150819050949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613263826120ae565b915061326e836120ae565b92508261327e5761327d613229565b5b828206905092915050565b600060408201905061329e6000830185612124565b6132ab6020830184612124565b9392505050565b60006040820190506132c760008301856126b1565b6132d460208301846126b1565b9392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b60006133376029836123a3565b9150613342826132db565b604082019050919050565b600060208201905081810360008301526133668161332a565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b60006133c96029836123a3565b91506133d48261336d565b604082019050919050565b600060208201905081810360008301526133f8816133bc565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061345b6026836123a3565b9150613466826133ff565b604082019050919050565b6000602082019050818103600083015261348a8161344e565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b60006134ed6028836123a3565b91506134f882613491565b604082019050919050565b6000602082019050818103600083015261351c816134e0565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b600061357f6025836123a3565b915061358a82613523565b604082019050919050565b600060208201905081810360008301526135ae81613572565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000613611602a836123a3565b915061361c826135b5565b604082019050919050565b6000602082019050818103600083015261364081613604565b9050919050565b600060408201905081810360008301526136618185612876565b905081810360208301526136758184612876565b90509392505050565b600061368a82856131d5565b60208201915061369a82846131d5565b6020820191508190509392505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006137066021836123a3565b9150613711826136aa565b604082019050919050565b60006020820190508181036000830152613735816136f9565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006137638261373c565b61376d8185613747565b935061377d8185602086016123b4565b61378681612213565b840191505092915050565b600060a0820190506137a66000830188612a5f565b6137b36020830187612a5f565b81810360408301526137c58186612876565b905081810360608301526137d98185612876565b905081810360808301526137ed8184613758565b90509695505050505050565b6000815190506138088161217a565b92915050565b60006020828403121561382457613823612046565b5b6000613832848285016137f9565b91505092915050565b60008160e01c9050919050565b600060033d11156138675760046000803e61386460005161383b565b90505b90565b600060443d101561387a576138fd565b61388261203c565b60043d036004823e80513d602482011167ffffffffffffffff821117156138aa5750506138fd565b808201805167ffffffffffffffff8111156138c857505050506138fd565b80602083010160043d0385018111156138e55750505050506138fd565b6138f482602001850186612253565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b600061395c6034836123a3565b915061396782613900565b604082019050919050565b6000602082019050818103600083015261398b8161394f565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006139ee6028836123a3565b91506139f982613992565b604082019050919050565b60006020820190508181036000830152613a1d816139e1565b9050919050565b600060a082019050613a396000830188612a5f565b613a466020830187612a5f565b613a536040830186612124565b613a606060830185612124565b8181036080830152613a728184613758565b9050969550505050505056fea26469706673582212209ba2c529c378744679a8a6a8025f600af85970cb953ea8e8d53f5f0e51cc4a8a64736f6c634300080a0033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c081c01e98c8c176386a493307375c0d0f65470179f5c19e86703e70a1b5745723000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000184b65776c20436c75622078207261696c616974652e726f62000000000000000000000000000000000000000000000000000000000000000000000000000000054b432d5252000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005a68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d52507657475a766b31355956354664665663376547364c71796733466a705a3759717758586f5664666e69612f7b69647d2e6a736f6e000000000000

-----Decoded View---------------
Arg [0] : _name (string): Kewl Club x railaite.rob
Arg [1] : _symbol (string): KC-RR
Arg [2] : _merkleRoot (bytes32): 0x81c01e98c8c176386a493307375c0d0f65470179f5c19e86703e70a1b5745723
Arg [3] : url (string): https://gateway.pinata.cloud/ipfs/QmRPvWGZvk15YV5FdfVc7eG6Lqyg3FjpZ7YqwXXoVdfnia/{id}.json

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 81c01e98c8c176386a493307375c0d0f65470179f5c19e86703e70a1b5745723
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000018
Arg [5] : 4b65776c20436c75622078207261696c616974652e726f620000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 4b432d5252000000000000000000000000000000000000000000000000000000
Arg [8] : 000000000000000000000000000000000000000000000000000000000000005a
Arg [9] : 68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066
Arg [10] : 732f516d52507657475a766b31355956354664665663376547364c7179673346
Arg [11] : 6a705a3759717758586f5664666e69612f7b69647d2e6a736f6e000000000000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.