ETH Price: $3,388.26 (+1.76%)

Token

1CU Pioneer Pass (PNRP)
 

Overview

Max Total Supply

3,333 PNRP

Holders

2,606

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

0x6546570e89768e4aa7fbf0ca787f682a27b2a7d4
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
PioneerPass

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 18 : PioneerPass.sol
// SPDX-License-Identifier: MIT
// Creator: @casareafer at 1TM.io

/*

         _______                   _____                    _____                    _____                    _____
        /::\    \                 /\    \                  /\    \                  /\    \                  /\    \
       /::::\    \               /::\____\                /::\    \                /::\    \                /::\____\
      /::::::\    \             /::::|   |               /::::\    \              /::::\    \              /:::/    /
     /::::::::\    \           /:::::|   |              /::::::\    \            /::::::\    \            /:::/    /
    /:::/~~\:::\    \         /::::::|   |             /:::/\:::\    \          /:::/\:::\    \          /:::/    /
   /:::/    \:::\    \       /:::/|::|   |            /:::/__\:::\    \        /:::/  \:::\    \        /:::/    /
  /:::/    / \:::\    \     /:::/ |::|   |           /::::\   \:::\    \      /:::/    \:::\    \      /:::/    /
 /:::/____/   \:::\____\   /:::/  |::|   | _____    /::::::\   \:::\    \    /:::/    / \:::\    \    /:::/    /      _____
|:::|    |     |:::|    | /:::/   |::|   |/\    \  /:::/\:::\   \:::\    \  /:::/    /   \:::\    \  /:::/____/      /\    \
|:::|____|     |:::|    |/:: /    |::|   /::\____\/:::/__\:::\   \:::\____\/:::/____/     \:::\____\|:::|    /      /::\____\
 \:::\    \   /:::/    / \::/    /|::|  /:::/    /\:::\   \:::\   \::/    /\:::\    \      \::/    /|:::|____\     /:::/    /
  \:::\    \ /:::/    /   \/____/ |::| /:::/    /  \:::\   \:::\   \/____/  \:::\    \      \/____/  \:::\    \   /:::/    /
   \:::\    /:::/    /            |::|/:::/    /    \:::\   \:::\    \       \:::\    \               \:::\    \ /:::/    /
    \:::\__/:::/    /             |::::::/    /      \:::\   \:::\____\       \:::\    \               \:::\    /:::/    /
     \::::::::/    /              |:::::/    /        \:::\   \::/    /        \:::\    \               \:::\__/:::/    /
      \::::::/    /               |::::/    /          \:::\   \/____/          \:::\    \               \::::::::/    /
       \::::/    /                /:::/    /            \:::\    \               \:::\    \               \::::::/    /
        \::/____/                /:::/    /              \:::\____\               \:::\____\               \::::/    /
         ~~                      \::/    /                \::/    /                \::/    /                \::/____/
                                  \/____/                  \/____/                  \/____/                  ~~

                                                 _______________________
                                               //   __..--~~~~--..__    \\
                                              ||___/  |  |   |  |   \ __/ |
                                              ||  /   ___________    \    |
                                              ||_/   /.......... \    |   |
                                              | |   /..........   \   |   |
                         _____________________| |  /...........    \  |   |________________
                          ;   . . .   .       |_| |...........      | |   | .''."...  ... .
                         ___   ..~.         _.' | |..........       | |   |         . ~
                          .      '     .   / \_.| |..........       | |   |\ ~.   ._..---._
                                          |. /| \ \............     / /   |/ .    /\      /\
                            '""" ... ~~~  | \|| _\ \............   / /-.__|      // ~-._./ -\
                          ..~             |  |_.~\\ \_____________/ /// '.|     /__       __.\
                          ___   ..~.      |_.~    \\_______________//   _ ~-.  ~~~~..  ~~~~~.
                                         .~ -.     \__.---.________/   ______\.
                         .''."...  ... ./\        _|      |---|  = |__ \__\===\   '""" ... ~~~
                                       /  '.  .  |_|=     |---|    | _| \======\ ___   ..~.
                           ..~        / .   \      |=     |___|    ||       __. \
                                     /           _ |_______________|   _.        \
                         .''."...  ./                /   \___    ~~  \            \  '" ..   ~~
                                   /          '' /   \      /         \           /\
                         ___   .  /     -- .   /'   __\____/       ____\___.'   --  \ ___   ..~.
                                 /            /    / \\ --  _____//          ~ - .   \
                          ..--  /_..-       ./.   /  _/   _|___  \\       .     -   _/)
                               /   ___     ./|__  / _/   (_____ / \\  .          \ ~ /   .
                           .  /___////_   /  |   / _/    (_____ \  \\       _./ ..__/
                             /___/__/_ \ /  _|  /__/ _-- (_____  \: \\_____________/      ._
                         _  /         \ /_.' | /  /       (_________/ ~~-|
                           /           //   _|/  /-              .    __ |..~. _____ -.. '  "
                         ..\==========/'   \_/ _/  __      ___..     /  \|
                             / _____  \'.______/___....------......__\__/|
                         '  |          \     |\__________________|__|___/|  ~~~~~..   - ~  '
                          ~ |        _  \   /~      \     \ --  /         \
                            | | | | | \_|  |   \     \ ~      //           |
                         _. |_| | | | .    |-----..   \       /  /-      __|..~. _____ -.. '  "
                              |_|_|_|   _. |       \_  \\ _ ./          ___|
                          ~~~  ..   - ~  ' |         \__\___/__...------   |  ~~~~~..   - ~  '
                                           |  .-         | | .       __    |
                                           |     __..    | |    ______     |      .     ~
                        ..~. _  __ -.. '   \           __| |   |      |    | _        .
                                           /             | | ~ |__.___|.   |
                                           |    __       | |   |      |    |              .. '
                          ~~~~~..   - ~  ' | ''          / \   |      |    |___     __.
                          ....   -         |  _____...   | |   \______/    |  ~~~~~..   - ~  '
                                           | /        '--| |      ~~       |
                             ~..   - ~  '  |/            | |    __----  .. |   .      .     _
                                           ||____......._| |               |
                                           |----         | |               |  ~~~~~..   - ~  '
                           '""" ... ~~~    |       -.    | |       _..     |
                                           | ..         // |               | _~"".    .
                                           |          -  \ | __----.   ..  \
                          ~~~..   - ~  '   |_____________| |_______________/
                                           \_____________| |______________/   '    ...  __  ~
                                            /     ----- \   /----------- \
                           __~~..   - ~  ' /___      ----\ /--...___      \
                                          /    ..--      | | __..     ___./  .     .   ~
                              - ~  '..    \  __________./  |_____________/  .   - ~  ' ~~~~
                          ..._____~~~~~~JRO\___________/    \___________/  -_______...._____
                        ..            ___ . ~~~~~~~~~~~. __\ ~~~~~~~~~~~~~...      _  ~
                        __    ....         ''        ...""       ....'''      -_~~~     ~~~...

*/

pragma solidity ^0.8.17;

import "./PioneerPassToken.sol";

contract PioneerPass is PioneerPassToken {
    string public name = "1CU Pioneer Pass";
    string public symbol = "PNRP";

    constructor(string memory _contractURI, address royaltyAddress) PioneerPassToken(_contractURI, royaltyAddress){}

    function mint(bytes32[] calldata _merkleProof, uint256 _passId, uint16 _amount, bool whitelisted) external payable callerIsUser {
        Library.Pass storage pass = passIdToCollectionPass[_passId];
        require(pass.passId > 0, "Invalid Pass");
        require(pass.preSale || pass.publicSale, "No active sales");
        if (whitelisted) {
            require(!PioneerPassStorage.whitelistMinted[msg.sender][_passId], "Already minted");
            require(Library.ValidatePresaleMint(pass, _amount, true, _merkleProof));
            PioneerPassStorage.whitelistMinted[msg.sender][_passId] = true;
        } else if (pass.preSale) {
            require(_passId != 1, "No pre-sale for the ark");
            require(!PioneerPassStorage.presaleMinted[msg.sender][_passId], "Already minted");
            for (uint bar = 0; bar < _passId - 1; bar++) {
                require(balanceOf(msg.sender, passIdIndex[bar]) > 0, "Does not own previous tokens");
            }
            require(Library.ValidatePresaleMint(pass, _amount, false, _merkleProof));
            PioneerPassStorage.presaleMinted[msg.sender][_passId] = true;
        } else {
            uint16 _hodls;
            if (balanceOf(msg.sender, passIdIndex[0]) > 0) {
                if (_passId > 1) {
                    for (uint bar = 0; bar < _passId - 1; bar++) {
                        if (balanceOf(msg.sender, passIdIndex[bar]) > 0) {
                            _hodls += 1;
                        }
                    }
                }
            }
            else {
                _hodls = 0;
            }
            require(Library.ValidatePublicMint(pass, _amount, _hodls));
        }
        pass.totalMinted += _amount;
        _mint(msg.sender, _passId, _amount, "");
    }

    function reservedMints(uint256 _passId, uint16 _amount) external payable onlyOwner {
        Library.Pass storage pass = passIdToCollectionPass[_passId];
        require(pass.passId > 0, "Invalid Pass");
        require(pass.maxSupply >= _amount + pass.totalMinted, "Exceeds available supply");
        pass.totalMinted += _amount;
        _mint(msg.sender, _passId, _amount, "");
    }
}

File 2 of 18 : PioneerPassToken.sol
// SPDX-License-Identifier: MIT
// Creator: @casareafer at 1TM.io

pragma solidity ^0.8.17;

import "./openzeppelin/ERC1155.sol";
import "./openzeppelin/Ownable.sol";
import "./PioneerPassLibrary.sol";
import "./PioneerPassStorage.sol";
import "./PioneerPassUtils.sol";
import "./ContractURI.sol";
import "./Staking.sol";

contract PioneerPassToken is ERC1155, Ownable, PioneerPassStorage, ContractURI, Stacking, PioneerPassUtils {
    address private royaltiesTeamWallet;
    mapping(uint256 => bool) private transfersLock;

    constructor(string memory _contractURI, address _royaltyAddress){
        _setContractURI(_contractURI);
        royaltiesTeamWallet = _royaltyAddress;
    }

    /**
    *   Pause control
    */

    function setTransfersLock(uint256 _passId, bool _value) external onlyOwner {
        transfersLock[_passId] = _value;
    }

    /**
    *   Royalties - EIP2981
    */

    function royaltyInfo(uint256 _passId, uint256 _salePrice) external view
    returns (address receiver, uint256 royaltyAmount)
    {
        if (_passId == 1) {
            return (royaltiesTeamWallet, _salePrice * 80 / 1000);
        } else
        {
            return (royaltiesTeamWallet, _salePrice * 50 / 1000);
        }
    }

    function setRoyaltyAddress(address _teamWallet) external onlyOwner {
        royaltiesTeamWallet = _teamWallet;
    }

    /**
    *   Burn implementation
    */

    function burn(
        address from,
        uint id,
        uint256 amount
    ) external {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not token owner nor approved"
        );
        _burn(from, id, amount);
    }

    /**
    *   Token & Contract metadata
    */

    function setContractURI(string memory _contractURI) external onlyOwner {
        _setContractURI(_contractURI);
    }

    function setUri(uint256 _tokenId, string memory _tokenURI) external onlyOwner {
        _tokenURIs[_tokenId] = _tokenURI;
    }

    function uri(uint256 _passId)
    external
    view
    override
    returns (string memory)
    {
        require(passIdToCollectionPass[_passId].passId != 0, "Invalid pass");
        return string(
            abi.encodePacked(_baseURI, _tokenURIs[_passId])
        );
    }

    /**
    *   Withdraw
    */

    function withdraw() external onlyOwner {
        payable(owner()).transfer(address(this).balance);
    }

    /**
    *   Stacking & Transfers lock require these overrides
    */

    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal override(ERC1155) {
        for (uint bar = 0; bar < ids.length; bar++) {
            require(!transfersLock[ids[bar]], "Transfers locked");
        }
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);
    }

    function _afterTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal override(ERC1155) {
        super._afterTokenTransfer(operator, from, to, ids, amounts, data);
        Stacking.stakeTransfer(ids, amounts, to, from);
    }
}

File 3 of 18 : PioneerPassStorage.sol
// SPDX-License-Identifier: MIT
// Creator: @casareafer at 1TM.io

pragma solidity ^0.8.17;

import "./openzeppelin/Ownable.sol";
import "./PioneerPassLibrary.sol";

contract PioneerPassStorage is Ownable {
    mapping(address => mapping(uint256 => bool)) internal presaleMinted;
    mapping(address => mapping(uint256 => bool)) internal whitelistMinted;
    mapping(uint256 => Library.Pass) internal passIdToCollectionPass;
    uint256[] internal passIdIndex;

    /**
    *   Retrieve a PioneerPass details
    */

    function getPioneerPassDetails(uint256 _passId) external view returns (Library.Pass memory){
        require(passIdToCollectionPass[_passId].passId != 0, "Invalid Pass");
        return passIdToCollectionPass[_passId];
    }

    /**
    *   Utils - Checks if the wallet address already minted
    */

    function getMinted(uint256 _passId, address _account) external view returns (bool presale, bool whitelist) {
        return (presaleMinted[_account][_passId], whitelistMinted[_account][_passId]);
    }

    /**
    *   Adds a new type of Pioneer Pass
    */

    function addPass(
        uint256 _passId,
        uint16 _maxSupply,
        uint8 _maxMint,
        uint24 _stakingPoints,
        bytes32 _whitelistMerkleRoot,
        uint256 _mintPrice,
        uint256 _whitelistPrice,
        uint256 _hodlersPrice
    ) external onlyOwner {
        require(_passId != 0, "Invalid Id");
        require(passIdToCollectionPass[_passId].passId != _passId, "Pass ID duplicate");
        Library.Pass memory pass = Library.Pass(
            false,
            false,
            _maxSupply,
            0,
            _maxMint,
            _stakingPoints,
            _whitelistMerkleRoot,
            _passId,
            _mintPrice,
            _whitelistPrice,
            _hodlersPrice
        );
        passIdToCollectionPass[_passId] = pass;
        passIdIndex.push(_passId);
    }

    /**
    *   Utils - Modify PioneerPass types
    */

    function updatePass(
        uint256 _passId,
        uint8 _maxMint,
        uint16 _maxSupply,
        uint16 _stackingPoints,
        bytes32 _merkleRoot,
        uint256 _mintPrice,
        uint256 _whitelistPrice,
        uint256 _hodlersPrice
    ) external onlyOwner {
        passIdToCollectionPass[_passId].maxSupply = _maxSupply;
        passIdToCollectionPass[_passId].stakingPoints = _stackingPoints;
        passIdToCollectionPass[_passId].maxMint = _maxMint;
        passIdToCollectionPass[_passId].whitelistMerkleRoot = _merkleRoot;
        passIdToCollectionPass[_passId].mintPrice = _mintPrice;
        passIdToCollectionPass[_passId].whitelistPrice = _whitelistPrice;
        passIdToCollectionPass[_passId].hodlersPrice = _hodlersPrice;
    }

    function setSaleStatus(uint256 _passId, bool _presale, bool _publicSale) external onlyOwner {
        passIdToCollectionPass[_passId].publicSale = _publicSale;
        passIdToCollectionPass[_passId].preSale = _presale;
    }
}

File 4 of 18 : PioneerPassUtils.sol
// SPDX-License-Identifier: MIT
// Creator: @casareafer at 1TM.io

pragma solidity ^0.8.17;

contract PioneerPassUtils {
    modifier callerIsUser() {
        require(tx.origin == msg.sender, "The caller is another contract");
        _;
    }
}

File 5 of 18 : PioneerPassLibrary.sol
// SPDX-License-Identifier: MIT
// Creator: @casareafer at 1TM.io

pragma solidity ^0.8.17;

import "./openzeppelin/MerkleProof.sol";

library Library {
    struct Pass {
        bool publicSale;
        bool preSale;
        uint16 maxSupply;
        uint16 totalMinted;
        uint8 maxMint;
        uint24 stakingPoints;
        bytes32 whitelistMerkleRoot;
        uint256 passId;
        uint256 mintPrice;
        uint256 whitelistPrice;
        uint256 hodlersPrice;
    }

    /**
    *   Public sale validation
    *   Mint price -> For anyone in the public sale
    *   Mint price with discount -> If you hold the ark, you get starting 3% + 3% per held token-type
    */

    function ValidatePublicMint(
        Pass memory pass,
        uint16 _amount,
        uint16 _hodls
    ) public view returns (bool){
        require(pass.maxSupply >= (_amount + pass.totalMinted), "Exceeds available supply");
        require(msg.value >= ((pass.mintPrice) - ((pass.mintPrice * (_hodls * 30)) / 1000)) * _amount, "Invalid tx amount");
        require(_amount <= pass.maxMint, "Too many mints");
        return true;
    }

    /**
    *   Presale validation
    *   Hodlers price -> For holders of all preceding moments
    *   Whitelist price -> For people in the whitelist
    */

    function ValidatePresaleMint(
        Pass memory pass,
        uint16 _amount,
        bool _whitelisted,
        bytes32[] calldata merkleProof
    ) public view returns (bool){
        require(pass.maxSupply >= (_amount + pass.totalMinted), "Exceeds available supply");
        require(_amount <= pass.maxMint, "Too many mints");
        if (_whitelisted) {
            require(MerkleProof.verify(
                    merkleProof, pass.whitelistMerkleRoot, keccak256(abi.encodePacked(msg.sender))
                ), "Invalid proof");
            require(msg.value == pass.whitelistPrice * _amount, "Invalid tx amount");
        } else {
            require(msg.value == pass.hodlersPrice * _amount, "Invalid tx amount");
        }
        return true;
    }
}

File 6 of 18 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.17;

import "./Context.sol";

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

File 7 of 18 : Staking.sol
// SPDX-License-Identifier: MIT
// Creator: @casareafer at 1TM.io

pragma solidity ^0.8.17;

import "./openzeppelin/Ownable.sol";
import "./PioneerPassLibrary.sol";

contract Stacking is Ownable {

    /**
    *   Stores the time when the staking for a token type starts - block.timestamp
    */

    mapping(uint256 => uint256) private StackingTimer;

    /**
    *   Stores whenever the Staking timer already started - It starts once after the first mint of a pass
    */

    mapping(uint256 => bool) private BoOoOmBaby;

    /**
    *   Stores a Timestamp per owned token type in an address
    */

    mapping(address => mapping(uint256 => uint256[])) private lastBoughtTimestamp;

    /**
    *   Staking Point x (Days holding / Total days from the presale)
    *
    *   NOTE: SELLING YOUR TOKENS ERASE YOUR HOLDING TIME >:)
    *
    *   MORE NOTES: SELLING YOUR TOKENS WILL ERASE YOUR HOLDING TIME STARTING FROM THE
    *   LATEST BOUGHT TOKEN ;)
    */

    function stakeTransfer(uint256[] memory _passId, uint256[] memory _amount, address _to, address _from) internal {
        if (_from != address(0)) {
            for (uint foo = 0; foo < _passId.length; foo++) {
                for (uint bar = 0; bar < _amount[foo]; bar++) {
                    lastBoughtTimestamp[_to][_passId[foo]].push(block.timestamp);
                    lastBoughtTimestamp[_from][_passId[foo]].pop();
                }
            }
        } else if (_to == address(0)) {
                for (uint bar = 0; bar < _amount[0]; bar++) {
                    lastBoughtTimestamp[_from][_passId[0]].pop();
                }
        } else {
            if (BoOoOmBaby[_passId[0]] != true) {
                BoOoOmBaby[_passId[0]] = true;
                StackingTimer[_passId[0]] = block.timestamp;
            }
            for (uint i = 0; i < _amount[0]; i++) {
                lastBoughtTimestamp[_to][_passId[0]].push(block.timestamp);
            }
        }
    }

    /**
    *   Get Stacking info
    */

    function getStakingTimer(uint256 _passId) external view returns (uint256){
        return StackingTimer[_passId];
    }

    function getStakes(uint256 _passId, address _user) external view returns (uint256[] memory){
        return lastBoughtTimestamp[_user][_passId];
    }

}

File 8 of 18 : ContractURI.sol
// SPDX-License-Identifier: MIT
// Creator: @casareafer at 1TM.io
pragma solidity ^0.8.17;

contract ContractURI {
    string internal contractURI_ = "";

    function _setContractURI(string memory _contractURI) internal {
        contractURI_ = _contractURI;
    }

    function contractURI() external view returns (string memory) {
        return contractURI_;
    }
}

File 9 of 18 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.17;

import "./ERC1155URIStorage.sol";
import "./interfaces/IERC1155Receiver.sol";
import "./Address.sol";
import "./Context.sol";
import "./ERC165.sol";

abstract contract ERC1155 is Context, ERC165, ERC1155URIStorage {
    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;

    /**
    *   Uri override
    */

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

    /**
     * @dev See {IERC1155-balanceOf}.
     *  Passing the 0 address will return the amount of burnt tokens
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        return _balances[id][account];
    }

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

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

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not token 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: caller is not token 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();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, from, to, ids, amounts, 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);

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

        _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);

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

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

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

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

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

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

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

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

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

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

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

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

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

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

        address operator = _msgSender();

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

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

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

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

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `ids` and `amounts` 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 {}

    /**
     * @dev Hook that is called after 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 _afterTokenTransfer(
        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 10 of 18 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.17;

/**
 * @dev These functions deal with verification of Merkle Tree 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.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
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) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

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

pragma solidity ^0.8.17;

/**
 * @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 12 of 18 : ERC1155URIStorage.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts

pragma solidity ^0.8.17;

import "./ERC1155.sol";

contract ERC1155URIStorage {
    string internal _baseURI = "ipfs:/";
    mapping(uint256 => string) internal _tokenURIs;
}

File 13 of 18 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.17;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

pragma solidity ^0.8.17;

import "./interfaces/IERC165.sol";
import "./interfaces/IERC1155.sol";
import "./interfaces/IERC1155MetadataURI.sol";


abstract contract ERC165 is IERC165, IERC1155, IERC1155MetadataURI {
    mapping(bytes4 => bool) private interfaces;
    bytes4 private constant INTERFACE_ID_ERC2981 = 0x2a55205a;

    constructor () {
        /**
        *   I guess I will just register everything here, to keep it simple
        */
        registerInterface(type(IERC165).interfaceId);
        registerInterface(type(IERC1155).interfaceId);
        registerInterface(type(IERC1155MetadataURI).interfaceId);
        registerInterface(INTERFACE_ID_ERC2981);
    }

    function registerInterface(bytes4 interfaceId) private {
        interfaces[interfaceId] = true;
    }

    function supportsInterface(bytes4 interfaceId) external view returns (bool) {
        return interfaces[interfaceId];
    }
}

File 15 of 18 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.17;

import "./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.
     *
     * NOTE: 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.
     *
     * NOTE: 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 16 of 18 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.17;

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

File 17 of 18 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.17;

import "./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 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 18 of 18 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.17;

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

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {
    "contracts/PioneerPass/PioneerPassLibrary.sol": {
      "Library": "0x53707a16bcd126734f86053903bc00512efcef47"
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_contractURI","type":"string"},{"internalType":"address","name":"royaltyAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":[{"internalType":"uint256","name":"_passId","type":"uint256"},{"internalType":"uint16","name":"_maxSupply","type":"uint16"},{"internalType":"uint8","name":"_maxMint","type":"uint8"},{"internalType":"uint24","name":"_stakingPoints","type":"uint24"},{"internalType":"bytes32","name":"_whitelistMerkleRoot","type":"bytes32"},{"internalType":"uint256","name":"_mintPrice","type":"uint256"},{"internalType":"uint256","name":"_whitelistPrice","type":"uint256"},{"internalType":"uint256","name":"_hodlersPrice","type":"uint256"}],"name":"addPass","outputs":[],"stateMutability":"nonpayable","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":"from","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_passId","type":"uint256"},{"internalType":"address","name":"_account","type":"address"}],"name":"getMinted","outputs":[{"internalType":"bool","name":"presale","type":"bool"},{"internalType":"bool","name":"whitelist","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_passId","type":"uint256"}],"name":"getPioneerPassDetails","outputs":[{"components":[{"internalType":"bool","name":"publicSale","type":"bool"},{"internalType":"bool","name":"preSale","type":"bool"},{"internalType":"uint16","name":"maxSupply","type":"uint16"},{"internalType":"uint16","name":"totalMinted","type":"uint16"},{"internalType":"uint8","name":"maxMint","type":"uint8"},{"internalType":"uint24","name":"stakingPoints","type":"uint24"},{"internalType":"bytes32","name":"whitelistMerkleRoot","type":"bytes32"},{"internalType":"uint256","name":"passId","type":"uint256"},{"internalType":"uint256","name":"mintPrice","type":"uint256"},{"internalType":"uint256","name":"whitelistPrice","type":"uint256"},{"internalType":"uint256","name":"hodlersPrice","type":"uint256"}],"internalType":"struct Library.Pass","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_passId","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"getStakes","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_passId","type":"uint256"}],"name":"getStakingTimer","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":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"_passId","type":"uint256"},{"internalType":"uint16","name":"_amount","type":"uint16"},{"internalType":"bool","name":"whitelisted","type":"bool"}],"name":"mint","outputs":[],"stateMutability":"payable","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":[{"internalType":"uint256","name":"_passId","type":"uint256"},{"internalType":"uint16","name":"_amount","type":"uint16"}],"name":"reservedMints","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_passId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_contractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_teamWallet","type":"address"}],"name":"setRoyaltyAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_passId","type":"uint256"},{"internalType":"bool","name":"_presale","type":"bool"},{"internalType":"bool","name":"_publicSale","type":"bool"}],"name":"setSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_passId","type":"uint256"},{"internalType":"bool","name":"_value","type":"bool"}],"name":"setTransfersLock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_tokenURI","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":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_passId","type":"uint256"},{"internalType":"uint8","name":"_maxMint","type":"uint8"},{"internalType":"uint16","name":"_maxSupply","type":"uint16"},{"internalType":"uint16","name":"_stackingPoints","type":"uint16"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"uint256","name":"_mintPrice","type":"uint256"},{"internalType":"uint256","name":"_whitelistPrice","type":"uint256"},{"internalType":"uint256","name":"_hodlersPrice","type":"uint256"}],"name":"updatePass","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_passId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526040518060400160405280600681526020017f697066733a2f0000000000000000000000000000000000000000000000000000815250600190816200004a91906200061f565b5060405180602001604052806000815250600a90816200006b91906200061f565b506040518060400160405280601081526020017f3143552050696f6e65657220506173730000000000000000000000000000000081525060109081620000b291906200061f565b506040518060400160405280600481526020017f504e52500000000000000000000000000000000000000000000000000000000081525060119081620000f991906200061f565b503480156200010757600080fd5b50604051620068593803806200685983398181016040528101906200012d9190620008cf565b8181620001607f01ffc9a7000000000000000000000000000000000000000000000000000000006200025660201b60201c565b620001917fd9b67a26000000000000000000000000000000000000000000000000000000006200025660201b60201c565b620001c27f0e89341c000000000000000000000000000000000000000000000000000000006200025660201b60201c565b620001da632a55205a60e01b6200025660201b60201c565b620001fa620001ee620002c260201b60201c565b620002ca60201b60201c565b6200020b826200039060201b60201c565b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505062000935565b6001600080837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80600a9081620003a191906200061f565b5050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200042757607f821691505b6020821081036200043d576200043c620003df565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620004a77fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000468565b620004b3868362000468565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000500620004fa620004f484620004cb565b620004d5565b620004cb565b9050919050565b6000819050919050565b6200051c83620004df565b620005346200052b8262000507565b84845462000475565b825550505050565b600090565b6200054b6200053c565b6200055881848462000511565b505050565b5b8181101562000580576200057460008262000541565b6001810190506200055e565b5050565b601f821115620005cf57620005998162000443565b620005a48462000458565b81016020851015620005b4578190505b620005cc620005c38562000458565b8301826200055d565b50505b505050565b600082821c905092915050565b6000620005f460001984600802620005d4565b1980831691505092915050565b60006200060f8383620005e1565b9150826002028217905092915050565b6200062a82620003a5565b67ffffffffffffffff811115620006465762000645620003b0565b5b6200065282546200040e565b6200065f82828562000584565b600060209050601f83116001811462000697576000841562000682578287015190505b6200068e858262000601565b865550620006fe565b601f198416620006a78662000443565b60005b82811015620006d157848901518255600182019150602085019450602081019050620006aa565b86831015620006f15784890151620006ed601f891682620005e1565b8355505b6001600288020188555050505b505050505050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b620007408262000724565b810181811067ffffffffffffffff82111715620007625762000761620003b0565b5b80604052505050565b60006200077762000706565b905062000785828262000735565b919050565b600067ffffffffffffffff821115620007a857620007a7620003b0565b5b620007b38262000724565b9050602081019050919050565b60005b83811015620007e0578082015181840152602081019050620007c3565b60008484015250505050565b600062000803620007fd846200078a565b6200076b565b9050828152602081018484840111156200082257620008216200071f565b5b6200082f848285620007c0565b509392505050565b600082601f8301126200084f576200084e6200071a565b5b815162000861848260208601620007ec565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000897826200086a565b9050919050565b620008a9816200088a565b8114620008b557600080fd5b50565b600081519050620008c9816200089e565b92915050565b60008060408385031215620008e957620008e862000710565b5b600083015167ffffffffffffffff8111156200090a576200090962000715565b5b620009188582860162000837565b92505060206200092b85828601620008b8565b9150509250929050565b615f1480620009456000396000f3fe6080604052600436106101c15760003560e01c80636575def1116100f7578063c80d89ab11610095578063ec6e2c5f11610064578063ec6e2c5f14610659578063f242432a14610696578063f2fde38b146106bf578063f5298aca146106e8576101c1565b8063c80d89ab146105ac578063d71c9579146105c8578063e8a3d485146105f1578063e985e9c51461061c576101c1565b80638da5cb5b116100d15780638da5cb5b14610504578063938e3d7b1461052f57806395d89b4114610558578063a22cb46514610583576101c1565b80636575def114610474578063782f08ae1461049d57806379305b31146104c6576101c1565b806315d9a5e8116101645780632eb2c2d61161013e5780632eb2c2d6146103ce5780633ccfd60b146103f75780634e1273f41461040e578063613221621461044b576101c1565b806315d9a5e81461034b57806318e7d27e146103745780632a55205a14610390576101c1565b806306fdde03116101a057806306fdde03146102695780630b45619d146102945780630cd0664f146102d15780630e89341c1461030e576101c1565b8062fdd58e146101c657806301ffc9a71461020357806306d254da14610240575b600080fd5b3480156101d257600080fd5b506101ed60048036038101906101e8919061363b565b610711565b6040516101fa919061368a565b60405180910390f35b34801561020f57600080fd5b5061022a600480360381019061022591906136fd565b61076c565b6040516102379190613745565b60405180910390f35b34801561024c57600080fd5b5061026760048036038101906102629190613760565b6107d3565b005b34801561027557600080fd5b5061027e61081f565b60405161028b919061381d565b60405180910390f35b3480156102a057600080fd5b506102bb60048036038101906102b6919061383f565b6108ad565b6040516102c891906139db565b60405180910390f35b3480156102dd57600080fd5b506102f860048036038101906102f391906139f7565b610a1c565b6040516103059190613ae6565b60405180910390f35b34801561031a57600080fd5b506103356004803603810190610330919061383f565b610ac5565b604051610342919061381d565b60405180910390f35b34801561035757600080fd5b50610372600480360381019061036d9190613b34565b610b5c565b005b61038e60048036038101906103899190613ba0565b610b93565b005b34801561039c57600080fd5b506103b760048036038101906103b29190613be0565b610cd2565b6040516103c5929190613c2f565b60405180910390f35b3480156103da57600080fd5b506103f560048036038101906103f09190613e55565b610d6c565b005b34801561040357600080fd5b5061040c610e0d565b005b34801561041a57600080fd5b5061043560048036038101906104309190613fe7565b610e65565b6040516104429190613ae6565b60405180910390f35b34801561045757600080fd5b50610472600480360381019061046d91906140e3565b610f7e565b005b34801561048057600080fd5b5061049b60048036038101906104969190614199565b6111d4565b005b3480156104a957600080fd5b506104c460048036038101906104bf91906142f0565b6112e9565b005b3480156104d257600080fd5b506104ed60048036038101906104e891906139f7565b611316565b6040516104fb92919061434c565b60405180910390f35b34801561051057600080fd5b506105196113e0565b6040516105269190614375565b60405180910390f35b34801561053b57600080fd5b5061055660048036038101906105519190614390565b61140a565b005b34801561056457600080fd5b5061056d61141e565b60405161057a919061381d565b60405180910390f35b34801561058f57600080fd5b506105aa60048036038101906105a591906143d9565b6114ac565b005b6105c660048036038101906105c19190614474565b6114c2565b005b3480156105d457600080fd5b506105ef60048036038101906105ea91906144fc565b611bb4565b005b3480156105fd57600080fd5b50610606611c1d565b604051610613919061381d565b60405180910390f35b34801561062857600080fd5b50610643600480360381019061063e919061454f565b611caf565b6040516106509190613745565b60405180910390f35b34801561066557600080fd5b50610680600480360381019061067b919061383f565b611d43565b60405161068d919061368a565b60405180910390f35b3480156106a257600080fd5b506106bd60048036038101906106b8919061458f565b611d60565b005b3480156106cb57600080fd5b506106e660048036038101906106e19190613760565b611e01565b005b3480156106f457600080fd5b5061070f600480360381019061070a9190614626565b611e84565b005b60006003600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b6107db611f21565b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6010805461082c906146a8565b80601f0160208091040260200160405190810160405280929190818152602001828054610858906146a8565b80156108a55780601f1061087a576101008083540402835291602001916108a5565b820191906000526020600020905b81548152906001019060200180831161088857829003601f168201915b505050505081565b6108b5613522565b600060086000848152602001908152602001600020600201540361090e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090590614725565b60405180910390fd5b60086000838152602001908152602001600020604051806101600160405290816000820160009054906101000a900460ff161515151581526020016000820160019054906101000a900460ff161515151581526020016000820160029054906101000a900461ffff1661ffff1661ffff1681526020016000820160049054906101000a900461ffff1661ffff1661ffff1681526020016000820160069054906101000a900460ff1660ff1660ff1681526020016000820160079054906101000a900462ffffff1662ffffff1662ffffff168152602001600182015481526020016002820154815260200160038201548152602001600482015481526020016005820154815250509050919050565b6060600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000848152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015610ab857602002820191906000526020600020905b815481526020019060010190808311610aa4575b5050505050905092915050565b60606000600860008481526020019081526020016000206002015403610b20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1790614791565b60405180910390fd5b600160026000848152602001908152602001600020604051602001610b46929190614854565b6040516020818303038152906040529050919050565b610b64611f21565b80600f600084815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b610b9b611f21565b60006008600084815260200190815260200160002090506000816002015411610bf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf090614725565b60405180910390fd5b8060000160049054906101000a900461ffff1682610c1791906148a7565b61ffff168160000160029054906101000a900461ffff1661ffff161015610c73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6a90614929565b60405180910390fd5b818160000160048282829054906101000a900461ffff16610c9491906148a7565b92506101000a81548161ffff021916908361ffff160217905550610ccd33848461ffff1660405180602001604052806000815250611f9f565b505050565b60008060018403610d2357600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166103e8605085610d109190614949565b610d1a91906149ba565b91509150610d65565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166103e8603285610d569190614949565b610d6091906149ba565b915091505b9250929050565b610d74612150565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610dba5750610db985610db4612150565b611caf565b5b610df9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df090614a5d565b60405180910390fd5b610e068585858585612158565b5050505050565b610e15611f21565b610e1d6113e0565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610e62573d6000803e3d6000fd5b50565b60608151835114610eab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea290614aef565b60405180910390fd5b6000835167ffffffffffffffff811115610ec857610ec7613c5d565b5b604051908082528060200260200182016040528015610ef65781602001602082028036833780820191505090505b50905060005b8451811015610f7357610f43858281518110610f1b57610f1a614b0f565b5b6020026020010151858381518110610f3657610f35614b0f565b5b6020026020010151610711565b828281518110610f5657610f55614b0f565b5b60200260200101818152505080610f6c90614b3e565b9050610efc565b508091505092915050565b610f86611f21565b60008803610fc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc090614bd2565b60405180910390fd5b87600860008a81526020019081526020016000206002015403611021576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101890614c3e565b60405180910390fd5b60006040518061016001604052806000151581526020016000151581526020018961ffff168152602001600061ffff1681526020018860ff1681526020018762ffffff1681526020018681526020018a815260200185815260200184815260200183815250905080600860008b815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548160ff02191690831515021790555060408201518160000160026101000a81548161ffff021916908361ffff16021790555060608201518160000160046101000a81548161ffff021916908361ffff16021790555060808201518160000160066101000a81548160ff021916908360ff16021790555060a08201518160000160076101000a81548162ffffff021916908362ffffff16021790555060c0820151816001015560e082015181600201556101008201518160030155610120820151816004015561014082015181600501559050506009899080600181540180825580915050600190039060005260206000200160009091909190915055505050505050505050565b6111dc611f21565b85600860008a815260200190815260200160002060000160026101000a81548161ffff021916908361ffff1602179055508461ffff16600860008a815260200190815260200160002060000160076101000a81548162ffffff021916908362ffffff16021790555086600860008a815260200190815260200160002060000160066101000a81548160ff021916908360ff16021790555083600860008a81526020019081526020016000206001018190555082600860008a81526020019081526020016000206003018190555081600860008a81526020019081526020016000206004018190555080600860008a8152602001908152602001600020600501819055505050505050505050565b6112f1611f21565b806002600084815260200190815260200160002090816113119190614df5565b505050565b600080600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085815260200190815260200160002060009054906101000a900460ff16600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600086815260200190815260200160002060009054906101000a900460ff16915091509250929050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611412611f21565b61141b8161247c565b50565b6011805461142b906146a8565b80601f0160208091040260200160405190810160405280929190818152602001828054611457906146a8565b80156114a45780601f10611479576101008083540402835291602001916114a4565b820191906000526020600020905b81548152906001019060200180831161148757829003601f168201915b505050505081565b6114be6114b7612150565b838361248f565b5050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611530576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152790614f13565b60405180910390fd5b6000600860008581526020019081526020016000209050600081600201541161158e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158590614725565b60405180910390fd5b8060000160019054906101000a900460ff16806115b957508060000160009054906101000a900460ff165b6115f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ef90614f7f565b60405180910390fd5b811561179457600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085815260200190815260200160002060009054906101000a900460ff161561169c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169390614feb565b60405180910390fd5b7353707a16bcd126734f86053903bc00512efcef4763deb228bb828560018a8a6040518663ffffffff1660e01b81526004016116dc95949392919061539d565b602060405180830381865af41580156116f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061171d9190615404565b61172657600080fd5b6001600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600086815260200190815260200160002060006101000a81548160ff021916908315150217905550611b52565b8060000160019054906101000a900460ff1615611a1957600184036117ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e59061547d565b60405180910390fd5b600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085815260200190815260200160002060009054906101000a900460ff161561188c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188390614feb565b60405180910390fd5b60005b60018561189c919061549d565b8110156119205760006118cd33600984815481106118bd576118bc614b0f565b5b9060005260206000200154610711565b1161190d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119049061551d565b60405180910390fd5b808061191890614b3e565b91505061188f565b507353707a16bcd126734f86053903bc00512efcef4763deb228bb828560008a8a6040518663ffffffff1660e01b815260040161196195949392919061539d565b602060405180830381865af415801561197e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119a29190615404565b6119ab57600080fd5b6001600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600086815260200190815260200160002060006101000a81548160ff021916908315150217905550611b51565b600080611a45336009600081548110611a3557611a34614b0f565b5b9060005260206000200154610711565b1115611ac5576001851115611ac05760005b600186611a64919061549d565b811015611abe576000611a953360098481548110611a8557611a84614b0f565b5b9060005260206000200154610711565b1115611aab57600182611aa891906148a7565b91505b8080611ab690614b3e565b915050611a57565b505b611aca565b600090505b7353707a16bcd126734f86053903bc00512efcef4763d46cfde68386846040518463ffffffff1660e01b8152600401611b059392919061553d565b602060405180830381865af4158015611b22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b469190615404565b611b4f57600080fd5b505b5b828160000160048282829054906101000a900461ffff16611b7391906148a7565b92506101000a81548161ffff021916908361ffff160217905550611bac33858561ffff1660405180602001604052806000815250611f9f565b505050505050565b611bbc611f21565b806008600085815260200190815260200160002060000160006101000a81548160ff021916908315150217905550816008600085815260200190815260200160002060000160016101000a81548160ff021916908315150217905550505050565b6060600a8054611c2c906146a8565b80601f0160208091040260200160405190810160405280929190818152602001828054611c58906146a8565b8015611ca55780601f10611c7a57610100808354040283529160200191611ca5565b820191906000526020600020905b815481529060010190602001808311611c8857829003601f168201915b5050505050905090565b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000600b6000838152602001908152602001600020549050919050565b611d68612150565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611dae5750611dad85611da8612150565b611caf565b5b611ded576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de490614a5d565b60405180910390fd5b611dfa85858585856125fb565b5050505050565b611e09611f21565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611e78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6f906155e9565b60405180910390fd5b611e8181612899565b50565b611e8c612150565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480611ed25750611ed183611ecc612150565b611caf565b5b611f11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0890614a5d565b60405180910390fd5b611f1c83838361295f565b505050565b611f29612150565b73ffffffffffffffffffffffffffffffffffffffff16611f476113e0565b73ffffffffffffffffffffffffffffffffffffffff1614611f9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9490615655565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361200e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612005906156e7565b60405180910390fd5b6000612018612150565b9050600061202585612ba7565b9050600061203285612ba7565b905061204383600089858589612c21565b846003600088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120a39190615707565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62898960405161212192919061573b565b60405180910390a461213883600089858589612cd2565b61214783600089898989612cf4565b50505050505050565b600033905090565b815183511461219c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612193906157d6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361220b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220290615868565b60405180910390fd5b6000612215612150565b9050612225818787878787612c21565b60005b84518110156123d957600085828151811061224657612245614b0f565b5b60200260200101519050600085838151811061226557612264614b0f565b5b6020026020010151905060006003600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612307576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122fe906158fa565b60405180910390fd5b8181036003600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816003600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123be9190615707565b92505081905550505050806123d290614b3e565b9050612228565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161245092919061591a565b60405180910390a4612466818787878787612cd2565b612474818787878787612ecb565b505050505050565b80600a908161248b9190614df5565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036124fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f4906159c3565b60405180910390fd5b80600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125ee9190613745565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361266a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266190615868565b60405180910390fd5b6000612674612150565b9050600061268185612ba7565b9050600061268e85612ba7565b905061269e838989858589612c21565b60006003600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015612736576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272d906158fa565b60405180910390fd5b8581036003600089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550856003600089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127ed9190615707565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a60405161286a92919061573b565b60405180910390a4612880848a8a86868a612cd2565b61288e848a8a8a8a8a612cf4565b505050505050505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036129ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129c590615a55565b60405180910390fd5b60006129d8612150565b905060006129e584612ba7565b905060006129f284612ba7565b9050612a1283876000858560405180602001604052806000815250612c21565b60006003600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905084811015612aaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aa190615ae7565b60405180910390fd5b8481036003600088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051612b7892919061573b565b60405180910390a4612b9e84886000868660405180602001604052806000815250612cd2565b50505050505050565b60606000600167ffffffffffffffff811115612bc657612bc5613c5d565b5b604051908082528060200260200182016040528015612bf45781602001602082028036833780820191505090505b5090508281600081518110612c0c57612c0b614b0f565b5b60200260200101818152505080915050919050565b60005b8351811015612cbb57600f6000858381518110612c4457612c43614b0f565b5b6020026020010151815260200190815260200160002060009054906101000a900460ff1615612ca8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c9f90615b53565b60405180910390fd5b8080612cb390614b3e565b915050612c24565b50612cca8686868686866130a2565b505050505050565b612ce08686868686866130aa565b612cec838386886130b2565b505050505050565b612d138473ffffffffffffffffffffffffffffffffffffffff166134ff565b15612ec3578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612d59959493929190615bc8565b6020604051808303816000875af1925050508015612d9557506040513d601f19601f82011682018060405250810190612d929190615c37565b60015b612e3a57612da1615c71565b806308c379a003612dfd5750612db5615c93565b80612dc05750612dff565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612df4919061381d565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3190615d95565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612ec1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eb890615e27565b60405180910390fd5b505b505050505050565b612eea8473ffffffffffffffffffffffffffffffffffffffff166134ff565b1561309a578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612f30959493929190615e47565b6020604051808303816000875af1925050508015612f6c57506040513d601f19601f82011682018060405250810190612f699190615c37565b60015b61301157612f78615c71565b806308c379a003612fd45750612f8c615c93565b80612f975750612fd6565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fcb919061381d565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161300890615d95565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613098576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161308f90615e27565b60405180910390fd5b505b505050505050565b505050505050565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146132655760005b845181101561325f5760005b84828151811061310857613107614b0f565b5b602002602001015181101561324b57600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600087848151811061316b5761316a614b0f565b5b60200260200101518152602001908152602001600020429080600181540180825580915050600190039060005260206000200160009091909190915055600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008784815181106131fc576131fb614b0f565b5b6020026020010151815260200190815260200160002080548061322257613221615eaf565b5b60019003818190600052602060002001600090559055808061324390614b3e565b9150506130f5565b50808061325790614b3e565b9150506130e9565b506134f9565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036133695760005b836000815181106132b0576132af614b0f565b5b602002602001015181101561336357600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008660008151811061331457613313614b0f565b5b6020026020010151815260200190815260200160002080548061333a57613339615eaf565b5b60019003818190600052602060002001600090559055808061335b90614b3e565b91505061329c565b506134f8565b60011515600c60008660008151811061338557613384614b0f565b5b6020026020010151815260200190815260200160002060009054906101000a900460ff1615151461342b576001600c6000866000815181106133ca576133c9614b0f565b5b6020026020010151815260200190815260200160002060006101000a81548160ff02191690831515021790555042600b6000866000815181106134105761340f614b0f565b5b60200260200101518152602001908152602001600020819055505b60005b8360008151811061344257613441614b0f565b5b60200260200101518110156134f657600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000866000815181106134a6576134a5614b0f565b5b6020026020010151815260200190815260200160002042908060018154018082558091505060019003906000526020600020016000909190919091505580806134ee90614b3e565b91505061342e565b505b5b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b604051806101600160405280600015158152602001600015158152602001600061ffff168152602001600061ffff168152602001600060ff168152602001600062ffffff16815260200160008019168152602001600081526020016000815260200160008152602001600081525090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006135d2826135a7565b9050919050565b6135e2816135c7565b81146135ed57600080fd5b50565b6000813590506135ff816135d9565b92915050565b6000819050919050565b61361881613605565b811461362357600080fd5b50565b6000813590506136358161360f565b92915050565b600080604083850312156136525761365161359d565b5b6000613660858286016135f0565b925050602061367185828601613626565b9150509250929050565b61368481613605565b82525050565b600060208201905061369f600083018461367b565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6136da816136a5565b81146136e557600080fd5b50565b6000813590506136f7816136d1565b92915050565b6000602082840312156137135761371261359d565b5b6000613721848285016136e8565b91505092915050565b60008115159050919050565b61373f8161372a565b82525050565b600060208201905061375a6000830184613736565b92915050565b6000602082840312156137765761377561359d565b5b6000613784848285016135f0565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156137c75780820151818401526020810190506137ac565b60008484015250505050565b6000601f19601f8301169050919050565b60006137ef8261378d565b6137f98185613798565b93506138098185602086016137a9565b613812816137d3565b840191505092915050565b6000602082019050818103600083015261383781846137e4565b905092915050565b6000602082840312156138555761385461359d565b5b600061386384828501613626565b91505092915050565b6138758161372a565b82525050565b600061ffff82169050919050565b6138928161387b565b82525050565b600060ff82169050919050565b6138ae81613898565b82525050565b600062ffffff82169050919050565b6138cc816138b4565b82525050565b6000819050919050565b6138e5816138d2565b82525050565b6138f481613605565b82525050565b61016082016000820151613911600085018261386c565b506020820151613924602085018261386c565b5060408201516139376040850182613889565b50606082015161394a6060850182613889565b50608082015161395d60808501826138a5565b5060a082015161397060a08501826138c3565b5060c082015161398360c08501826138dc565b5060e082015161399660e08501826138eb565b506101008201516139ab6101008501826138eb565b506101208201516139c06101208501826138eb565b506101408201516139d56101408501826138eb565b50505050565b6000610160820190506139f160008301846138fa565b92915050565b60008060408385031215613a0e57613a0d61359d565b5b6000613a1c85828601613626565b9250506020613a2d858286016135f0565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000613a6f83836138eb565b60208301905092915050565b6000602082019050919050565b6000613a9382613a37565b613a9d8185613a42565b9350613aa883613a53565b8060005b83811015613ad9578151613ac08882613a63565b9750613acb83613a7b565b925050600181019050613aac565b5085935050505092915050565b60006020820190508181036000830152613b008184613a88565b905092915050565b613b118161372a565b8114613b1c57600080fd5b50565b600081359050613b2e81613b08565b92915050565b60008060408385031215613b4b57613b4a61359d565b5b6000613b5985828601613626565b9250506020613b6a85828601613b1f565b9150509250929050565b613b7d8161387b565b8114613b8857600080fd5b50565b600081359050613b9a81613b74565b92915050565b60008060408385031215613bb757613bb661359d565b5b6000613bc585828601613626565b9250506020613bd685828601613b8b565b9150509250929050565b60008060408385031215613bf757613bf661359d565b5b6000613c0585828601613626565b9250506020613c1685828601613626565b9150509250929050565b613c29816135c7565b82525050565b6000604082019050613c446000830185613c20565b613c51602083018461367b565b9392505050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613c95826137d3565b810181811067ffffffffffffffff82111715613cb457613cb3613c5d565b5b80604052505050565b6000613cc7613593565b9050613cd38282613c8c565b919050565b600067ffffffffffffffff821115613cf357613cf2613c5d565b5b602082029050602081019050919050565b600080fd5b6000613d1c613d1784613cd8565b613cbd565b90508083825260208201905060208402830185811115613d3f57613d3e613d04565b5b835b81811015613d685780613d548882613626565b845260208401935050602081019050613d41565b5050509392505050565b600082601f830112613d8757613d86613c58565b5b8135613d97848260208601613d09565b91505092915050565b600080fd5b600067ffffffffffffffff821115613dc057613dbf613c5d565b5b613dc9826137d3565b9050602081019050919050565b82818337600083830152505050565b6000613df8613df384613da5565b613cbd565b905082815260208101848484011115613e1457613e13613da0565b5b613e1f848285613dd6565b509392505050565b600082601f830112613e3c57613e3b613c58565b5b8135613e4c848260208601613de5565b91505092915050565b600080600080600060a08688031215613e7157613e7061359d565b5b6000613e7f888289016135f0565b9550506020613e90888289016135f0565b945050604086013567ffffffffffffffff811115613eb157613eb06135a2565b5b613ebd88828901613d72565b935050606086013567ffffffffffffffff811115613ede57613edd6135a2565b5b613eea88828901613d72565b925050608086013567ffffffffffffffff811115613f0b57613f0a6135a2565b5b613f1788828901613e27565b9150509295509295909350565b600067ffffffffffffffff821115613f3f57613f3e613c5d565b5b602082029050602081019050919050565b6000613f63613f5e84613f24565b613cbd565b90508083825260208201905060208402830185811115613f8657613f85613d04565b5b835b81811015613faf5780613f9b88826135f0565b845260208401935050602081019050613f88565b5050509392505050565b600082601f830112613fce57613fcd613c58565b5b8135613fde848260208601613f50565b91505092915050565b60008060408385031215613ffe57613ffd61359d565b5b600083013567ffffffffffffffff81111561401c5761401b6135a2565b5b61402885828601613fb9565b925050602083013567ffffffffffffffff811115614049576140486135a2565b5b61405585828601613d72565b9150509250929050565b61406881613898565b811461407357600080fd5b50565b6000813590506140858161405f565b92915050565b614094816138b4565b811461409f57600080fd5b50565b6000813590506140b18161408b565b92915050565b6140c0816138d2565b81146140cb57600080fd5b50565b6000813590506140dd816140b7565b92915050565b600080600080600080600080610100898b0312156141045761410361359d565b5b60006141128b828c01613626565b98505060206141238b828c01613b8b565b97505060406141348b828c01614076565b96505060606141458b828c016140a2565b95505060806141568b828c016140ce565b94505060a06141678b828c01613626565b93505060c06141788b828c01613626565b92505060e06141898b828c01613626565b9150509295985092959890939650565b600080600080600080600080610100898b0312156141ba576141b961359d565b5b60006141c88b828c01613626565b98505060206141d98b828c01614076565b97505060406141ea8b828c01613b8b565b96505060606141fb8b828c01613b8b565b955050608061420c8b828c016140ce565b94505060a061421d8b828c01613626565b93505060c061422e8b828c01613626565b92505060e061423f8b828c01613626565b9150509295985092959890939650565b600067ffffffffffffffff82111561426a57614269613c5d565b5b614273826137d3565b9050602081019050919050565b600061429361428e8461424f565b613cbd565b9050828152602081018484840111156142af576142ae613da0565b5b6142ba848285613dd6565b509392505050565b600082601f8301126142d7576142d6613c58565b5b81356142e7848260208601614280565b91505092915050565b600080604083850312156143075761430661359d565b5b600061431585828601613626565b925050602083013567ffffffffffffffff811115614336576143356135a2565b5b614342858286016142c2565b9150509250929050565b60006040820190506143616000830185613736565b61436e6020830184613736565b9392505050565b600060208201905061438a6000830184613c20565b92915050565b6000602082840312156143a6576143a561359d565b5b600082013567ffffffffffffffff8111156143c4576143c36135a2565b5b6143d0848285016142c2565b91505092915050565b600080604083850312156143f0576143ef61359d565b5b60006143fe858286016135f0565b925050602061440f85828601613b1f565b9150509250929050565b600080fd5b60008083601f84011261443457614433613c58565b5b8235905067ffffffffffffffff81111561445157614450614419565b5b60208301915083602082028301111561446d5761446c613d04565b5b9250929050565b6000806000806000608086880312156144905761448f61359d565b5b600086013567ffffffffffffffff8111156144ae576144ad6135a2565b5b6144ba8882890161441e565b955095505060206144cd88828901613626565b93505060406144de88828901613b8b565b92505060606144ef88828901613b1f565b9150509295509295909350565b6000806000606084860312156145155761451461359d565b5b600061452386828701613626565b935050602061453486828701613b1f565b925050604061454586828701613b1f565b9150509250925092565b600080604083850312156145665761456561359d565b5b6000614574858286016135f0565b9250506020614585858286016135f0565b9150509250929050565b600080600080600060a086880312156145ab576145aa61359d565b5b60006145b9888289016135f0565b95505060206145ca888289016135f0565b94505060406145db88828901613626565b93505060606145ec88828901613626565b925050608086013567ffffffffffffffff81111561460d5761460c6135a2565b5b61461988828901613e27565b9150509295509295909350565b60008060006060848603121561463f5761463e61359d565b5b600061464d868287016135f0565b935050602061465e86828701613626565b925050604061466f86828701613626565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806146c057607f821691505b6020821081036146d3576146d2614679565b5b50919050565b7f496e76616c696420506173730000000000000000000000000000000000000000600082015250565b600061470f600c83613798565b915061471a826146d9565b602082019050919050565b6000602082019050818103600083015261473e81614702565b9050919050565b7f496e76616c696420706173730000000000000000000000000000000000000000600082015250565b600061477b600c83613798565b915061478682614745565b602082019050919050565b600060208201905081810360008301526147aa8161476e565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b600081546147de816146a8565b6147e881866147b1565b9450600182166000811461480357600181146148185761484b565b60ff198316865281151582028601935061484b565b614821856147bc565b60005b8381101561484357815481890152600182019150602081019050614824565b838801955050505b50505092915050565b600061486082856147d1565b915061486c82846147d1565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006148b28261387b565b91506148bd8361387b565b9250828201905061ffff8111156148d7576148d6614878565b5b92915050565b7f4578636565647320617661696c61626c6520737570706c790000000000000000600082015250565b6000614913601883613798565b915061491e826148dd565b602082019050919050565b6000602082019050818103600083015261494281614906565b9050919050565b600061495482613605565b915061495f83613605565b925082820261496d81613605565b9150828204841483151761498457614983614878565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006149c582613605565b91506149d083613605565b9250826149e0576149df61498b565b5b828204905092915050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b6000614a47602f83613798565b9150614a52826149eb565b604082019050919050565b60006020820190508181036000830152614a7681614a3a565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000614ad9602983613798565b9150614ae482614a7d565b604082019050919050565b60006020820190508181036000830152614b0881614acc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614b4982613605565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614b7b57614b7a614878565b5b600182019050919050565b7f496e76616c696420496400000000000000000000000000000000000000000000600082015250565b6000614bbc600a83613798565b9150614bc782614b86565b602082019050919050565b60006020820190508181036000830152614beb81614baf565b9050919050565b7f50617373204944206475706c6963617465000000000000000000000000000000600082015250565b6000614c28601183613798565b9150614c3382614bf2565b602082019050919050565b60006020820190508181036000830152614c5781614c1b565b9050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302614cab7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614c6e565b614cb58683614c6e565b95508019841693508086168417925050509392505050565b6000819050919050565b6000614cf2614ced614ce884613605565b614ccd565b613605565b9050919050565b6000819050919050565b614d0c83614cd7565b614d20614d1882614cf9565b848454614c7b565b825550505050565b600090565b614d35614d28565b614d40818484614d03565b505050565b5b81811015614d6457614d59600082614d2d565b600181019050614d46565b5050565b601f821115614da957614d7a816147bc565b614d8384614c5e565b81016020851015614d92578190505b614da6614d9e85614c5e565b830182614d45565b50505b505050565b600082821c905092915050565b6000614dcc60001984600802614dae565b1980831691505092915050565b6000614de58383614dbb565b9150826002028217905092915050565b614dfe8261378d565b67ffffffffffffffff811115614e1757614e16613c5d565b5b614e2182546146a8565b614e2c828285614d68565b600060209050601f831160018114614e5f5760008415614e4d578287015190505b614e578582614dd9565b865550614ebf565b601f198416614e6d866147bc565b60005b82811015614e9557848901518255600182019150602085019450602081019050614e70565b86831015614eb25784890151614eae601f891682614dbb565b8355505b6001600288020188555050505b505050505050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b6000614efd601e83613798565b9150614f0882614ec7565b602082019050919050565b60006020820190508181036000830152614f2c81614ef0565b9050919050565b7f4e6f206163746976652073616c65730000000000000000000000000000000000600082015250565b6000614f69600f83613798565b9150614f7482614f33565b602082019050919050565b60006020820190508181036000830152614f9881614f5c565b9050919050565b7f416c7265616479206d696e746564000000000000000000000000000000000000600082015250565b6000614fd5600e83613798565b9150614fe082614f9f565b602082019050919050565b6000602082019050818103600083015261500481614fc8565b9050919050565b60008160001c9050919050565b600060ff82169050919050565b60006150386150338361500b565b615018565b9050919050565b6150488161372a565b82525050565b60008160081c9050919050565b600061506e6150698361504e565b615018565b9050919050565b60008160101c9050919050565b600061ffff82169050919050565b60006150a361509e83615075565b615082565b9050919050565b6150b38161387b565b82525050565b60008160201c9050919050565b60006150d96150d4836150b9565b615082565b9050919050565b60008160301c9050919050565b600060ff82169050919050565b600061510d615108836150e0565b6150ed565b9050919050565b61511d81613898565b82525050565b60008160381c9050919050565b600062ffffff82169050919050565b600061515261514d83615123565b615130565b9050919050565b615162816138b4565b82525050565b6000819050919050565b60006151856151808361500b565b615168565b9050919050565b615195816138d2565b82525050565b6000819050919050565b60006151b86151b38361500b565b61519b565b9050919050565b6151c881613605565b82525050565b610160820160008083015490506151e481615025565b6151f1600086018261503f565b506151fb8161505b565b615208602086018261503f565b5061521281615090565b61521f60408601826150aa565b50615229816150c6565b61523660608601826150aa565b50615240816150fa565b61524d6080860182615114565b506152578161513f565b61526460a0860182615159565b506001830154905061527581615172565b61528260c086018261518c565b5060028301549050615293816151a5565b6152a060e08601826151bf565b50600383015490506152b1816151a5565b6152bf6101008601826151bf565b50600483015490506152d0816151a5565b6152de6101208601826151bf565b50600583015490506152ef816151a5565b6152fd6101408601826151bf565b5050505050565b61530d8161387b565b82525050565b61531c8161372a565b82525050565b600082825260208201905092915050565b600080fd5b82818337505050565b600061534d8385615322565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8311156153805761537f615333565b5b602083029250615391838584615338565b82840190509392505050565b60006101c0820190506153b360008301886151ce565b6153c1610160830187615304565b6153cf610180830186615313565b8181036101a08301526153e3818486615341565b90509695505050505050565b6000815190506153fe81613b08565b92915050565b60006020828403121561541a5761541961359d565b5b6000615428848285016153ef565b91505092915050565b7f4e6f207072652d73616c6520666f72207468652061726b000000000000000000600082015250565b6000615467601783613798565b915061547282615431565b602082019050919050565b600060208201905081810360008301526154968161545a565b9050919050565b60006154a882613605565b91506154b383613605565b92508282039050818111156154cb576154ca614878565b5b92915050565b7f446f6573206e6f74206f776e2070726576696f757320746f6b656e7300000000600082015250565b6000615507601c83613798565b9150615512826154d1565b602082019050919050565b60006020820190508181036000830152615536816154fa565b9050919050565b60006101a08201905061555360008301866151ce565b615561610160830185615304565b61556f610180830184615304565b949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006155d3602683613798565b91506155de82615577565b604082019050919050565b60006020820190508181036000830152615602816155c6565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061563f602083613798565b915061564a82615609565b602082019050919050565b6000602082019050818103600083015261566e81615632565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006156d1602183613798565b91506156dc82615675565b604082019050919050565b60006020820190508181036000830152615700816156c4565b9050919050565b600061571282613605565b915061571d83613605565b925082820190508082111561573557615734614878565b5b92915050565b6000604082019050615750600083018561367b565b61575d602083018461367b565b9392505050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b60006157c0602883613798565b91506157cb82615764565b604082019050919050565b600060208201905081810360008301526157ef816157b3565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000615852602583613798565b915061585d826157f6565b604082019050919050565b6000602082019050818103600083015261588181615845565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b60006158e4602a83613798565b91506158ef82615888565b604082019050919050565b60006020820190508181036000830152615913816158d7565b9050919050565b600060408201905081810360008301526159348185613a88565b905081810360208301526159488184613a88565b90509392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b60006159ad602983613798565b91506159b882615951565b604082019050919050565b600060208201905081810360008301526159dc816159a0565b9050919050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000615a3f602383613798565b9150615a4a826159e3565b604082019050919050565b60006020820190508181036000830152615a6e81615a32565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000615ad1602483613798565b9150615adc82615a75565b604082019050919050565b60006020820190508181036000830152615b0081615ac4565b9050919050565b7f5472616e7366657273206c6f636b656400000000000000000000000000000000600082015250565b6000615b3d601083613798565b9150615b4882615b07565b602082019050919050565b60006020820190508181036000830152615b6c81615b30565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615b9a82615b73565b615ba48185615b7e565b9350615bb48185602086016137a9565b615bbd816137d3565b840191505092915050565b600060a082019050615bdd6000830188613c20565b615bea6020830187613c20565b615bf7604083018661367b565b615c04606083018561367b565b8181036080830152615c168184615b8f565b90509695505050505050565b600081519050615c31816136d1565b92915050565b600060208284031215615c4d57615c4c61359d565b5b6000615c5b84828501615c22565b91505092915050565b60008160e01c9050919050565b600060033d1115615c905760046000803e615c8d600051615c64565b90505b90565b600060443d10615d2057615ca5613593565b60043d036004823e80513d602482011167ffffffffffffffff82111715615ccd575050615d20565b808201805167ffffffffffffffff811115615ceb5750505050615d20565b80602083010160043d038501811115615d08575050505050615d20565b615d1782602001850186613c8c565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000615d7f603483613798565b9150615d8a82615d23565b604082019050919050565b60006020820190508181036000830152615dae81615d72565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000615e11602883613798565b9150615e1c82615db5565b604082019050919050565b60006020820190508181036000830152615e4081615e04565b9050919050565b600060a082019050615e5c6000830188613c20565b615e696020830187613c20565b8181036040830152615e7b8186613a88565b90508181036060830152615e8f8185613a88565b90508181036080830152615ea38184615b8f565b90509695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea26469706673582212206e0e83052a9d95dcebffa2293424d370c0b9987919cd5d5ba22f618565f6cdb864736f6c6343000811003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000006e685b33f5edf52602328b26c6d0d658d32649ea000000000000000000000000000000000000000000000000000000000000004c68747470733a2f2f697066732e66696c65626173652e696f2f697066732f516d557232647739476a7a6e5367516e5068746f4269636d336359476479317a6d55575774594b457751737938750000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101c15760003560e01c80636575def1116100f7578063c80d89ab11610095578063ec6e2c5f11610064578063ec6e2c5f14610659578063f242432a14610696578063f2fde38b146106bf578063f5298aca146106e8576101c1565b8063c80d89ab146105ac578063d71c9579146105c8578063e8a3d485146105f1578063e985e9c51461061c576101c1565b80638da5cb5b116100d15780638da5cb5b14610504578063938e3d7b1461052f57806395d89b4114610558578063a22cb46514610583576101c1565b80636575def114610474578063782f08ae1461049d57806379305b31146104c6576101c1565b806315d9a5e8116101645780632eb2c2d61161013e5780632eb2c2d6146103ce5780633ccfd60b146103f75780634e1273f41461040e578063613221621461044b576101c1565b806315d9a5e81461034b57806318e7d27e146103745780632a55205a14610390576101c1565b806306fdde03116101a057806306fdde03146102695780630b45619d146102945780630cd0664f146102d15780630e89341c1461030e576101c1565b8062fdd58e146101c657806301ffc9a71461020357806306d254da14610240575b600080fd5b3480156101d257600080fd5b506101ed60048036038101906101e8919061363b565b610711565b6040516101fa919061368a565b60405180910390f35b34801561020f57600080fd5b5061022a600480360381019061022591906136fd565b61076c565b6040516102379190613745565b60405180910390f35b34801561024c57600080fd5b5061026760048036038101906102629190613760565b6107d3565b005b34801561027557600080fd5b5061027e61081f565b60405161028b919061381d565b60405180910390f35b3480156102a057600080fd5b506102bb60048036038101906102b6919061383f565b6108ad565b6040516102c891906139db565b60405180910390f35b3480156102dd57600080fd5b506102f860048036038101906102f391906139f7565b610a1c565b6040516103059190613ae6565b60405180910390f35b34801561031a57600080fd5b506103356004803603810190610330919061383f565b610ac5565b604051610342919061381d565b60405180910390f35b34801561035757600080fd5b50610372600480360381019061036d9190613b34565b610b5c565b005b61038e60048036038101906103899190613ba0565b610b93565b005b34801561039c57600080fd5b506103b760048036038101906103b29190613be0565b610cd2565b6040516103c5929190613c2f565b60405180910390f35b3480156103da57600080fd5b506103f560048036038101906103f09190613e55565b610d6c565b005b34801561040357600080fd5b5061040c610e0d565b005b34801561041a57600080fd5b5061043560048036038101906104309190613fe7565b610e65565b6040516104429190613ae6565b60405180910390f35b34801561045757600080fd5b50610472600480360381019061046d91906140e3565b610f7e565b005b34801561048057600080fd5b5061049b60048036038101906104969190614199565b6111d4565b005b3480156104a957600080fd5b506104c460048036038101906104bf91906142f0565b6112e9565b005b3480156104d257600080fd5b506104ed60048036038101906104e891906139f7565b611316565b6040516104fb92919061434c565b60405180910390f35b34801561051057600080fd5b506105196113e0565b6040516105269190614375565b60405180910390f35b34801561053b57600080fd5b5061055660048036038101906105519190614390565b61140a565b005b34801561056457600080fd5b5061056d61141e565b60405161057a919061381d565b60405180910390f35b34801561058f57600080fd5b506105aa60048036038101906105a591906143d9565b6114ac565b005b6105c660048036038101906105c19190614474565b6114c2565b005b3480156105d457600080fd5b506105ef60048036038101906105ea91906144fc565b611bb4565b005b3480156105fd57600080fd5b50610606611c1d565b604051610613919061381d565b60405180910390f35b34801561062857600080fd5b50610643600480360381019061063e919061454f565b611caf565b6040516106509190613745565b60405180910390f35b34801561066557600080fd5b50610680600480360381019061067b919061383f565b611d43565b60405161068d919061368a565b60405180910390f35b3480156106a257600080fd5b506106bd60048036038101906106b8919061458f565b611d60565b005b3480156106cb57600080fd5b506106e660048036038101906106e19190613760565b611e01565b005b3480156106f457600080fd5b5061070f600480360381019061070a9190614626565b611e84565b005b60006003600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b6107db611f21565b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6010805461082c906146a8565b80601f0160208091040260200160405190810160405280929190818152602001828054610858906146a8565b80156108a55780601f1061087a576101008083540402835291602001916108a5565b820191906000526020600020905b81548152906001019060200180831161088857829003601f168201915b505050505081565b6108b5613522565b600060086000848152602001908152602001600020600201540361090e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090590614725565b60405180910390fd5b60086000838152602001908152602001600020604051806101600160405290816000820160009054906101000a900460ff161515151581526020016000820160019054906101000a900460ff161515151581526020016000820160029054906101000a900461ffff1661ffff1661ffff1681526020016000820160049054906101000a900461ffff1661ffff1661ffff1681526020016000820160069054906101000a900460ff1660ff1660ff1681526020016000820160079054906101000a900462ffffff1662ffffff1662ffffff168152602001600182015481526020016002820154815260200160038201548152602001600482015481526020016005820154815250509050919050565b6060600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000848152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015610ab857602002820191906000526020600020905b815481526020019060010190808311610aa4575b5050505050905092915050565b60606000600860008481526020019081526020016000206002015403610b20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1790614791565b60405180910390fd5b600160026000848152602001908152602001600020604051602001610b46929190614854565b6040516020818303038152906040529050919050565b610b64611f21565b80600f600084815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b610b9b611f21565b60006008600084815260200190815260200160002090506000816002015411610bf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf090614725565b60405180910390fd5b8060000160049054906101000a900461ffff1682610c1791906148a7565b61ffff168160000160029054906101000a900461ffff1661ffff161015610c73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6a90614929565b60405180910390fd5b818160000160048282829054906101000a900461ffff16610c9491906148a7565b92506101000a81548161ffff021916908361ffff160217905550610ccd33848461ffff1660405180602001604052806000815250611f9f565b505050565b60008060018403610d2357600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166103e8605085610d109190614949565b610d1a91906149ba565b91509150610d65565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166103e8603285610d569190614949565b610d6091906149ba565b915091505b9250929050565b610d74612150565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610dba5750610db985610db4612150565b611caf565b5b610df9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df090614a5d565b60405180910390fd5b610e068585858585612158565b5050505050565b610e15611f21565b610e1d6113e0565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610e62573d6000803e3d6000fd5b50565b60608151835114610eab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea290614aef565b60405180910390fd5b6000835167ffffffffffffffff811115610ec857610ec7613c5d565b5b604051908082528060200260200182016040528015610ef65781602001602082028036833780820191505090505b50905060005b8451811015610f7357610f43858281518110610f1b57610f1a614b0f565b5b6020026020010151858381518110610f3657610f35614b0f565b5b6020026020010151610711565b828281518110610f5657610f55614b0f565b5b60200260200101818152505080610f6c90614b3e565b9050610efc565b508091505092915050565b610f86611f21565b60008803610fc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc090614bd2565b60405180910390fd5b87600860008a81526020019081526020016000206002015403611021576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101890614c3e565b60405180910390fd5b60006040518061016001604052806000151581526020016000151581526020018961ffff168152602001600061ffff1681526020018860ff1681526020018762ffffff1681526020018681526020018a815260200185815260200184815260200183815250905080600860008b815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548160ff02191690831515021790555060408201518160000160026101000a81548161ffff021916908361ffff16021790555060608201518160000160046101000a81548161ffff021916908361ffff16021790555060808201518160000160066101000a81548160ff021916908360ff16021790555060a08201518160000160076101000a81548162ffffff021916908362ffffff16021790555060c0820151816001015560e082015181600201556101008201518160030155610120820151816004015561014082015181600501559050506009899080600181540180825580915050600190039060005260206000200160009091909190915055505050505050505050565b6111dc611f21565b85600860008a815260200190815260200160002060000160026101000a81548161ffff021916908361ffff1602179055508461ffff16600860008a815260200190815260200160002060000160076101000a81548162ffffff021916908362ffffff16021790555086600860008a815260200190815260200160002060000160066101000a81548160ff021916908360ff16021790555083600860008a81526020019081526020016000206001018190555082600860008a81526020019081526020016000206003018190555081600860008a81526020019081526020016000206004018190555080600860008a8152602001908152602001600020600501819055505050505050505050565b6112f1611f21565b806002600084815260200190815260200160002090816113119190614df5565b505050565b600080600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085815260200190815260200160002060009054906101000a900460ff16600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600086815260200190815260200160002060009054906101000a900460ff16915091509250929050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611412611f21565b61141b8161247c565b50565b6011805461142b906146a8565b80601f0160208091040260200160405190810160405280929190818152602001828054611457906146a8565b80156114a45780601f10611479576101008083540402835291602001916114a4565b820191906000526020600020905b81548152906001019060200180831161148757829003601f168201915b505050505081565b6114be6114b7612150565b838361248f565b5050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611530576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152790614f13565b60405180910390fd5b6000600860008581526020019081526020016000209050600081600201541161158e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158590614725565b60405180910390fd5b8060000160019054906101000a900460ff16806115b957508060000160009054906101000a900460ff165b6115f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ef90614f7f565b60405180910390fd5b811561179457600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085815260200190815260200160002060009054906101000a900460ff161561169c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169390614feb565b60405180910390fd5b7353707a16bcd126734f86053903bc00512efcef4763deb228bb828560018a8a6040518663ffffffff1660e01b81526004016116dc95949392919061539d565b602060405180830381865af41580156116f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061171d9190615404565b61172657600080fd5b6001600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600086815260200190815260200160002060006101000a81548160ff021916908315150217905550611b52565b8060000160019054906101000a900460ff1615611a1957600184036117ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e59061547d565b60405180910390fd5b600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085815260200190815260200160002060009054906101000a900460ff161561188c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188390614feb565b60405180910390fd5b60005b60018561189c919061549d565b8110156119205760006118cd33600984815481106118bd576118bc614b0f565b5b9060005260206000200154610711565b1161190d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119049061551d565b60405180910390fd5b808061191890614b3e565b91505061188f565b507353707a16bcd126734f86053903bc00512efcef4763deb228bb828560008a8a6040518663ffffffff1660e01b815260040161196195949392919061539d565b602060405180830381865af415801561197e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119a29190615404565b6119ab57600080fd5b6001600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600086815260200190815260200160002060006101000a81548160ff021916908315150217905550611b51565b600080611a45336009600081548110611a3557611a34614b0f565b5b9060005260206000200154610711565b1115611ac5576001851115611ac05760005b600186611a64919061549d565b811015611abe576000611a953360098481548110611a8557611a84614b0f565b5b9060005260206000200154610711565b1115611aab57600182611aa891906148a7565b91505b8080611ab690614b3e565b915050611a57565b505b611aca565b600090505b7353707a16bcd126734f86053903bc00512efcef4763d46cfde68386846040518463ffffffff1660e01b8152600401611b059392919061553d565b602060405180830381865af4158015611b22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b469190615404565b611b4f57600080fd5b505b5b828160000160048282829054906101000a900461ffff16611b7391906148a7565b92506101000a81548161ffff021916908361ffff160217905550611bac33858561ffff1660405180602001604052806000815250611f9f565b505050505050565b611bbc611f21565b806008600085815260200190815260200160002060000160006101000a81548160ff021916908315150217905550816008600085815260200190815260200160002060000160016101000a81548160ff021916908315150217905550505050565b6060600a8054611c2c906146a8565b80601f0160208091040260200160405190810160405280929190818152602001828054611c58906146a8565b8015611ca55780601f10611c7a57610100808354040283529160200191611ca5565b820191906000526020600020905b815481529060010190602001808311611c8857829003601f168201915b5050505050905090565b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000600b6000838152602001908152602001600020549050919050565b611d68612150565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611dae5750611dad85611da8612150565b611caf565b5b611ded576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de490614a5d565b60405180910390fd5b611dfa85858585856125fb565b5050505050565b611e09611f21565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611e78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6f906155e9565b60405180910390fd5b611e8181612899565b50565b611e8c612150565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480611ed25750611ed183611ecc612150565b611caf565b5b611f11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0890614a5d565b60405180910390fd5b611f1c83838361295f565b505050565b611f29612150565b73ffffffffffffffffffffffffffffffffffffffff16611f476113e0565b73ffffffffffffffffffffffffffffffffffffffff1614611f9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9490615655565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361200e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612005906156e7565b60405180910390fd5b6000612018612150565b9050600061202585612ba7565b9050600061203285612ba7565b905061204383600089858589612c21565b846003600088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120a39190615707565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62898960405161212192919061573b565b60405180910390a461213883600089858589612cd2565b61214783600089898989612cf4565b50505050505050565b600033905090565b815183511461219c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612193906157d6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361220b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220290615868565b60405180910390fd5b6000612215612150565b9050612225818787878787612c21565b60005b84518110156123d957600085828151811061224657612245614b0f565b5b60200260200101519050600085838151811061226557612264614b0f565b5b6020026020010151905060006003600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612307576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122fe906158fa565b60405180910390fd5b8181036003600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816003600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123be9190615707565b92505081905550505050806123d290614b3e565b9050612228565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161245092919061591a565b60405180910390a4612466818787878787612cd2565b612474818787878787612ecb565b505050505050565b80600a908161248b9190614df5565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036124fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f4906159c3565b60405180910390fd5b80600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125ee9190613745565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361266a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266190615868565b60405180910390fd5b6000612674612150565b9050600061268185612ba7565b9050600061268e85612ba7565b905061269e838989858589612c21565b60006003600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015612736576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272d906158fa565b60405180910390fd5b8581036003600089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550856003600089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127ed9190615707565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a60405161286a92919061573b565b60405180910390a4612880848a8a86868a612cd2565b61288e848a8a8a8a8a612cf4565b505050505050505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036129ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129c590615a55565b60405180910390fd5b60006129d8612150565b905060006129e584612ba7565b905060006129f284612ba7565b9050612a1283876000858560405180602001604052806000815250612c21565b60006003600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905084811015612aaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aa190615ae7565b60405180910390fd5b8481036003600088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051612b7892919061573b565b60405180910390a4612b9e84886000868660405180602001604052806000815250612cd2565b50505050505050565b60606000600167ffffffffffffffff811115612bc657612bc5613c5d565b5b604051908082528060200260200182016040528015612bf45781602001602082028036833780820191505090505b5090508281600081518110612c0c57612c0b614b0f565b5b60200260200101818152505080915050919050565b60005b8351811015612cbb57600f6000858381518110612c4457612c43614b0f565b5b6020026020010151815260200190815260200160002060009054906101000a900460ff1615612ca8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c9f90615b53565b60405180910390fd5b8080612cb390614b3e565b915050612c24565b50612cca8686868686866130a2565b505050505050565b612ce08686868686866130aa565b612cec838386886130b2565b505050505050565b612d138473ffffffffffffffffffffffffffffffffffffffff166134ff565b15612ec3578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612d59959493929190615bc8565b6020604051808303816000875af1925050508015612d9557506040513d601f19601f82011682018060405250810190612d929190615c37565b60015b612e3a57612da1615c71565b806308c379a003612dfd5750612db5615c93565b80612dc05750612dff565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612df4919061381d565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3190615d95565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612ec1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eb890615e27565b60405180910390fd5b505b505050505050565b612eea8473ffffffffffffffffffffffffffffffffffffffff166134ff565b1561309a578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612f30959493929190615e47565b6020604051808303816000875af1925050508015612f6c57506040513d601f19601f82011682018060405250810190612f699190615c37565b60015b61301157612f78615c71565b806308c379a003612fd45750612f8c615c93565b80612f975750612fd6565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fcb919061381d565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161300890615d95565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613098576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161308f90615e27565b60405180910390fd5b505b505050505050565b505050505050565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146132655760005b845181101561325f5760005b84828151811061310857613107614b0f565b5b602002602001015181101561324b57600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600087848151811061316b5761316a614b0f565b5b60200260200101518152602001908152602001600020429080600181540180825580915050600190039060005260206000200160009091909190915055600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008784815181106131fc576131fb614b0f565b5b6020026020010151815260200190815260200160002080548061322257613221615eaf565b5b60019003818190600052602060002001600090559055808061324390614b3e565b9150506130f5565b50808061325790614b3e565b9150506130e9565b506134f9565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036133695760005b836000815181106132b0576132af614b0f565b5b602002602001015181101561336357600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008660008151811061331457613313614b0f565b5b6020026020010151815260200190815260200160002080548061333a57613339615eaf565b5b60019003818190600052602060002001600090559055808061335b90614b3e565b91505061329c565b506134f8565b60011515600c60008660008151811061338557613384614b0f565b5b6020026020010151815260200190815260200160002060009054906101000a900460ff1615151461342b576001600c6000866000815181106133ca576133c9614b0f565b5b6020026020010151815260200190815260200160002060006101000a81548160ff02191690831515021790555042600b6000866000815181106134105761340f614b0f565b5b60200260200101518152602001908152602001600020819055505b60005b8360008151811061344257613441614b0f565b5b60200260200101518110156134f657600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000866000815181106134a6576134a5614b0f565b5b6020026020010151815260200190815260200160002042908060018154018082558091505060019003906000526020600020016000909190919091505580806134ee90614b3e565b91505061342e565b505b5b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b604051806101600160405280600015158152602001600015158152602001600061ffff168152602001600061ffff168152602001600060ff168152602001600062ffffff16815260200160008019168152602001600081526020016000815260200160008152602001600081525090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006135d2826135a7565b9050919050565b6135e2816135c7565b81146135ed57600080fd5b50565b6000813590506135ff816135d9565b92915050565b6000819050919050565b61361881613605565b811461362357600080fd5b50565b6000813590506136358161360f565b92915050565b600080604083850312156136525761365161359d565b5b6000613660858286016135f0565b925050602061367185828601613626565b9150509250929050565b61368481613605565b82525050565b600060208201905061369f600083018461367b565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6136da816136a5565b81146136e557600080fd5b50565b6000813590506136f7816136d1565b92915050565b6000602082840312156137135761371261359d565b5b6000613721848285016136e8565b91505092915050565b60008115159050919050565b61373f8161372a565b82525050565b600060208201905061375a6000830184613736565b92915050565b6000602082840312156137765761377561359d565b5b6000613784848285016135f0565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156137c75780820151818401526020810190506137ac565b60008484015250505050565b6000601f19601f8301169050919050565b60006137ef8261378d565b6137f98185613798565b93506138098185602086016137a9565b613812816137d3565b840191505092915050565b6000602082019050818103600083015261383781846137e4565b905092915050565b6000602082840312156138555761385461359d565b5b600061386384828501613626565b91505092915050565b6138758161372a565b82525050565b600061ffff82169050919050565b6138928161387b565b82525050565b600060ff82169050919050565b6138ae81613898565b82525050565b600062ffffff82169050919050565b6138cc816138b4565b82525050565b6000819050919050565b6138e5816138d2565b82525050565b6138f481613605565b82525050565b61016082016000820151613911600085018261386c565b506020820151613924602085018261386c565b5060408201516139376040850182613889565b50606082015161394a6060850182613889565b50608082015161395d60808501826138a5565b5060a082015161397060a08501826138c3565b5060c082015161398360c08501826138dc565b5060e082015161399660e08501826138eb565b506101008201516139ab6101008501826138eb565b506101208201516139c06101208501826138eb565b506101408201516139d56101408501826138eb565b50505050565b6000610160820190506139f160008301846138fa565b92915050565b60008060408385031215613a0e57613a0d61359d565b5b6000613a1c85828601613626565b9250506020613a2d858286016135f0565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000613a6f83836138eb565b60208301905092915050565b6000602082019050919050565b6000613a9382613a37565b613a9d8185613a42565b9350613aa883613a53565b8060005b83811015613ad9578151613ac08882613a63565b9750613acb83613a7b565b925050600181019050613aac565b5085935050505092915050565b60006020820190508181036000830152613b008184613a88565b905092915050565b613b118161372a565b8114613b1c57600080fd5b50565b600081359050613b2e81613b08565b92915050565b60008060408385031215613b4b57613b4a61359d565b5b6000613b5985828601613626565b9250506020613b6a85828601613b1f565b9150509250929050565b613b7d8161387b565b8114613b8857600080fd5b50565b600081359050613b9a81613b74565b92915050565b60008060408385031215613bb757613bb661359d565b5b6000613bc585828601613626565b9250506020613bd685828601613b8b565b9150509250929050565b60008060408385031215613bf757613bf661359d565b5b6000613c0585828601613626565b9250506020613c1685828601613626565b9150509250929050565b613c29816135c7565b82525050565b6000604082019050613c446000830185613c20565b613c51602083018461367b565b9392505050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613c95826137d3565b810181811067ffffffffffffffff82111715613cb457613cb3613c5d565b5b80604052505050565b6000613cc7613593565b9050613cd38282613c8c565b919050565b600067ffffffffffffffff821115613cf357613cf2613c5d565b5b602082029050602081019050919050565b600080fd5b6000613d1c613d1784613cd8565b613cbd565b90508083825260208201905060208402830185811115613d3f57613d3e613d04565b5b835b81811015613d685780613d548882613626565b845260208401935050602081019050613d41565b5050509392505050565b600082601f830112613d8757613d86613c58565b5b8135613d97848260208601613d09565b91505092915050565b600080fd5b600067ffffffffffffffff821115613dc057613dbf613c5d565b5b613dc9826137d3565b9050602081019050919050565b82818337600083830152505050565b6000613df8613df384613da5565b613cbd565b905082815260208101848484011115613e1457613e13613da0565b5b613e1f848285613dd6565b509392505050565b600082601f830112613e3c57613e3b613c58565b5b8135613e4c848260208601613de5565b91505092915050565b600080600080600060a08688031215613e7157613e7061359d565b5b6000613e7f888289016135f0565b9550506020613e90888289016135f0565b945050604086013567ffffffffffffffff811115613eb157613eb06135a2565b5b613ebd88828901613d72565b935050606086013567ffffffffffffffff811115613ede57613edd6135a2565b5b613eea88828901613d72565b925050608086013567ffffffffffffffff811115613f0b57613f0a6135a2565b5b613f1788828901613e27565b9150509295509295909350565b600067ffffffffffffffff821115613f3f57613f3e613c5d565b5b602082029050602081019050919050565b6000613f63613f5e84613f24565b613cbd565b90508083825260208201905060208402830185811115613f8657613f85613d04565b5b835b81811015613faf5780613f9b88826135f0565b845260208401935050602081019050613f88565b5050509392505050565b600082601f830112613fce57613fcd613c58565b5b8135613fde848260208601613f50565b91505092915050565b60008060408385031215613ffe57613ffd61359d565b5b600083013567ffffffffffffffff81111561401c5761401b6135a2565b5b61402885828601613fb9565b925050602083013567ffffffffffffffff811115614049576140486135a2565b5b61405585828601613d72565b9150509250929050565b61406881613898565b811461407357600080fd5b50565b6000813590506140858161405f565b92915050565b614094816138b4565b811461409f57600080fd5b50565b6000813590506140b18161408b565b92915050565b6140c0816138d2565b81146140cb57600080fd5b50565b6000813590506140dd816140b7565b92915050565b600080600080600080600080610100898b0312156141045761410361359d565b5b60006141128b828c01613626565b98505060206141238b828c01613b8b565b97505060406141348b828c01614076565b96505060606141458b828c016140a2565b95505060806141568b828c016140ce565b94505060a06141678b828c01613626565b93505060c06141788b828c01613626565b92505060e06141898b828c01613626565b9150509295985092959890939650565b600080600080600080600080610100898b0312156141ba576141b961359d565b5b60006141c88b828c01613626565b98505060206141d98b828c01614076565b97505060406141ea8b828c01613b8b565b96505060606141fb8b828c01613b8b565b955050608061420c8b828c016140ce565b94505060a061421d8b828c01613626565b93505060c061422e8b828c01613626565b92505060e061423f8b828c01613626565b9150509295985092959890939650565b600067ffffffffffffffff82111561426a57614269613c5d565b5b614273826137d3565b9050602081019050919050565b600061429361428e8461424f565b613cbd565b9050828152602081018484840111156142af576142ae613da0565b5b6142ba848285613dd6565b509392505050565b600082601f8301126142d7576142d6613c58565b5b81356142e7848260208601614280565b91505092915050565b600080604083850312156143075761430661359d565b5b600061431585828601613626565b925050602083013567ffffffffffffffff811115614336576143356135a2565b5b614342858286016142c2565b9150509250929050565b60006040820190506143616000830185613736565b61436e6020830184613736565b9392505050565b600060208201905061438a6000830184613c20565b92915050565b6000602082840312156143a6576143a561359d565b5b600082013567ffffffffffffffff8111156143c4576143c36135a2565b5b6143d0848285016142c2565b91505092915050565b600080604083850312156143f0576143ef61359d565b5b60006143fe858286016135f0565b925050602061440f85828601613b1f565b9150509250929050565b600080fd5b60008083601f84011261443457614433613c58565b5b8235905067ffffffffffffffff81111561445157614450614419565b5b60208301915083602082028301111561446d5761446c613d04565b5b9250929050565b6000806000806000608086880312156144905761448f61359d565b5b600086013567ffffffffffffffff8111156144ae576144ad6135a2565b5b6144ba8882890161441e565b955095505060206144cd88828901613626565b93505060406144de88828901613b8b565b92505060606144ef88828901613b1f565b9150509295509295909350565b6000806000606084860312156145155761451461359d565b5b600061452386828701613626565b935050602061453486828701613b1f565b925050604061454586828701613b1f565b9150509250925092565b600080604083850312156145665761456561359d565b5b6000614574858286016135f0565b9250506020614585858286016135f0565b9150509250929050565b600080600080600060a086880312156145ab576145aa61359d565b5b60006145b9888289016135f0565b95505060206145ca888289016135f0565b94505060406145db88828901613626565b93505060606145ec88828901613626565b925050608086013567ffffffffffffffff81111561460d5761460c6135a2565b5b61461988828901613e27565b9150509295509295909350565b60008060006060848603121561463f5761463e61359d565b5b600061464d868287016135f0565b935050602061465e86828701613626565b925050604061466f86828701613626565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806146c057607f821691505b6020821081036146d3576146d2614679565b5b50919050565b7f496e76616c696420506173730000000000000000000000000000000000000000600082015250565b600061470f600c83613798565b915061471a826146d9565b602082019050919050565b6000602082019050818103600083015261473e81614702565b9050919050565b7f496e76616c696420706173730000000000000000000000000000000000000000600082015250565b600061477b600c83613798565b915061478682614745565b602082019050919050565b600060208201905081810360008301526147aa8161476e565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b600081546147de816146a8565b6147e881866147b1565b9450600182166000811461480357600181146148185761484b565b60ff198316865281151582028601935061484b565b614821856147bc565b60005b8381101561484357815481890152600182019150602081019050614824565b838801955050505b50505092915050565b600061486082856147d1565b915061486c82846147d1565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006148b28261387b565b91506148bd8361387b565b9250828201905061ffff8111156148d7576148d6614878565b5b92915050565b7f4578636565647320617661696c61626c6520737570706c790000000000000000600082015250565b6000614913601883613798565b915061491e826148dd565b602082019050919050565b6000602082019050818103600083015261494281614906565b9050919050565b600061495482613605565b915061495f83613605565b925082820261496d81613605565b9150828204841483151761498457614983614878565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006149c582613605565b91506149d083613605565b9250826149e0576149df61498b565b5b828204905092915050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b6000614a47602f83613798565b9150614a52826149eb565b604082019050919050565b60006020820190508181036000830152614a7681614a3a565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000614ad9602983613798565b9150614ae482614a7d565b604082019050919050565b60006020820190508181036000830152614b0881614acc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614b4982613605565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614b7b57614b7a614878565b5b600182019050919050565b7f496e76616c696420496400000000000000000000000000000000000000000000600082015250565b6000614bbc600a83613798565b9150614bc782614b86565b602082019050919050565b60006020820190508181036000830152614beb81614baf565b9050919050565b7f50617373204944206475706c6963617465000000000000000000000000000000600082015250565b6000614c28601183613798565b9150614c3382614bf2565b602082019050919050565b60006020820190508181036000830152614c5781614c1b565b9050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302614cab7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614c6e565b614cb58683614c6e565b95508019841693508086168417925050509392505050565b6000819050919050565b6000614cf2614ced614ce884613605565b614ccd565b613605565b9050919050565b6000819050919050565b614d0c83614cd7565b614d20614d1882614cf9565b848454614c7b565b825550505050565b600090565b614d35614d28565b614d40818484614d03565b505050565b5b81811015614d6457614d59600082614d2d565b600181019050614d46565b5050565b601f821115614da957614d7a816147bc565b614d8384614c5e565b81016020851015614d92578190505b614da6614d9e85614c5e565b830182614d45565b50505b505050565b600082821c905092915050565b6000614dcc60001984600802614dae565b1980831691505092915050565b6000614de58383614dbb565b9150826002028217905092915050565b614dfe8261378d565b67ffffffffffffffff811115614e1757614e16613c5d565b5b614e2182546146a8565b614e2c828285614d68565b600060209050601f831160018114614e5f5760008415614e4d578287015190505b614e578582614dd9565b865550614ebf565b601f198416614e6d866147bc565b60005b82811015614e9557848901518255600182019150602085019450602081019050614e70565b86831015614eb25784890151614eae601f891682614dbb565b8355505b6001600288020188555050505b505050505050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b6000614efd601e83613798565b9150614f0882614ec7565b602082019050919050565b60006020820190508181036000830152614f2c81614ef0565b9050919050565b7f4e6f206163746976652073616c65730000000000000000000000000000000000600082015250565b6000614f69600f83613798565b9150614f7482614f33565b602082019050919050565b60006020820190508181036000830152614f9881614f5c565b9050919050565b7f416c7265616479206d696e746564000000000000000000000000000000000000600082015250565b6000614fd5600e83613798565b9150614fe082614f9f565b602082019050919050565b6000602082019050818103600083015261500481614fc8565b9050919050565b60008160001c9050919050565b600060ff82169050919050565b60006150386150338361500b565b615018565b9050919050565b6150488161372a565b82525050565b60008160081c9050919050565b600061506e6150698361504e565b615018565b9050919050565b60008160101c9050919050565b600061ffff82169050919050565b60006150a361509e83615075565b615082565b9050919050565b6150b38161387b565b82525050565b60008160201c9050919050565b60006150d96150d4836150b9565b615082565b9050919050565b60008160301c9050919050565b600060ff82169050919050565b600061510d615108836150e0565b6150ed565b9050919050565b61511d81613898565b82525050565b60008160381c9050919050565b600062ffffff82169050919050565b600061515261514d83615123565b615130565b9050919050565b615162816138b4565b82525050565b6000819050919050565b60006151856151808361500b565b615168565b9050919050565b615195816138d2565b82525050565b6000819050919050565b60006151b86151b38361500b565b61519b565b9050919050565b6151c881613605565b82525050565b610160820160008083015490506151e481615025565b6151f1600086018261503f565b506151fb8161505b565b615208602086018261503f565b5061521281615090565b61521f60408601826150aa565b50615229816150c6565b61523660608601826150aa565b50615240816150fa565b61524d6080860182615114565b506152578161513f565b61526460a0860182615159565b506001830154905061527581615172565b61528260c086018261518c565b5060028301549050615293816151a5565b6152a060e08601826151bf565b50600383015490506152b1816151a5565b6152bf6101008601826151bf565b50600483015490506152d0816151a5565b6152de6101208601826151bf565b50600583015490506152ef816151a5565b6152fd6101408601826151bf565b5050505050565b61530d8161387b565b82525050565b61531c8161372a565b82525050565b600082825260208201905092915050565b600080fd5b82818337505050565b600061534d8385615322565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8311156153805761537f615333565b5b602083029250615391838584615338565b82840190509392505050565b60006101c0820190506153b360008301886151ce565b6153c1610160830187615304565b6153cf610180830186615313565b8181036101a08301526153e3818486615341565b90509695505050505050565b6000815190506153fe81613b08565b92915050565b60006020828403121561541a5761541961359d565b5b6000615428848285016153ef565b91505092915050565b7f4e6f207072652d73616c6520666f72207468652061726b000000000000000000600082015250565b6000615467601783613798565b915061547282615431565b602082019050919050565b600060208201905081810360008301526154968161545a565b9050919050565b60006154a882613605565b91506154b383613605565b92508282039050818111156154cb576154ca614878565b5b92915050565b7f446f6573206e6f74206f776e2070726576696f757320746f6b656e7300000000600082015250565b6000615507601c83613798565b9150615512826154d1565b602082019050919050565b60006020820190508181036000830152615536816154fa565b9050919050565b60006101a08201905061555360008301866151ce565b615561610160830185615304565b61556f610180830184615304565b949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006155d3602683613798565b91506155de82615577565b604082019050919050565b60006020820190508181036000830152615602816155c6565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061563f602083613798565b915061564a82615609565b602082019050919050565b6000602082019050818103600083015261566e81615632565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006156d1602183613798565b91506156dc82615675565b604082019050919050565b60006020820190508181036000830152615700816156c4565b9050919050565b600061571282613605565b915061571d83613605565b925082820190508082111561573557615734614878565b5b92915050565b6000604082019050615750600083018561367b565b61575d602083018461367b565b9392505050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b60006157c0602883613798565b91506157cb82615764565b604082019050919050565b600060208201905081810360008301526157ef816157b3565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000615852602583613798565b915061585d826157f6565b604082019050919050565b6000602082019050818103600083015261588181615845565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b60006158e4602a83613798565b91506158ef82615888565b604082019050919050565b60006020820190508181036000830152615913816158d7565b9050919050565b600060408201905081810360008301526159348185613a88565b905081810360208301526159488184613a88565b90509392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b60006159ad602983613798565b91506159b882615951565b604082019050919050565b600060208201905081810360008301526159dc816159a0565b9050919050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000615a3f602383613798565b9150615a4a826159e3565b604082019050919050565b60006020820190508181036000830152615a6e81615a32565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000615ad1602483613798565b9150615adc82615a75565b604082019050919050565b60006020820190508181036000830152615b0081615ac4565b9050919050565b7f5472616e7366657273206c6f636b656400000000000000000000000000000000600082015250565b6000615b3d601083613798565b9150615b4882615b07565b602082019050919050565b60006020820190508181036000830152615b6c81615b30565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615b9a82615b73565b615ba48185615b7e565b9350615bb48185602086016137a9565b615bbd816137d3565b840191505092915050565b600060a082019050615bdd6000830188613c20565b615bea6020830187613c20565b615bf7604083018661367b565b615c04606083018561367b565b8181036080830152615c168184615b8f565b90509695505050505050565b600081519050615c31816136d1565b92915050565b600060208284031215615c4d57615c4c61359d565b5b6000615c5b84828501615c22565b91505092915050565b60008160e01c9050919050565b600060033d1115615c905760046000803e615c8d600051615c64565b90505b90565b600060443d10615d2057615ca5613593565b60043d036004823e80513d602482011167ffffffffffffffff82111715615ccd575050615d20565b808201805167ffffffffffffffff811115615ceb5750505050615d20565b80602083010160043d038501811115615d08575050505050615d20565b615d1782602001850186613c8c565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000615d7f603483613798565b9150615d8a82615d23565b604082019050919050565b60006020820190508181036000830152615dae81615d72565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000615e11602883613798565b9150615e1c82615db5565b604082019050919050565b60006020820190508181036000830152615e4081615e04565b9050919050565b600060a082019050615e5c6000830188613c20565b615e696020830187613c20565b8181036040830152615e7b8186613a88565b90508181036060830152615e8f8185613a88565b90508181036080830152615ea38184615b8f565b90509695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea26469706673582212206e0e83052a9d95dcebffa2293424d370c0b9987919cd5d5ba22f618565f6cdb864736f6c63430008110033

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

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000006e685b33f5edf52602328b26c6d0d658d32649ea000000000000000000000000000000000000000000000000000000000000004c68747470733a2f2f697066732e66696c65626173652e696f2f697066732f516d557232647739476a7a6e5367516e5068746f4269636d336359476479317a6d55575774594b457751737938750000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _contractURI (string): https://ipfs.filebase.io/ipfs/QmUr2dw9GjznSgQnPhtoBicm3cYGdy1zmUWWtYKEwQsy8u
Arg [1] : royaltyAddress (address): 0x6e685B33f5EDf52602328b26c6d0d658D32649Ea

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000006e685b33f5edf52602328b26c6d0d658d32649ea
Arg [2] : 000000000000000000000000000000000000000000000000000000000000004c
Arg [3] : 68747470733a2f2f697066732e66696c65626173652e696f2f697066732f516d
Arg [4] : 557232647739476a7a6e5367516e5068746f4269636d336359476479317a6d55
Arg [5] : 575774594b457751737938750000000000000000000000000000000000000000


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

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