ETH Price: $3,178.47 (-8.15%)
Gas: 3 Gwei

Contract

0xF877aDEaE134237F4a323c9F3e37b9a39E0F2e39
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
0x60806040143419362022-03-07 20:46:57870 days ago1646686017IN
 Create: ArrLandNFTv2
0 ETH0.2970904260

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ArrLandNFTv2

Compiler Version
v0.8.2+commit.661d1103

Optimization Enabled:
No with 200 runs

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

pragma solidity ^0.8.2;

import "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
import "@openzeppelin/contracts-upgradeable/utils/math/SafeMathUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol";
import "./utils/Parsing.sol";


contract ArrLandNFTv2 is ERC721Upgradeable, OwnableUpgradeable {
    using StringsUpgradeable for uint256;
    using SafeMathUpgradeable for uint256;
    
    uint256 public CURRENT_SALE_PIRATE_TYPE;
    uint256 public MAX_PRESALE;
    uint256 public PRE_SALE_MAX;
    uint256 public PUBLIC_SALE_MAX;
    uint256 public CURRENT_TOKEN_ID;

    struct ArrLander {
        uint256 generation;
        uint256 breed_count;
        uint256 bornAt;
        uint256 pirate_type;  
    }

    struct PirateType {
        uint256 team_reserve;
        uint256 max_supply;
        bool exists;
        uint256 supply;
        uint256 preSalePrice;
        uint256 publicSalePrice;
    }

    mapping(uint256 => ArrLander) public arrLanders;
    mapping(uint256 => PirateType) public pirate_types;
    mapping(address => bool) public whitelist;
    mapping(address => bool) private spawnPirateAllowedCallers;
    mapping(uint256 => mapping(uint256 => string)) private BASE_URLS; // base urls per generation and type

    bool public hasSaleStarted;
	bool public hasPresaleStarted;

	uint256 public preSalePrice;
    uint256 public publicSalePrice;

    event Sold(address to, uint256 tokenCount, uint256 amount, uint256 timestamp);
    
    /// @custom:oz-upgrades-unsafe-allow constructor
    constructor() initializer {}

    function initialize(string memory baseURI, uint256 _team_tokens, uint256 _max_per_type) initializer public {
        __ERC721_init("ArrLandNFT","ARRLDNFT");     
        __Ownable_init();
    }

    modifier isAllowedCaller() {
        require(spawnPirateAllowedCallers[_msgSender()] == true, "Wrong external call");
        _;
    }

    function mint(uint256 numArrlanders) public payable{
        revert("mint on L2");
    }

    function setPirateSaleType(uint256 pirate_sale_type, uint256 _teamReserve, uint256 _maxPerType, uint256 _preSalePrice, uint256 _publicSalePrice) public onlyOwner {
        require(pirate_sale_type > 0, "Pirate sale type must be greater then 0");
        CURRENT_SALE_PIRATE_TYPE = pirate_sale_type;
        if (pirate_types[CURRENT_SALE_PIRATE_TYPE].exists == false) {
            preSalePrice = _preSalePrice;
            publicSalePrice = _publicSalePrice;
            pirate_types[pirate_sale_type] = PirateType(_teamReserve, _maxPerType.sub(_teamReserve), true, 0, _preSalePrice, _publicSalePrice);
        }
    }

    function tokenURI(uint256 tokenId)
        public
        view
        override
        returns (string memory)
    {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
        string memory baseURI = BASE_URLS[arrLanders[tokenId].generation][arrLanders[tokenId].pirate_type];
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    function setBaseURI(string memory _baseURI, uint256 generation, uint256 pirate_type_id) public onlyOwner {
        BASE_URLS[generation][pirate_type_id] = _baseURI;    
    }

    function setPUBLIC_SALE_MAX(uint256 _PUBLIC_SALE_MAX) public onlyOwner {
        revert("mint on L2");
    }

    function setSpawnPirateAllowedCallers(address _externalCaller) public onlyOwner {
        require(_externalCaller != address(0), "Wrong address");
        spawnPirateAllowedCallers[_externalCaller] = true;
    }

    function flipSaleStarted() public onlyOwner {
        revert("mint on L2");
    }

    function flipPreSaleStarted() public onlyOwner {
        revert("mint on L2");
    }

    function addWalletsToWhiteList(address[] memory _wallets) public onlyOwner{
        revert("mint on L2");
    }

    function withdraw() public onlyOwner {
        uint256 amount = address(this).balance;
        require(amount > 0);
        (bool success, ) = msg.sender.call{value: amount}("");
        require(success, "Failed to send Ether");
    }

    function reserveTokens(uint256 tokenCount) external isAllowedCaller {
        _reserveTokens(tokenCount);
    }

    function sendGiveAway(address _to, uint256 _tokenCount, uint256 _generation) external isAllowedCaller
    {
        revert("mint on L2");
    }

    function _reserveTokens(uint256 _tokenCount) private {
        revert("mint on L2");
    }

    function spawn_pirate(
        address _to, uint256 generation, uint256 pirate_type
    )
        external isAllowedCaller
        returns (uint256)
    {
        revert("mint on L2");
        return 0;
    }

    function _spawn_pirate(address to, uint256 tokenID, uint256 _pirate_type) private returns (uint256) {
        require(_pirate_type == 1 || _pirate_type == 2, "Only type 1 and 2");
        PirateType storage pirate_type = pirate_types[_pirate_type];
        pirate_type.supply = pirate_type.supply.add(1);
        _safeMint(to, tokenID);
        arrLanders[tokenID] = ArrLander(0, 0, block.timestamp, _pirate_type);
        return tokenID;
    }
    // new code 
    address public imx;

    function setImx(address _imx) public onlyOwner {
        imx = _imx;
    }

    function totalSupply() public view returns (uint256){ 
        PirateType storage pirate_type1 = pirate_types[1];
        PirateType storage pirate_type2 = pirate_types[2];
        return pirate_type1.supply+pirate_type2.supply;
    }

    function mintFor(
        address user,
        uint256 quantity,
        bytes calldata mintingBlob
    ) external {
        require(quantity == 1, "Invalid quantity");
        require(msg.sender == imx, "Function can only be called by IMX");
        (uint256 tokenId, uint256 pirate_type) = Parsing.split(mintingBlob);
        require(pirate_type == 1 || pirate_type == 2, "Only type 1 and 2");
        PirateType storage pirate_type_struct = pirate_types[pirate_type];
        if (pirate_type == 1){
            require(pirate_type_struct.supply < 10000, "max supply");
        }
        if (pirate_type == 2){
            require(pirate_type_struct.supply < 5000, "max supply");
        }

        _spawn_pirate(user, tokenId, pirate_type);
    }
}

File 2 of 15 : ERC721Upgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721Upgradeable.sol";
import "./IERC721ReceiverUpgradeable.sol";
import "./extensions/IERC721MetadataUpgradeable.sol";
import "../../utils/AddressUpgradeable.sol";
import "../../utils/ContextUpgradeable.sol";
import "../../utils/StringsUpgradeable.sol";
import "../../utils/introspection/ERC165Upgradeable.sol";
import "../../proxy/utils/Initializable.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721Upgradeable is Initializable, ContextUpgradeable, ERC165Upgradeable, IERC721Upgradeable, IERC721MetadataUpgradeable {
    using AddressUpgradeable for address;
    using StringsUpgradeable for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    function __ERC721_init(string memory name_, string memory symbol_) internal initializer {
        __Context_init_unchained();
        __ERC165_init_unchained();
        __ERC721_init_unchained(name_, symbol_);
    }

    function __ERC721_init_unchained(string memory name_, string memory symbol_) internal initializer {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721Upgradeable.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721Upgradeable.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721Upgradeable.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721Upgradeable.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721Upgradeable.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721ReceiverUpgradeable(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721ReceiverUpgradeable.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
    uint256[44] private __gap;
}

File 3 of 15 : OwnableUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/ContextUpgradeable.sol";
import "../proxy/utils/Initializable.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 OwnableUpgradeable is Initializable, ContextUpgradeable {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    function __Ownable_init() internal initializer {
        __Context_init_unchained();
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal initializer {
        _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);
    }
    uint256[49] private __gap;
}

File 4 of 15 : Initializable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        require(_initializing || !_initialized, "Initializable: contract is already initialized");

        bool isTopLevelCall = !_initializing;
        if (isTopLevelCall) {
            _initializing = true;
            _initialized = true;
        }

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }
}

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

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMathUpgradeable {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 6 of 15 : StringsUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library StringsUpgradeable {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 7 of 15 : Parsing.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;

// Helper library for handling and manipulating bytes
import "./Bytes.sol";

library Parsing {
    // Split the minting blob into token_id and blueprint portions
    // {token_id}:{blueprint}

    function split(bytes calldata blob)
        internal
        pure
        returns (uint256, uint256)
    {
        int256 index = Bytes.indexOf(blob, ":", 0);
        require(index >= 0, "Separator must exist");
        uint256 tokenID = Bytes.toUint(blob[1:uint256(index) - 1]);
        uint256 blueprintLength = blob.length - uint256(index) - 3;
        require(blueprintLength > 0, "blueprint error");
        
        bytes calldata blueprint = blob[uint256(index) + 2:blob.length - 1];
        uint256 pirate_type = Bytes.toUint(blueprint);

        return (tokenID, pirate_type);
    }



    
}

File 8 of 15 : IERC721Upgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721Upgradeable is IERC165Upgradeable {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

File 9 of 15 : IERC721ReceiverUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721ReceiverUpgradeable {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 10 of 15 : IERC721MetadataUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721Upgradeable.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721MetadataUpgradeable is IERC721Upgradeable {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

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

pragma solidity ^0.8.0;

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

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

File 12 of 15 : ContextUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;
import "../proxy/utils/Initializable.sol";

/**
 * @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 ContextUpgradeable is Initializable {
    function __Context_init() internal initializer {
        __Context_init_unchained();
    }

    function __Context_init_unchained() internal initializer {
    }
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
    uint256[50] private __gap;
}

File 13 of 15 : ERC165Upgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165Upgradeable.sol";
import "../../proxy/utils/Initializable.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 ERC165Upgradeable is Initializable, IERC165Upgradeable {
    function __ERC165_init() internal initializer {
        __ERC165_init_unchained();
    }

    function __ERC165_init_unchained() internal initializer {
    }
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165Upgradeable).interfaceId;
    }
    uint256[50] private __gap;
}

File 14 of 15 : IERC165Upgradeable.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 IERC165Upgradeable {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 15 of 15 : Bytes.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;

library Bytes {
    /**
     * @dev Converts a `uint256` to a `string`.
     * via OraclizeAPI - MIT licence
     * https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
     */
    function fromUint(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        uint256 index = digits - 1;
        temp = value;
        while (temp != 0) {
            buffer[index--] = bytes1(uint8(48 + (temp % 10)));
            temp /= 10;
        }
        return string(buffer);
    }

    bytes constant alphabet = "0123456789abcdef";

    /**
     * Index Of
     *
     * Locates and returns the position of a character within a string starting
     * from a defined offset
     *
     * @param _base When being used for a data type this is the extended object
     *              otherwise this is the string acting as the haystack to be
     *              searched
     * @param _value The needle to search for, at present this is currently
     *               limited to one character
     * @param _offset The starting point to start searching from which can start
     *                from 0, but must not exceed the length of the string
     * @return int The position of the needle starting from 0 and returning -1
     *             in the case of no matches found
     */
    function indexOf(
        bytes memory _base,
        string memory _value,
        uint256 _offset
    ) internal pure returns (int256) {
        bytes memory _valueBytes = bytes(_value);

        assert(_valueBytes.length == 1);

        for (uint256 i = _offset; i < _base.length; i++) {
            if (_base[i] == _valueBytes[0]) {
                return int256(i);
            }
        }

        return -1;
    }

    function substring(
        bytes memory strBytes,
        uint256 startIndex,
        uint256 endIndex
    ) internal pure returns (string memory) {
        bytes memory result = new bytes(endIndex - startIndex);
        for (uint256 i = startIndex; i < endIndex; i++) {
            result[i - startIndex] = strBytes[i];
        }
        return string(result);
    }

    function toUint(bytes memory b) internal pure returns (uint256) {
        uint256 result = 0;
        for (uint256 i = 0; i < b.length; i++) {
            uint256 val = uint256(uint8(b[i]));
            if (val >= 48 && val <= 57) {
                result = result * 10 + (val - 48);
            }
        }
        return result;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenCount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"Sold","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"CURRENT_SALE_PIRATE_TYPE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CURRENT_TOKEN_ID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PRESALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRE_SALE_MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_SALE_MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_wallets","type":"address[]"}],"name":"addWalletsToWhiteList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"arrLanders","outputs":[{"internalType":"uint256","name":"generation","type":"uint256"},{"internalType":"uint256","name":"breed_count","type":"uint256"},{"internalType":"uint256","name":"bornAt","type":"uint256"},{"internalType":"uint256","name":"pirate_type","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipPreSaleStarted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleStarted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hasPresaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hasSaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"imx","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"uint256","name":"_team_tokens","type":"uint256"},{"internalType":"uint256","name":"_max_per_type","type":"uint256"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numArrlanders","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes","name":"mintingBlob","type":"bytes"}],"name":"mintFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"pirate_types","outputs":[{"internalType":"uint256","name":"team_reserve","type":"uint256"},{"internalType":"uint256","name":"max_supply","type":"uint256"},{"internalType":"bool","name":"exists","type":"bool"},{"internalType":"uint256","name":"supply","type":"uint256"},{"internalType":"uint256","name":"preSalePrice","type":"uint256"},{"internalType":"uint256","name":"publicSalePrice","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenCount","type":"uint256"}],"name":"reserveTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenCount","type":"uint256"},{"internalType":"uint256","name":"_generation","type":"uint256"}],"name":"sendGiveAway","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"},{"internalType":"uint256","name":"generation","type":"uint256"},{"internalType":"uint256","name":"pirate_type_id","type":"uint256"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_imx","type":"address"}],"name":"setImx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_PUBLIC_SALE_MAX","type":"uint256"}],"name":"setPUBLIC_SALE_MAX","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"pirate_sale_type","type":"uint256"},{"internalType":"uint256","name":"_teamReserve","type":"uint256"},{"internalType":"uint256","name":"_maxPerType","type":"uint256"},{"internalType":"uint256","name":"_preSalePrice","type":"uint256"},{"internalType":"uint256","name":"_publicSalePrice","type":"uint256"}],"name":"setPirateSaleType","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_externalCaller","type":"address"}],"name":"setSpawnPirateAllowedCallers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"generation","type":"uint256"},{"internalType":"uint256","name":"pirate_type","type":"uint256"}],"name":"spawn_pirate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50600060019054906101000a900460ff168062000039575060008054906101000a900460ff16155b6200007b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000072906200011c565b60405180910390fd5b60008060019054906101000a900460ff161590508015620000cc576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8015620000ee5760008060016101000a81548160ff0219169083151502179055505b506200019e565b600062000104602e836200013e565b915062000111826200014f565b604082019050919050565b600060208201905081810360008301526200013781620000f5565b9050919050565b600082825260208201905092915050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b6158ab80620001ae6000396000f3fe6080604052600436106102725760003560e01c8063715018a61161014f578063a4d5f6a9116100c1578063e0ca32281161007a578063e0ca322814610921578063e2e179631461094c578063e757c17d14610975578063e985e9c5146109a0578063ee37d33d146109dd578063f2fde38b14610a1a57610272565b8063a4d5f6a9146107fe578063b02200151461083e578063b88d4fde14610869578063bd01be1714610892578063c87b56dd146108bb578063d031370b146108f857610272565b806395d89b411161011357806395d89b41146106fd578063977d08c0146107285780639b19251a146107515780639b6860c81461078e578063a0712d68146107b9578063a22cb465146107d557610272565b8063715018a614610664578063899d7b381461067b5780638da5cb5b146106925780638ebb366f146106bd5780638fef8ecc146106e657610272565b8063367eb811116101e857806348f3afed116101ac57806348f3afed146105425780634d4c4e991461056b5780635b888656146105965780635b93a8a5146105bf5780636352211e146105ea57806370a082311461062757610272565b8063367eb8111461046e57806337d205c8146104b05780633ccfd60b146104d957806342842e0e146104f05780634526523c1461051957610272565b80630f08025f1161023a5780630f08025f1461037057806318160ddd1461039b578063196d212a146103c657806319ee6e3f146103f15780631c8b232d1461041a57806323b872dd1461044557610272565b806301ffc9a714610277578063061d6ebd146102b457806306fdde03146102df578063081812fc1461030a578063095ea7b314610347575b600080fd5b34801561028357600080fd5b5061029e60048036038101906102999190614179565b610a43565b6040516102ab9190614839565b60405180910390f35b3480156102c057600080fd5b506102c9610b25565b6040516102d69190614bf6565b60405180910390f35b3480156102eb57600080fd5b506102f4610b2b565b6040516103019190614854565b60405180910390f35b34801561031657600080fd5b50610331600480360381019061032c9190614232565b610bbd565b60405161033e91906147d2565b60405180910390f35b34801561035357600080fd5b5061036e60048036038101906103699190614041565b610c42565b005b34801561037c57600080fd5b50610385610d5a565b60405161039291906147d2565b60405180910390f35b3480156103a757600080fd5b506103b0610d80565b6040516103bd9190614bf6565b60405180910390f35b3480156103d257600080fd5b506103db610dcc565b6040516103e89190614bf6565b60405180910390f35b3480156103fd57600080fd5b506104186004803603810190610413919061407d565b610dd2565b005b34801561042657600080fd5b5061042f610fd4565b60405161043c9190614839565b60405180910390f35b34801561045157600080fd5b5061046c60048036038101906104679190613f3b565b610fe7565b005b34801561047a57600080fd5b5061049560048036038101906104909190614232565b611047565b6040516104a796959493929190614c11565b60405180910390f35b3480156104bc57600080fd5b506104d760048036038101906104d29190613ed6565b611090565b005b3480156104e557600080fd5b506104ee6111d7565b005b3480156104fc57600080fd5b5061051760048036038101906105129190613f3b565b611315565b005b34801561052557600080fd5b50610540600480360381019061053b91906140e9565b611335565b005b34801561054e57600080fd5b50610569600480360381019061056491906141cb565b61140a565b005b34801561057757600080fd5b506105806114c4565b60405161058d9190614bf6565b60405180910390f35b3480156105a257600080fd5b506105bd60048036038101906105b89190613ed6565b6114ca565b005b3480156105cb57600080fd5b506105d461158a565b6040516105e19190614bf6565b60405180910390f35b3480156105f657600080fd5b50610611600480360381019061060c9190614232565b611590565b60405161061e91906147d2565b60405180910390f35b34801561063357600080fd5b5061064e60048036038101906106499190613ed6565b611642565b60405161065b9190614bf6565b60405180910390f35b34801561067057600080fd5b506106796116fa565b005b34801561068757600080fd5b50610690611782565b005b34801561069e57600080fd5b506106a7611839565b6040516106b491906147d2565b60405180910390f35b3480156106c957600080fd5b506106e460048036038101906106df9190614232565b611863565b005b3480156106f257600080fd5b506106fb61191a565b005b34801561070957600080fd5b506107126119d1565b60405161071f9190614854565b60405180910390f35b34801561073457600080fd5b5061074f600480360381019061074a91906141cb565b611a63565b005b34801561075d57600080fd5b5061077860048036038101906107739190613ed6565b611bbb565b6040516107859190614839565b60405180910390f35b34801561079a57600080fd5b506107a3611bdb565b6040516107b09190614bf6565b60405180910390f35b6107d360048036038101906107ce9190614232565b611be1565b005b3480156107e157600080fd5b506107fc60048036038101906107f79190614005565b611c1c565b005b34801561080a57600080fd5b5061082560048036038101906108209190614232565b611d9d565b6040516108359493929190614c72565b60405180910390f35b34801561084a57600080fd5b50610853611dcd565b6040516108609190614839565b60405180910390f35b34801561087557600080fd5b50610890600480360381019061088b9190613f8a565b611de0565b005b34801561089e57600080fd5b506108b960048036038101906108b4919061425b565b611e42565b005b3480156108c757600080fd5b506108e260048036038101906108dd9190614232565b611ffb565b6040516108ef9190614854565b60405180910390f35b34801561090457600080fd5b5061091f600480360381019061091a9190614232565b612173565b005b34801561092d57600080fd5b50610936612219565b6040516109439190614bf6565b60405180910390f35b34801561095857600080fd5b50610973600480360381019061096e9190614138565b61221f565b005b34801561098157600080fd5b5061098a6122d6565b6040516109979190614bf6565b60405180910390f35b3480156109ac57600080fd5b506109c760048036038101906109c29190613eff565b6122dc565b6040516109d49190614839565b60405180910390f35b3480156109e957600080fd5b50610a0460048036038101906109ff91906140e9565b612370565b604051610a119190614bf6565b60405180910390f35b348015610a2657600080fd5b50610a416004803603810190610a3c9190613ed6565b612447565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b0e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b1e5750610b1d8261253f565b5b9050919050565b60cb5481565b606060658054610b3a90614fb6565b80601f0160208091040260200160405190810160405280929190818152602001828054610b6690614fb6565b8015610bb35780601f10610b8857610100808354040283529160200191610bb3565b820191906000526020600020905b815481529060010190602001808311610b9657829003601f168201915b5050505050905090565b6000610bc8826125a9565b610c07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfe90614ab6565b60405180910390fd5b6069600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c4d82611590565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb590614b56565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cdd612615565b73ffffffffffffffffffffffffffffffffffffffff161480610d0c5750610d0b81610d06612615565b6122dc565b5b610d4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d42906149d6565b60405180910390fd5b610d55838361261d565b505050565b60d660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060cf6000600181526020019081526020016000209050600060cf600060028152602001908152602001600020905080600301548260030154610dc59190614deb565b9250505090565b60cc5481565b60018314610e15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0c906149f6565b60405180910390fd5b60d660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ea5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9c90614896565b60405180910390fd5b600080610eb284846126d6565b915091506001811480610ec55750600281145b610f04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efb90614ad6565b60405180910390fd5b600060cf600083815260200190815260200160002090506001821415610f6d57612710816003015410610f6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6390614936565b60405180910390fd5b5b6002821415610fbf57611388816003015410610fbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb590614936565b60405180910390fd5b5b610fca87848461290e565b5050505050505050565b60d360009054906101000a900460ff1681565b610ff8610ff2612615565b82612a0b565b611037576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102e90614bd6565b60405180910390fd5b611042838383612ae9565b505050565b60cf6020528060005260406000206000915090508060000154908060010154908060020160009054906101000a900460ff16908060030154908060040154908060050154905086565b611098612615565b73ffffffffffffffffffffffffffffffffffffffff166110b6611839565b73ffffffffffffffffffffffffffffffffffffffff161461110c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110390614af6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561117c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117390614876565b60405180910390fd5b600160d160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6111df612615565b73ffffffffffffffffffffffffffffffffffffffff166111fd611839565b73ffffffffffffffffffffffffffffffffffffffff1614611253576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124a90614af6565b60405180910390fd5b60004790506000811161126557600080fd5b60003373ffffffffffffffffffffffffffffffffffffffff168260405161128b906147bd565b60006040518083038185875af1925050503d80600081146112c8576040519150601f19603f3d011682016040523d82523d6000602084013e6112cd565b606091505b5050905080611311576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130890614956565b60405180910390fd5b5050565b61133083838360405180602001604052806000815250611de0565b505050565b6001151560d16000611345612615565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515146113cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c690614a16565b60405180910390fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140190614b76565b60405180910390fd5b611412612615565b73ffffffffffffffffffffffffffffffffffffffff16611430611839565b73ffffffffffffffffffffffffffffffffffffffff1614611486576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147d90614af6565b60405180910390fd5b8260d26000848152602001908152602001600020600083815260200190815260200160002090805190602001906114be929190613c1a565b50505050565b60ca5481565b6114d2612615565b73ffffffffffffffffffffffffffffffffffffffff166114f0611839565b73ffffffffffffffffffffffffffffffffffffffff1614611546576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153d90614af6565b60405180910390fd5b8060d660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60c95481565b6000806067600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611639576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163090614a56565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116aa90614a36565b60405180910390fd5b606860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611702612615565b73ffffffffffffffffffffffffffffffffffffffff16611720611839565b73ffffffffffffffffffffffffffffffffffffffff1614611776576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176d90614af6565b60405180910390fd5b6117806000612d45565b565b61178a612615565b73ffffffffffffffffffffffffffffffffffffffff166117a8611839565b73ffffffffffffffffffffffffffffffffffffffff16146117fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f590614af6565b60405180910390fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183090614b76565b60405180910390fd5b6000609760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61186b612615565b73ffffffffffffffffffffffffffffffffffffffff16611889611839565b73ffffffffffffffffffffffffffffffffffffffff16146118df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d690614af6565b60405180910390fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191190614b76565b60405180910390fd5b611922612615565b73ffffffffffffffffffffffffffffffffffffffff16611940611839565b73ffffffffffffffffffffffffffffffffffffffff1614611996576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198d90614af6565b60405180910390fd5b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c890614b76565b60405180910390fd5b6060606680546119e090614fb6565b80601f0160208091040260200160405190810160405280929190818152602001828054611a0c90614fb6565b8015611a595780601f10611a2e57610100808354040283529160200191611a59565b820191906000526020600020905b815481529060010190602001808311611a3c57829003601f168201915b5050505050905090565b600060019054906101000a900460ff1680611a89575060008054906101000a900460ff16155b611ac8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611abf90614a76565b60405180910390fd5b60008060019054906101000a900460ff161590508015611b18576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b611b8c6040518060400160405280600a81526020017f4172724c616e644e4654000000000000000000000000000000000000000000008152506040518060400160405280600881526020017f4152524c444e4654000000000000000000000000000000000000000000000000815250612e0b565b611b94612f00565b8015611bb55760008060016101000a81548160ff0219169083151502179055505b50505050565b60d06020528060005260406000206000915054906101000a900460ff1681565b60d55481565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1390614b76565b60405180910390fd5b611c24612615565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8990614996565b60405180910390fd5b80606a6000611c9f612615565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d4c612615565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d919190614839565b60405180910390a35050565b60ce6020528060005260406000206000915090508060000154908060010154908060020154908060030154905084565b60d360019054906101000a900460ff1681565b611df1611deb612615565b83612a0b565b611e30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2790614bd6565b60405180910390fd5b611e3c84848484612fe9565b50505050565b611e4a612615565b73ffffffffffffffffffffffffffffffffffffffff16611e68611839565b73ffffffffffffffffffffffffffffffffffffffff1614611ebe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb590614af6565b60405180910390fd5b60008511611f01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef890614bb6565b60405180910390fd5b8460c9819055506000151560cf600060c954815260200190815260200160002060020160009054906101000a900460ff1615151415611ff4578160d4819055508060d5819055506040518060c00160405280858152602001611f6c868661304590919063ffffffff16565b8152602001600115158152602001600081526020018381526020018281525060cf6000878152602001908152602001600020600082015181600001556020820151816001015560408201518160020160006101000a81548160ff021916908315150217905550606082015181600301556080820151816004015560a082015181600501559050505b5050505050565b6060612006826125a9565b612045576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203c90614b36565b60405180910390fd5b600060d2600060ce6000868152602001908152602001600020600001548152602001908152602001600020600060ce600086815260200190815260200160002060030154815260200190815260200160002080546120a290614fb6565b80601f01602080910402602001604051908101604052809291908181526020018280546120ce90614fb6565b801561211b5780601f106120f05761010080835404028352916020019161211b565b820191906000526020600020905b8154815290600101906020018083116120fe57829003601f168201915b505050505090506000815111612140576040518060200160405280600081525061216b565b8061214a8461305b565b60405160200161215b929190614799565b6040516020818303038152906040525b915050919050565b6001151560d16000612183612615565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151461220d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220490614a16565b60405180910390fd5b61221681613208565b50565b60cd5481565b612227612615565b73ffffffffffffffffffffffffffffffffffffffff16612245611839565b73ffffffffffffffffffffffffffffffffffffffff161461229b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229290614af6565b60405180910390fd5b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122cd90614b76565b60405180910390fd5b60d45481565b6000606a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60006001151560d16000612382612615565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151461240c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240390614a16565b60405180910390fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243e90614b76565b60405180910390fd5b61244f612615565b73ffffffffffffffffffffffffffffffffffffffff1661246d611839565b73ffffffffffffffffffffffffffffffffffffffff16146124c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ba90614af6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612533576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252a906148d6565b60405180910390fd5b61253c81612d45565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166067600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816069600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661269083611590565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080600061276085858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506040518060400160405280600181526020017f3a000000000000000000000000000000000000000000000000000000000000008152506000613243565b905060008112156127a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279d90614b96565b60405180910390fd5b600061281286866001906001866127bd9190614ecc565b926127ca93929190614db8565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506133ad565b90506000600383888890506128279190614ecc565b6128319190614ecc565b905060008111612876576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286d90614916565b60405180910390fd5b36600088886002876128889190614deb565b9060018c8c90506128999190614ecc565b926128a693929190614db8565b9150915060006128f983838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506133ad565b90508481975097505050505050509250929050565b6000600182148061291f5750600282145b61295e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295590614ad6565b60405180910390fd5b600060cf6000848152602001908152602001600020905061298d6001826003015461346a90919063ffffffff16565b816003018190555061299f8585613480565b604051806080016040528060008152602001600081526020014281526020018481525060ce600086815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030155905050839150509392505050565b6000612a16826125a9565b612a55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4c906149b6565b60405180910390fd5b6000612a6083611590565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612acf57508373ffffffffffffffffffffffffffffffffffffffff16612ab784610bbd565b73ffffffffffffffffffffffffffffffffffffffff16145b80612ae05750612adf81856122dc565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612b0982611590565b73ffffffffffffffffffffffffffffffffffffffff1614612b5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5690614b16565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bc690614976565b60405180910390fd5b612bda83838361349e565b612be560008261261d565b6001606860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c359190614ecc565b925050819055506001606860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c8c9190614deb565b92505081905550816067600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000609760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081609760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600060019054906101000a900460ff1680612e31575060008054906101000a900460ff16155b612e70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e6790614a76565b60405180910390fd5b60008060019054906101000a900460ff161590508015612ec0576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b612ec86134a3565b612ed061357c565b612eda8383613655565b8015612efb5760008060016101000a81548160ff0219169083151502179055505b505050565b600060019054906101000a900460ff1680612f26575060008054906101000a900460ff16155b612f65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5c90614a76565b60405180910390fd5b60008060019054906101000a900460ff161590508015612fb5576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b612fbd6134a3565b612fc561375e565b8015612fe65760008060016101000a81548160ff0219169083151502179055505b50565b612ff4848484612ae9565b61300084848484613847565b61303f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613036906148b6565b60405180910390fd5b50505050565b600081836130539190614ecc565b905092915050565b606060008214156130a3576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613203565b600082905060005b600082146130d55780806130be90615019565b915050600a826130ce9190614e41565b91506130ab565b60008167ffffffffffffffff811115613117577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156131495781602001600182028036833780820191505090505b5090505b600085146131fc576001826131629190614ecc565b9150600a856131719190615062565b603061317d9190614deb565b60f81b8183815181106131b9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131f59190614e41565b945061314d565b8093505050505b919050565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161323a90614b76565b60405180910390fd5b6000808390506001815114613281577f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b60008390505b855181101561338057816000815181106132ca577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916868281518110613330577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916141561336d5780925050506133a6565b808061337890615019565b915050613287565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9150505b9392505050565b6000806000905060005b83518110156134605760008482815181106133fb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c60ff16905060308110158015613420575060398111155b1561344c576030816134329190614ecc565b600a8461343f9190614e72565b6134499190614deb565b92505b50808061345890615019565b9150506133b7565b5080915050919050565b600081836134789190614deb565b905092915050565b61349a8282604051806020016040528060008152506139de565b5050565b505050565b600060019054906101000a900460ff16806134c9575060008054906101000a900460ff16155b613508576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134ff90614a76565b60405180910390fd5b60008060019054906101000a900460ff161590508015613558576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b80156135795760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff16806135a2575060008054906101000a900460ff16155b6135e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135d890614a76565b60405180910390fd5b60008060019054906101000a900460ff161590508015613631576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b80156136525760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff168061367b575060008054906101000a900460ff16155b6136ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136b190614a76565b60405180910390fd5b60008060019054906101000a900460ff16159050801561370a576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8260659080519060200190613720929190613c1a565b508160669080519060200190613737929190613c1a565b5080156137595760008060016101000a81548160ff0219169083151502179055505b505050565b600060019054906101000a900460ff1680613784575060008054906101000a900460ff16155b6137c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137ba90614a76565b60405180910390fd5b60008060019054906101000a900460ff161590508015613813576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b61382361381e612615565b612d45565b80156138445760008060016101000a81548160ff0219169083151502179055505b50565b60006138688473ffffffffffffffffffffffffffffffffffffffff16613a39565b156139d1578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613891612615565b8786866040518563ffffffff1660e01b81526004016138b394939291906147ed565b602060405180830381600087803b1580156138cd57600080fd5b505af19250505080156138fe57506040513d601f19601f820116820180604052508101906138fb91906141a2565b60015b613981573d806000811461392e576040519150601f19603f3d011682016040523d82523d6000602084013e613933565b606091505b50600081511415613979576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613970906148b6565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506139d6565b600190505b949350505050565b6139e88383613a4c565b6139f56000848484613847565b613a34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a2b906148b6565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613abc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ab390614a96565b60405180910390fd5b613ac5816125a9565b15613b05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613afc906148f6565b60405180910390fd5b613b116000838361349e565b6001606860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613b619190614deb565b92505081905550816067600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054613c2690614fb6565b90600052602060002090601f016020900481019282613c485760008555613c8f565b82601f10613c6157805160ff1916838001178555613c8f565b82800160010185558215613c8f579182015b82811115613c8e578251825591602001919060010190613c73565b5b509050613c9c9190613ca0565b5090565b5b80821115613cb9576000816000905550600101613ca1565b5090565b6000613cd0613ccb84614cdc565b614cb7565b90508083825260208201905082856020860282011115613cef57600080fd5b60005b85811015613d1f5781613d058882613da5565b845260208401935060208301925050600181019050613cf2565b5050509392505050565b6000613d3c613d3784614d08565b614cb7565b905082815260208101848484011115613d5457600080fd5b613d5f848285614f74565b509392505050565b6000613d7a613d7584614d39565b614cb7565b905082815260208101848484011115613d9257600080fd5b613d9d848285614f74565b509392505050565b600081359050613db481615819565b92915050565b600082601f830112613dcb57600080fd5b8135613ddb848260208601613cbd565b91505092915050565b600081359050613df381615830565b92915050565b600081359050613e0881615847565b92915050565b600081519050613e1d81615847565b92915050565b60008083601f840112613e3557600080fd5b8235905067ffffffffffffffff811115613e4e57600080fd5b602083019150836001820283011115613e6657600080fd5b9250929050565b600082601f830112613e7e57600080fd5b8135613e8e848260208601613d29565b91505092915050565b600082601f830112613ea857600080fd5b8135613eb8848260208601613d67565b91505092915050565b600081359050613ed08161585e565b92915050565b600060208284031215613ee857600080fd5b6000613ef684828501613da5565b91505092915050565b60008060408385031215613f1257600080fd5b6000613f2085828601613da5565b9250506020613f3185828601613da5565b9150509250929050565b600080600060608486031215613f5057600080fd5b6000613f5e86828701613da5565b9350506020613f6f86828701613da5565b9250506040613f8086828701613ec1565b9150509250925092565b60008060008060808587031215613fa057600080fd5b6000613fae87828801613da5565b9450506020613fbf87828801613da5565b9350506040613fd087828801613ec1565b925050606085013567ffffffffffffffff811115613fed57600080fd5b613ff987828801613e6d565b91505092959194509250565b6000806040838503121561401857600080fd5b600061402685828601613da5565b925050602061403785828601613de4565b9150509250929050565b6000806040838503121561405457600080fd5b600061406285828601613da5565b925050602061407385828601613ec1565b9150509250929050565b6000806000806060858703121561409357600080fd5b60006140a187828801613da5565b94505060206140b287828801613ec1565b935050604085013567ffffffffffffffff8111156140cf57600080fd5b6140db87828801613e23565b925092505092959194509250565b6000806000606084860312156140fe57600080fd5b600061410c86828701613da5565b935050602061411d86828701613ec1565b925050604061412e86828701613ec1565b9150509250925092565b60006020828403121561414a57600080fd5b600082013567ffffffffffffffff81111561416457600080fd5b61417084828501613dba565b91505092915050565b60006020828403121561418b57600080fd5b600061419984828501613df9565b91505092915050565b6000602082840312156141b457600080fd5b60006141c284828501613e0e565b91505092915050565b6000806000606084860312156141e057600080fd5b600084013567ffffffffffffffff8111156141fa57600080fd5b61420686828701613e97565b935050602061421786828701613ec1565b925050604061422886828701613ec1565b9150509250925092565b60006020828403121561424457600080fd5b600061425284828501613ec1565b91505092915050565b600080600080600060a0868803121561427357600080fd5b600061428188828901613ec1565b955050602061429288828901613ec1565b94505060406142a388828901613ec1565b93505060606142b488828901613ec1565b92505060806142c588828901613ec1565b9150509295509295909350565b6142db81614f00565b82525050565b6142ea81614f12565b82525050565b60006142fb82614d6a565b6143058185614d80565b9350614315818560208601614f83565b61431e8161514f565b840191505092915050565b600061433482614d75565b61433e8185614d9c565b935061434e818560208601614f83565b6143578161514f565b840191505092915050565b600061436d82614d75565b6143778185614dad565b9350614387818560208601614f83565b80840191505092915050565b60006143a0600d83614d9c565b91506143ab82615160565b602082019050919050565b60006143c3602283614d9c565b91506143ce82615189565b604082019050919050565b60006143e6603283614d9c565b91506143f1826151d8565b604082019050919050565b6000614409602683614d9c565b915061441482615227565b604082019050919050565b600061442c601c83614d9c565b915061443782615276565b602082019050919050565b600061444f600f83614d9c565b915061445a8261529f565b602082019050919050565b6000614472600a83614d9c565b915061447d826152c8565b602082019050919050565b6000614495601483614d9c565b91506144a0826152f1565b602082019050919050565b60006144b8602483614d9c565b91506144c38261531a565b604082019050919050565b60006144db601983614d9c565b91506144e682615369565b602082019050919050565b60006144fe602c83614d9c565b915061450982615392565b604082019050919050565b6000614521603883614d9c565b915061452c826153e1565b604082019050919050565b6000614544601083614d9c565b915061454f82615430565b602082019050919050565b6000614567601383614d9c565b915061457282615459565b602082019050919050565b600061458a602a83614d9c565b915061459582615482565b604082019050919050565b60006145ad602983614d9c565b91506145b8826154d1565b604082019050919050565b60006145d0602e83614d9c565b91506145db82615520565b604082019050919050565b60006145f3602083614d9c565b91506145fe8261556f565b602082019050919050565b6000614616602c83614d9c565b915061462182615598565b604082019050919050565b6000614639601183614d9c565b9150614644826155e7565b602082019050919050565b600061465c602083614d9c565b915061466782615610565b602082019050919050565b600061467f602983614d9c565b915061468a82615639565b604082019050919050565b60006146a2602f83614d9c565b91506146ad82615688565b604082019050919050565b60006146c5602183614d9c565b91506146d0826156d7565b604082019050919050565b60006146e8600a83614d9c565b91506146f382615726565b602082019050919050565b600061470b601483614d9c565b91506147168261574f565b602082019050919050565b600061472e602783614d9c565b915061473982615778565b604082019050919050565b6000614751600083614d91565b915061475c826157c7565b600082019050919050565b6000614774603183614d9c565b915061477f826157ca565b604082019050919050565b61479381614f6a565b82525050565b60006147a58285614362565b91506147b18284614362565b91508190509392505050565b60006147c882614744565b9150819050919050565b60006020820190506147e760008301846142d2565b92915050565b600060808201905061480260008301876142d2565b61480f60208301866142d2565b61481c604083018561478a565b818103606083015261482e81846142f0565b905095945050505050565b600060208201905061484e60008301846142e1565b92915050565b6000602082019050818103600083015261486e8184614329565b905092915050565b6000602082019050818103600083015261488f81614393565b9050919050565b600060208201905081810360008301526148af816143b6565b9050919050565b600060208201905081810360008301526148cf816143d9565b9050919050565b600060208201905081810360008301526148ef816143fc565b9050919050565b6000602082019050818103600083015261490f8161441f565b9050919050565b6000602082019050818103600083015261492f81614442565b9050919050565b6000602082019050818103600083015261494f81614465565b9050919050565b6000602082019050818103600083015261496f81614488565b9050919050565b6000602082019050818103600083015261498f816144ab565b9050919050565b600060208201905081810360008301526149af816144ce565b9050919050565b600060208201905081810360008301526149cf816144f1565b9050919050565b600060208201905081810360008301526149ef81614514565b9050919050565b60006020820190508181036000830152614a0f81614537565b9050919050565b60006020820190508181036000830152614a2f8161455a565b9050919050565b60006020820190508181036000830152614a4f8161457d565b9050919050565b60006020820190508181036000830152614a6f816145a0565b9050919050565b60006020820190508181036000830152614a8f816145c3565b9050919050565b60006020820190508181036000830152614aaf816145e6565b9050919050565b60006020820190508181036000830152614acf81614609565b9050919050565b60006020820190508181036000830152614aef8161462c565b9050919050565b60006020820190508181036000830152614b0f8161464f565b9050919050565b60006020820190508181036000830152614b2f81614672565b9050919050565b60006020820190508181036000830152614b4f81614695565b9050919050565b60006020820190508181036000830152614b6f816146b8565b9050919050565b60006020820190508181036000830152614b8f816146db565b9050919050565b60006020820190508181036000830152614baf816146fe565b9050919050565b60006020820190508181036000830152614bcf81614721565b9050919050565b60006020820190508181036000830152614bef81614767565b9050919050565b6000602082019050614c0b600083018461478a565b92915050565b600060c082019050614c26600083018961478a565b614c33602083018861478a565b614c4060408301876142e1565b614c4d606083018661478a565b614c5a608083018561478a565b614c6760a083018461478a565b979650505050505050565b6000608082019050614c87600083018761478a565b614c94602083018661478a565b614ca1604083018561478a565b614cae606083018461478a565b95945050505050565b6000614cc1614cd2565b9050614ccd8282614fe8565b919050565b6000604051905090565b600067ffffffffffffffff821115614cf757614cf6615120565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614d2357614d22615120565b5b614d2c8261514f565b9050602081019050919050565b600067ffffffffffffffff821115614d5457614d53615120565b5b614d5d8261514f565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60008085851115614dc857600080fd5b83861115614dd557600080fd5b6001850283019150848603905094509492505050565b6000614df682614f6a565b9150614e0183614f6a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614e3657614e35615093565b5b828201905092915050565b6000614e4c82614f6a565b9150614e5783614f6a565b925082614e6757614e666150c2565b5b828204905092915050565b6000614e7d82614f6a565b9150614e8883614f6a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614ec157614ec0615093565b5b828202905092915050565b6000614ed782614f6a565b9150614ee283614f6a565b925082821015614ef557614ef4615093565b5b828203905092915050565b6000614f0b82614f4a565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614fa1578082015181840152602081019050614f86565b83811115614fb0576000848401525b50505050565b60006002820490506001821680614fce57607f821691505b60208210811415614fe257614fe16150f1565b5b50919050565b614ff18261514f565b810181811067ffffffffffffffff821117156150105761500f615120565b5b80604052505050565b600061502482614f6a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561505757615056615093565b5b600182019050919050565b600061506d82614f6a565b915061507883614f6a565b925082615088576150876150c2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f57726f6e67206164647265737300000000000000000000000000000000000000600082015250565b7f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279204960008201527f4d58000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f626c75657072696e74206572726f720000000000000000000000000000000000600082015250565b7f6d617820737570706c7900000000000000000000000000000000000000000000600082015250565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f496e76616c6964207175616e7469747900000000000000000000000000000000600082015250565b7f57726f6e672065787465726e616c2063616c6c00000000000000000000000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f6e6c792074797065203120616e642032000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f6d696e74206f6e204c3200000000000000000000000000000000000000000000600082015250565b7f536570617261746f72206d757374206578697374000000000000000000000000600082015250565b7f5069726174652073616c652074797065206d757374206265206772656174657260008201527f207468656e203000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b61582281614f00565b811461582d57600080fd5b50565b61583981614f12565b811461584457600080fd5b50565b61585081614f1e565b811461585b57600080fd5b50565b61586781614f6a565b811461587257600080fd5b5056fea26469706673582212207cc12dc98cf6ace03d8b2e11218722a5af4fd9f31b38e7747ca52b136332e42864736f6c63430008020033

Deployed Bytecode

0x6080604052600436106102725760003560e01c8063715018a61161014f578063a4d5f6a9116100c1578063e0ca32281161007a578063e0ca322814610921578063e2e179631461094c578063e757c17d14610975578063e985e9c5146109a0578063ee37d33d146109dd578063f2fde38b14610a1a57610272565b8063a4d5f6a9146107fe578063b02200151461083e578063b88d4fde14610869578063bd01be1714610892578063c87b56dd146108bb578063d031370b146108f857610272565b806395d89b411161011357806395d89b41146106fd578063977d08c0146107285780639b19251a146107515780639b6860c81461078e578063a0712d68146107b9578063a22cb465146107d557610272565b8063715018a614610664578063899d7b381461067b5780638da5cb5b146106925780638ebb366f146106bd5780638fef8ecc146106e657610272565b8063367eb811116101e857806348f3afed116101ac57806348f3afed146105425780634d4c4e991461056b5780635b888656146105965780635b93a8a5146105bf5780636352211e146105ea57806370a082311461062757610272565b8063367eb8111461046e57806337d205c8146104b05780633ccfd60b146104d957806342842e0e146104f05780634526523c1461051957610272565b80630f08025f1161023a5780630f08025f1461037057806318160ddd1461039b578063196d212a146103c657806319ee6e3f146103f15780631c8b232d1461041a57806323b872dd1461044557610272565b806301ffc9a714610277578063061d6ebd146102b457806306fdde03146102df578063081812fc1461030a578063095ea7b314610347575b600080fd5b34801561028357600080fd5b5061029e60048036038101906102999190614179565b610a43565b6040516102ab9190614839565b60405180910390f35b3480156102c057600080fd5b506102c9610b25565b6040516102d69190614bf6565b60405180910390f35b3480156102eb57600080fd5b506102f4610b2b565b6040516103019190614854565b60405180910390f35b34801561031657600080fd5b50610331600480360381019061032c9190614232565b610bbd565b60405161033e91906147d2565b60405180910390f35b34801561035357600080fd5b5061036e60048036038101906103699190614041565b610c42565b005b34801561037c57600080fd5b50610385610d5a565b60405161039291906147d2565b60405180910390f35b3480156103a757600080fd5b506103b0610d80565b6040516103bd9190614bf6565b60405180910390f35b3480156103d257600080fd5b506103db610dcc565b6040516103e89190614bf6565b60405180910390f35b3480156103fd57600080fd5b506104186004803603810190610413919061407d565b610dd2565b005b34801561042657600080fd5b5061042f610fd4565b60405161043c9190614839565b60405180910390f35b34801561045157600080fd5b5061046c60048036038101906104679190613f3b565b610fe7565b005b34801561047a57600080fd5b5061049560048036038101906104909190614232565b611047565b6040516104a796959493929190614c11565b60405180910390f35b3480156104bc57600080fd5b506104d760048036038101906104d29190613ed6565b611090565b005b3480156104e557600080fd5b506104ee6111d7565b005b3480156104fc57600080fd5b5061051760048036038101906105129190613f3b565b611315565b005b34801561052557600080fd5b50610540600480360381019061053b91906140e9565b611335565b005b34801561054e57600080fd5b50610569600480360381019061056491906141cb565b61140a565b005b34801561057757600080fd5b506105806114c4565b60405161058d9190614bf6565b60405180910390f35b3480156105a257600080fd5b506105bd60048036038101906105b89190613ed6565b6114ca565b005b3480156105cb57600080fd5b506105d461158a565b6040516105e19190614bf6565b60405180910390f35b3480156105f657600080fd5b50610611600480360381019061060c9190614232565b611590565b60405161061e91906147d2565b60405180910390f35b34801561063357600080fd5b5061064e60048036038101906106499190613ed6565b611642565b60405161065b9190614bf6565b60405180910390f35b34801561067057600080fd5b506106796116fa565b005b34801561068757600080fd5b50610690611782565b005b34801561069e57600080fd5b506106a7611839565b6040516106b491906147d2565b60405180910390f35b3480156106c957600080fd5b506106e460048036038101906106df9190614232565b611863565b005b3480156106f257600080fd5b506106fb61191a565b005b34801561070957600080fd5b506107126119d1565b60405161071f9190614854565b60405180910390f35b34801561073457600080fd5b5061074f600480360381019061074a91906141cb565b611a63565b005b34801561075d57600080fd5b5061077860048036038101906107739190613ed6565b611bbb565b6040516107859190614839565b60405180910390f35b34801561079a57600080fd5b506107a3611bdb565b6040516107b09190614bf6565b60405180910390f35b6107d360048036038101906107ce9190614232565b611be1565b005b3480156107e157600080fd5b506107fc60048036038101906107f79190614005565b611c1c565b005b34801561080a57600080fd5b5061082560048036038101906108209190614232565b611d9d565b6040516108359493929190614c72565b60405180910390f35b34801561084a57600080fd5b50610853611dcd565b6040516108609190614839565b60405180910390f35b34801561087557600080fd5b50610890600480360381019061088b9190613f8a565b611de0565b005b34801561089e57600080fd5b506108b960048036038101906108b4919061425b565b611e42565b005b3480156108c757600080fd5b506108e260048036038101906108dd9190614232565b611ffb565b6040516108ef9190614854565b60405180910390f35b34801561090457600080fd5b5061091f600480360381019061091a9190614232565b612173565b005b34801561092d57600080fd5b50610936612219565b6040516109439190614bf6565b60405180910390f35b34801561095857600080fd5b50610973600480360381019061096e9190614138565b61221f565b005b34801561098157600080fd5b5061098a6122d6565b6040516109979190614bf6565b60405180910390f35b3480156109ac57600080fd5b506109c760048036038101906109c29190613eff565b6122dc565b6040516109d49190614839565b60405180910390f35b3480156109e957600080fd5b50610a0460048036038101906109ff91906140e9565b612370565b604051610a119190614bf6565b60405180910390f35b348015610a2657600080fd5b50610a416004803603810190610a3c9190613ed6565b612447565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b0e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b1e5750610b1d8261253f565b5b9050919050565b60cb5481565b606060658054610b3a90614fb6565b80601f0160208091040260200160405190810160405280929190818152602001828054610b6690614fb6565b8015610bb35780601f10610b8857610100808354040283529160200191610bb3565b820191906000526020600020905b815481529060010190602001808311610b9657829003601f168201915b5050505050905090565b6000610bc8826125a9565b610c07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfe90614ab6565b60405180910390fd5b6069600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c4d82611590565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb590614b56565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cdd612615565b73ffffffffffffffffffffffffffffffffffffffff161480610d0c5750610d0b81610d06612615565b6122dc565b5b610d4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d42906149d6565b60405180910390fd5b610d55838361261d565b505050565b60d660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060cf6000600181526020019081526020016000209050600060cf600060028152602001908152602001600020905080600301548260030154610dc59190614deb565b9250505090565b60cc5481565b60018314610e15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0c906149f6565b60405180910390fd5b60d660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ea5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9c90614896565b60405180910390fd5b600080610eb284846126d6565b915091506001811480610ec55750600281145b610f04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efb90614ad6565b60405180910390fd5b600060cf600083815260200190815260200160002090506001821415610f6d57612710816003015410610f6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6390614936565b60405180910390fd5b5b6002821415610fbf57611388816003015410610fbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb590614936565b60405180910390fd5b5b610fca87848461290e565b5050505050505050565b60d360009054906101000a900460ff1681565b610ff8610ff2612615565b82612a0b565b611037576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102e90614bd6565b60405180910390fd5b611042838383612ae9565b505050565b60cf6020528060005260406000206000915090508060000154908060010154908060020160009054906101000a900460ff16908060030154908060040154908060050154905086565b611098612615565b73ffffffffffffffffffffffffffffffffffffffff166110b6611839565b73ffffffffffffffffffffffffffffffffffffffff161461110c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110390614af6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561117c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117390614876565b60405180910390fd5b600160d160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6111df612615565b73ffffffffffffffffffffffffffffffffffffffff166111fd611839565b73ffffffffffffffffffffffffffffffffffffffff1614611253576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124a90614af6565b60405180910390fd5b60004790506000811161126557600080fd5b60003373ffffffffffffffffffffffffffffffffffffffff168260405161128b906147bd565b60006040518083038185875af1925050503d80600081146112c8576040519150601f19603f3d011682016040523d82523d6000602084013e6112cd565b606091505b5050905080611311576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130890614956565b60405180910390fd5b5050565b61133083838360405180602001604052806000815250611de0565b505050565b6001151560d16000611345612615565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515146113cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c690614a16565b60405180910390fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140190614b76565b60405180910390fd5b611412612615565b73ffffffffffffffffffffffffffffffffffffffff16611430611839565b73ffffffffffffffffffffffffffffffffffffffff1614611486576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147d90614af6565b60405180910390fd5b8260d26000848152602001908152602001600020600083815260200190815260200160002090805190602001906114be929190613c1a565b50505050565b60ca5481565b6114d2612615565b73ffffffffffffffffffffffffffffffffffffffff166114f0611839565b73ffffffffffffffffffffffffffffffffffffffff1614611546576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153d90614af6565b60405180910390fd5b8060d660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60c95481565b6000806067600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611639576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163090614a56565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116aa90614a36565b60405180910390fd5b606860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611702612615565b73ffffffffffffffffffffffffffffffffffffffff16611720611839565b73ffffffffffffffffffffffffffffffffffffffff1614611776576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176d90614af6565b60405180910390fd5b6117806000612d45565b565b61178a612615565b73ffffffffffffffffffffffffffffffffffffffff166117a8611839565b73ffffffffffffffffffffffffffffffffffffffff16146117fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f590614af6565b60405180910390fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183090614b76565b60405180910390fd5b6000609760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61186b612615565b73ffffffffffffffffffffffffffffffffffffffff16611889611839565b73ffffffffffffffffffffffffffffffffffffffff16146118df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d690614af6565b60405180910390fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191190614b76565b60405180910390fd5b611922612615565b73ffffffffffffffffffffffffffffffffffffffff16611940611839565b73ffffffffffffffffffffffffffffffffffffffff1614611996576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198d90614af6565b60405180910390fd5b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c890614b76565b60405180910390fd5b6060606680546119e090614fb6565b80601f0160208091040260200160405190810160405280929190818152602001828054611a0c90614fb6565b8015611a595780601f10611a2e57610100808354040283529160200191611a59565b820191906000526020600020905b815481529060010190602001808311611a3c57829003601f168201915b5050505050905090565b600060019054906101000a900460ff1680611a89575060008054906101000a900460ff16155b611ac8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611abf90614a76565b60405180910390fd5b60008060019054906101000a900460ff161590508015611b18576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b611b8c6040518060400160405280600a81526020017f4172724c616e644e4654000000000000000000000000000000000000000000008152506040518060400160405280600881526020017f4152524c444e4654000000000000000000000000000000000000000000000000815250612e0b565b611b94612f00565b8015611bb55760008060016101000a81548160ff0219169083151502179055505b50505050565b60d06020528060005260406000206000915054906101000a900460ff1681565b60d55481565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1390614b76565b60405180910390fd5b611c24612615565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8990614996565b60405180910390fd5b80606a6000611c9f612615565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d4c612615565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d919190614839565b60405180910390a35050565b60ce6020528060005260406000206000915090508060000154908060010154908060020154908060030154905084565b60d360019054906101000a900460ff1681565b611df1611deb612615565b83612a0b565b611e30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2790614bd6565b60405180910390fd5b611e3c84848484612fe9565b50505050565b611e4a612615565b73ffffffffffffffffffffffffffffffffffffffff16611e68611839565b73ffffffffffffffffffffffffffffffffffffffff1614611ebe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb590614af6565b60405180910390fd5b60008511611f01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef890614bb6565b60405180910390fd5b8460c9819055506000151560cf600060c954815260200190815260200160002060020160009054906101000a900460ff1615151415611ff4578160d4819055508060d5819055506040518060c00160405280858152602001611f6c868661304590919063ffffffff16565b8152602001600115158152602001600081526020018381526020018281525060cf6000878152602001908152602001600020600082015181600001556020820151816001015560408201518160020160006101000a81548160ff021916908315150217905550606082015181600301556080820151816004015560a082015181600501559050505b5050505050565b6060612006826125a9565b612045576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203c90614b36565b60405180910390fd5b600060d2600060ce6000868152602001908152602001600020600001548152602001908152602001600020600060ce600086815260200190815260200160002060030154815260200190815260200160002080546120a290614fb6565b80601f01602080910402602001604051908101604052809291908181526020018280546120ce90614fb6565b801561211b5780601f106120f05761010080835404028352916020019161211b565b820191906000526020600020905b8154815290600101906020018083116120fe57829003601f168201915b505050505090506000815111612140576040518060200160405280600081525061216b565b8061214a8461305b565b60405160200161215b929190614799565b6040516020818303038152906040525b915050919050565b6001151560d16000612183612615565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151461220d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220490614a16565b60405180910390fd5b61221681613208565b50565b60cd5481565b612227612615565b73ffffffffffffffffffffffffffffffffffffffff16612245611839565b73ffffffffffffffffffffffffffffffffffffffff161461229b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229290614af6565b60405180910390fd5b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122cd90614b76565b60405180910390fd5b60d45481565b6000606a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60006001151560d16000612382612615565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151461240c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240390614a16565b60405180910390fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243e90614b76565b60405180910390fd5b61244f612615565b73ffffffffffffffffffffffffffffffffffffffff1661246d611839565b73ffffffffffffffffffffffffffffffffffffffff16146124c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ba90614af6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612533576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252a906148d6565b60405180910390fd5b61253c81612d45565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166067600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816069600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661269083611590565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080600061276085858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506040518060400160405280600181526020017f3a000000000000000000000000000000000000000000000000000000000000008152506000613243565b905060008112156127a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279d90614b96565b60405180910390fd5b600061281286866001906001866127bd9190614ecc565b926127ca93929190614db8565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506133ad565b90506000600383888890506128279190614ecc565b6128319190614ecc565b905060008111612876576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286d90614916565b60405180910390fd5b36600088886002876128889190614deb565b9060018c8c90506128999190614ecc565b926128a693929190614db8565b9150915060006128f983838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506133ad565b90508481975097505050505050509250929050565b6000600182148061291f5750600282145b61295e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295590614ad6565b60405180910390fd5b600060cf6000848152602001908152602001600020905061298d6001826003015461346a90919063ffffffff16565b816003018190555061299f8585613480565b604051806080016040528060008152602001600081526020014281526020018481525060ce600086815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030155905050839150509392505050565b6000612a16826125a9565b612a55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4c906149b6565b60405180910390fd5b6000612a6083611590565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612acf57508373ffffffffffffffffffffffffffffffffffffffff16612ab784610bbd565b73ffffffffffffffffffffffffffffffffffffffff16145b80612ae05750612adf81856122dc565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612b0982611590565b73ffffffffffffffffffffffffffffffffffffffff1614612b5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5690614b16565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bc690614976565b60405180910390fd5b612bda83838361349e565b612be560008261261d565b6001606860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c359190614ecc565b925050819055506001606860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c8c9190614deb565b92505081905550816067600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000609760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081609760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600060019054906101000a900460ff1680612e31575060008054906101000a900460ff16155b612e70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e6790614a76565b60405180910390fd5b60008060019054906101000a900460ff161590508015612ec0576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b612ec86134a3565b612ed061357c565b612eda8383613655565b8015612efb5760008060016101000a81548160ff0219169083151502179055505b505050565b600060019054906101000a900460ff1680612f26575060008054906101000a900460ff16155b612f65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5c90614a76565b60405180910390fd5b60008060019054906101000a900460ff161590508015612fb5576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b612fbd6134a3565b612fc561375e565b8015612fe65760008060016101000a81548160ff0219169083151502179055505b50565b612ff4848484612ae9565b61300084848484613847565b61303f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613036906148b6565b60405180910390fd5b50505050565b600081836130539190614ecc565b905092915050565b606060008214156130a3576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613203565b600082905060005b600082146130d55780806130be90615019565b915050600a826130ce9190614e41565b91506130ab565b60008167ffffffffffffffff811115613117577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156131495781602001600182028036833780820191505090505b5090505b600085146131fc576001826131629190614ecc565b9150600a856131719190615062565b603061317d9190614deb565b60f81b8183815181106131b9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131f59190614e41565b945061314d565b8093505050505b919050565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161323a90614b76565b60405180910390fd5b6000808390506001815114613281577f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b60008390505b855181101561338057816000815181106132ca577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916868281518110613330577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916141561336d5780925050506133a6565b808061337890615019565b915050613287565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff9150505b9392505050565b6000806000905060005b83518110156134605760008482815181106133fb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b60f81c60ff16905060308110158015613420575060398111155b1561344c576030816134329190614ecc565b600a8461343f9190614e72565b6134499190614deb565b92505b50808061345890615019565b9150506133b7565b5080915050919050565b600081836134789190614deb565b905092915050565b61349a8282604051806020016040528060008152506139de565b5050565b505050565b600060019054906101000a900460ff16806134c9575060008054906101000a900460ff16155b613508576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134ff90614a76565b60405180910390fd5b60008060019054906101000a900460ff161590508015613558576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b80156135795760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff16806135a2575060008054906101000a900460ff16155b6135e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135d890614a76565b60405180910390fd5b60008060019054906101000a900460ff161590508015613631576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b80156136525760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff168061367b575060008054906101000a900460ff16155b6136ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136b190614a76565b60405180910390fd5b60008060019054906101000a900460ff16159050801561370a576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8260659080519060200190613720929190613c1a565b508160669080519060200190613737929190613c1a565b5080156137595760008060016101000a81548160ff0219169083151502179055505b505050565b600060019054906101000a900460ff1680613784575060008054906101000a900460ff16155b6137c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137ba90614a76565b60405180910390fd5b60008060019054906101000a900460ff161590508015613813576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b61382361381e612615565b612d45565b80156138445760008060016101000a81548160ff0219169083151502179055505b50565b60006138688473ffffffffffffffffffffffffffffffffffffffff16613a39565b156139d1578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613891612615565b8786866040518563ffffffff1660e01b81526004016138b394939291906147ed565b602060405180830381600087803b1580156138cd57600080fd5b505af19250505080156138fe57506040513d601f19601f820116820180604052508101906138fb91906141a2565b60015b613981573d806000811461392e576040519150601f19603f3d011682016040523d82523d6000602084013e613933565b606091505b50600081511415613979576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613970906148b6565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506139d6565b600190505b949350505050565b6139e88383613a4c565b6139f56000848484613847565b613a34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a2b906148b6565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613abc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ab390614a96565b60405180910390fd5b613ac5816125a9565b15613b05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613afc906148f6565b60405180910390fd5b613b116000838361349e565b6001606860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613b619190614deb565b92505081905550816067600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054613c2690614fb6565b90600052602060002090601f016020900481019282613c485760008555613c8f565b82601f10613c6157805160ff1916838001178555613c8f565b82800160010185558215613c8f579182015b82811115613c8e578251825591602001919060010190613c73565b5b509050613c9c9190613ca0565b5090565b5b80821115613cb9576000816000905550600101613ca1565b5090565b6000613cd0613ccb84614cdc565b614cb7565b90508083825260208201905082856020860282011115613cef57600080fd5b60005b85811015613d1f5781613d058882613da5565b845260208401935060208301925050600181019050613cf2565b5050509392505050565b6000613d3c613d3784614d08565b614cb7565b905082815260208101848484011115613d5457600080fd5b613d5f848285614f74565b509392505050565b6000613d7a613d7584614d39565b614cb7565b905082815260208101848484011115613d9257600080fd5b613d9d848285614f74565b509392505050565b600081359050613db481615819565b92915050565b600082601f830112613dcb57600080fd5b8135613ddb848260208601613cbd565b91505092915050565b600081359050613df381615830565b92915050565b600081359050613e0881615847565b92915050565b600081519050613e1d81615847565b92915050565b60008083601f840112613e3557600080fd5b8235905067ffffffffffffffff811115613e4e57600080fd5b602083019150836001820283011115613e6657600080fd5b9250929050565b600082601f830112613e7e57600080fd5b8135613e8e848260208601613d29565b91505092915050565b600082601f830112613ea857600080fd5b8135613eb8848260208601613d67565b91505092915050565b600081359050613ed08161585e565b92915050565b600060208284031215613ee857600080fd5b6000613ef684828501613da5565b91505092915050565b60008060408385031215613f1257600080fd5b6000613f2085828601613da5565b9250506020613f3185828601613da5565b9150509250929050565b600080600060608486031215613f5057600080fd5b6000613f5e86828701613da5565b9350506020613f6f86828701613da5565b9250506040613f8086828701613ec1565b9150509250925092565b60008060008060808587031215613fa057600080fd5b6000613fae87828801613da5565b9450506020613fbf87828801613da5565b9350506040613fd087828801613ec1565b925050606085013567ffffffffffffffff811115613fed57600080fd5b613ff987828801613e6d565b91505092959194509250565b6000806040838503121561401857600080fd5b600061402685828601613da5565b925050602061403785828601613de4565b9150509250929050565b6000806040838503121561405457600080fd5b600061406285828601613da5565b925050602061407385828601613ec1565b9150509250929050565b6000806000806060858703121561409357600080fd5b60006140a187828801613da5565b94505060206140b287828801613ec1565b935050604085013567ffffffffffffffff8111156140cf57600080fd5b6140db87828801613e23565b925092505092959194509250565b6000806000606084860312156140fe57600080fd5b600061410c86828701613da5565b935050602061411d86828701613ec1565b925050604061412e86828701613ec1565b9150509250925092565b60006020828403121561414a57600080fd5b600082013567ffffffffffffffff81111561416457600080fd5b61417084828501613dba565b91505092915050565b60006020828403121561418b57600080fd5b600061419984828501613df9565b91505092915050565b6000602082840312156141b457600080fd5b60006141c284828501613e0e565b91505092915050565b6000806000606084860312156141e057600080fd5b600084013567ffffffffffffffff8111156141fa57600080fd5b61420686828701613e97565b935050602061421786828701613ec1565b925050604061422886828701613ec1565b9150509250925092565b60006020828403121561424457600080fd5b600061425284828501613ec1565b91505092915050565b600080600080600060a0868803121561427357600080fd5b600061428188828901613ec1565b955050602061429288828901613ec1565b94505060406142a388828901613ec1565b93505060606142b488828901613ec1565b92505060806142c588828901613ec1565b9150509295509295909350565b6142db81614f00565b82525050565b6142ea81614f12565b82525050565b60006142fb82614d6a565b6143058185614d80565b9350614315818560208601614f83565b61431e8161514f565b840191505092915050565b600061433482614d75565b61433e8185614d9c565b935061434e818560208601614f83565b6143578161514f565b840191505092915050565b600061436d82614d75565b6143778185614dad565b9350614387818560208601614f83565b80840191505092915050565b60006143a0600d83614d9c565b91506143ab82615160565b602082019050919050565b60006143c3602283614d9c565b91506143ce82615189565b604082019050919050565b60006143e6603283614d9c565b91506143f1826151d8565b604082019050919050565b6000614409602683614d9c565b915061441482615227565b604082019050919050565b600061442c601c83614d9c565b915061443782615276565b602082019050919050565b600061444f600f83614d9c565b915061445a8261529f565b602082019050919050565b6000614472600a83614d9c565b915061447d826152c8565b602082019050919050565b6000614495601483614d9c565b91506144a0826152f1565b602082019050919050565b60006144b8602483614d9c565b91506144c38261531a565b604082019050919050565b60006144db601983614d9c565b91506144e682615369565b602082019050919050565b60006144fe602c83614d9c565b915061450982615392565b604082019050919050565b6000614521603883614d9c565b915061452c826153e1565b604082019050919050565b6000614544601083614d9c565b915061454f82615430565b602082019050919050565b6000614567601383614d9c565b915061457282615459565b602082019050919050565b600061458a602a83614d9c565b915061459582615482565b604082019050919050565b60006145ad602983614d9c565b91506145b8826154d1565b604082019050919050565b60006145d0602e83614d9c565b91506145db82615520565b604082019050919050565b60006145f3602083614d9c565b91506145fe8261556f565b602082019050919050565b6000614616602c83614d9c565b915061462182615598565b604082019050919050565b6000614639601183614d9c565b9150614644826155e7565b602082019050919050565b600061465c602083614d9c565b915061466782615610565b602082019050919050565b600061467f602983614d9c565b915061468a82615639565b604082019050919050565b60006146a2602f83614d9c565b91506146ad82615688565b604082019050919050565b60006146c5602183614d9c565b91506146d0826156d7565b604082019050919050565b60006146e8600a83614d9c565b91506146f382615726565b602082019050919050565b600061470b601483614d9c565b91506147168261574f565b602082019050919050565b600061472e602783614d9c565b915061473982615778565b604082019050919050565b6000614751600083614d91565b915061475c826157c7565b600082019050919050565b6000614774603183614d9c565b915061477f826157ca565b604082019050919050565b61479381614f6a565b82525050565b60006147a58285614362565b91506147b18284614362565b91508190509392505050565b60006147c882614744565b9150819050919050565b60006020820190506147e760008301846142d2565b92915050565b600060808201905061480260008301876142d2565b61480f60208301866142d2565b61481c604083018561478a565b818103606083015261482e81846142f0565b905095945050505050565b600060208201905061484e60008301846142e1565b92915050565b6000602082019050818103600083015261486e8184614329565b905092915050565b6000602082019050818103600083015261488f81614393565b9050919050565b600060208201905081810360008301526148af816143b6565b9050919050565b600060208201905081810360008301526148cf816143d9565b9050919050565b600060208201905081810360008301526148ef816143fc565b9050919050565b6000602082019050818103600083015261490f8161441f565b9050919050565b6000602082019050818103600083015261492f81614442565b9050919050565b6000602082019050818103600083015261494f81614465565b9050919050565b6000602082019050818103600083015261496f81614488565b9050919050565b6000602082019050818103600083015261498f816144ab565b9050919050565b600060208201905081810360008301526149af816144ce565b9050919050565b600060208201905081810360008301526149cf816144f1565b9050919050565b600060208201905081810360008301526149ef81614514565b9050919050565b60006020820190508181036000830152614a0f81614537565b9050919050565b60006020820190508181036000830152614a2f8161455a565b9050919050565b60006020820190508181036000830152614a4f8161457d565b9050919050565b60006020820190508181036000830152614a6f816145a0565b9050919050565b60006020820190508181036000830152614a8f816145c3565b9050919050565b60006020820190508181036000830152614aaf816145e6565b9050919050565b60006020820190508181036000830152614acf81614609565b9050919050565b60006020820190508181036000830152614aef8161462c565b9050919050565b60006020820190508181036000830152614b0f8161464f565b9050919050565b60006020820190508181036000830152614b2f81614672565b9050919050565b60006020820190508181036000830152614b4f81614695565b9050919050565b60006020820190508181036000830152614b6f816146b8565b9050919050565b60006020820190508181036000830152614b8f816146db565b9050919050565b60006020820190508181036000830152614baf816146fe565b9050919050565b60006020820190508181036000830152614bcf81614721565b9050919050565b60006020820190508181036000830152614bef81614767565b9050919050565b6000602082019050614c0b600083018461478a565b92915050565b600060c082019050614c26600083018961478a565b614c33602083018861478a565b614c4060408301876142e1565b614c4d606083018661478a565b614c5a608083018561478a565b614c6760a083018461478a565b979650505050505050565b6000608082019050614c87600083018761478a565b614c94602083018661478a565b614ca1604083018561478a565b614cae606083018461478a565b95945050505050565b6000614cc1614cd2565b9050614ccd8282614fe8565b919050565b6000604051905090565b600067ffffffffffffffff821115614cf757614cf6615120565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614d2357614d22615120565b5b614d2c8261514f565b9050602081019050919050565b600067ffffffffffffffff821115614d5457614d53615120565b5b614d5d8261514f565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60008085851115614dc857600080fd5b83861115614dd557600080fd5b6001850283019150848603905094509492505050565b6000614df682614f6a565b9150614e0183614f6a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614e3657614e35615093565b5b828201905092915050565b6000614e4c82614f6a565b9150614e5783614f6a565b925082614e6757614e666150c2565b5b828204905092915050565b6000614e7d82614f6a565b9150614e8883614f6a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614ec157614ec0615093565b5b828202905092915050565b6000614ed782614f6a565b9150614ee283614f6a565b925082821015614ef557614ef4615093565b5b828203905092915050565b6000614f0b82614f4a565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614fa1578082015181840152602081019050614f86565b83811115614fb0576000848401525b50505050565b60006002820490506001821680614fce57607f821691505b60208210811415614fe257614fe16150f1565b5b50919050565b614ff18261514f565b810181811067ffffffffffffffff821117156150105761500f615120565b5b80604052505050565b600061502482614f6a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561505757615056615093565b5b600182019050919050565b600061506d82614f6a565b915061507883614f6a565b925082615088576150876150c2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f57726f6e67206164647265737300000000000000000000000000000000000000600082015250565b7f46756e6374696f6e2063616e206f6e6c792062652063616c6c6564206279204960008201527f4d58000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f626c75657072696e74206572726f720000000000000000000000000000000000600082015250565b7f6d617820737570706c7900000000000000000000000000000000000000000000600082015250565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f496e76616c6964207175616e7469747900000000000000000000000000000000600082015250565b7f57726f6e672065787465726e616c2063616c6c00000000000000000000000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f6e6c792074797065203120616e642032000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f6d696e74206f6e204c3200000000000000000000000000000000000000000000600082015250565b7f536570617261746f72206d757374206578697374000000000000000000000000600082015250565b7f5069726174652073616c652074797065206d757374206265206772656174657260008201527f207468656e203000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b61582281614f00565b811461582d57600080fd5b50565b61583981614f12565b811461584457600080fd5b50565b61585081614f1e565b811461585b57600080fd5b50565b61586781614f6a565b811461587257600080fd5b5056fea26469706673582212207cc12dc98cf6ace03d8b2e11218722a5af4fd9f31b38e7747ca52b136332e42864736f6c63430008020033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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