ETH Price: $2,285.36 (+0.38%)
Gas: 1.22 Gwei

Token

Shark Feast (NOMNOM)
 

Overview

Max Total Supply

321 NOMNOM

Holders

198

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
varley.eth
0x6EBd8991fC87F130DE28DE4b37F882d6cbE9aB28
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
SharkDaoNfts

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

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

/// @title SharkDAO Commemorative Nfts Contract

/***********************************************************
------------------------β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘----------------------------
--------------------------β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘------------------------
----------------------------β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘----------------------
----β–‘β–‘----------------------β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘--------------------
------β–‘β–‘----------------β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘--------------
------β–‘β–‘β–‘β–‘----------β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘------------
------β–‘β–‘β–‘β–‘β–‘β–‘----β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘----------
--------β–‘β–‘β–‘β–‘β–‘β–‘--β–‘β–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘--------
--------β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆ    β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–ˆβ–ˆ    β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘------
----------β–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ    β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ    β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘------
----------β–‘β–‘β–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆ    β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–ˆβ–ˆ    β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘--------
--------β–‘β–‘β–‘β–‘β–‘β–‘--β–‘β–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘----------
--------β–‘β–‘β–‘β–‘----β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘----------
--------β–‘β–‘------β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘  β–‘β–‘  β–‘β–‘  β–‘β–‘------------
------β–‘β–‘--------β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘  β–‘β–‘  β–‘β–‘  β–‘β–‘β–‘β–‘------------
----------------β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘--------------
----------------β–‘β–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆβ–‘β–‘β–‘β–‘----------------
----------------β–‘β–‘β–‘β–‘--β–ˆβ–ˆβ–‘β–‘β–ˆβ–ˆβ–‘β–ˆβ–ˆβ–‘β–‘β–ˆβ–ˆβ–‘β–ˆβ–ˆβ–‘β–‘β–ˆβ–ˆβ–‘β–‘----------------
----------------β–‘β–‘β–‘β–‘--β–ˆβ–ˆβ–‘β–‘β–ˆβ–ˆβ–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–ˆβ–ˆβ–‘β–‘β–ˆβ–ˆβ–‘β–‘----------------
----------------β–‘β–‘β–‘β–‘--β–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–ˆβ–ˆβ–‘β–‘β–ˆβ–ˆβ–‘β–‘β–‘β–ˆβ–ˆβ–‘β–‘β–‘β–‘----------------
----------------β–‘β–‘β–‘β–‘--β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘----------------
************************************************************/

/// @author Rayo ⚑️
/*
 *                                     ,/
 *     ____                          ,'/
 *    / __ \____ ___  ______       ,' /
 *   / /_/ / __ `/ / / / __ \    ,'  /_____
 *  / _, _/ /_/ / /_/ / /_/ /  .'____    ,'      
 * /_/ |_|\__,_/\__, /\____/        /  ,'
 *             /____/              / ,'
 *                                /,'
 *                               /' 
 */

pragma solidity ^0.8.4;

import "./AbstractSharkDaoNfts.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {ERC1155Supply} from "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import {ERC1155Burnable} from "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
import {MerkleProof} from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

contract SharkDaoNfts is AbstractSharkDaoNfts {

    mapping(uint256 => CommemorativeNft) public commemorativeNfts;

    event MintedSharkNft(uint index, address indexed account, uint amount);
    event AddedProject(bytes32 merkleRoot, string ipfsMetadataHash, uint indexed id, uint mintCost);

    struct CommemorativeNft {
        uint256 mintCost;
        bytes32 merkleRoot;
        string ipfsMetadataHash;
    }
    constructor(
        string memory _name,
        string memory _symbol
    ) public ERC1155("ipfs://") {
        name_ = _name;
        symbol_ = _symbol;

    }

    function mintCommemorativeShark(
        uint256 _nounId,
        bytes32[] calldata merkleProof
    ) external payable {
        require(commemorativeNfts[_nounId].merkleRoot != bytes32(0), "Project does not exist");
        require(balanceOf(msg.sender, _nounId) < 1, "Already claimed this Nft");
        require(msg.value >= commemorativeNfts[_nounId].mintCost, "Mint: Ether Value incorrect");
        bytes32 node = keccak256(abi.encodePacked(msg.sender));
        require(_verify(merkleProof, node, _nounId), "Invalid proof");
        
        uint excessPayment = msg.value - commemorativeNfts[_nounId].mintCost;
        if (excessPayment > 0) {
            (bool returnExcessStatus, ) = _msgSender().call{value: excessPayment}("");
            require(returnExcessStatus, "Error returning excess payment");
        }
        _mint(msg.sender, _nounId, 1, "");

        emit MintedSharkNft(_nounId, msg.sender, 1);
    }
   
    function addNftProject(
        bytes32 _merkleRoot,
        string memory _ipfsMetadataHash,
        uint256 _id,
        uint256 _mintCost
    ) external onlyOwner {
        require(commemorativeNfts[_id].merkleRoot == bytes32(0), "Project ID has already been initialized");
        CommemorativeNft storage project = commemorativeNfts[_id];
        project.merkleRoot = _merkleRoot;
        project.ipfsMetadataHash = _ipfsMetadataHash;
        project.mintCost = _mintCost;

        emit AddedProject(_merkleRoot, _ipfsMetadataHash, _id, _mintCost);
    }

    function editNftProject(
        bytes32 _merkleRoot,  
        string memory _ipfsMetadataHash,
        uint256 _id,
        uint256 _mintCost
    ) external onlyOwner {
        require(commemorativeNfts[_id].merkleRoot != bytes32(0), 
            "Project does not exist, please create before editing");
        
        commemorativeNfts[_id].merkleRoot = _merkleRoot;
        commemorativeNfts[_id].ipfsMetadataHash = _ipfsMetadataHash;    
        commemorativeNfts[_id].mintCost = _mintCost;    
    }       

    function uri(uint256 _id) public view override returns (string memory) {
        require(commemorativeNfts[_id].merkleRoot != bytes32(0), "Token does not exist");
        return string (abi.encodePacked(super.uri(_id), commemorativeNfts[_id].ipfsMetadataHash));

    }

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

    function _verify(
        bytes32[] memory _proof,
        bytes32 _leaf,
        uint256 _id
    ) private view returns (bool) {
        bytes32 root = commemorativeNfts[_id].merkleRoot;
        return MerkleProof.verify(_proof, root, _leaf);
    }
}

File 2 of 14 : AbstractSharkDaoNfts.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

/***********************************************************
------------------------β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘----------------------------
--------------------------β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘------------------------
----------------------------β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘----------------------
----β–‘β–‘----------------------β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘--------------------
------β–‘β–‘----------------β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘--------------
------β–‘β–‘β–‘β–‘----------β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘------------
------β–‘β–‘β–‘β–‘β–‘β–‘----β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘----------
--------β–‘β–‘β–‘β–‘β–‘β–‘--β–‘β–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘--------
--------β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆ    β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–ˆβ–ˆ    β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘------
----------β–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ    β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ    β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘------
----------β–‘β–‘β–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆ    β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–ˆβ–ˆ    β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘--------
--------β–‘β–‘β–‘β–‘β–‘β–‘--β–‘β–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘----------
--------β–‘β–‘β–‘β–‘----β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘----------
--------β–‘β–‘------β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘  β–‘β–‘  β–‘β–‘  β–‘β–‘------------
------β–‘β–‘--------β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘  β–‘β–‘  β–‘β–‘  β–‘β–‘β–‘β–‘------------
----------------β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘--------------
----------------β–‘β–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–ˆβ–ˆβ–‘β–‘β–‘β–‘----------------
----------------β–‘β–‘β–‘β–‘--β–ˆβ–ˆβ–‘β–‘β–ˆβ–ˆβ–‘β–ˆβ–ˆβ–‘β–‘β–ˆβ–ˆβ–‘β–ˆβ–ˆβ–‘β–‘β–ˆβ–ˆβ–‘β–‘----------------
----------------β–‘β–‘β–‘β–‘--β–ˆβ–ˆβ–‘β–‘β–ˆβ–ˆβ–‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–ˆβ–ˆβ–‘β–‘β–ˆβ–ˆβ–‘β–‘----------------
----------------β–‘β–‘β–‘β–‘--β–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–ˆβ–ˆβ–‘β–‘β–ˆβ–ˆβ–‘β–‘β–‘β–ˆβ–ˆβ–‘β–‘β–‘β–‘----------------
----------------β–‘β–‘β–‘β–‘--β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘----------------
************************************************************/

import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {ERC1155} from "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import {ERC1155Supply} from "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import {ERC1155Burnable} from "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";

abstract contract AbstractSharkDaoNfts is ERC1155, ERC1155Supply, ERC1155Burnable, Ownable {
    
    string public name_;
    string public symbol_;   

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

    function name() public view returns (string memory) {
        return name_;
    }

    function symbol() public view returns (string memory) {
        return symbol_;
    }          

    function _mint(
        address account,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual override(ERC1155, ERC1155Supply) {
        super._mint(account, id, amount, data);
    }

    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override(ERC1155, ERC1155Supply) {
        super._mintBatch(to, ids, amounts, data);
    }

    function _burn(
        address account,
        uint256 id,
        uint256 amount
    ) internal virtual override(ERC1155, ERC1155Supply) {
        super._burn(account, id, amount);
    }

    function _burnBatch(
        address account,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual override(ERC1155, ERC1155Supply) {
        super._burnBatch(account, ids, amounts);
    }  
}

File 3 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 4 of 14 : ERC1155Supply.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC1155.sol";

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

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

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

    /**
     * @dev See {ERC1155-_mint}.
     */
    function _mint(
        address account,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual override {
        super._mint(account, id, amount, data);
        _totalSupply[id] += amount;
    }

    /**
     * @dev See {ERC1155-_mintBatch}.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override {
        super._mintBatch(to, ids, amounts, data);
        for (uint256 i = 0; i < ids.length; ++i) {
            _totalSupply[ids[i]] += amounts[i];
        }
    }

    /**
     * @dev See {ERC1155-_burn}.
     */
    function _burn(
        address account,
        uint256 id,
        uint256 amount
    ) internal virtual override {
        super._burn(account, id, amount);
        _totalSupply[id] -= amount;
    }

    /**
     * @dev See {ERC1155-_burnBatch}.
     */
    function _burnBatch(
        address account,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual override {
        super._burnBatch(account, ids, amounts);
        for (uint256 i = 0; i < ids.length; ++i) {
            _totalSupply[ids[i]] -= amounts[i];
        }
    }
}

File 5 of 14 : ERC1155Burnable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC1155.sol";

/**
 * @dev Extension of {ERC1155} that allows token holders to destroy both their
 * own tokens and those that they have been approved to use.
 *
 * _Available since v3.1._
 */
abstract contract ERC1155Burnable is ERC1155 {
    function burn(
        address account,
        uint256 id,
        uint256 value
    ) public virtual {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );

        _burn(account, id, value);
    }

    function burnBatch(
        address account,
        uint256[] memory ids,
        uint256[] memory values
    ) public virtual {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );

        _burnBatch(account, ids, values);
    }
}

File 6 of 14 : MerkleProof.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

File 7 of 14 : ERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(_msgSender() != operator, "ERC1155: setting approval status for self");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

        return array;
    }
}

File 8 of 14 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 9 of 14 : IERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

File 10 of 14 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC1155.sol";

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

File 12 of 14 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 13 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"merkleRoot","type":"bytes32"},{"indexed":false,"internalType":"string","name":"ipfsMetadataHash","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"mintCost","type":"uint256"}],"name":"AddedProject","type":"event"},{"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":false,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"MintedSharkNft","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":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"string","name":"_ipfsMetadataHash","type":"string"},{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_mintCost","type":"uint256"}],"name":"addNftProject","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":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"commemorativeNfts","outputs":[{"internalType":"uint256","name":"mintCost","type":"uint256"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"},{"internalType":"string","name":"ipfsMetadataHash","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"string","name":"_ipfsMetadataHash","type":"string"},{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_mintCost","type":"uint256"}],"name":"editNftProject","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"uint256","name":"_nounId","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintCommemorativeShark","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name_","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol_","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162005428380380620054288339818101604052810190620000379190620002e5565b6040518060400160405280600781526020017f697066733a2f2f000000000000000000000000000000000000000000000000008152506200007e81620000d960201b60201c565b506200009f62000093620000f560201b60201c565b620000fd60201b60201c565b8160059080519060200190620000b7929190620001c3565b508060069080519060200190620000d0929190620001c3565b505050620004c8565b8060029080519060200190620000f1929190620001c3565b5050565b600033905090565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001d190620003ed565b90600052602060002090601f016020900481019282620001f5576000855562000241565b82601f106200021057805160ff191683800117855562000241565b8280016001018555821562000241579182015b828111156200024057825182559160200191906001019062000223565b5b50905062000250919062000254565b5090565b5b808211156200026f57600081600090555060010162000255565b5090565b60006200028a620002848462000381565b62000358565b905082815260208101848484011115620002a357600080fd5b620002b0848285620003b7565b509392505050565b600082601f830112620002ca57600080fd5b8151620002dc84826020860162000273565b91505092915050565b60008060408385031215620002f957600080fd5b600083015167ffffffffffffffff8111156200031457600080fd5b6200032285828601620002b8565b925050602083015167ffffffffffffffff8111156200034057600080fd5b6200034e85828601620002b8565b9150509250929050565b60006200036462000377565b905062000372828262000423565b919050565b6000604051905090565b600067ffffffffffffffff8211156200039f576200039e62000488565b5b620003aa82620004b7565b9050602081019050919050565b60005b83811015620003d7578082015181840152602081019050620003ba565b83811115620003e7576000848401525b50505050565b600060028204905060018216806200040657607f821691505b602082108114156200041d576200041c62000459565b5b50919050565b6200042e82620004b7565b810181811067ffffffffffffffff8211171562000450576200044f62000488565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b614f5080620004d86000396000f3fe6080604052600436106101655760003560e01c80636b20c454116100d1578063af17dea61161008a578063e985e9c511610064578063e985e9c51461052e578063f242432a1461056b578063f2fde38b14610594578063f5298aca146105bd57610165565b8063af17dea61461049b578063bd85b039146104c6578063e2b9e1861461050357610165565b80636b20c4541461039d578063715018a6146103c65780638da5cb5b146103dd57806395d89b4114610408578063a22cb46514610433578063a6c702781461045c57610165565b80632eb2c2d6116101235780632eb2c2d6146102915780633ccfd60b146102ba5780634a69bc3a146102d15780634e1273f4146102fa5780634f558e7914610337578063533f4ecc1461037457610165565b8062fdd58e1461016a57806301ffc9a7146101a757806302fe5305146101e457806306fdde031461020d5780630e89341c146102385780631ce0d53814610275575b600080fd5b34801561017657600080fd5b50610191600480360381019061018c91906135ca565b6105e6565b60405161019e91906142c9565b60405180910390f35b3480156101b357600080fd5b506101ce60048036038101906101c9919061373c565b6106af565b6040516101db9190613f6e565b60405180910390f35b3480156101f057600080fd5b5061020b6004803603810190610206919061378e565b610791565b005b34801561021957600080fd5b50610222610819565b60405161022f9190613fc7565b60405180910390f35b34801561024457600080fd5b5061025f600480360381019061025a91906137cf565b6108ab565b60405161026c9190613fc7565b60405180910390f35b61028f600480360381019061028a91906137f8565b61094f565b005b34801561029d57600080fd5b506102b860048036038101906102b391906133c1565b610c5e565b005b3480156102c657600080fd5b506102cf610cff565b005b3480156102dd57600080fd5b506102f860048036038101906102f391906136c1565b610dca565b005b34801561030657600080fd5b50610321600480360381019061031c9190613655565b610f09565b60405161032e9190613f15565b60405180910390f35b34801561034357600080fd5b5061035e600480360381019061035991906137cf565b6110ba565b60405161036b9190613f6e565b60405180910390f35b34801561038057600080fd5b5061039b600480360381019061039691906136c1565b6110ce565b005b3480156103a957600080fd5b506103c460048036038101906103bf919061350f565b61122a565b005b3480156103d257600080fd5b506103db6112c7565b005b3480156103e957600080fd5b506103f261134f565b6040516103ff9190613e38565b60405180910390f35b34801561041457600080fd5b5061041d611379565b60405161042a9190613fc7565b60405180910390f35b34801561043f57600080fd5b5061045a6004803603810190610455919061358e565b61140b565b005b34801561046857600080fd5b50610483600480360381019061047e91906137cf565b61158c565b604051610492939291906142e4565b60405180910390f35b3480156104a757600080fd5b506104b061163e565b6040516104bd9190613fc7565b60405180910390f35b3480156104d257600080fd5b506104ed60048036038101906104e891906137cf565b6116cc565b6040516104fa91906142c9565b60405180910390f35b34801561050f57600080fd5b506105186116e9565b6040516105259190613fc7565b60405180910390f35b34801561053a57600080fd5b5061055560048036038101906105509190613385565b611777565b6040516105629190613f6e565b60405180910390f35b34801561057757600080fd5b50610592600480360381019061058d9190613480565b61180b565b005b3480156105a057600080fd5b506105bb60048036038101906105b6919061335c565b6118ac565b005b3480156105c957600080fd5b506105e460048036038101906105df9190613606565b6119a4565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610657576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161064e90614049565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061077a57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061078a575061078982611a41565b5b9050919050565b610799611aab565b73ffffffffffffffffffffffffffffffffffffffff166107b761134f565b73ffffffffffffffffffffffffffffffffffffffff161461080d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610804906141c9565b60405180910390fd5b61081681611ab3565b50565b6060600580546108289061464b565b80601f01602080910402602001604051908101604052809291908181526020018280546108549061464b565b80156108a15780601f10610876576101008083540402835291602001916108a1565b820191906000526020600020905b81548152906001019060200180831161088457829003601f168201915b5050505050905090565b60606000801b60076000848152602001908152602001600020600101541415610909576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610900906140e9565b60405180910390fd5b61091282611acd565b60076000848152602001908152602001600020600201604051602001610939929190613dff565b6040516020818303038152906040529050919050565b6000801b600760008581526020019081526020016000206001015414156109ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a290614249565b60405180910390fd5b60016109b733856105e6565b106109f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ee90613fe9565b60405180910390fd5b6007600084815260200190815260200160002060000154341015610a50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a47906140c9565b60405180910390fd5b600033604051602001610a639190613db8565b604051602081830303815290604052805190602001209050610ac7838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508286611b61565b610b06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610afd90614209565b60405180910390fd5b6000600760008681526020019081526020016000206000015434610b2a9190614545565b90506000811115610bea576000610b3f611aab565b73ffffffffffffffffffffffffffffffffffffffff1682604051610b6290613e23565b60006040518083038185875af1925050503d8060008114610b9f576040519150601f19603f3d011682016040523d82523d6000602084013e610ba4565b606091505b5050905080610be8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bdf90614189565b60405180910390fd5b505b610c063386600160405180602001604052806000815250611b92565b3373ffffffffffffffffffffffffffffffffffffffff167f6803e6cd4e9d79efc1da27261d896406dadaadca811025925f88184bb3cacca5866001604051610c4f929190614322565b60405180910390a25050505050565b610c66611aab565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610cac5750610cab85610ca6611aab565b611777565b5b610ceb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce290614149565b60405180910390fd5b610cf88585858585611ba4565b5050505050565b610d07611aab565b73ffffffffffffffffffffffffffffffffffffffff16610d2561134f565b73ffffffffffffffffffffffffffffffffffffffff1614610d7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d72906141c9565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610dc6573d6000803e3d6000fd5b5050565b610dd2611aab565b73ffffffffffffffffffffffffffffffffffffffff16610df061134f565b73ffffffffffffffffffffffffffffffffffffffff1614610e46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3d906141c9565b60405180910390fd5b6000801b60076000848152602001908152602001600020600101541415610ea2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e99906141e9565b60405180910390fd5b83600760008481526020019081526020016000206001018190555082600760008481526020019081526020016000206002019080519060200190610ee7929190612ff5565b5080600760008481526020019081526020016000206000018190555050505050565b60608151835114610f4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4690614269565b60405180910390fd5b6000835167ffffffffffffffff811115610f92577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610fc05781602001602082028036833780820191505090505b50905060005b84518110156110af5761105985828151811061100b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015185838151811061104c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516105e6565b828281518110611092577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050806110a8906146ae565b9050610fc6565b508091505092915050565b6000806110c6836116cc565b119050919050565b6110d6611aab565b73ffffffffffffffffffffffffffffffffffffffff166110f461134f565b73ffffffffffffffffffffffffffffffffffffffff161461114a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611141906141c9565b60405180910390fd5b6000801b6007600084815260200190815260200160002060010154146111a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119c90614109565b60405180910390fd5b6000600760008481526020019081526020016000209050848160010181905550838160020190805190602001906111dd929190612ff5565b50818160000181905550827f6973dd0a60ff83bc030932098d1a362c73fe592472d58d809abc60e2a34c2d7386868560405161121b93929190613f89565b60405180910390a25050505050565b611232611aab565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480611278575061127783611272611aab565b611777565b5b6112b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ae906140a9565b60405180910390fd5b6112c2838383611f04565b505050565b6112cf611aab565b73ffffffffffffffffffffffffffffffffffffffff166112ed61134f565b73ffffffffffffffffffffffffffffffffffffffff1614611343576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133a906141c9565b60405180910390fd5b61134d6000611f14565b565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600680546113889061464b565b80601f01602080910402602001604051908101604052809291908181526020018280546113b49061464b565b80156114015780601f106113d657610100808354040283529160200191611401565b820191906000526020600020905b8154815290600101906020018083116113e457829003601f168201915b5050505050905090565b8173ffffffffffffffffffffffffffffffffffffffff1661142a611aab565b73ffffffffffffffffffffffffffffffffffffffff161415611481576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147890614229565b60405180910390fd5b806001600061148e611aab565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661153b611aab565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516115809190613f6e565b60405180910390a35050565b60076020528060005260406000206000915090508060000154908060010154908060020180546115bb9061464b565b80601f01602080910402602001604051908101604052809291908181526020018280546115e79061464b565b80156116345780601f1061160957610100808354040283529160200191611634565b820191906000526020600020905b81548152906001019060200180831161161757829003601f168201915b5050505050905083565b6006805461164b9061464b565b80601f01602080910402602001604051908101604052809291908181526020018280546116779061464b565b80156116c45780601f10611699576101008083540402835291602001916116c4565b820191906000526020600020905b8154815290600101906020018083116116a757829003601f168201915b505050505081565b600060036000838152602001908152602001600020549050919050565b600580546116f69061464b565b80601f01602080910402602001604051908101604052809291908181526020018280546117229061464b565b801561176f5780601f106117445761010080835404028352916020019161176f565b820191906000526020600020905b81548152906001019060200180831161175257829003601f168201915b505050505081565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611813611aab565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611859575061185885611853611aab565b611777565b5b611898576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188f906140a9565b60405180910390fd5b6118a58585858585611fda565b5050505050565b6118b4611aab565b73ffffffffffffffffffffffffffffffffffffffff166118d261134f565b73ffffffffffffffffffffffffffffffffffffffff1614611928576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191f906141c9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611998576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198f90614069565b60405180910390fd5b6119a181611f14565b50565b6119ac611aab565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806119f257506119f1836119ec611aab565b611777565b5b611a31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a28906140a9565b60405180910390fd5b611a3c83838361225c565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b8060029080519060200190611ac9929190612ff5565b5050565b606060028054611adc9061464b565b80601f0160208091040260200160405190810160405280929190818152602001828054611b089061464b565b8015611b555780601f10611b2a57610100808354040283529160200191611b55565b820191906000526020600020905b815481529060010190602001808311611b3857829003601f168201915b50505050509050919050565b60008060076000848152602001908152602001600020600101549050611b8885828661226c565b9150509392505050565b611b9e84848484612348565b50505050565b8151835114611be8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bdf90614289565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611c58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4f90614129565b60405180910390fd5b6000611c62611aab565b9050611c72818787878787612384565b60005b8451811015611e6f576000858281518110611cb9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110611cfe577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611d9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d96906141a9565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e5491906144ef565b9250508190555050505080611e68906146ae565b9050611c75565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611ee6929190613f37565b60405180910390a4611efc81878787878761238c565b505050505050565b611f0f838383612573565b505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561204a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204190614129565b60405180910390fd5b6000612054611aab565b90506120748187876120658861264b565b61206e8861264b565b87612384565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508381101561210b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612102906141a9565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121c091906144ef565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161223d92919061434b565b60405180910390a4612253828888888888612711565b50505050505050565b6122678383836128f8565b505050565b60008082905060005b855181101561233a5760008682815181106122b9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116122fa5782816040516020016122dd929190613dd3565b604051602081830303815290604052805190602001209250612326565b808360405160200161230d929190613dd3565b6040516020818303038152906040528051906020012092505b508080612332906146ae565b915050612275565b508381149150509392505050565b61235484848484612932565b8160036000858152602001908152602001600020600082825461237791906144ef565b9250508190555050505050565b505050505050565b6123ab8473ffffffffffffffffffffffffffffffffffffffff16612ac8565b1561256b578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016123f1959493929190613e53565b602060405180830381600087803b15801561240b57600080fd5b505af192505050801561243c57506040513d601f19601f820116820180604052508101906124399190613765565b60015b6124e2576124486147b2565b806308c379a014156124a5575061245d614e11565b8061246857506124a7565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249c9190613fc7565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d990614009565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612569576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256090614029565b60405180910390fd5b505b505050505050565b61257e838383612adb565b60005b8251811015612645578181815181106125c3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160036000858481518110612608577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518152602001908152602001600020600082825461262d9190614545565b925050819055508061263e906146ae565b9050612581565b50505050565b60606000600167ffffffffffffffff811115612690577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156126be5781602001602082028036833780820191505090505b50905082816000815181106126fc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b6127308473ffffffffffffffffffffffffffffffffffffffff16612ac8565b156128f0578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612776959493929190613ebb565b602060405180830381600087803b15801561279057600080fd5b505af19250505080156127c157506040513d601f19601f820116820180604052508101906127be9190613765565b60015b612867576127cd6147b2565b806308c379a0141561282a57506127e2614e11565b806127ed575061282c565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128219190613fc7565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285e90614009565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146128ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e590614029565b60405180910390fd5b505b505050505050565b612903838383612dd8565b806003600084815260200190815260200160002060008282546129269190614545565b92505081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156129a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612999906142a9565b60405180910390fd5b60006129ac611aab565b90506129cd816000876129be8861264b565b6129c78861264b565b87612384565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a2c91906144ef565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051612aaa92919061434b565b60405180910390a4612ac181600087878787612711565b5050505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4290614169565b60405180910390fd5b8051825114612b8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8690614289565b60405180910390fd5b6000612b99611aab565b9050612bb981856000868660405180602001604052806000815250612384565b60005b8351811015612d52576000848281518110612c00577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000848381518110612c45577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612ce6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cdd90614089565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050508080612d4a906146ae565b915050612bbc565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051612dca929190613f37565b60405180910390a450505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612e48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3f90614169565b60405180910390fd5b6000612e52611aab565b9050612e8281856000612e648761264b565b612e6d8761264b565b60405180602001604052806000815250612384565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015612f19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f1090614089565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051612fe692919061434b565b60405180910390a45050505050565b8280546130019061464b565b90600052602060002090601f016020900481019282613023576000855561306a565b82601f1061303c57805160ff191683800117855561306a565b8280016001018555821561306a579182015b8281111561306957825182559160200191906001019061304e565b5b509050613077919061307b565b5090565b5b8082111561309457600081600090555060010161307c565b5090565b60006130ab6130a684614399565b614374565b905080838252602082019050828560208602820111156130ca57600080fd5b60005b858110156130fa57816130e088826131ec565b8452602084019350602083019250506001810190506130cd565b5050509392505050565b6000613117613112846143c5565b614374565b9050808382526020820190508285602086028201111561313657600080fd5b60005b85811015613166578161314c8882613347565b845260208401935060208301925050600181019050613139565b5050509392505050565b600061318361317e846143f1565b614374565b90508281526020810184848401111561319b57600080fd5b6131a6848285614609565b509392505050565b60006131c16131bc84614422565b614374565b9050828152602081018484840111156131d957600080fd5b6131e4848285614609565b509392505050565b6000813590506131fb81614ea7565b92915050565b600082601f83011261321257600080fd5b8135613222848260208601613098565b91505092915050565b60008083601f84011261323d57600080fd5b8235905067ffffffffffffffff81111561325657600080fd5b60208301915083602082028301111561326e57600080fd5b9250929050565b600082601f83011261328657600080fd5b8135613296848260208601613104565b91505092915050565b6000813590506132ae81614ebe565b92915050565b6000813590506132c381614ed5565b92915050565b6000813590506132d881614eec565b92915050565b6000815190506132ed81614eec565b92915050565b600082601f83011261330457600080fd5b8135613314848260208601613170565b91505092915050565b600082601f83011261332e57600080fd5b813561333e8482602086016131ae565b91505092915050565b60008135905061335681614f03565b92915050565b60006020828403121561336e57600080fd5b600061337c848285016131ec565b91505092915050565b6000806040838503121561339857600080fd5b60006133a6858286016131ec565b92505060206133b7858286016131ec565b9150509250929050565b600080600080600060a086880312156133d957600080fd5b60006133e7888289016131ec565b95505060206133f8888289016131ec565b945050604086013567ffffffffffffffff81111561341557600080fd5b61342188828901613275565b935050606086013567ffffffffffffffff81111561343e57600080fd5b61344a88828901613275565b925050608086013567ffffffffffffffff81111561346757600080fd5b613473888289016132f3565b9150509295509295909350565b600080600080600060a0868803121561349857600080fd5b60006134a6888289016131ec565b95505060206134b7888289016131ec565b94505060406134c888828901613347565b93505060606134d988828901613347565b925050608086013567ffffffffffffffff8111156134f657600080fd5b613502888289016132f3565b9150509295509295909350565b60008060006060848603121561352457600080fd5b6000613532868287016131ec565b935050602084013567ffffffffffffffff81111561354f57600080fd5b61355b86828701613275565b925050604084013567ffffffffffffffff81111561357857600080fd5b61358486828701613275565b9150509250925092565b600080604083850312156135a157600080fd5b60006135af858286016131ec565b92505060206135c08582860161329f565b9150509250929050565b600080604083850312156135dd57600080fd5b60006135eb858286016131ec565b92505060206135fc85828601613347565b9150509250929050565b60008060006060848603121561361b57600080fd5b6000613629868287016131ec565b935050602061363a86828701613347565b925050604061364b86828701613347565b9150509250925092565b6000806040838503121561366857600080fd5b600083013567ffffffffffffffff81111561368257600080fd5b61368e85828601613201565b925050602083013567ffffffffffffffff8111156136ab57600080fd5b6136b785828601613275565b9150509250929050565b600080600080608085870312156136d757600080fd5b60006136e5878288016132b4565b945050602085013567ffffffffffffffff81111561370257600080fd5b61370e8782880161331d565b935050604061371f87828801613347565b925050606061373087828801613347565b91505092959194509250565b60006020828403121561374e57600080fd5b600061375c848285016132c9565b91505092915050565b60006020828403121561377757600080fd5b6000613785848285016132de565b91505092915050565b6000602082840312156137a057600080fd5b600082013567ffffffffffffffff8111156137ba57600080fd5b6137c68482850161331d565b91505092915050565b6000602082840312156137e157600080fd5b60006137ef84828501613347565b91505092915050565b60008060006040848603121561380d57600080fd5b600061381b86828701613347565b935050602084013567ffffffffffffffff81111561383857600080fd5b6138448682870161322b565b92509250509250925092565b600061385c8383613d9a565b60208301905092915050565b61387181614579565b82525050565b61388861388382614579565b6146f7565b82525050565b600061389982614478565b6138a381856144a6565b93506138ae83614453565b8060005b838110156138df5781516138c68882613850565b97506138d183614499565b9250506001810190506138b2565b5085935050505092915050565b6138f58161458b565b82525050565b61390481614597565b82525050565b61391b61391682614597565b614709565b82525050565b600061392c82614483565b61393681856144b7565b9350613946818560208601614618565b61394f816147d4565b840191505092915050565b613963816145f7565b82525050565b60006139748261448e565b61397e81856144d3565b935061398e818560208601614618565b613997816147d4565b840191505092915050565b60006139ad8261448e565b6139b781856144e4565b93506139c7818560208601614618565b80840191505092915050565b600081546139e08161464b565b6139ea81866144e4565b94506001821660008114613a055760018114613a1657613a49565b60ff19831686528186019350613a49565b613a1f85614463565b60005b83811015613a4157815481890152600182019150602081019050613a22565b838801955050505b50505092915050565b6000613a5f6018836144d3565b9150613a6a826147ff565b602082019050919050565b6000613a826034836144d3565b9150613a8d82614828565b604082019050919050565b6000613aa56028836144d3565b9150613ab082614877565b604082019050919050565b6000613ac8602b836144d3565b9150613ad3826148c6565b604082019050919050565b6000613aeb6026836144d3565b9150613af682614915565b604082019050919050565b6000613b0e6024836144d3565b9150613b1982614964565b604082019050919050565b6000613b316029836144d3565b9150613b3c826149b3565b604082019050919050565b6000613b54601b836144d3565b9150613b5f82614a02565b602082019050919050565b6000613b776014836144d3565b9150613b8282614a2b565b602082019050919050565b6000613b9a6027836144d3565b9150613ba582614a54565b604082019050919050565b6000613bbd6025836144d3565b9150613bc882614aa3565b604082019050919050565b6000613be06032836144d3565b9150613beb82614af2565b604082019050919050565b6000613c036023836144d3565b9150613c0e82614b41565b604082019050919050565b6000613c26601e836144d3565b9150613c3182614b90565b602082019050919050565b6000613c49602a836144d3565b9150613c5482614bb9565b604082019050919050565b6000613c6c6020836144d3565b9150613c7782614c08565b602082019050919050565b6000613c8f6034836144d3565b9150613c9a82614c31565b604082019050919050565b6000613cb26000836144c8565b9150613cbd82614c80565b600082019050919050565b6000613cd5600d836144d3565b9150613ce082614c83565b602082019050919050565b6000613cf86029836144d3565b9150613d0382614cac565b604082019050919050565b6000613d1b6016836144d3565b9150613d2682614cfb565b602082019050919050565b6000613d3e6029836144d3565b9150613d4982614d24565b604082019050919050565b6000613d616028836144d3565b9150613d6c82614d73565b604082019050919050565b6000613d846021836144d3565b9150613d8f82614dc2565b604082019050919050565b613da3816145ed565b82525050565b613db2816145ed565b82525050565b6000613dc48284613877565b60148201915081905092915050565b6000613ddf828561390a565b602082019150613def828461390a565b6020820191508190509392505050565b6000613e0b82856139a2565b9150613e1782846139d3565b91508190509392505050565b6000613e2e82613ca5565b9150819050919050565b6000602082019050613e4d6000830184613868565b92915050565b600060a082019050613e686000830188613868565b613e756020830187613868565b8181036040830152613e87818661388e565b90508181036060830152613e9b818561388e565b90508181036080830152613eaf8184613921565b90509695505050505050565b600060a082019050613ed06000830188613868565b613edd6020830187613868565b613eea6040830186613da9565b613ef76060830185613da9565b8181036080830152613f098184613921565b90509695505050505050565b60006020820190508181036000830152613f2f818461388e565b905092915050565b60006040820190508181036000830152613f51818561388e565b90508181036020830152613f65818461388e565b90509392505050565b6000602082019050613f8360008301846138ec565b92915050565b6000606082019050613f9e60008301866138fb565b8181036020830152613fb08185613969565b9050613fbf6040830184613da9565b949350505050565b60006020820190508181036000830152613fe18184613969565b905092915050565b6000602082019050818103600083015261400281613a52565b9050919050565b6000602082019050818103600083015261402281613a75565b9050919050565b6000602082019050818103600083015261404281613a98565b9050919050565b6000602082019050818103600083015261406281613abb565b9050919050565b6000602082019050818103600083015261408281613ade565b9050919050565b600060208201905081810360008301526140a281613b01565b9050919050565b600060208201905081810360008301526140c281613b24565b9050919050565b600060208201905081810360008301526140e281613b47565b9050919050565b6000602082019050818103600083015261410281613b6a565b9050919050565b6000602082019050818103600083015261412281613b8d565b9050919050565b6000602082019050818103600083015261414281613bb0565b9050919050565b6000602082019050818103600083015261416281613bd3565b9050919050565b6000602082019050818103600083015261418281613bf6565b9050919050565b600060208201905081810360008301526141a281613c19565b9050919050565b600060208201905081810360008301526141c281613c3c565b9050919050565b600060208201905081810360008301526141e281613c5f565b9050919050565b6000602082019050818103600083015261420281613c82565b9050919050565b6000602082019050818103600083015261422281613cc8565b9050919050565b6000602082019050818103600083015261424281613ceb565b9050919050565b6000602082019050818103600083015261426281613d0e565b9050919050565b6000602082019050818103600083015261428281613d31565b9050919050565b600060208201905081810360008301526142a281613d54565b9050919050565b600060208201905081810360008301526142c281613d77565b9050919050565b60006020820190506142de6000830184613da9565b92915050565b60006060820190506142f96000830186613da9565b61430660208301856138fb565b81810360408301526143188184613969565b9050949350505050565b60006040820190506143376000830185613da9565b614344602083018461395a565b9392505050565b60006040820190506143606000830185613da9565b61436d6020830184613da9565b9392505050565b600061437e61438f565b905061438a828261467d565b919050565b6000604051905090565b600067ffffffffffffffff8211156143b4576143b3614783565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156143e0576143df614783565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561440c5761440b614783565b5b614415826147d4565b9050602081019050919050565b600067ffffffffffffffff82111561443d5761443c614783565b5b614446826147d4565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006144fa826145ed565b9150614505836145ed565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561453a57614539614725565b5b828201905092915050565b6000614550826145ed565b915061455b836145ed565b92508282101561456e5761456d614725565b5b828203905092915050565b6000614584826145cd565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000614602826145ed565b9050919050565b82818337600083830152505050565b60005b8381101561463657808201518184015260208101905061461b565b83811115614645576000848401525b50505050565b6000600282049050600182168061466357607f821691505b6020821081141561467757614676614754565b5b50919050565b614686826147d4565b810181811067ffffffffffffffff821117156146a5576146a4614783565b5b80604052505050565b60006146b9826145ed565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156146ec576146eb614725565b5b600182019050919050565b600061470282614713565b9050919050565b6000819050919050565b600061471e826147e5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d11156147d15760046000803e6147ce6000516147f2565b90505b90565b6000601f19601f8301169050919050565b60008160601b9050919050565b60008160e01c9050919050565b7f416c726561647920636c61696d65642074686973204e66740000000000000000600082015250565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f4d696e743a2045746865722056616c756520696e636f72726563740000000000600082015250565b7f546f6b656e20646f6573206e6f74206578697374000000000000000000000000600082015250565b7f50726f6a6563742049442068617320616c7265616479206265656e20696e697460008201527f69616c697a656400000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f4572726f722072657475726e696e6720657863657373207061796d656e740000600082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f50726f6a65637420646f6573206e6f742065786973742c20706c65617365206360008201527f7265617465206265666f72652065646974696e67000000000000000000000000602082015250565b50565b7f496e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f50726f6a65637420646f6573206e6f7420657869737400000000000000000000600082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d1015614e2157614ea4565b614e2961438f565b60043d036004823e80513d602482011167ffffffffffffffff82111715614e51575050614ea4565b808201805167ffffffffffffffff811115614e6f5750505050614ea4565b80602083010160043d038501811115614e8c575050505050614ea4565b614e9b8260200185018661467d565b82955050505050505b90565b614eb081614579565b8114614ebb57600080fd5b50565b614ec78161458b565b8114614ed257600080fd5b50565b614ede81614597565b8114614ee957600080fd5b50565b614ef5816145a1565b8114614f0057600080fd5b50565b614f0c816145ed565b8114614f1757600080fd5b5056fea264697066735822122039f417784d478bfdc37dc27e638712b47bed465eccace1a48895e539b688963364736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000b536861726b20466561737400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064e4f4d4e4f4d0000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101655760003560e01c80636b20c454116100d1578063af17dea61161008a578063e985e9c511610064578063e985e9c51461052e578063f242432a1461056b578063f2fde38b14610594578063f5298aca146105bd57610165565b8063af17dea61461049b578063bd85b039146104c6578063e2b9e1861461050357610165565b80636b20c4541461039d578063715018a6146103c65780638da5cb5b146103dd57806395d89b4114610408578063a22cb46514610433578063a6c702781461045c57610165565b80632eb2c2d6116101235780632eb2c2d6146102915780633ccfd60b146102ba5780634a69bc3a146102d15780634e1273f4146102fa5780634f558e7914610337578063533f4ecc1461037457610165565b8062fdd58e1461016a57806301ffc9a7146101a757806302fe5305146101e457806306fdde031461020d5780630e89341c146102385780631ce0d53814610275575b600080fd5b34801561017657600080fd5b50610191600480360381019061018c91906135ca565b6105e6565b60405161019e91906142c9565b60405180910390f35b3480156101b357600080fd5b506101ce60048036038101906101c9919061373c565b6106af565b6040516101db9190613f6e565b60405180910390f35b3480156101f057600080fd5b5061020b6004803603810190610206919061378e565b610791565b005b34801561021957600080fd5b50610222610819565b60405161022f9190613fc7565b60405180910390f35b34801561024457600080fd5b5061025f600480360381019061025a91906137cf565b6108ab565b60405161026c9190613fc7565b60405180910390f35b61028f600480360381019061028a91906137f8565b61094f565b005b34801561029d57600080fd5b506102b860048036038101906102b391906133c1565b610c5e565b005b3480156102c657600080fd5b506102cf610cff565b005b3480156102dd57600080fd5b506102f860048036038101906102f391906136c1565b610dca565b005b34801561030657600080fd5b50610321600480360381019061031c9190613655565b610f09565b60405161032e9190613f15565b60405180910390f35b34801561034357600080fd5b5061035e600480360381019061035991906137cf565b6110ba565b60405161036b9190613f6e565b60405180910390f35b34801561038057600080fd5b5061039b600480360381019061039691906136c1565b6110ce565b005b3480156103a957600080fd5b506103c460048036038101906103bf919061350f565b61122a565b005b3480156103d257600080fd5b506103db6112c7565b005b3480156103e957600080fd5b506103f261134f565b6040516103ff9190613e38565b60405180910390f35b34801561041457600080fd5b5061041d611379565b60405161042a9190613fc7565b60405180910390f35b34801561043f57600080fd5b5061045a6004803603810190610455919061358e565b61140b565b005b34801561046857600080fd5b50610483600480360381019061047e91906137cf565b61158c565b604051610492939291906142e4565b60405180910390f35b3480156104a757600080fd5b506104b061163e565b6040516104bd9190613fc7565b60405180910390f35b3480156104d257600080fd5b506104ed60048036038101906104e891906137cf565b6116cc565b6040516104fa91906142c9565b60405180910390f35b34801561050f57600080fd5b506105186116e9565b6040516105259190613fc7565b60405180910390f35b34801561053a57600080fd5b5061055560048036038101906105509190613385565b611777565b6040516105629190613f6e565b60405180910390f35b34801561057757600080fd5b50610592600480360381019061058d9190613480565b61180b565b005b3480156105a057600080fd5b506105bb60048036038101906105b6919061335c565b6118ac565b005b3480156105c957600080fd5b506105e460048036038101906105df9190613606565b6119a4565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610657576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161064e90614049565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061077a57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061078a575061078982611a41565b5b9050919050565b610799611aab565b73ffffffffffffffffffffffffffffffffffffffff166107b761134f565b73ffffffffffffffffffffffffffffffffffffffff161461080d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610804906141c9565b60405180910390fd5b61081681611ab3565b50565b6060600580546108289061464b565b80601f01602080910402602001604051908101604052809291908181526020018280546108549061464b565b80156108a15780601f10610876576101008083540402835291602001916108a1565b820191906000526020600020905b81548152906001019060200180831161088457829003601f168201915b5050505050905090565b60606000801b60076000848152602001908152602001600020600101541415610909576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610900906140e9565b60405180910390fd5b61091282611acd565b60076000848152602001908152602001600020600201604051602001610939929190613dff565b6040516020818303038152906040529050919050565b6000801b600760008581526020019081526020016000206001015414156109ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a290614249565b60405180910390fd5b60016109b733856105e6565b106109f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ee90613fe9565b60405180910390fd5b6007600084815260200190815260200160002060000154341015610a50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a47906140c9565b60405180910390fd5b600033604051602001610a639190613db8565b604051602081830303815290604052805190602001209050610ac7838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508286611b61565b610b06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610afd90614209565b60405180910390fd5b6000600760008681526020019081526020016000206000015434610b2a9190614545565b90506000811115610bea576000610b3f611aab565b73ffffffffffffffffffffffffffffffffffffffff1682604051610b6290613e23565b60006040518083038185875af1925050503d8060008114610b9f576040519150601f19603f3d011682016040523d82523d6000602084013e610ba4565b606091505b5050905080610be8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bdf90614189565b60405180910390fd5b505b610c063386600160405180602001604052806000815250611b92565b3373ffffffffffffffffffffffffffffffffffffffff167f6803e6cd4e9d79efc1da27261d896406dadaadca811025925f88184bb3cacca5866001604051610c4f929190614322565b60405180910390a25050505050565b610c66611aab565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610cac5750610cab85610ca6611aab565b611777565b5b610ceb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce290614149565b60405180910390fd5b610cf88585858585611ba4565b5050505050565b610d07611aab565b73ffffffffffffffffffffffffffffffffffffffff16610d2561134f565b73ffffffffffffffffffffffffffffffffffffffff1614610d7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d72906141c9565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610dc6573d6000803e3d6000fd5b5050565b610dd2611aab565b73ffffffffffffffffffffffffffffffffffffffff16610df061134f565b73ffffffffffffffffffffffffffffffffffffffff1614610e46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3d906141c9565b60405180910390fd5b6000801b60076000848152602001908152602001600020600101541415610ea2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e99906141e9565b60405180910390fd5b83600760008481526020019081526020016000206001018190555082600760008481526020019081526020016000206002019080519060200190610ee7929190612ff5565b5080600760008481526020019081526020016000206000018190555050505050565b60608151835114610f4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4690614269565b60405180910390fd5b6000835167ffffffffffffffff811115610f92577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610fc05781602001602082028036833780820191505090505b50905060005b84518110156110af5761105985828151811061100b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015185838151811061104c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516105e6565b828281518110611092577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050806110a8906146ae565b9050610fc6565b508091505092915050565b6000806110c6836116cc565b119050919050565b6110d6611aab565b73ffffffffffffffffffffffffffffffffffffffff166110f461134f565b73ffffffffffffffffffffffffffffffffffffffff161461114a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611141906141c9565b60405180910390fd5b6000801b6007600084815260200190815260200160002060010154146111a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119c90614109565b60405180910390fd5b6000600760008481526020019081526020016000209050848160010181905550838160020190805190602001906111dd929190612ff5565b50818160000181905550827f6973dd0a60ff83bc030932098d1a362c73fe592472d58d809abc60e2a34c2d7386868560405161121b93929190613f89565b60405180910390a25050505050565b611232611aab565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480611278575061127783611272611aab565b611777565b5b6112b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ae906140a9565b60405180910390fd5b6112c2838383611f04565b505050565b6112cf611aab565b73ffffffffffffffffffffffffffffffffffffffff166112ed61134f565b73ffffffffffffffffffffffffffffffffffffffff1614611343576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133a906141c9565b60405180910390fd5b61134d6000611f14565b565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600680546113889061464b565b80601f01602080910402602001604051908101604052809291908181526020018280546113b49061464b565b80156114015780601f106113d657610100808354040283529160200191611401565b820191906000526020600020905b8154815290600101906020018083116113e457829003601f168201915b5050505050905090565b8173ffffffffffffffffffffffffffffffffffffffff1661142a611aab565b73ffffffffffffffffffffffffffffffffffffffff161415611481576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147890614229565b60405180910390fd5b806001600061148e611aab565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661153b611aab565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516115809190613f6e565b60405180910390a35050565b60076020528060005260406000206000915090508060000154908060010154908060020180546115bb9061464b565b80601f01602080910402602001604051908101604052809291908181526020018280546115e79061464b565b80156116345780601f1061160957610100808354040283529160200191611634565b820191906000526020600020905b81548152906001019060200180831161161757829003601f168201915b5050505050905083565b6006805461164b9061464b565b80601f01602080910402602001604051908101604052809291908181526020018280546116779061464b565b80156116c45780601f10611699576101008083540402835291602001916116c4565b820191906000526020600020905b8154815290600101906020018083116116a757829003601f168201915b505050505081565b600060036000838152602001908152602001600020549050919050565b600580546116f69061464b565b80601f01602080910402602001604051908101604052809291908181526020018280546117229061464b565b801561176f5780601f106117445761010080835404028352916020019161176f565b820191906000526020600020905b81548152906001019060200180831161175257829003601f168201915b505050505081565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611813611aab565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611859575061185885611853611aab565b611777565b5b611898576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188f906140a9565b60405180910390fd5b6118a58585858585611fda565b5050505050565b6118b4611aab565b73ffffffffffffffffffffffffffffffffffffffff166118d261134f565b73ffffffffffffffffffffffffffffffffffffffff1614611928576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191f906141c9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611998576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198f90614069565b60405180910390fd5b6119a181611f14565b50565b6119ac611aab565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614806119f257506119f1836119ec611aab565b611777565b5b611a31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a28906140a9565b60405180910390fd5b611a3c83838361225c565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b8060029080519060200190611ac9929190612ff5565b5050565b606060028054611adc9061464b565b80601f0160208091040260200160405190810160405280929190818152602001828054611b089061464b565b8015611b555780601f10611b2a57610100808354040283529160200191611b55565b820191906000526020600020905b815481529060010190602001808311611b3857829003601f168201915b50505050509050919050565b60008060076000848152602001908152602001600020600101549050611b8885828661226c565b9150509392505050565b611b9e84848484612348565b50505050565b8151835114611be8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bdf90614289565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611c58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4f90614129565b60405180910390fd5b6000611c62611aab565b9050611c72818787878787612384565b60005b8451811015611e6f576000858281518110611cb9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110611cfe577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611d9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d96906141a9565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e5491906144ef565b9250508190555050505080611e68906146ae565b9050611c75565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611ee6929190613f37565b60405180910390a4611efc81878787878761238c565b505050505050565b611f0f838383612573565b505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561204a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204190614129565b60405180910390fd5b6000612054611aab565b90506120748187876120658861264b565b61206e8861264b565b87612384565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508381101561210b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612102906141a9565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121c091906144ef565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161223d92919061434b565b60405180910390a4612253828888888888612711565b50505050505050565b6122678383836128f8565b505050565b60008082905060005b855181101561233a5760008682815181106122b9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116122fa5782816040516020016122dd929190613dd3565b604051602081830303815290604052805190602001209250612326565b808360405160200161230d929190613dd3565b6040516020818303038152906040528051906020012092505b508080612332906146ae565b915050612275565b508381149150509392505050565b61235484848484612932565b8160036000858152602001908152602001600020600082825461237791906144ef565b9250508190555050505050565b505050505050565b6123ab8473ffffffffffffffffffffffffffffffffffffffff16612ac8565b1561256b578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016123f1959493929190613e53565b602060405180830381600087803b15801561240b57600080fd5b505af192505050801561243c57506040513d601f19601f820116820180604052508101906124399190613765565b60015b6124e2576124486147b2565b806308c379a014156124a5575061245d614e11565b8061246857506124a7565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249c9190613fc7565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d990614009565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612569576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256090614029565b60405180910390fd5b505b505050505050565b61257e838383612adb565b60005b8251811015612645578181815181106125c3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160036000858481518110612608577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518152602001908152602001600020600082825461262d9190614545565b925050819055508061263e906146ae565b9050612581565b50505050565b60606000600167ffffffffffffffff811115612690577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156126be5781602001602082028036833780820191505090505b50905082816000815181106126fc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b6127308473ffffffffffffffffffffffffffffffffffffffff16612ac8565b156128f0578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612776959493929190613ebb565b602060405180830381600087803b15801561279057600080fd5b505af19250505080156127c157506040513d601f19601f820116820180604052508101906127be9190613765565b60015b612867576127cd6147b2565b806308c379a0141561282a57506127e2614e11565b806127ed575061282c565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128219190613fc7565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285e90614009565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146128ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e590614029565b60405180910390fd5b505b505050505050565b612903838383612dd8565b806003600084815260200190815260200160002060008282546129269190614545565b92505081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156129a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612999906142a9565b60405180910390fd5b60006129ac611aab565b90506129cd816000876129be8861264b565b6129c78861264b565b87612384565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a2c91906144ef565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051612aaa92919061434b565b60405180910390a4612ac181600087878787612711565b5050505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4290614169565b60405180910390fd5b8051825114612b8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8690614289565b60405180910390fd5b6000612b99611aab565b9050612bb981856000868660405180602001604052806000815250612384565b60005b8351811015612d52576000848281518110612c00577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000848381518110612c45577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612ce6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cdd90614089565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050508080612d4a906146ae565b915050612bbc565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051612dca929190613f37565b60405180910390a450505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612e48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3f90614169565b60405180910390fd5b6000612e52611aab565b9050612e8281856000612e648761264b565b612e6d8761264b565b60405180602001604052806000815250612384565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015612f19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f1090614089565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051612fe692919061434b565b60405180910390a45050505050565b8280546130019061464b565b90600052602060002090601f016020900481019282613023576000855561306a565b82601f1061303c57805160ff191683800117855561306a565b8280016001018555821561306a579182015b8281111561306957825182559160200191906001019061304e565b5b509050613077919061307b565b5090565b5b8082111561309457600081600090555060010161307c565b5090565b60006130ab6130a684614399565b614374565b905080838252602082019050828560208602820111156130ca57600080fd5b60005b858110156130fa57816130e088826131ec565b8452602084019350602083019250506001810190506130cd565b5050509392505050565b6000613117613112846143c5565b614374565b9050808382526020820190508285602086028201111561313657600080fd5b60005b85811015613166578161314c8882613347565b845260208401935060208301925050600181019050613139565b5050509392505050565b600061318361317e846143f1565b614374565b90508281526020810184848401111561319b57600080fd5b6131a6848285614609565b509392505050565b60006131c16131bc84614422565b614374565b9050828152602081018484840111156131d957600080fd5b6131e4848285614609565b509392505050565b6000813590506131fb81614ea7565b92915050565b600082601f83011261321257600080fd5b8135613222848260208601613098565b91505092915050565b60008083601f84011261323d57600080fd5b8235905067ffffffffffffffff81111561325657600080fd5b60208301915083602082028301111561326e57600080fd5b9250929050565b600082601f83011261328657600080fd5b8135613296848260208601613104565b91505092915050565b6000813590506132ae81614ebe565b92915050565b6000813590506132c381614ed5565b92915050565b6000813590506132d881614eec565b92915050565b6000815190506132ed81614eec565b92915050565b600082601f83011261330457600080fd5b8135613314848260208601613170565b91505092915050565b600082601f83011261332e57600080fd5b813561333e8482602086016131ae565b91505092915050565b60008135905061335681614f03565b92915050565b60006020828403121561336e57600080fd5b600061337c848285016131ec565b91505092915050565b6000806040838503121561339857600080fd5b60006133a6858286016131ec565b92505060206133b7858286016131ec565b9150509250929050565b600080600080600060a086880312156133d957600080fd5b60006133e7888289016131ec565b95505060206133f8888289016131ec565b945050604086013567ffffffffffffffff81111561341557600080fd5b61342188828901613275565b935050606086013567ffffffffffffffff81111561343e57600080fd5b61344a88828901613275565b925050608086013567ffffffffffffffff81111561346757600080fd5b613473888289016132f3565b9150509295509295909350565b600080600080600060a0868803121561349857600080fd5b60006134a6888289016131ec565b95505060206134b7888289016131ec565b94505060406134c888828901613347565b93505060606134d988828901613347565b925050608086013567ffffffffffffffff8111156134f657600080fd5b613502888289016132f3565b9150509295509295909350565b60008060006060848603121561352457600080fd5b6000613532868287016131ec565b935050602084013567ffffffffffffffff81111561354f57600080fd5b61355b86828701613275565b925050604084013567ffffffffffffffff81111561357857600080fd5b61358486828701613275565b9150509250925092565b600080604083850312156135a157600080fd5b60006135af858286016131ec565b92505060206135c08582860161329f565b9150509250929050565b600080604083850312156135dd57600080fd5b60006135eb858286016131ec565b92505060206135fc85828601613347565b9150509250929050565b60008060006060848603121561361b57600080fd5b6000613629868287016131ec565b935050602061363a86828701613347565b925050604061364b86828701613347565b9150509250925092565b6000806040838503121561366857600080fd5b600083013567ffffffffffffffff81111561368257600080fd5b61368e85828601613201565b925050602083013567ffffffffffffffff8111156136ab57600080fd5b6136b785828601613275565b9150509250929050565b600080600080608085870312156136d757600080fd5b60006136e5878288016132b4565b945050602085013567ffffffffffffffff81111561370257600080fd5b61370e8782880161331d565b935050604061371f87828801613347565b925050606061373087828801613347565b91505092959194509250565b60006020828403121561374e57600080fd5b600061375c848285016132c9565b91505092915050565b60006020828403121561377757600080fd5b6000613785848285016132de565b91505092915050565b6000602082840312156137a057600080fd5b600082013567ffffffffffffffff8111156137ba57600080fd5b6137c68482850161331d565b91505092915050565b6000602082840312156137e157600080fd5b60006137ef84828501613347565b91505092915050565b60008060006040848603121561380d57600080fd5b600061381b86828701613347565b935050602084013567ffffffffffffffff81111561383857600080fd5b6138448682870161322b565b92509250509250925092565b600061385c8383613d9a565b60208301905092915050565b61387181614579565b82525050565b61388861388382614579565b6146f7565b82525050565b600061389982614478565b6138a381856144a6565b93506138ae83614453565b8060005b838110156138df5781516138c68882613850565b97506138d183614499565b9250506001810190506138b2565b5085935050505092915050565b6138f58161458b565b82525050565b61390481614597565b82525050565b61391b61391682614597565b614709565b82525050565b600061392c82614483565b61393681856144b7565b9350613946818560208601614618565b61394f816147d4565b840191505092915050565b613963816145f7565b82525050565b60006139748261448e565b61397e81856144d3565b935061398e818560208601614618565b613997816147d4565b840191505092915050565b60006139ad8261448e565b6139b781856144e4565b93506139c7818560208601614618565b80840191505092915050565b600081546139e08161464b565b6139ea81866144e4565b94506001821660008114613a055760018114613a1657613a49565b60ff19831686528186019350613a49565b613a1f85614463565b60005b83811015613a4157815481890152600182019150602081019050613a22565b838801955050505b50505092915050565b6000613a5f6018836144d3565b9150613a6a826147ff565b602082019050919050565b6000613a826034836144d3565b9150613a8d82614828565b604082019050919050565b6000613aa56028836144d3565b9150613ab082614877565b604082019050919050565b6000613ac8602b836144d3565b9150613ad3826148c6565b604082019050919050565b6000613aeb6026836144d3565b9150613af682614915565b604082019050919050565b6000613b0e6024836144d3565b9150613b1982614964565b604082019050919050565b6000613b316029836144d3565b9150613b3c826149b3565b604082019050919050565b6000613b54601b836144d3565b9150613b5f82614a02565b602082019050919050565b6000613b776014836144d3565b9150613b8282614a2b565b602082019050919050565b6000613b9a6027836144d3565b9150613ba582614a54565b604082019050919050565b6000613bbd6025836144d3565b9150613bc882614aa3565b604082019050919050565b6000613be06032836144d3565b9150613beb82614af2565b604082019050919050565b6000613c036023836144d3565b9150613c0e82614b41565b604082019050919050565b6000613c26601e836144d3565b9150613c3182614b90565b602082019050919050565b6000613c49602a836144d3565b9150613c5482614bb9565b604082019050919050565b6000613c6c6020836144d3565b9150613c7782614c08565b602082019050919050565b6000613c8f6034836144d3565b9150613c9a82614c31565b604082019050919050565b6000613cb26000836144c8565b9150613cbd82614c80565b600082019050919050565b6000613cd5600d836144d3565b9150613ce082614c83565b602082019050919050565b6000613cf86029836144d3565b9150613d0382614cac565b604082019050919050565b6000613d1b6016836144d3565b9150613d2682614cfb565b602082019050919050565b6000613d3e6029836144d3565b9150613d4982614d24565b604082019050919050565b6000613d616028836144d3565b9150613d6c82614d73565b604082019050919050565b6000613d846021836144d3565b9150613d8f82614dc2565b604082019050919050565b613da3816145ed565b82525050565b613db2816145ed565b82525050565b6000613dc48284613877565b60148201915081905092915050565b6000613ddf828561390a565b602082019150613def828461390a565b6020820191508190509392505050565b6000613e0b82856139a2565b9150613e1782846139d3565b91508190509392505050565b6000613e2e82613ca5565b9150819050919050565b6000602082019050613e4d6000830184613868565b92915050565b600060a082019050613e686000830188613868565b613e756020830187613868565b8181036040830152613e87818661388e565b90508181036060830152613e9b818561388e565b90508181036080830152613eaf8184613921565b90509695505050505050565b600060a082019050613ed06000830188613868565b613edd6020830187613868565b613eea6040830186613da9565b613ef76060830185613da9565b8181036080830152613f098184613921565b90509695505050505050565b60006020820190508181036000830152613f2f818461388e565b905092915050565b60006040820190508181036000830152613f51818561388e565b90508181036020830152613f65818461388e565b90509392505050565b6000602082019050613f8360008301846138ec565b92915050565b6000606082019050613f9e60008301866138fb565b8181036020830152613fb08185613969565b9050613fbf6040830184613da9565b949350505050565b60006020820190508181036000830152613fe18184613969565b905092915050565b6000602082019050818103600083015261400281613a52565b9050919050565b6000602082019050818103600083015261402281613a75565b9050919050565b6000602082019050818103600083015261404281613a98565b9050919050565b6000602082019050818103600083015261406281613abb565b9050919050565b6000602082019050818103600083015261408281613ade565b9050919050565b600060208201905081810360008301526140a281613b01565b9050919050565b600060208201905081810360008301526140c281613b24565b9050919050565b600060208201905081810360008301526140e281613b47565b9050919050565b6000602082019050818103600083015261410281613b6a565b9050919050565b6000602082019050818103600083015261412281613b8d565b9050919050565b6000602082019050818103600083015261414281613bb0565b9050919050565b6000602082019050818103600083015261416281613bd3565b9050919050565b6000602082019050818103600083015261418281613bf6565b9050919050565b600060208201905081810360008301526141a281613c19565b9050919050565b600060208201905081810360008301526141c281613c3c565b9050919050565b600060208201905081810360008301526141e281613c5f565b9050919050565b6000602082019050818103600083015261420281613c82565b9050919050565b6000602082019050818103600083015261422281613cc8565b9050919050565b6000602082019050818103600083015261424281613ceb565b9050919050565b6000602082019050818103600083015261426281613d0e565b9050919050565b6000602082019050818103600083015261428281613d31565b9050919050565b600060208201905081810360008301526142a281613d54565b9050919050565b600060208201905081810360008301526142c281613d77565b9050919050565b60006020820190506142de6000830184613da9565b92915050565b60006060820190506142f96000830186613da9565b61430660208301856138fb565b81810360408301526143188184613969565b9050949350505050565b60006040820190506143376000830185613da9565b614344602083018461395a565b9392505050565b60006040820190506143606000830185613da9565b61436d6020830184613da9565b9392505050565b600061437e61438f565b905061438a828261467d565b919050565b6000604051905090565b600067ffffffffffffffff8211156143b4576143b3614783565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156143e0576143df614783565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561440c5761440b614783565b5b614415826147d4565b9050602081019050919050565b600067ffffffffffffffff82111561443d5761443c614783565b5b614446826147d4565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006144fa826145ed565b9150614505836145ed565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561453a57614539614725565b5b828201905092915050565b6000614550826145ed565b915061455b836145ed565b92508282101561456e5761456d614725565b5b828203905092915050565b6000614584826145cd565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000614602826145ed565b9050919050565b82818337600083830152505050565b60005b8381101561463657808201518184015260208101905061461b565b83811115614645576000848401525b50505050565b6000600282049050600182168061466357607f821691505b6020821081141561467757614676614754565b5b50919050565b614686826147d4565b810181811067ffffffffffffffff821117156146a5576146a4614783565b5b80604052505050565b60006146b9826145ed565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156146ec576146eb614725565b5b600182019050919050565b600061470282614713565b9050919050565b6000819050919050565b600061471e826147e5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d11156147d15760046000803e6147ce6000516147f2565b90505b90565b6000601f19601f8301169050919050565b60008160601b9050919050565b60008160e01c9050919050565b7f416c726561647920636c61696d65642074686973204e66740000000000000000600082015250565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f4d696e743a2045746865722056616c756520696e636f72726563740000000000600082015250565b7f546f6b656e20646f6573206e6f74206578697374000000000000000000000000600082015250565b7f50726f6a6563742049442068617320616c7265616479206265656e20696e697460008201527f69616c697a656400000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f4572726f722072657475726e696e6720657863657373207061796d656e740000600082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f50726f6a65637420646f6573206e6f742065786973742c20706c65617365206360008201527f7265617465206265666f72652065646974696e67000000000000000000000000602082015250565b50565b7f496e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f50726f6a65637420646f6573206e6f7420657869737400000000000000000000600082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d1015614e2157614ea4565b614e2961438f565b60043d036004823e80513d602482011167ffffffffffffffff82111715614e51575050614ea4565b808201805167ffffffffffffffff811115614e6f5750505050614ea4565b80602083010160043d038501811115614e8c575050505050614ea4565b614e9b8260200185018661467d565b82955050505050505b90565b614eb081614579565b8114614ebb57600080fd5b50565b614ec78161458b565b8114614ed257600080fd5b50565b614ede81614597565b8114614ee957600080fd5b50565b614ef5816145a1565b8114614f0057600080fd5b50565b614f0c816145ed565b8114614f1757600080fd5b5056fea264697066735822122039f417784d478bfdc37dc27e638712b47bed465eccace1a48895e539b688963364736f6c63430008040033

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

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000b536861726b20466561737400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064e4f4d4e4f4d0000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Shark Feast
Arg [1] : _symbol (string): NOMNOM

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [3] : 536861726b204665617374000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [5] : 4e4f4d4e4f4d0000000000000000000000000000000000000000000000000000


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.