ETH Price: $3,885.67 (-0.98%)

Token

The Species Pandas (TSPANDA)
 

Overview

Max Total Supply

261 TSPANDA

Holders

120

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
santashop.eth
Balance
1 TSPANDA
0xfdfc2e27089e96d435a725d4560ef53f374e622b
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

We are a multi-species, generational NFT project that aims to help protect the world’s most at-risk wildlife.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Pandas

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : Pandas.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/finance/PaymentSplitter.sol";

//   ██████                    ██████  
// ██████████  ████████████  ██████████
// ████████████            ████████████
// ████████                    ████████
//   ████                        ████  
//     ██    ██████    ██████    ██    
//   ██    ████████    ████████    ██  
//   ██    ████  ██    ██  ████    ██  
//   ██    ████████    ████████    ██  
//   ██    ██████        ██████    ██  
//   ██                            ██  
//   ██          ████████          ██  
//     ██          ████          ██    
//     ██      ██        ██      ██    
//       ██      ████████      ██      
//         ████            ████        
//             ████████████            

/// @title The Species Pandas
/// @dev Extends ERC721 Non-Fungible Token Standard basic implementation
contract Pandas is ERC721Enumerable, ReentrancyGuard, Ownable, PaymentSplitter {
  uint256 public constant MAX_SUPPLY = 1888;
  uint256 public constant MAX_PER_WHITELIST = 5;
  uint256 public constant MAX_PER_ADDRESS = 25;
  uint256 public constant PRICE = 0.0888 ether;
  uint256 public constant RESERVED_PANDAS = 100;

  bool public isSaleActive = false;
  bool public onlyWhitelist = false;

  string private _baseTokenURI;

  mapping(address => uint256) public whitelist;

  constructor(address[] memory _payees, uint256[] memory _shares)
    ERC721("The Species Pandas", "TSPANDA")
    PaymentSplitter(_payees, _shares)
  {}

  /// @notice Set some Pandas aside for the team and community wallet
  function reservePandas() public onlyOwner {
    _mint(RESERVED_PANDAS);
  }

  function _baseURI() internal view override returns (string memory) {
    return _baseTokenURI;
  }

  function setBaseURI(string memory baseTokenURI) public onlyOwner {
    _baseTokenURI = baseTokenURI;
  }

  /// @notice Checks if address is whitelisted
  /// @param _user The number of rings from dendrochronological sample
  /// @return True or False
  function isWhitelisted(address _user) public view returns (bool) {
    return whitelist[_user] > 0;
  }

  /// @notice Get Pandas that belong to a given address
  /// @param _owner Address of the owners wallet
  /// @return List of Panda token ids
  function walletOfOwner(address _owner)
    public
    view
    returns (uint256[] memory)
  {
    uint256 ownerTokenCount = balanceOf(_owner);
    uint256[] memory tokenIds = new uint256[](ownerTokenCount);
    for (uint256 i; i < ownerTokenCount; i++) {
      tokenIds[i] = tokenOfOwnerByIndex(_owner, i);
    }
    return tokenIds;
  }

  /// @notice Pause sale if active, make active if paused
  function toggleSale() public onlyOwner {
    isSaleActive = !isSaleActive;
  }

  /// @notice Pause whitelist sale if active, make active if paused
  function toggleWhitelist() public onlyOwner {
    onlyWhitelist = !onlyWhitelist;
  }

  /// @notice Whitelist addresses
  /// @param _addresses List of wallet addresses that belong to those that are whitelisted
  function whitelistAddresses(address[] calldata _addresses) public onlyOwner {
    for (uint256 i = 0; i < _addresses.length; i++) {
      whitelist[_addresses[i]] = MAX_PER_WHITELIST + 1;
    }
  }

  /// @notice Mint Pandas during the whitelist only presale
  /// @param _quantity Amount of pandas to mint
  function whitelistMint(uint256 _quantity) public payable nonReentrant {
    require(onlyWhitelist, "Whitelist mint is not active");
    require(PRICE * _quantity == msg.value, "ETH amount is incorrect");
    require(isWhitelisted(msg.sender), "Address is not whitelisted");
    require(
      whitelist[msg.sender] - 1 >= _quantity,
      "Whitelist mint limited exceeded"
    );

    _mint(_quantity);
    whitelist[msg.sender] -= _quantity;
  }

  /// @notice Mint Pandas during public sale
  /// @param _quantity Amount of pandas to mint
  function mint(uint256 _quantity) public payable {
    require(isSaleActive, "Sale is not active");
    require(PRICE * _quantity == msg.value, "ETH amount is incorrect");
    require(
      balanceOf(_msgSender()) + _quantity <= MAX_PER_ADDRESS,
      "Total mint limit exceeded"
    );

    _mint(_quantity);
  }

  /// @notice Mint Pandas
  /// @param _quantity Amount of pandas to mint
  function _mint(uint256 _quantity) private {
    require(_quantity > 0, "Must mint at least 1 panda");
    uint256 supply = totalSupply();
    require(supply + _quantity <= MAX_SUPPLY, "Minting exceeds max supply");

    for (uint256 i = 0; i < _quantity; i++) {
      _safeMint(msg.sender, supply + i);
    }
  }
}

File 2 of 16 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * 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 override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 3 of 16 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 4 of 16 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 5 of 16 : PaymentSplitter.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Address.sol";
import "../utils/Context.sol";
import "../utils/math/SafeMath.sol";

/**
 * @title PaymentSplitter
 * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware
 * that the Ether will be split in this way, since it is handled transparently by the contract.
 *
 * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each
 * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim
 * an amount proportional to the percentage of total shares they were assigned.
 *
 * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the
 * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release}
 * function.
 */
contract PaymentSplitter is Context {
    event PayeeAdded(address account, uint256 shares);
    event PaymentReleased(address to, uint256 amount);
    event PaymentReceived(address from, uint256 amount);

    uint256 private _totalShares;
    uint256 private _totalReleased;

    mapping(address => uint256) private _shares;
    mapping(address => uint256) private _released;
    address[] private _payees;

    /**
     * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at
     * the matching position in the `shares` array.
     *
     * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no
     * duplicates in `payees`.
     */
    constructor(address[] memory payees, uint256[] memory shares_) payable {
        require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch");
        require(payees.length > 0, "PaymentSplitter: no payees");

        for (uint256 i = 0; i < payees.length; i++) {
            _addPayee(payees[i], shares_[i]);
        }
    }

    /**
     * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully
     * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the
     * reliability of the events, and not the actual splitting of Ether.
     *
     * To learn more about this see the Solidity documentation for
     * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback
     * functions].
     */
    receive() external payable virtual {
        emit PaymentReceived(_msgSender(), msg.value);
    }

    /**
     * @dev Getter for the total shares held by payees.
     */
    function totalShares() public view returns (uint256) {
        return _totalShares;
    }

    /**
     * @dev Getter for the total amount of Ether already released.
     */
    function totalReleased() public view returns (uint256) {
        return _totalReleased;
    }

    /**
     * @dev Getter for the amount of shares held by an account.
     */
    function shares(address account) public view returns (uint256) {
        return _shares[account];
    }

    /**
     * @dev Getter for the amount of Ether already released to a payee.
     */
    function released(address account) public view returns (uint256) {
        return _released[account];
    }

    /**
     * @dev Getter for the address of the payee number `index`.
     */
    function payee(uint256 index) public view returns (address) {
        return _payees[index];
    }

    /**
     * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the
     * total shares and their previous withdrawals.
     */
    function release(address payable account) public virtual {
        require(_shares[account] > 0, "PaymentSplitter: account has no shares");

        uint256 totalReceived = address(this).balance + _totalReleased;
        uint256 payment = (totalReceived * _shares[account]) / _totalShares - _released[account];

        require(payment != 0, "PaymentSplitter: account is not due payment");

        _released[account] = _released[account] + payment;
        _totalReleased = _totalReleased + payment;

        Address.sendValue(account, payment);
        emit PaymentReleased(account, payment);
    }

    /**
     * @dev Add a new payee to the contract.
     * @param account The address of the payee to add.
     * @param shares_ The number of shares owned by the payee.
     */
    function _addPayee(address account, uint256 shares_) private {
        require(account != address(0), "PaymentSplitter: account is the zero address");
        require(shares_ > 0, "PaymentSplitter: shares are 0");
        require(_shares[account] == 0, "PaymentSplitter: account already has shares");

        _payees.push(account);
        _shares[account] = shares_;
        _totalShares = _totalShares + shares_;
        emit PayeeAdded(account, shares_);
    }
}

File 6 of 16 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.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 ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings 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.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).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 = ERC721.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 = ERC721.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 = ERC721.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(ERC721.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(ERC721.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 IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.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 {}
}

File 7 of 16 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 8 of 16 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @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 16 : IERC721Receiver.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 IERC721Receiver {
    /**
     * @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 16 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @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 16 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 12 of 16 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 13 of 16 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

File 16 of 16 : SafeMath.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 SafeMath {
    /**
     * @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;
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address[]","name":"_payees","type":"address[]"},{"internalType":"uint256[]","name":"_shares","type":"uint256[]"}],"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":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","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":"MAX_PER_ADDRESS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_WHITELIST","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVED_PANDAS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":[],"name":"isSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"onlyWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservePandas","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":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseTokenURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"whitelistAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526000601160006101000a81548160ff0219169083151502179055506000601160016101000a81548160ff0219169083151502179055503480156200004757600080fd5b5060405162005fce38038062005fce83398181016040528101906200006d9190620007b1565b81816040518060400160405280601281526020017f54686520537065636965732050616e64617300000000000000000000000000008152506040518060400160405280600781526020017f545350414e4441000000000000000000000000000000000000000000000000008152508160009080519060200190620000f39291906200058f565b5080600190805190602001906200010c9291906200058f565b5050506001600a81905550620001376200012b6200028760201b60201c565b6200028f60201b60201c565b80518251146200017e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001759062000958565b60405180910390fd5b6000825111620001c5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001bc906200099c565b60405180910390fd5b60005b82518110156200027c576200026683828151811062000210577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015183838151811062000252577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516200035560201b60201c565b8080620002739062000b7f565b915050620001c8565b505050505062000dde565b600033905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620003c8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003bf9062000936565b60405180910390fd5b600081116200040e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200040590620009be565b60405180910390fd5b6000600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541462000493576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200048a906200097a565b60405180910390fd5b6010829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600c546200054a919062000a78565b600c819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac82826040516200058392919062000909565b60405180910390a15050565b8280546200059d9062000b13565b90600052602060002090601f016020900481019282620005c157600085556200060d565b82601f10620005dc57805160ff19168380011785556200060d565b828001600101855582156200060d579182015b828111156200060c578251825591602001919060010190620005ef565b5b5090506200061c919062000620565b5090565b5b808211156200063b57600081600090555060010162000621565b5090565b600062000656620006508462000a09565b620009e0565b905080838252602082019050828560208602820111156200067657600080fd5b60005b85811015620006aa57816200068f888262000729565b84526020840193506020830192505060018101905062000679565b5050509392505050565b6000620006cb620006c58462000a38565b620009e0565b90508083825260208201905082856020860282011115620006eb57600080fd5b60005b858110156200071f57816200070488826200079a565b845260208401935060208301925050600181019050620006ee565b5050509392505050565b6000815190506200073a8162000daa565b92915050565b600082601f8301126200075257600080fd5b8151620007648482602086016200063f565b91505092915050565b600082601f8301126200077f57600080fd5b815162000791848260208601620006b4565b91505092915050565b600081519050620007ab8162000dc4565b92915050565b60008060408385031215620007c557600080fd5b600083015167ffffffffffffffff811115620007e057600080fd5b620007ee8582860162000740565b925050602083015167ffffffffffffffff8111156200080c57600080fd5b6200081a858286016200076d565b9150509250929050565b6200082f8162000ad5565b82525050565b600062000844602c8362000a67565b9150620008518262000c6b565b604082019050919050565b60006200086b60328362000a67565b9150620008788262000cba565b604082019050919050565b600062000892602b8362000a67565b91506200089f8262000d09565b604082019050919050565b6000620008b9601a8362000a67565b9150620008c68262000d58565b602082019050919050565b6000620008e0601d8362000a67565b9150620008ed8262000d81565b602082019050919050565b620009038162000b09565b82525050565b600060408201905062000920600083018562000824565b6200092f6020830184620008f8565b9392505050565b60006020820190508181036000830152620009518162000835565b9050919050565b6000602082019050818103600083015262000973816200085c565b9050919050565b60006020820190508181036000830152620009958162000883565b9050919050565b60006020820190508181036000830152620009b781620008aa565b9050919050565b60006020820190508181036000830152620009d981620008d1565b9050919050565b6000620009ec620009ff565b9050620009fa828262000b49565b919050565b6000604051905090565b600067ffffffffffffffff82111562000a275762000a2662000c2b565b5b602082029050602081019050919050565b600067ffffffffffffffff82111562000a565762000a5562000c2b565b5b602082029050602081019050919050565b600082825260208201905092915050565b600062000a858262000b09565b915062000a928362000b09565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000aca5762000ac962000bcd565b5b828201905092915050565b600062000ae28262000ae9565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000600282049050600182168062000b2c57607f821691505b6020821081141562000b435762000b4262000bfc565b5b50919050565b62000b548262000c5a565b810181811067ffffffffffffffff8211171562000b765762000b7562000c2b565b5b80604052505050565b600062000b8c8262000b09565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562000bc25762000bc162000bcd565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f5061796d656e7453706c69747465723a206163636f756e74206973207468652060008201527f7a65726f20616464726573730000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a2070617965657320616e64207368617260008201527f6573206c656e677468206d69736d617463680000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960008201527f2068617320736861726573000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206e6f20706179656573000000000000600082015250565b7f5061796d656e7453706c69747465723a20736861726573206172652030000000600082015250565b62000db58162000ad5565b811462000dc157600080fd5b50565b62000dcf8162000b09565b811462000ddb57600080fd5b50565b6151e08062000dee6000396000f3fe6080604052600436106102555760003560e01c8063715018a6116101395780639b19251a116100b6578063b88d4fde1161007a578063b88d4fde146108f7578063c87b56dd14610920578063ce7c2ac21461095d578063e33b7de31461099a578063e985e9c5146109c5578063f2fde38b14610a025761029c565b80639b19251a1461081f578063a0712d681461085c578063a117c10714610878578063a22cb465146108a3578063a88e0996146108cc5761029c565b80638b83209b116100fd5780638b83209b146107245780638d859f3e146107615780638da5cb5b1461078c57806395d89b41146107b75780639852595c146107e25761029c565b8063715018a6146106ac578063790335ee146106c35780637d8966e4146106da5780637e15144b146106f1578063868ff4a2146107085761029c565b80632f745c59116101d2578063438b630011610196578063438b6300146105645780634f6ccce7146105a157806355f804b3146105de578063564566a8146106075780636352211e1461063257806370a082311461066f5761029c565b80632f745c591461046b57806332cb6b0c146104a85780633a98ef39146104d35780633af32abf146104fe57806342842e0e1461053b5761029c565b806318160ddd1161021957806318160ddd1461039a57806319165587146103c557806323b872dd146103ee5780632bf04304146104175780632e036768146104405761029c565b806301ffc9a7146102a157806306fdde03146102de578063081812fc14610309578063095ea7b3146103465780630aaef2851461036f5761029c565b3661029c577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770610283610a2b565b34604051610292929190614069565b60405180910390a1005b600080fd5b3480156102ad57600080fd5b506102c860048036038101906102c39190613920565b610a33565b6040516102d591906140b4565b60405180910390f35b3480156102ea57600080fd5b506102f3610aad565b60405161030091906140cf565b60405180910390f35b34801561031557600080fd5b50610330600480360381019061032b91906139b3565b610b3f565b60405161033d9190613fd9565b60405180910390f35b34801561035257600080fd5b5061036d6004803603810190610368919061389f565b610bc4565b005b34801561037b57600080fd5b50610384610cdc565b60405161039191906144d1565b60405180910390f35b3480156103a657600080fd5b506103af610ce1565b6040516103bc91906144d1565b60405180910390f35b3480156103d157600080fd5b506103ec60048036038101906103e79190613734565b610cee565b005b3480156103fa57600080fd5b5061041560048036038101906104109190613799565b610f56565b005b34801561042357600080fd5b5061043e600480360381019061043991906138db565b610fb6565b005b34801561044c57600080fd5b506104556110f6565b60405161046291906144d1565b60405180910390f35b34801561047757600080fd5b50610492600480360381019061048d919061389f565b6110fb565b60405161049f91906144d1565b60405180910390f35b3480156104b457600080fd5b506104bd6111a0565b6040516104ca91906144d1565b60405180910390f35b3480156104df57600080fd5b506104e86111a6565b6040516104f591906144d1565b60405180910390f35b34801561050a57600080fd5b506105256004803603810190610520919061370b565b6111b0565b60405161053291906140b4565b60405180910390f35b34801561054757600080fd5b50610562600480360381019061055d9190613799565b6111fb565b005b34801561057057600080fd5b5061058b6004803603810190610586919061370b565b61121b565b6040516105989190614092565b60405180910390f35b3480156105ad57600080fd5b506105c860048036038101906105c391906139b3565b611315565b6040516105d591906144d1565b60405180910390f35b3480156105ea57600080fd5b5061060560048036038101906106009190613972565b6113ac565b005b34801561061357600080fd5b5061061c611442565b60405161062991906140b4565b60405180910390f35b34801561063e57600080fd5b50610659600480360381019061065491906139b3565b611455565b6040516106669190613fd9565b60405180910390f35b34801561067b57600080fd5b506106966004803603810190610691919061370b565b611507565b6040516106a391906144d1565b60405180910390f35b3480156106b857600080fd5b506106c16115bf565b005b3480156106cf57600080fd5b506106d8611647565b005b3480156106e657600080fd5b506106ef6116cf565b005b3480156106fd57600080fd5b50610706611777565b005b610722600480360381019061071d91906139b3565b61181f565b005b34801561073057600080fd5b5061074b600480360381019061074691906139b3565b611a51565b6040516107589190613fd9565b60405180910390f35b34801561076d57600080fd5b50610776611abf565b60405161078391906144d1565b60405180910390f35b34801561079857600080fd5b506107a1611acb565b6040516107ae9190613fd9565b60405180910390f35b3480156107c357600080fd5b506107cc611af5565b6040516107d991906140cf565b60405180910390f35b3480156107ee57600080fd5b506108096004803603810190610804919061370b565b611b87565b60405161081691906144d1565b60405180910390f35b34801561082b57600080fd5b506108466004803603810190610841919061370b565b611bd0565b60405161085391906144d1565b60405180910390f35b610876600480360381019061087191906139b3565b611be8565b005b34801561088457600080fd5b5061088d611cf6565b60405161089a91906144d1565b60405180910390f35b3480156108af57600080fd5b506108ca60048036038101906108c59190613863565b611cfb565b005b3480156108d857600080fd5b506108e1611e7c565b6040516108ee91906140b4565b60405180910390f35b34801561090357600080fd5b5061091e600480360381019061091991906137e8565b611e8f565b005b34801561092c57600080fd5b50610947600480360381019061094291906139b3565b611ef1565b60405161095491906140cf565b60405180910390f35b34801561096957600080fd5b50610984600480360381019061097f919061370b565b611f98565b60405161099191906144d1565b60405180910390f35b3480156109a657600080fd5b506109af611fe1565b6040516109bc91906144d1565b60405180910390f35b3480156109d157600080fd5b506109ec60048036038101906109e7919061375d565b611feb565b6040516109f991906140b4565b60405180910390f35b348015610a0e57600080fd5b50610a296004803603810190610a24919061370b565b61207f565b005b600033905090565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610aa65750610aa582612177565b5b9050919050565b606060008054610abc9061480d565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae89061480d565b8015610b355780601f10610b0a57610100808354040283529160200191610b35565b820191906000526020600020905b815481529060010190602001808311610b1857829003601f168201915b5050505050905090565b6000610b4a82612259565b610b89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b80906143b1565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bcf82611455565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3790614431565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c5f610a2b565b73ffffffffffffffffffffffffffffffffffffffff161480610c8e5750610c8d81610c88610a2b565b611feb565b5b610ccd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc490614311565b60405180910390fd5b610cd783836122c5565b505050565b601981565b6000600880549050905090565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610d70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d67906141f1565b60405180910390fd5b6000600d5447610d8091906145fa565b90506000600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600c54600e60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484610e129190614681565b610e1c9190614650565b610e2691906146db565b90506000811415610e6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e63906142f1565b60405180910390fd5b80600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610eb791906145fa565b600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600d54610f0891906145fa565b600d81905550610f18838261237e565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051610f49929190613ff4565b60405180910390a1505050565b610f67610f61610a2b565b82612472565b610fa6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9d90614451565b60405180910390fd5b610fb1838383612550565b505050565b610fbe610a2b565b73ffffffffffffffffffffffffffffffffffffffff16610fdc611acb565b73ffffffffffffffffffffffffffffffffffffffff1614611032576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611029906143d1565b60405180910390fd5b60005b828290508110156110f1576001600561104e91906145fa565b6013600085858581811061108b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906110a0919061370b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080806110e990614870565b915050611035565b505050565b600581565b600061110683611507565b8210611147576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113e90614151565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61076081565b6000600c54905090565b600080601360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054119050919050565b61121683838360405180602001604052806000815250611e8f565b505050565b6060600061122883611507565b905060008167ffffffffffffffff81111561126c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561129a5781602001602082028036833780820191505090505b50905060005b8281101561130a576112b285826110fb565b8282815181106112eb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050808061130290614870565b9150506112a0565b508092505050919050565b600061131f610ce1565b8210611360576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135790614471565b60405180910390fd5b6008828154811061139a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6113b4610a2b565b73ffffffffffffffffffffffffffffffffffffffff166113d2611acb565b73ffffffffffffffffffffffffffffffffffffffff1614611428576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141f906143d1565b60405180910390fd5b806012908051906020019061143e9291906134d0565b5050565b601160009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f590614351565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611578576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156f90614331565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6115c7610a2b565b73ffffffffffffffffffffffffffffffffffffffff166115e5611acb565b73ffffffffffffffffffffffffffffffffffffffff161461163b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611632906143d1565b60405180910390fd5b61164560006127ac565b565b61164f610a2b565b73ffffffffffffffffffffffffffffffffffffffff1661166d611acb565b73ffffffffffffffffffffffffffffffffffffffff16146116c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ba906143d1565b60405180910390fd5b6116cd6064612872565b565b6116d7610a2b565b73ffffffffffffffffffffffffffffffffffffffff166116f5611acb565b73ffffffffffffffffffffffffffffffffffffffff161461174b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611742906143d1565b60405180910390fd5b601160009054906101000a900460ff1615601160006101000a81548160ff021916908315150217905550565b61177f610a2b565b73ffffffffffffffffffffffffffffffffffffffff1661179d611acb565b73ffffffffffffffffffffffffffffffffffffffff16146117f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ea906143d1565b60405180910390fd5b601160019054906101000a900460ff1615601160016101000a81548160ff021916908315150217905550565b6002600a541415611865576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185c90614491565b60405180910390fd5b6002600a81905550601160019054906101000a900460ff166118bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b3906140f1565b60405180910390fd5b348167013b7b21280e00006118d19190614681565b14611911576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190890614391565b60405180910390fd5b61191a336111b0565b611959576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195090614251565b60405180910390fd5b806001601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546119a691906146db565b10156119e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119de90614111565b60405180910390fd5b6119f081612872565b80601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a3f91906146db565b925050819055506001600a8190555050565b600060108281548110611a8d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b67013b7b21280e000081565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611b049061480d565b80601f0160208091040260200160405190810160405280929190818152602001828054611b309061480d565b8015611b7d5780601f10611b5257610100808354040283529160200191611b7d565b820191906000526020600020905b815481529060010190602001808311611b6057829003601f168201915b5050505050905090565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60136020528060005260406000206000915090505481565b601160009054906101000a900460ff16611c37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2e90614271565b60405180910390fd5b348167013b7b21280e0000611c4c9190614681565b14611c8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8390614391565b60405180910390fd5b601981611c9f611c9a610a2b565b611507565b611ca991906145fa565b1115611cea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce190614131565b60405180910390fd5b611cf381612872565b50565b606481565b611d03610a2b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6890614231565b60405180910390fd5b8060056000611d7e610a2b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611e2b610a2b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e7091906140b4565b60405180910390a35050565b601160019054906101000a900460ff1681565b611ea0611e9a610a2b565b83612472565b611edf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed690614451565b60405180910390fd5b611eeb84848484612949565b50505050565b6060611efc82612259565b611f3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3290614411565b60405180910390fd5b6000611f456129a5565b90506000815111611f655760405180602001604052806000815250611f90565b80611f6f84612a37565b604051602001611f80929190613fa0565b6040516020818303038152906040525b915050919050565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600d54905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612087610a2b565b73ffffffffffffffffffffffffffffffffffffffff166120a5611acb565b73ffffffffffffffffffffffffffffffffffffffff16146120fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f2906143d1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561216b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216290614191565b60405180910390fd5b612174816127ac565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061224257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612252575061225182612be4565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661233883611455565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b804710156123c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b8906142b1565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516123e790613fc4565b60006040518083038185875af1925050503d8060008114612424576040519150601f19603f3d011682016040523d82523d6000602084013e612429565b606091505b505090508061246d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246490614291565b60405180910390fd5b505050565b600061247d82612259565b6124bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124b3906142d1565b60405180910390fd5b60006124c783611455565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061253657508373ffffffffffffffffffffffffffffffffffffffff1661251e84610b3f565b73ffffffffffffffffffffffffffffffffffffffff16145b8061254757506125468185611feb565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661257082611455565b73ffffffffffffffffffffffffffffffffffffffff16146125c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125bd906143f1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612636576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262d90614211565b60405180910390fd5b612641838383612c4e565b61264c6000826122c5565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461269c91906146db565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126f391906145fa565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081116128b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128ac906144b1565b60405180910390fd5b60006128bf610ce1565b905061076082826128d091906145fa565b1115612911576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612908906141d1565b60405180910390fd5b60005b828110156129445761293133828461292c91906145fa565b612d62565b808061293c90614870565b915050612914565b505050565b612954848484612550565b61296084848484612d80565b61299f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161299690614171565b60405180910390fd5b50505050565b6060601280546129b49061480d565b80601f01602080910402602001604051908101604052809291908181526020018280546129e09061480d565b8015612a2d5780601f10612a0257610100808354040283529160200191612a2d565b820191906000526020600020905b815481529060010190602001808311612a1057829003601f168201915b5050505050905090565b60606000821415612a7f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612bdf565b600082905060005b60008214612ab1578080612a9a90614870565b915050600a82612aaa9190614650565b9150612a87565b60008167ffffffffffffffff811115612af3577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612b255781602001600182028036833780820191505090505b5090505b60008514612bd857600182612b3e91906146db565b9150600a85612b4d91906148b9565b6030612b5991906145fa565b60f81b818381518110612b95577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612bd19190614650565b9450612b29565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612c59838383612f17565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612c9c57612c9781612f1c565b612cdb565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612cda57612cd98382612f65565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d1e57612d19816130d2565b612d5d565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612d5c57612d5b8282613215565b5b5b505050565b612d7c828260405180602001604052806000815250613294565b5050565b6000612da18473ffffffffffffffffffffffffffffffffffffffff166132ef565b15612f0a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612dca610a2b565b8786866040518563ffffffff1660e01b8152600401612dec949392919061401d565b602060405180830381600087803b158015612e0657600080fd5b505af1925050508015612e3757506040513d601f19601f82011682018060405250810190612e349190613949565b60015b612eba573d8060008114612e67576040519150601f19603f3d011682016040523d82523d6000602084013e612e6c565b606091505b50600081511415612eb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ea990614171565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612f0f565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612f7284611507565b612f7c91906146db565b9050600060076000848152602001908152602001600020549050818114613061576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506130e691906146db565b905060006009600084815260200190815260200160002054905060006008838154811061313c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613184577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806131f9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061322083611507565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b61329e8383613302565b6132ab6000848484612d80565b6132ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132e190614171565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613372576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161336990614371565b60405180910390fd5b61337b81612259565b156133bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133b2906141b1565b60405180910390fd5b6133c760008383612c4e565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461341791906145fa565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8280546134dc9061480d565b90600052602060002090601f0160209004810192826134fe5760008555613545565b82601f1061351757805160ff1916838001178555613545565b82800160010185558215613545579182015b82811115613544578251825591602001919060010190613529565b5b5090506135529190613556565b5090565b5b8082111561356f576000816000905550600101613557565b5090565b600061358661358184614511565b6144ec565b90508281526020810184848401111561359e57600080fd5b6135a98482856147cb565b509392505050565b60006135c46135bf84614542565b6144ec565b9050828152602081018484840111156135dc57600080fd5b6135e78482856147cb565b509392505050565b6000813590506135fe81615137565b92915050565b6000813590506136138161514e565b92915050565b60008083601f84011261362b57600080fd5b8235905067ffffffffffffffff81111561364457600080fd5b60208301915083602082028301111561365c57600080fd5b9250929050565b60008135905061367281615165565b92915050565b6000813590506136878161517c565b92915050565b60008151905061369c8161517c565b92915050565b600082601f8301126136b357600080fd5b81356136c3848260208601613573565b91505092915050565b600082601f8301126136dd57600080fd5b81356136ed8482602086016135b1565b91505092915050565b60008135905061370581615193565b92915050565b60006020828403121561371d57600080fd5b600061372b848285016135ef565b91505092915050565b60006020828403121561374657600080fd5b600061375484828501613604565b91505092915050565b6000806040838503121561377057600080fd5b600061377e858286016135ef565b925050602061378f858286016135ef565b9150509250929050565b6000806000606084860312156137ae57600080fd5b60006137bc868287016135ef565b93505060206137cd868287016135ef565b92505060406137de868287016136f6565b9150509250925092565b600080600080608085870312156137fe57600080fd5b600061380c878288016135ef565b945050602061381d878288016135ef565b935050604061382e878288016136f6565b925050606085013567ffffffffffffffff81111561384b57600080fd5b613857878288016136a2565b91505092959194509250565b6000806040838503121561387657600080fd5b6000613884858286016135ef565b925050602061389585828601613663565b9150509250929050565b600080604083850312156138b257600080fd5b60006138c0858286016135ef565b92505060206138d1858286016136f6565b9150509250929050565b600080602083850312156138ee57600080fd5b600083013567ffffffffffffffff81111561390857600080fd5b61391485828601613619565b92509250509250929050565b60006020828403121561393257600080fd5b600061394084828501613678565b91505092915050565b60006020828403121561395b57600080fd5b60006139698482850161368d565b91505092915050565b60006020828403121561398457600080fd5b600082013567ffffffffffffffff81111561399e57600080fd5b6139aa848285016136cc565b91505092915050565b6000602082840312156139c557600080fd5b60006139d3848285016136f6565b91505092915050565b60006139e88383613f82565b60208301905092915050565b6139fd81614795565b82525050565b613a0c8161470f565b82525050565b6000613a1d82614583565b613a2781856145b1565b9350613a3283614573565b8060005b83811015613a63578151613a4a88826139dc565b9750613a55836145a4565b925050600181019050613a36565b5085935050505092915050565b613a7981614733565b82525050565b6000613a8a8261458e565b613a9481856145c2565b9350613aa48185602086016147da565b613aad816149a6565b840191505092915050565b6000613ac382614599565b613acd81856145de565b9350613add8185602086016147da565b613ae6816149a6565b840191505092915050565b6000613afc82614599565b613b0681856145ef565b9350613b168185602086016147da565b80840191505092915050565b6000613b2f601c836145de565b9150613b3a826149b7565b602082019050919050565b6000613b52601f836145de565b9150613b5d826149e0565b602082019050919050565b6000613b756019836145de565b9150613b8082614a09565b602082019050919050565b6000613b98602b836145de565b9150613ba382614a32565b604082019050919050565b6000613bbb6032836145de565b9150613bc682614a81565b604082019050919050565b6000613bde6026836145de565b9150613be982614ad0565b604082019050919050565b6000613c01601c836145de565b9150613c0c82614b1f565b602082019050919050565b6000613c24601a836145de565b9150613c2f82614b48565b602082019050919050565b6000613c476026836145de565b9150613c5282614b71565b604082019050919050565b6000613c6a6024836145de565b9150613c7582614bc0565b604082019050919050565b6000613c8d6019836145de565b9150613c9882614c0f565b602082019050919050565b6000613cb0601a836145de565b9150613cbb82614c38565b602082019050919050565b6000613cd36012836145de565b9150613cde82614c61565b602082019050919050565b6000613cf6603a836145de565b9150613d0182614c8a565b604082019050919050565b6000613d19601d836145de565b9150613d2482614cd9565b602082019050919050565b6000613d3c602c836145de565b9150613d4782614d02565b604082019050919050565b6000613d5f602b836145de565b9150613d6a82614d51565b604082019050919050565b6000613d826038836145de565b9150613d8d82614da0565b604082019050919050565b6000613da5602a836145de565b9150613db082614def565b604082019050919050565b6000613dc86029836145de565b9150613dd382614e3e565b604082019050919050565b6000613deb6020836145de565b9150613df682614e8d565b602082019050919050565b6000613e0e6017836145de565b9150613e1982614eb6565b602082019050919050565b6000613e31602c836145de565b9150613e3c82614edf565b604082019050919050565b6000613e546020836145de565b9150613e5f82614f2e565b602082019050919050565b6000613e776029836145de565b9150613e8282614f57565b604082019050919050565b6000613e9a602f836145de565b9150613ea582614fa6565b604082019050919050565b6000613ebd6021836145de565b9150613ec882614ff5565b604082019050919050565b6000613ee06000836145d3565b9150613eeb82615044565b600082019050919050565b6000613f036031836145de565b9150613f0e82615047565b604082019050919050565b6000613f26602c836145de565b9150613f3182615096565b604082019050919050565b6000613f49601f836145de565b9150613f54826150e5565b602082019050919050565b6000613f6c601a836145de565b9150613f778261510e565b602082019050919050565b613f8b8161478b565b82525050565b613f9a8161478b565b82525050565b6000613fac8285613af1565b9150613fb88284613af1565b91508190509392505050565b6000613fcf82613ed3565b9150819050919050565b6000602082019050613fee6000830184613a03565b92915050565b600060408201905061400960008301856139f4565b6140166020830184613f91565b9392505050565b60006080820190506140326000830187613a03565b61403f6020830186613a03565b61404c6040830185613f91565b818103606083015261405e8184613a7f565b905095945050505050565b600060408201905061407e6000830185613a03565b61408b6020830184613f91565b9392505050565b600060208201905081810360008301526140ac8184613a12565b905092915050565b60006020820190506140c96000830184613a70565b92915050565b600060208201905081810360008301526140e98184613ab8565b905092915050565b6000602082019050818103600083015261410a81613b22565b9050919050565b6000602082019050818103600083015261412a81613b45565b9050919050565b6000602082019050818103600083015261414a81613b68565b9050919050565b6000602082019050818103600083015261416a81613b8b565b9050919050565b6000602082019050818103600083015261418a81613bae565b9050919050565b600060208201905081810360008301526141aa81613bd1565b9050919050565b600060208201905081810360008301526141ca81613bf4565b9050919050565b600060208201905081810360008301526141ea81613c17565b9050919050565b6000602082019050818103600083015261420a81613c3a565b9050919050565b6000602082019050818103600083015261422a81613c5d565b9050919050565b6000602082019050818103600083015261424a81613c80565b9050919050565b6000602082019050818103600083015261426a81613ca3565b9050919050565b6000602082019050818103600083015261428a81613cc6565b9050919050565b600060208201905081810360008301526142aa81613ce9565b9050919050565b600060208201905081810360008301526142ca81613d0c565b9050919050565b600060208201905081810360008301526142ea81613d2f565b9050919050565b6000602082019050818103600083015261430a81613d52565b9050919050565b6000602082019050818103600083015261432a81613d75565b9050919050565b6000602082019050818103600083015261434a81613d98565b9050919050565b6000602082019050818103600083015261436a81613dbb565b9050919050565b6000602082019050818103600083015261438a81613dde565b9050919050565b600060208201905081810360008301526143aa81613e01565b9050919050565b600060208201905081810360008301526143ca81613e24565b9050919050565b600060208201905081810360008301526143ea81613e47565b9050919050565b6000602082019050818103600083015261440a81613e6a565b9050919050565b6000602082019050818103600083015261442a81613e8d565b9050919050565b6000602082019050818103600083015261444a81613eb0565b9050919050565b6000602082019050818103600083015261446a81613ef6565b9050919050565b6000602082019050818103600083015261448a81613f19565b9050919050565b600060208201905081810360008301526144aa81613f3c565b9050919050565b600060208201905081810360008301526144ca81613f5f565b9050919050565b60006020820190506144e66000830184613f91565b92915050565b60006144f6614507565b9050614502828261483f565b919050565b6000604051905090565b600067ffffffffffffffff82111561452c5761452b614977565b5b614535826149a6565b9050602081019050919050565b600067ffffffffffffffff82111561455d5761455c614977565b5b614566826149a6565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006146058261478b565b91506146108361478b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614645576146446148ea565b5b828201905092915050565b600061465b8261478b565b91506146668361478b565b92508261467657614675614919565b5b828204905092915050565b600061468c8261478b565b91506146978361478b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156146d0576146cf6148ea565b5b828202905092915050565b60006146e68261478b565b91506146f18361478b565b925082821015614704576147036148ea565b5b828203905092915050565b600061471a8261476b565b9050919050565b600061472c8261476b565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006147a0826147a7565b9050919050565b60006147b2826147b9565b9050919050565b60006147c48261476b565b9050919050565b82818337600083830152505050565b60005b838110156147f85780820151818401526020810190506147dd565b83811115614807576000848401525b50505050565b6000600282049050600182168061482557607f821691505b6020821081141561483957614838614948565b5b50919050565b614848826149a6565b810181811067ffffffffffffffff8211171561486757614866614977565b5b80604052505050565b600061487b8261478b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156148ae576148ad6148ea565b5b600182019050919050565b60006148c48261478b565b91506148cf8361478b565b9250826148df576148de614919565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f57686974656c697374206d696e74206973206e6f742061637469766500000000600082015250565b7f57686974656c697374206d696e74206c696d6974656420657863656564656400600082015250565b7f546f74616c206d696e74206c696d697420657863656564656400000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4d696e74696e672065786365656473206d617820737570706c79000000000000600082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f41646472657373206973206e6f742077686974656c6973746564000000000000600082015250565b7f53616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45544820616d6f756e7420697320696e636f7272656374000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f4d757374206d696e74206174206c6561737420312070616e6461000000000000600082015250565b6151408161470f565b811461514b57600080fd5b50565b61515781614721565b811461516257600080fd5b50565b61516e81614733565b811461517957600080fd5b50565b6151858161473f565b811461519057600080fd5b50565b61519c8161478b565b81146151a757600080fd5b5056fea26469706673582212206fb9248bc681d6a50d6c63fe7c9a8ec301ada7e8ed1bcc0cd5a598485718e41c64736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000800000000000000000000000025fa86786adc4f7edbd5502101348ec1aff5ac71000000000000000000000000773938cfd37bd04cd1134ffe02dba86352f838e60000000000000000000000000c6b1147bbf4c01c3ee19476ba8677173e33d49400000000000000000000000037e565b43480f23a629bf2fd9278104cf6d30e3a000000000000000000000000581133cc3cc6f396de67fe6b9154dc7b74f0e4fe000000000000000000000000ea43fe9e6eec5ea9207070d3f312de32bb205be0000000000000000000000000504f8a536c09c06860a3e05ed1e9f780fb36a0fd000000000000000000000000c33f38754378da67d01083661f0075d0b9ade7e8000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000027100000000000000000000000000000000000000000000000000000000000000abe0000000000000000000000000000000000000000000000000000000000000abe00000000000000000000000000000000000000000000000000000000000013880000000000000000000000000000000000000000000000000000000000000bb8000000000000000000000000000000000000000000000000000000000000a45b0000000000000000000000000000000000000000000000000000000000004ab50000000000000000000000000000000000000000000000000000000000003bc4

Deployed Bytecode

0x6080604052600436106102555760003560e01c8063715018a6116101395780639b19251a116100b6578063b88d4fde1161007a578063b88d4fde146108f7578063c87b56dd14610920578063ce7c2ac21461095d578063e33b7de31461099a578063e985e9c5146109c5578063f2fde38b14610a025761029c565b80639b19251a1461081f578063a0712d681461085c578063a117c10714610878578063a22cb465146108a3578063a88e0996146108cc5761029c565b80638b83209b116100fd5780638b83209b146107245780638d859f3e146107615780638da5cb5b1461078c57806395d89b41146107b75780639852595c146107e25761029c565b8063715018a6146106ac578063790335ee146106c35780637d8966e4146106da5780637e15144b146106f1578063868ff4a2146107085761029c565b80632f745c59116101d2578063438b630011610196578063438b6300146105645780634f6ccce7146105a157806355f804b3146105de578063564566a8146106075780636352211e1461063257806370a082311461066f5761029c565b80632f745c591461046b57806332cb6b0c146104a85780633a98ef39146104d35780633af32abf146104fe57806342842e0e1461053b5761029c565b806318160ddd1161021957806318160ddd1461039a57806319165587146103c557806323b872dd146103ee5780632bf04304146104175780632e036768146104405761029c565b806301ffc9a7146102a157806306fdde03146102de578063081812fc14610309578063095ea7b3146103465780630aaef2851461036f5761029c565b3661029c577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770610283610a2b565b34604051610292929190614069565b60405180910390a1005b600080fd5b3480156102ad57600080fd5b506102c860048036038101906102c39190613920565b610a33565b6040516102d591906140b4565b60405180910390f35b3480156102ea57600080fd5b506102f3610aad565b60405161030091906140cf565b60405180910390f35b34801561031557600080fd5b50610330600480360381019061032b91906139b3565b610b3f565b60405161033d9190613fd9565b60405180910390f35b34801561035257600080fd5b5061036d6004803603810190610368919061389f565b610bc4565b005b34801561037b57600080fd5b50610384610cdc565b60405161039191906144d1565b60405180910390f35b3480156103a657600080fd5b506103af610ce1565b6040516103bc91906144d1565b60405180910390f35b3480156103d157600080fd5b506103ec60048036038101906103e79190613734565b610cee565b005b3480156103fa57600080fd5b5061041560048036038101906104109190613799565b610f56565b005b34801561042357600080fd5b5061043e600480360381019061043991906138db565b610fb6565b005b34801561044c57600080fd5b506104556110f6565b60405161046291906144d1565b60405180910390f35b34801561047757600080fd5b50610492600480360381019061048d919061389f565b6110fb565b60405161049f91906144d1565b60405180910390f35b3480156104b457600080fd5b506104bd6111a0565b6040516104ca91906144d1565b60405180910390f35b3480156104df57600080fd5b506104e86111a6565b6040516104f591906144d1565b60405180910390f35b34801561050a57600080fd5b506105256004803603810190610520919061370b565b6111b0565b60405161053291906140b4565b60405180910390f35b34801561054757600080fd5b50610562600480360381019061055d9190613799565b6111fb565b005b34801561057057600080fd5b5061058b6004803603810190610586919061370b565b61121b565b6040516105989190614092565b60405180910390f35b3480156105ad57600080fd5b506105c860048036038101906105c391906139b3565b611315565b6040516105d591906144d1565b60405180910390f35b3480156105ea57600080fd5b5061060560048036038101906106009190613972565b6113ac565b005b34801561061357600080fd5b5061061c611442565b60405161062991906140b4565b60405180910390f35b34801561063e57600080fd5b50610659600480360381019061065491906139b3565b611455565b6040516106669190613fd9565b60405180910390f35b34801561067b57600080fd5b506106966004803603810190610691919061370b565b611507565b6040516106a391906144d1565b60405180910390f35b3480156106b857600080fd5b506106c16115bf565b005b3480156106cf57600080fd5b506106d8611647565b005b3480156106e657600080fd5b506106ef6116cf565b005b3480156106fd57600080fd5b50610706611777565b005b610722600480360381019061071d91906139b3565b61181f565b005b34801561073057600080fd5b5061074b600480360381019061074691906139b3565b611a51565b6040516107589190613fd9565b60405180910390f35b34801561076d57600080fd5b50610776611abf565b60405161078391906144d1565b60405180910390f35b34801561079857600080fd5b506107a1611acb565b6040516107ae9190613fd9565b60405180910390f35b3480156107c357600080fd5b506107cc611af5565b6040516107d991906140cf565b60405180910390f35b3480156107ee57600080fd5b506108096004803603810190610804919061370b565b611b87565b60405161081691906144d1565b60405180910390f35b34801561082b57600080fd5b506108466004803603810190610841919061370b565b611bd0565b60405161085391906144d1565b60405180910390f35b610876600480360381019061087191906139b3565b611be8565b005b34801561088457600080fd5b5061088d611cf6565b60405161089a91906144d1565b60405180910390f35b3480156108af57600080fd5b506108ca60048036038101906108c59190613863565b611cfb565b005b3480156108d857600080fd5b506108e1611e7c565b6040516108ee91906140b4565b60405180910390f35b34801561090357600080fd5b5061091e600480360381019061091991906137e8565b611e8f565b005b34801561092c57600080fd5b50610947600480360381019061094291906139b3565b611ef1565b60405161095491906140cf565b60405180910390f35b34801561096957600080fd5b50610984600480360381019061097f919061370b565b611f98565b60405161099191906144d1565b60405180910390f35b3480156109a657600080fd5b506109af611fe1565b6040516109bc91906144d1565b60405180910390f35b3480156109d157600080fd5b506109ec60048036038101906109e7919061375d565b611feb565b6040516109f991906140b4565b60405180910390f35b348015610a0e57600080fd5b50610a296004803603810190610a24919061370b565b61207f565b005b600033905090565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610aa65750610aa582612177565b5b9050919050565b606060008054610abc9061480d565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae89061480d565b8015610b355780601f10610b0a57610100808354040283529160200191610b35565b820191906000526020600020905b815481529060010190602001808311610b1857829003601f168201915b5050505050905090565b6000610b4a82612259565b610b89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b80906143b1565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bcf82611455565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3790614431565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c5f610a2b565b73ffffffffffffffffffffffffffffffffffffffff161480610c8e5750610c8d81610c88610a2b565b611feb565b5b610ccd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc490614311565b60405180910390fd5b610cd783836122c5565b505050565b601981565b6000600880549050905090565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610d70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d67906141f1565b60405180910390fd5b6000600d5447610d8091906145fa565b90506000600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600c54600e60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484610e129190614681565b610e1c9190614650565b610e2691906146db565b90506000811415610e6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e63906142f1565b60405180910390fd5b80600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610eb791906145fa565b600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600d54610f0891906145fa565b600d81905550610f18838261237e565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051610f49929190613ff4565b60405180910390a1505050565b610f67610f61610a2b565b82612472565b610fa6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9d90614451565b60405180910390fd5b610fb1838383612550565b505050565b610fbe610a2b565b73ffffffffffffffffffffffffffffffffffffffff16610fdc611acb565b73ffffffffffffffffffffffffffffffffffffffff1614611032576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611029906143d1565b60405180910390fd5b60005b828290508110156110f1576001600561104e91906145fa565b6013600085858581811061108b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906110a0919061370b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080806110e990614870565b915050611035565b505050565b600581565b600061110683611507565b8210611147576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113e90614151565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61076081565b6000600c54905090565b600080601360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054119050919050565b61121683838360405180602001604052806000815250611e8f565b505050565b6060600061122883611507565b905060008167ffffffffffffffff81111561126c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561129a5781602001602082028036833780820191505090505b50905060005b8281101561130a576112b285826110fb565b8282815181106112eb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050808061130290614870565b9150506112a0565b508092505050919050565b600061131f610ce1565b8210611360576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135790614471565b60405180910390fd5b6008828154811061139a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6113b4610a2b565b73ffffffffffffffffffffffffffffffffffffffff166113d2611acb565b73ffffffffffffffffffffffffffffffffffffffff1614611428576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141f906143d1565b60405180910390fd5b806012908051906020019061143e9291906134d0565b5050565b601160009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f590614351565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611578576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156f90614331565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6115c7610a2b565b73ffffffffffffffffffffffffffffffffffffffff166115e5611acb565b73ffffffffffffffffffffffffffffffffffffffff161461163b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611632906143d1565b60405180910390fd5b61164560006127ac565b565b61164f610a2b565b73ffffffffffffffffffffffffffffffffffffffff1661166d611acb565b73ffffffffffffffffffffffffffffffffffffffff16146116c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ba906143d1565b60405180910390fd5b6116cd6064612872565b565b6116d7610a2b565b73ffffffffffffffffffffffffffffffffffffffff166116f5611acb565b73ffffffffffffffffffffffffffffffffffffffff161461174b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611742906143d1565b60405180910390fd5b601160009054906101000a900460ff1615601160006101000a81548160ff021916908315150217905550565b61177f610a2b565b73ffffffffffffffffffffffffffffffffffffffff1661179d611acb565b73ffffffffffffffffffffffffffffffffffffffff16146117f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ea906143d1565b60405180910390fd5b601160019054906101000a900460ff1615601160016101000a81548160ff021916908315150217905550565b6002600a541415611865576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185c90614491565b60405180910390fd5b6002600a81905550601160019054906101000a900460ff166118bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b3906140f1565b60405180910390fd5b348167013b7b21280e00006118d19190614681565b14611911576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190890614391565b60405180910390fd5b61191a336111b0565b611959576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195090614251565b60405180910390fd5b806001601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546119a691906146db565b10156119e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119de90614111565b60405180910390fd5b6119f081612872565b80601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a3f91906146db565b925050819055506001600a8190555050565b600060108281548110611a8d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b67013b7b21280e000081565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611b049061480d565b80601f0160208091040260200160405190810160405280929190818152602001828054611b309061480d565b8015611b7d5780601f10611b5257610100808354040283529160200191611b7d565b820191906000526020600020905b815481529060010190602001808311611b6057829003601f168201915b5050505050905090565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60136020528060005260406000206000915090505481565b601160009054906101000a900460ff16611c37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2e90614271565b60405180910390fd5b348167013b7b21280e0000611c4c9190614681565b14611c8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8390614391565b60405180910390fd5b601981611c9f611c9a610a2b565b611507565b611ca991906145fa565b1115611cea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce190614131565b60405180910390fd5b611cf381612872565b50565b606481565b611d03610a2b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6890614231565b60405180910390fd5b8060056000611d7e610a2b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611e2b610a2b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e7091906140b4565b60405180910390a35050565b601160019054906101000a900460ff1681565b611ea0611e9a610a2b565b83612472565b611edf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed690614451565b60405180910390fd5b611eeb84848484612949565b50505050565b6060611efc82612259565b611f3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3290614411565b60405180910390fd5b6000611f456129a5565b90506000815111611f655760405180602001604052806000815250611f90565b80611f6f84612a37565b604051602001611f80929190613fa0565b6040516020818303038152906040525b915050919050565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600d54905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612087610a2b565b73ffffffffffffffffffffffffffffffffffffffff166120a5611acb565b73ffffffffffffffffffffffffffffffffffffffff16146120fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f2906143d1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561216b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216290614191565b60405180910390fd5b612174816127ac565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061224257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612252575061225182612be4565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661233883611455565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b804710156123c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b8906142b1565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516123e790613fc4565b60006040518083038185875af1925050503d8060008114612424576040519150601f19603f3d011682016040523d82523d6000602084013e612429565b606091505b505090508061246d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246490614291565b60405180910390fd5b505050565b600061247d82612259565b6124bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124b3906142d1565b60405180910390fd5b60006124c783611455565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061253657508373ffffffffffffffffffffffffffffffffffffffff1661251e84610b3f565b73ffffffffffffffffffffffffffffffffffffffff16145b8061254757506125468185611feb565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661257082611455565b73ffffffffffffffffffffffffffffffffffffffff16146125c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125bd906143f1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612636576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262d90614211565b60405180910390fd5b612641838383612c4e565b61264c6000826122c5565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461269c91906146db565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126f391906145fa565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081116128b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128ac906144b1565b60405180910390fd5b60006128bf610ce1565b905061076082826128d091906145fa565b1115612911576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612908906141d1565b60405180910390fd5b60005b828110156129445761293133828461292c91906145fa565b612d62565b808061293c90614870565b915050612914565b505050565b612954848484612550565b61296084848484612d80565b61299f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161299690614171565b60405180910390fd5b50505050565b6060601280546129b49061480d565b80601f01602080910402602001604051908101604052809291908181526020018280546129e09061480d565b8015612a2d5780601f10612a0257610100808354040283529160200191612a2d565b820191906000526020600020905b815481529060010190602001808311612a1057829003601f168201915b5050505050905090565b60606000821415612a7f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612bdf565b600082905060005b60008214612ab1578080612a9a90614870565b915050600a82612aaa9190614650565b9150612a87565b60008167ffffffffffffffff811115612af3577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612b255781602001600182028036833780820191505090505b5090505b60008514612bd857600182612b3e91906146db565b9150600a85612b4d91906148b9565b6030612b5991906145fa565b60f81b818381518110612b95577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612bd19190614650565b9450612b29565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612c59838383612f17565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612c9c57612c9781612f1c565b612cdb565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612cda57612cd98382612f65565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d1e57612d19816130d2565b612d5d565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612d5c57612d5b8282613215565b5b5b505050565b612d7c828260405180602001604052806000815250613294565b5050565b6000612da18473ffffffffffffffffffffffffffffffffffffffff166132ef565b15612f0a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612dca610a2b565b8786866040518563ffffffff1660e01b8152600401612dec949392919061401d565b602060405180830381600087803b158015612e0657600080fd5b505af1925050508015612e3757506040513d601f19601f82011682018060405250810190612e349190613949565b60015b612eba573d8060008114612e67576040519150601f19603f3d011682016040523d82523d6000602084013e612e6c565b606091505b50600081511415612eb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ea990614171565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612f0f565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612f7284611507565b612f7c91906146db565b9050600060076000848152602001908152602001600020549050818114613061576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506130e691906146db565b905060006009600084815260200190815260200160002054905060006008838154811061313c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613184577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806131f9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061322083611507565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b61329e8383613302565b6132ab6000848484612d80565b6132ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132e190614171565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613372576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161336990614371565b60405180910390fd5b61337b81612259565b156133bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133b2906141b1565b60405180910390fd5b6133c760008383612c4e565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461341791906145fa565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8280546134dc9061480d565b90600052602060002090601f0160209004810192826134fe5760008555613545565b82601f1061351757805160ff1916838001178555613545565b82800160010185558215613545579182015b82811115613544578251825591602001919060010190613529565b5b5090506135529190613556565b5090565b5b8082111561356f576000816000905550600101613557565b5090565b600061358661358184614511565b6144ec565b90508281526020810184848401111561359e57600080fd5b6135a98482856147cb565b509392505050565b60006135c46135bf84614542565b6144ec565b9050828152602081018484840111156135dc57600080fd5b6135e78482856147cb565b509392505050565b6000813590506135fe81615137565b92915050565b6000813590506136138161514e565b92915050565b60008083601f84011261362b57600080fd5b8235905067ffffffffffffffff81111561364457600080fd5b60208301915083602082028301111561365c57600080fd5b9250929050565b60008135905061367281615165565b92915050565b6000813590506136878161517c565b92915050565b60008151905061369c8161517c565b92915050565b600082601f8301126136b357600080fd5b81356136c3848260208601613573565b91505092915050565b600082601f8301126136dd57600080fd5b81356136ed8482602086016135b1565b91505092915050565b60008135905061370581615193565b92915050565b60006020828403121561371d57600080fd5b600061372b848285016135ef565b91505092915050565b60006020828403121561374657600080fd5b600061375484828501613604565b91505092915050565b6000806040838503121561377057600080fd5b600061377e858286016135ef565b925050602061378f858286016135ef565b9150509250929050565b6000806000606084860312156137ae57600080fd5b60006137bc868287016135ef565b93505060206137cd868287016135ef565b92505060406137de868287016136f6565b9150509250925092565b600080600080608085870312156137fe57600080fd5b600061380c878288016135ef565b945050602061381d878288016135ef565b935050604061382e878288016136f6565b925050606085013567ffffffffffffffff81111561384b57600080fd5b613857878288016136a2565b91505092959194509250565b6000806040838503121561387657600080fd5b6000613884858286016135ef565b925050602061389585828601613663565b9150509250929050565b600080604083850312156138b257600080fd5b60006138c0858286016135ef565b92505060206138d1858286016136f6565b9150509250929050565b600080602083850312156138ee57600080fd5b600083013567ffffffffffffffff81111561390857600080fd5b61391485828601613619565b92509250509250929050565b60006020828403121561393257600080fd5b600061394084828501613678565b91505092915050565b60006020828403121561395b57600080fd5b60006139698482850161368d565b91505092915050565b60006020828403121561398457600080fd5b600082013567ffffffffffffffff81111561399e57600080fd5b6139aa848285016136cc565b91505092915050565b6000602082840312156139c557600080fd5b60006139d3848285016136f6565b91505092915050565b60006139e88383613f82565b60208301905092915050565b6139fd81614795565b82525050565b613a0c8161470f565b82525050565b6000613a1d82614583565b613a2781856145b1565b9350613a3283614573565b8060005b83811015613a63578151613a4a88826139dc565b9750613a55836145a4565b925050600181019050613a36565b5085935050505092915050565b613a7981614733565b82525050565b6000613a8a8261458e565b613a9481856145c2565b9350613aa48185602086016147da565b613aad816149a6565b840191505092915050565b6000613ac382614599565b613acd81856145de565b9350613add8185602086016147da565b613ae6816149a6565b840191505092915050565b6000613afc82614599565b613b0681856145ef565b9350613b168185602086016147da565b80840191505092915050565b6000613b2f601c836145de565b9150613b3a826149b7565b602082019050919050565b6000613b52601f836145de565b9150613b5d826149e0565b602082019050919050565b6000613b756019836145de565b9150613b8082614a09565b602082019050919050565b6000613b98602b836145de565b9150613ba382614a32565b604082019050919050565b6000613bbb6032836145de565b9150613bc682614a81565b604082019050919050565b6000613bde6026836145de565b9150613be982614ad0565b604082019050919050565b6000613c01601c836145de565b9150613c0c82614b1f565b602082019050919050565b6000613c24601a836145de565b9150613c2f82614b48565b602082019050919050565b6000613c476026836145de565b9150613c5282614b71565b604082019050919050565b6000613c6a6024836145de565b9150613c7582614bc0565b604082019050919050565b6000613c8d6019836145de565b9150613c9882614c0f565b602082019050919050565b6000613cb0601a836145de565b9150613cbb82614c38565b602082019050919050565b6000613cd36012836145de565b9150613cde82614c61565b602082019050919050565b6000613cf6603a836145de565b9150613d0182614c8a565b604082019050919050565b6000613d19601d836145de565b9150613d2482614cd9565b602082019050919050565b6000613d3c602c836145de565b9150613d4782614d02565b604082019050919050565b6000613d5f602b836145de565b9150613d6a82614d51565b604082019050919050565b6000613d826038836145de565b9150613d8d82614da0565b604082019050919050565b6000613da5602a836145de565b9150613db082614def565b604082019050919050565b6000613dc86029836145de565b9150613dd382614e3e565b604082019050919050565b6000613deb6020836145de565b9150613df682614e8d565b602082019050919050565b6000613e0e6017836145de565b9150613e1982614eb6565b602082019050919050565b6000613e31602c836145de565b9150613e3c82614edf565b604082019050919050565b6000613e546020836145de565b9150613e5f82614f2e565b602082019050919050565b6000613e776029836145de565b9150613e8282614f57565b604082019050919050565b6000613e9a602f836145de565b9150613ea582614fa6565b604082019050919050565b6000613ebd6021836145de565b9150613ec882614ff5565b604082019050919050565b6000613ee06000836145d3565b9150613eeb82615044565b600082019050919050565b6000613f036031836145de565b9150613f0e82615047565b604082019050919050565b6000613f26602c836145de565b9150613f3182615096565b604082019050919050565b6000613f49601f836145de565b9150613f54826150e5565b602082019050919050565b6000613f6c601a836145de565b9150613f778261510e565b602082019050919050565b613f8b8161478b565b82525050565b613f9a8161478b565b82525050565b6000613fac8285613af1565b9150613fb88284613af1565b91508190509392505050565b6000613fcf82613ed3565b9150819050919050565b6000602082019050613fee6000830184613a03565b92915050565b600060408201905061400960008301856139f4565b6140166020830184613f91565b9392505050565b60006080820190506140326000830187613a03565b61403f6020830186613a03565b61404c6040830185613f91565b818103606083015261405e8184613a7f565b905095945050505050565b600060408201905061407e6000830185613a03565b61408b6020830184613f91565b9392505050565b600060208201905081810360008301526140ac8184613a12565b905092915050565b60006020820190506140c96000830184613a70565b92915050565b600060208201905081810360008301526140e98184613ab8565b905092915050565b6000602082019050818103600083015261410a81613b22565b9050919050565b6000602082019050818103600083015261412a81613b45565b9050919050565b6000602082019050818103600083015261414a81613b68565b9050919050565b6000602082019050818103600083015261416a81613b8b565b9050919050565b6000602082019050818103600083015261418a81613bae565b9050919050565b600060208201905081810360008301526141aa81613bd1565b9050919050565b600060208201905081810360008301526141ca81613bf4565b9050919050565b600060208201905081810360008301526141ea81613c17565b9050919050565b6000602082019050818103600083015261420a81613c3a565b9050919050565b6000602082019050818103600083015261422a81613c5d565b9050919050565b6000602082019050818103600083015261424a81613c80565b9050919050565b6000602082019050818103600083015261426a81613ca3565b9050919050565b6000602082019050818103600083015261428a81613cc6565b9050919050565b600060208201905081810360008301526142aa81613ce9565b9050919050565b600060208201905081810360008301526142ca81613d0c565b9050919050565b600060208201905081810360008301526142ea81613d2f565b9050919050565b6000602082019050818103600083015261430a81613d52565b9050919050565b6000602082019050818103600083015261432a81613d75565b9050919050565b6000602082019050818103600083015261434a81613d98565b9050919050565b6000602082019050818103600083015261436a81613dbb565b9050919050565b6000602082019050818103600083015261438a81613dde565b9050919050565b600060208201905081810360008301526143aa81613e01565b9050919050565b600060208201905081810360008301526143ca81613e24565b9050919050565b600060208201905081810360008301526143ea81613e47565b9050919050565b6000602082019050818103600083015261440a81613e6a565b9050919050565b6000602082019050818103600083015261442a81613e8d565b9050919050565b6000602082019050818103600083015261444a81613eb0565b9050919050565b6000602082019050818103600083015261446a81613ef6565b9050919050565b6000602082019050818103600083015261448a81613f19565b9050919050565b600060208201905081810360008301526144aa81613f3c565b9050919050565b600060208201905081810360008301526144ca81613f5f565b9050919050565b60006020820190506144e66000830184613f91565b92915050565b60006144f6614507565b9050614502828261483f565b919050565b6000604051905090565b600067ffffffffffffffff82111561452c5761452b614977565b5b614535826149a6565b9050602081019050919050565b600067ffffffffffffffff82111561455d5761455c614977565b5b614566826149a6565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006146058261478b565b91506146108361478b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614645576146446148ea565b5b828201905092915050565b600061465b8261478b565b91506146668361478b565b92508261467657614675614919565b5b828204905092915050565b600061468c8261478b565b91506146978361478b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156146d0576146cf6148ea565b5b828202905092915050565b60006146e68261478b565b91506146f18361478b565b925082821015614704576147036148ea565b5b828203905092915050565b600061471a8261476b565b9050919050565b600061472c8261476b565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006147a0826147a7565b9050919050565b60006147b2826147b9565b9050919050565b60006147c48261476b565b9050919050565b82818337600083830152505050565b60005b838110156147f85780820151818401526020810190506147dd565b83811115614807576000848401525b50505050565b6000600282049050600182168061482557607f821691505b6020821081141561483957614838614948565b5b50919050565b614848826149a6565b810181811067ffffffffffffffff8211171561486757614866614977565b5b80604052505050565b600061487b8261478b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156148ae576148ad6148ea565b5b600182019050919050565b60006148c48261478b565b91506148cf8361478b565b9250826148df576148de614919565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f57686974656c697374206d696e74206973206e6f742061637469766500000000600082015250565b7f57686974656c697374206d696e74206c696d6974656420657863656564656400600082015250565b7f546f74616c206d696e74206c696d697420657863656564656400000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4d696e74696e672065786365656473206d617820737570706c79000000000000600082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f41646472657373206973206e6f742077686974656c6973746564000000000000600082015250565b7f53616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45544820616d6f756e7420697320696e636f7272656374000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f4d757374206d696e74206174206c6561737420312070616e6461000000000000600082015250565b6151408161470f565b811461514b57600080fd5b50565b61515781614721565b811461516257600080fd5b50565b61516e81614733565b811461517957600080fd5b50565b6151858161473f565b811461519057600080fd5b50565b61519c8161478b565b81146151a757600080fd5b5056fea26469706673582212206fb9248bc681d6a50d6c63fe7c9a8ec301ada7e8ed1bcc0cd5a598485718e41c64736f6c63430008040033

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

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000800000000000000000000000025fa86786adc4f7edbd5502101348ec1aff5ac71000000000000000000000000773938cfd37bd04cd1134ffe02dba86352f838e60000000000000000000000000c6b1147bbf4c01c3ee19476ba8677173e33d49400000000000000000000000037e565b43480f23a629bf2fd9278104cf6d30e3a000000000000000000000000581133cc3cc6f396de67fe6b9154dc7b74f0e4fe000000000000000000000000ea43fe9e6eec5ea9207070d3f312de32bb205be0000000000000000000000000504f8a536c09c06860a3e05ed1e9f780fb36a0fd000000000000000000000000c33f38754378da67d01083661f0075d0b9ade7e8000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000027100000000000000000000000000000000000000000000000000000000000000abe0000000000000000000000000000000000000000000000000000000000000abe00000000000000000000000000000000000000000000000000000000000013880000000000000000000000000000000000000000000000000000000000000bb8000000000000000000000000000000000000000000000000000000000000a45b0000000000000000000000000000000000000000000000000000000000004ab50000000000000000000000000000000000000000000000000000000000003bc4

-----Decoded View---------------
Arg [0] : _payees (address[]): 0x25Fa86786adC4F7EdBd5502101348ec1AfF5Ac71,0x773938CfD37bD04cd1134fFe02dba86352F838E6,0x0C6B1147Bbf4c01C3ee19476bA8677173e33D494,0x37e565B43480f23A629Bf2fd9278104Cf6d30E3a,0x581133cC3Cc6F396dE67Fe6b9154dC7B74F0e4fe,0xEa43Fe9e6eec5ea9207070D3f312dE32Bb205Be0,0x504f8A536c09c06860a3E05eD1e9F780Fb36a0FD,0xc33f38754378DA67D01083661f0075d0B9aDE7e8
Arg [1] : _shares (uint256[]): 10000,2750,2750,5000,3000,42075,19125,15300

-----Encoded View---------------
20 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [3] : 00000000000000000000000025fa86786adc4f7edbd5502101348ec1aff5ac71
Arg [4] : 000000000000000000000000773938cfd37bd04cd1134ffe02dba86352f838e6
Arg [5] : 0000000000000000000000000c6b1147bbf4c01c3ee19476ba8677173e33d494
Arg [6] : 00000000000000000000000037e565b43480f23a629bf2fd9278104cf6d30e3a
Arg [7] : 000000000000000000000000581133cc3cc6f396de67fe6b9154dc7b74f0e4fe
Arg [8] : 000000000000000000000000ea43fe9e6eec5ea9207070d3f312de32bb205be0
Arg [9] : 000000000000000000000000504f8a536c09c06860a3e05ed1e9f780fb36a0fd
Arg [10] : 000000000000000000000000c33f38754378da67d01083661f0075d0b9ade7e8
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [12] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000abe
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000abe
Arg [15] : 0000000000000000000000000000000000000000000000000000000000001388
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000bb8
Arg [17] : 000000000000000000000000000000000000000000000000000000000000a45b
Arg [18] : 0000000000000000000000000000000000000000000000000000000000004ab5
Arg [19] : 0000000000000000000000000000000000000000000000000000000000003bc4


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

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