ETH Price: $2,913.75 (-3.84%)
Gas: 1 Gwei

Token

Fissures (FSSR)
 

Overview

Max Total Supply

256 FSSR

Holders

136

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
2 FSSR
0xe470abb64b9f03187e3c7f6059278642cc09bc02
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
FISSURES

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

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

pragma solidity ^0.8.0;
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/finance/PaymentSplitter.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";



contract FISSURES is
    ERC721,
    ERC721Enumerable,
    Ownable,
    PaymentSplitter
{
    using SafeMath for uint256;
    using SafeMath for uint16;

    uint16 public MAX_SUPPLY = 256;
    uint256 public presaleAccessCount = 0;
    uint16 _maxPurchaseCount = 1;
    uint16 _maxPreSalePurchaseCount = 2;
    uint256 _mintPrice = 0.05 ether;
    string _baseURIValue;
    mapping(address => bool) _presaleAccess;
    mapping(address => bool) _canAddToPresale;
    bool public saleIsActive = false;
    bool public presaleIsActive = false;



    constructor(
        address[] memory payees,
        uint256[] memory paymentShares
    ) ERC721("Fissures", "FSSR") PaymentSplitter(payees, paymentShares) {

    }

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

    function baseURI() public view returns (string memory) {
        return _baseURI();
    }

    function setBaseURI(string memory newBase) public onlyOwner {
        _baseURIValue = newBase;
    }


    function flipSaleState() public onlyOwner {
        saleIsActive = !saleIsActive;
    }
    
    function flipPreSaleState() public onlyOwner {
        presaleIsActive = !presaleIsActive;
    }


    function maxPurchaseCount() public view returns (uint256) {
        return _maxPurchaseCount;
    }

    function setMaxPurchaseCount(uint8 count) public onlyOwner {
        _maxPurchaseCount = count;
    }

    function baseMintPrice() public view returns (uint256) {
        return _mintPrice;
    }

    function setBaseMintPrice(uint256 price) public onlyOwner {
        _mintPrice = price;
    }

    function mintPrice(uint256 numberOfTokens) public view returns (uint256) {
        return _mintPrice.mul(numberOfTokens);
    }

    // function canAccessPresale() public view returns (bool) {
    //     return _presaleAccess[msg.sender];
    // }

    function canAccessPresale(address addr) public view returns (bool) {
        return _presaleAccess[addr];
    }

    function addPresaleAddresses(address[] calldata addresses) external {
        require(
            owner() == msg.sender || _canAddToPresale[msg.sender],
            "Not authorized for that action"
        );
        for (uint256 i = 0; i < addresses.length; i++) {
            _presaleAccess[addresses[i]] = true;
        }
        presaleAccessCount += addresses.length;
    }
    
    function createPresaleAdmin(address[] calldata addresses) external {
        require(
            owner() == msg.sender,
            "Not authorized for that action"
        );
        for (uint256 i = 0; i < addresses.length; i++) {
            _canAddToPresale[addresses[i]] = true;
        }
    }

    modifier mintCountMeetsSupply(uint256 numberOfTokens) {
        require(
            totalSupply().add(numberOfTokens) <= MAX_SUPPLY,
            "Purchase would exceed max supply"
        );
        _;
    }

    modifier doesNotExceedMaxPreSalePurchaseCount(uint256 numberOfTokens) {
        require(
            numberOfTokens <= _maxPreSalePurchaseCount,
            "Cannot mint more than 2 tokens at a time for presale"
        );
        _;
    }

    modifier doesNotExceedMaxPurchaseCount(uint256 numberOfTokens) {
        require(
            numberOfTokens <= _maxPurchaseCount,
            "Cannot mint more than 1 token at a time"
        );
        _;
    }

    modifier validatePurchasePrice(uint256 numberOfTokens) {
        require(
            mintPrice(numberOfTokens) == msg.value,
            "Ether value sent is not correct"
        );
        _;
    }

    function _mintTokens(uint256 numberOfTokens, address to) internal {
        for (uint256 i = 0; i < numberOfTokens; i++) {
            _safeMint(to, totalSupply() + 1);
        }
    }

    function mintPresale(uint16 numberOfTokens)
        public
        payable
        mintCountMeetsSupply(numberOfTokens)
        doesNotExceedMaxPreSalePurchaseCount(numberOfTokens)
        validatePurchasePrice(numberOfTokens)
    {
        require(presaleIsActive, "Presale has not started yet");
        require(canAccessPresale(msg.sender), "You do not have access to the presale");
        require((balanceOf(msg.sender) + numberOfTokens) <= _maxPreSalePurchaseCount, "This mint would put you above the presale limit of mints per account");

        _mintTokens(numberOfTokens, msg.sender);
    }

    function mintTokens(uint256 numberOfTokens)
        public
        payable
        mintCountMeetsSupply(numberOfTokens)
        doesNotExceedMaxPurchaseCount(numberOfTokens)
        validatePurchasePrice(numberOfTokens)
    {
        require(saleIsActive, "Sale has not started yet");
        require((balanceOf(msg.sender) + numberOfTokens) <= _maxPurchaseCount, "This mint would put you above the sale limit of mints per account");


        _mintTokens(numberOfTokens, msg.sender);
    }



    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override(ERC721, ERC721Enumerable) {
        super._beforeTokenTransfer(from, to, tokenId);
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC721, ERC721Enumerable)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }
}

File 2 of 15 : 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;
        }
    }
}

File 3 of 15 : 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 4 of 15 : 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 15 : 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 6 of 15 : 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 15 : 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 8 of 15 : 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 9 of 15 : 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 10 of 15 : 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 11 of 15 : 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 15 : 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 13 of 15 : 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 14 of 15 : 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 15 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address[]","name":"payees","type":"address[]"},{"internalType":"uint256[]","name":"paymentShares","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_SUPPLY","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"addPresaleAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"canAccessPresale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"createPresaleAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipPreSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"maxPurchaseCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"numberOfTokens","type":"uint16"}],"name":"mintPresale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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":[],"name":"presaleAccessCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"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":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setBaseMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBase","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"count","type":"uint8"}],"name":"setMaxPurchaseCount","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":[{"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"},{"stateMutability":"payable","type":"receive"}]

6080604052610100601060006101000a81548161ffff021916908361ffff16021790555060006011556001601260006101000a81548161ffff021916908361ffff1602179055506002601260026101000a81548161ffff021916908361ffff16021790555066b1a2bc2ec500006013556000601760006101000a81548160ff0219169083151502179055506000601760016101000a81548160ff021916908315150217905550348015620000b257600080fd5b50604051620063b2380380620063b28339818101604052810190620000d89190620007e4565b81816040518060400160405280600881526020017f46697373757265730000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f465353520000000000000000000000000000000000000000000000000000000081525081600090805190602001906200015e929190620005aa565b50806001908051906020019062000177929190620005aa565b5050506200019a6200018e620002a260201b60201c565b620002aa60201b60201c565b8051825114620001e1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001d8906200099d565b60405180910390fd5b600082511162000228576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200021f90620009e1565b60405180910390fd5b60005b82518110156200029757620002818382815181106200024f576200024e62000c70565b5b60200260200101518383815181106200026d576200026c62000c70565b5b60200260200101516200037060201b60201c565b80806200028e9062000bc4565b9150506200022b565b505050505062000e66565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620003e3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003da906200097b565b60405180910390fd5b6000811162000429576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004209062000a03565b60405180910390fd5b6000600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414620004ae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004a590620009bf565b60405180910390fd5b600f829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600b5462000565919062000abd565b600b819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac82826040516200059e9291906200094e565b60405180910390a15050565b828054620005b89062000b58565b90600052602060002090601f016020900481019282620005dc576000855562000628565b82601f10620005f757805160ff191683800117855562000628565b8280016001018555821562000628579182015b82811115620006275782518255916020019190600101906200060a565b5b5090506200063791906200063b565b5090565b5b80821115620006565760008160009055506001016200063c565b5090565b6000620006716200066b8462000a4e565b62000a25565b9050808382526020820190508285602086028201111562000697576200069662000cd3565b5b60005b85811015620006cb5781620006b0888262000750565b8452602084019350602083019250506001810190506200069a565b5050509392505050565b6000620006ec620006e68462000a7d565b62000a25565b9050808382526020820190508285602086028201111562000712576200071162000cd3565b5b60005b858110156200074657816200072b8882620007cd565b84526020840193506020830192505060018101905062000715565b5050509392505050565b600081519050620007618162000e32565b92915050565b600082601f8301126200077f576200077e62000cce565b5b8151620007918482602086016200065a565b91505092915050565b600082601f830112620007b257620007b162000cce565b5b8151620007c4848260208601620006d5565b91505092915050565b600081519050620007de8162000e4c565b92915050565b60008060408385031215620007fe57620007fd62000cdd565b5b600083015167ffffffffffffffff8111156200081f576200081e62000cd8565b5b6200082d8582860162000767565b925050602083015167ffffffffffffffff81111562000851576200085062000cd8565b5b6200085f858286016200079a565b9150509250929050565b620008748162000b1a565b82525050565b600062000889602c8362000aac565b9150620008968262000cf3565b604082019050919050565b6000620008b060328362000aac565b9150620008bd8262000d42565b604082019050919050565b6000620008d7602b8362000aac565b9150620008e48262000d91565b604082019050919050565b6000620008fe601a8362000aac565b91506200090b8262000de0565b602082019050919050565b600062000925601d8362000aac565b9150620009328262000e09565b602082019050919050565b620009488162000b4e565b82525050565b600060408201905062000965600083018562000869565b6200097460208301846200093d565b9392505050565b6000602082019050818103600083015262000996816200087a565b9050919050565b60006020820190508181036000830152620009b881620008a1565b9050919050565b60006020820190508181036000830152620009da81620008c8565b9050919050565b60006020820190508181036000830152620009fc81620008ef565b9050919050565b6000602082019050818103600083015262000a1e8162000916565b9050919050565b600062000a3162000a44565b905062000a3f828262000b8e565b919050565b6000604051905090565b600067ffffffffffffffff82111562000a6c5762000a6b62000c9f565b5b602082029050602081019050919050565b600067ffffffffffffffff82111562000a9b5762000a9a62000c9f565b5b602082029050602081019050919050565b600082825260208201905092915050565b600062000aca8262000b4e565b915062000ad78362000b4e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000b0f5762000b0e62000c12565b5b828201905092915050565b600062000b278262000b2e565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000600282049050600182168062000b7157607f821691505b6020821081141562000b885762000b8762000c41565b5b50919050565b62000b998262000ce2565b810181811067ffffffffffffffff8211171562000bbb5762000bba62000c9f565b5b80604052505050565b600062000bd18262000b4e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562000c075762000c0662000c12565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f5061796d656e7453706c69747465723a206163636f756e74206973207468652060008201527f7a65726f20616464726573730000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a2070617965657320616e64207368617260008201527f6573206c656e677468206d69736d617463680000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960008201527f2068617320736861726573000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206e6f20706179656573000000000000600082015250565b7f5061796d656e7453706c69747465723a20736861726573206172652030000000600082015250565b62000e3d8162000b1a565b811462000e4957600080fd5b50565b62000e578162000b4e565b811462000e6357600080fd5b50565b61553c8062000e766000396000f3fe6080604052600436106102605760003560e01c80636c0360eb11610144578063b88d4fde116100b6578063e33b7de31161007a578063e33b7de31461094d578063e6a72acf14610978578063e985e9c5146109b5578063eb8d2444146109f2578063f032554914610a1d578063f2fde38b14610a34576102a7565b8063b88d4fde14610844578063bc6cd5051461086d578063c87b56dd146108aa578063ce7c2ac2146108e7578063dfe8ae6714610924576102a7565b80638cb7a02f116101085780638cb7a02f146107435780638da5cb5b1461076c57806395d89b411461079757806397304ced146107c25780639852595c146107de578063a22cb4651461081b576102a7565b80636c0360eb1461065c57806370a0823114610687578063715018a6146106c45780638559dff3146106db5780638b83209b14610706576102a7565b80633488c0da116101dd578063420401e9116101a1578063420401e91461053c57806342842e0e146105655780634f6ccce71461058e57806355f804b3146105cb5780635dde4684146105f45780636352211e1461061f576102a7565b80633488c0da1461048a57806334918dfd146104a65780633819fc0f146104bd5780633a98ef39146104e65780633cf924a014610511576102a7565b8063191655871161022457806319165587146103a557806323b872dd146103ce5780632f745c59146103f757806330f72cd41461043457806332cb6b0c1461045f576102a7565b806301ffc9a7146102ac57806306fdde03146102e9578063081812fc14610314578063095ea7b31461035157806318160ddd1461037a576102a7565b366102a7577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77061028e610a5d565b3460405161029d9291906141ed565b60405180910390a1005b600080fd5b3480156102b857600080fd5b506102d360048036038101906102ce9190613a89565b610a65565b6040516102e09190614216565b60405180910390f35b3480156102f557600080fd5b506102fe610a77565b60405161030b9190614231565b60405180910390f35b34801561032057600080fd5b5061033b60048036038101906103369190613b59565b610b09565b604051610348919061415d565b60405180910390f35b34801561035d57600080fd5b50610378600480360381019061037391906139fc565b610b8e565b005b34801561038657600080fd5b5061038f610ca6565b60405161039c919061466e565b60405180910390f35b3480156103b157600080fd5b506103cc60048036038101906103c79190613879565b610cb3565b005b3480156103da57600080fd5b506103f560048036038101906103f091906138e6565b610f1b565b005b34801561040357600080fd5b5061041e600480360381019061041991906139fc565b610f7b565b60405161042b919061466e565b60405180910390f35b34801561044057600080fd5b50610449611020565b6040516104569190614216565b60405180910390f35b34801561046b57600080fd5b50610474611033565b6040516104819190614653565b60405180910390f35b6104a4600480360381019061049f9190613b2c565b611047565b005b3480156104b257600080fd5b506104bb611280565b005b3480156104c957600080fd5b506104e460048036038101906104df9190613a3c565b611328565b005b3480156104f257600080fd5b506104fb6114b2565b604051610508919061466e565b60405180910390f35b34801561051d57600080fd5b506105266114bc565b604051610533919061466e565b60405180910390f35b34801561054857600080fd5b50610563600480360381019061055e9190613b59565b6114d8565b005b34801561057157600080fd5b5061058c600480360381019061058791906138e6565b61155e565b005b34801561059a57600080fd5b506105b560048036038101906105b09190613b59565b61157e565b6040516105c2919061466e565b60405180910390f35b3480156105d757600080fd5b506105f260048036038101906105ed9190613ae3565b6115ef565b005b34801561060057600080fd5b50610609611685565b604051610616919061466e565b60405180910390f35b34801561062b57600080fd5b5061064660048036038101906106419190613b59565b61168b565b604051610653919061415d565b60405180910390f35b34801561066857600080fd5b5061067161173d565b60405161067e9190614231565b60405180910390f35b34801561069357600080fd5b506106ae60048036038101906106a9919061384c565b61174c565b6040516106bb919061466e565b60405180910390f35b3480156106d057600080fd5b506106d9611804565b005b3480156106e757600080fd5b506106f061188c565b6040516106fd919061466e565b60405180910390f35b34801561071257600080fd5b5061072d60048036038101906107289190613b59565b611896565b60405161073a919061415d565b60405180910390f35b34801561074f57600080fd5b5061076a60048036038101906107659190613a3c565b6118de565b005b34801561077857600080fd5b506107816119f8565b60405161078e919061415d565b60405180910390f35b3480156107a357600080fd5b506107ac611a22565b6040516107b99190614231565b60405180910390f35b6107dc60048036038101906107d79190613b59565b611ab4565b005b3480156107ea57600080fd5b506108056004803603810190610800919061384c565b611c91565b604051610812919061466e565b60405180910390f35b34801561082757600080fd5b50610842600480360381019061083d91906139bc565b611cda565b005b34801561085057600080fd5b5061086b60048036038101906108669190613939565b611e5b565b005b34801561087957600080fd5b50610894600480360381019061088f919061384c565b611ebd565b6040516108a19190614216565b60405180910390f35b3480156108b657600080fd5b506108d160048036038101906108cc9190613b59565b611f13565b6040516108de9190614231565b60405180910390f35b3480156108f357600080fd5b5061090e6004803603810190610909919061384c565b611fba565b60405161091b919061466e565b60405180910390f35b34801561093057600080fd5b5061094b60048036038101906109469190613b86565b612003565b005b34801561095957600080fd5b506109626120a2565b60405161096f919061466e565b60405180910390f35b34801561098457600080fd5b5061099f600480360381019061099a9190613b59565b6120ac565b6040516109ac919061466e565b60405180910390f35b3480156109c157600080fd5b506109dc60048036038101906109d791906138a6565b6120ca565b6040516109e99190614216565b60405180910390f35b3480156109fe57600080fd5b50610a0761215e565b604051610a149190614216565b60405180910390f35b348015610a2957600080fd5b50610a32612171565b005b348015610a4057600080fd5b50610a5b6004803603810190610a56919061384c565b612219565b005b600033905090565b6000610a7082612311565b9050919050565b606060008054610a869061498c565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab29061498c565b8015610aff5780601f10610ad457610100808354040283529160200191610aff565b820191906000526020600020905b815481529060010190602001808311610ae257829003601f168201915b5050505050905090565b6000610b148261238b565b610b53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4a906144d3565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b998261168b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c01906145d3565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c29610a5d565b73ffffffffffffffffffffffffffffffffffffffff161480610c585750610c5781610c52610a5d565b6120ca565b5b610c97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8e90614433565b60405180910390fd5b610ca183836123f7565b505050565b6000600880549050905090565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610d35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2c90614333565b60405180910390fd5b6000600c5447610d45919061475e565b90506000600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600b54600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484610dd791906147e5565b610de191906147b4565b610deb919061483f565b90506000811415610e31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2890614413565b60405180910390fd5b80600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610e7c919061475e565b600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600c54610ecd919061475e565b600c81905550610edd83826124b0565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051610f0e929190614178565b60405180910390a1505050565b610f2c610f26610a5d565b826125a4565b610f6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6290614613565b60405180910390fd5b610f76838383612682565b505050565b6000610f868361174c565b8210610fc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbe90614293565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b601760019054906101000a900460ff1681565b601060009054906101000a900461ffff1681565b8061ffff16601060009054906101000a900461ffff1661ffff1661107b8261106d610ca6565b6128de90919063ffffffff16565b11156110bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b390614493565b60405180910390fd5b8161ffff16601260029054906101000a900461ffff1661ffff16811115611118576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110f90614313565b60405180910390fd5b8261ffff1634611127826120ac565b14611167576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115e90614393565b60405180910390fd5b601760019054906101000a900460ff166111b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ad906144f3565b60405180910390fd5b6111bf33611ebd565b6111fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f590614513565b60405180910390fd5b601260029054906101000a900461ffff1661ffff168461ffff166112213361174c565b61122b919061475e565b111561126c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611263906145f3565b60405180910390fd5b61127a8461ffff16336128f4565b50505050565b611288610a5d565b73ffffffffffffffffffffffffffffffffffffffff166112a66119f8565b73ffffffffffffffffffffffffffffffffffffffff16146112fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f390614533565b60405180910390fd5b601760009054906101000a900460ff1615601760006101000a81548160ff021916908315150217905550565b3373ffffffffffffffffffffffffffffffffffffffff166113476119f8565b73ffffffffffffffffffffffffffffffffffffffff1614806113b25750601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6113f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e8906145b3565b60405180910390fd5b60005b828290508110156114915760016015600085858581811061141857611417614b25565b5b905060200201602081019061142d919061384c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611489906149ef565b9150506113f4565b5081819050601160008282546114a7919061475e565b925050819055505050565b6000600b54905090565b6000601260009054906101000a900461ffff1661ffff16905090565b6114e0610a5d565b73ffffffffffffffffffffffffffffffffffffffff166114fe6119f8565b73ffffffffffffffffffffffffffffffffffffffff1614611554576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154b90614533565b60405180910390fd5b8060138190555050565b61157983838360405180602001604052806000815250611e5b565b505050565b6000611588610ca6565b82106115c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c090614633565b60405180910390fd5b600882815481106115dd576115dc614b25565b5b90600052602060002001549050919050565b6115f7610a5d565b73ffffffffffffffffffffffffffffffffffffffff166116156119f8565b73ffffffffffffffffffffffffffffffffffffffff161461166b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166290614533565b60405180910390fd5b80601490805190602001906116819291906135cb565b5050565b60115481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611734576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172b90614473565b60405180910390fd5b80915050919050565b6060611747612934565b905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b490614453565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61180c610a5d565b73ffffffffffffffffffffffffffffffffffffffff1661182a6119f8565b73ffffffffffffffffffffffffffffffffffffffff1614611880576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187790614533565b60405180910390fd5b61188a60006129c6565b565b6000601354905090565b6000600f82815481106118ac576118ab614b25565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b3373ffffffffffffffffffffffffffffffffffffffff166118fd6119f8565b73ffffffffffffffffffffffffffffffffffffffff1614611953576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194a906145b3565b60405180910390fd5b60005b828290508110156119f35760016016600085858581811061197a57611979614b25565b5b905060200201602081019061198f919061384c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806119eb906149ef565b915050611956565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611a319061498c565b80601f0160208091040260200160405190810160405280929190818152602001828054611a5d9061498c565b8015611aaa5780601f10611a7f57610100808354040283529160200191611aaa565b820191906000526020600020905b815481529060010190602001808311611a8d57829003601f168201915b5050505050905090565b80601060009054906101000a900461ffff1661ffff16611ae482611ad6610ca6565b6128de90919063ffffffff16565b1115611b25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1c90614493565b60405180910390fd5b81601260009054906101000a900461ffff1661ffff16811115611b7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7490614273565b60405180910390fd5b8234611b88826120ac565b14611bc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bbf90614393565b60405180910390fd5b601760009054906101000a900460ff16611c17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0e90614253565b60405180910390fd5b601260009054906101000a900461ffff1661ffff1684611c363361174c565b611c40919061475e565b1115611c81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7890614593565b60405180910390fd5b611c8b84336128f4565b50505050565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611ce2610a5d565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4790614373565b60405180910390fd5b8060056000611d5d610a5d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611e0a610a5d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e4f9190614216565b60405180910390a35050565b611e6c611e66610a5d565b836125a4565b611eab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea290614613565b60405180910390fd5b611eb784848484612a8c565b50505050565b6000601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6060611f1e8261238b565b611f5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5490614573565b60405180910390fd5b6000611f67612934565b90506000815111611f875760405180602001604052806000815250611fb2565b80611f9184612ae8565b604051602001611fa2929190614124565b6040516020818303038152906040525b915050919050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61200b610a5d565b73ffffffffffffffffffffffffffffffffffffffff166120296119f8565b73ffffffffffffffffffffffffffffffffffffffff161461207f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207690614533565b60405180910390fd5b8060ff16601260006101000a81548161ffff021916908361ffff16021790555050565b6000600c54905090565b60006120c382601354612c4990919063ffffffff16565b9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601760009054906101000a900460ff1681565b612179610a5d565b73ffffffffffffffffffffffffffffffffffffffff166121976119f8565b73ffffffffffffffffffffffffffffffffffffffff16146121ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e490614533565b60405180910390fd5b601760019054906101000a900460ff1615601760016101000a81548160ff021916908315150217905550565b612221610a5d565b73ffffffffffffffffffffffffffffffffffffffff1661223f6119f8565b73ffffffffffffffffffffffffffffffffffffffff1614612295576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228c90614533565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612305576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122fc906142d3565b60405180910390fd5b61230e816129c6565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612384575061238382612c5f565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661246a8361168b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b804710156124f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ea906143d3565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161251990614148565b60006040518083038185875af1925050503d8060008114612556576040519150601f19603f3d011682016040523d82523d6000602084013e61255b565b606091505b505090508061259f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612596906143b3565b60405180910390fd5b505050565b60006125af8261238b565b6125ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e5906143f3565b60405180910390fd5b60006125f98361168b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061266857508373ffffffffffffffffffffffffffffffffffffffff1661265084610b09565b73ffffffffffffffffffffffffffffffffffffffff16145b80612679575061267881856120ca565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166126a28261168b565b73ffffffffffffffffffffffffffffffffffffffff16146126f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ef90614553565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612768576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275f90614353565b60405180910390fd5b612773838383612d41565b61277e6000826123f7565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127ce919061483f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612825919061475e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081836128ec919061475e565b905092915050565b60005b8281101561292f5761291c82600161290d610ca6565b612917919061475e565b612d51565b8080612927906149ef565b9150506128f7565b505050565b6060601480546129439061498c565b80601f016020809104026020016040519081016040528092919081815260200182805461296f9061498c565b80156129bc5780601f10612991576101008083540402835291602001916129bc565b820191906000526020600020905b81548152906001019060200180831161299f57829003601f168201915b5050505050905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612a97848484612682565b612aa384848484612d6f565b612ae2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ad9906142b3565b60405180910390fd5b50505050565b60606000821415612b30576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612c44565b600082905060005b60008214612b62578080612b4b906149ef565b915050600a82612b5b91906147b4565b9150612b38565b60008167ffffffffffffffff811115612b7e57612b7d614b54565b5b6040519080825280601f01601f191660200182016040528015612bb05781602001600182028036833780820191505090505b5090505b60008514612c3d57600182612bc9919061483f565b9150600a85612bd89190614a38565b6030612be4919061475e565b60f81b818381518110612bfa57612bf9614b25565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612c3691906147b4565b9450612bb4565b8093505050505b919050565b60008183612c5791906147e5565b905092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612d2a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612d3a5750612d3982612f06565b5b9050919050565b612d4c838383612f70565b505050565b612d6b828260405180602001604052806000815250613084565b5050565b6000612d908473ffffffffffffffffffffffffffffffffffffffff166130df565b15612ef9578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612db9610a5d565b8786866040518563ffffffff1660e01b8152600401612ddb94939291906141a1565b602060405180830381600087803b158015612df557600080fd5b505af1925050508015612e2657506040513d601f19601f82011682018060405250810190612e239190613ab6565b60015b612ea9573d8060008114612e56576040519150601f19603f3d011682016040523d82523d6000602084013e612e5b565b606091505b50600081511415612ea1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e98906142b3565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612efe565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612f7b8383836130f2565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612fbe57612fb9816130f7565b612ffd565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612ffc57612ffb8382613140565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156130405761303b816132ad565b61307f565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461307e5761307d828261337e565b5b5b505050565b61308e83836133fd565b61309b6000848484612d6f565b6130da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130d1906142b3565b60405180910390fd5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161314d8461174c565b613157919061483f565b905060006007600084815260200190815260200160002054905081811461323c576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506132c1919061483f565b90506000600960008481526020019081526020016000205490506000600883815481106132f1576132f0614b25565b5b90600052602060002001549050806008838154811061331357613312614b25565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061336257613361614af6565b5b6001900381819060005260206000200160009055905550505050565b60006133898361174c565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561346d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613464906144b3565b60405180910390fd5b6134768161238b565b156134b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134ad906142f3565b60405180910390fd5b6134c260008383612d41565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613512919061475e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8280546135d79061498c565b90600052602060002090601f0160209004810192826135f95760008555613640565b82601f1061361257805160ff1916838001178555613640565b82800160010185558215613640579182015b8281111561363f578251825591602001919060010190613624565b5b50905061364d9190613651565b5090565b5b8082111561366a576000816000905550600101613652565b5090565b600061368161367c846146ae565b614689565b90508281526020810184848401111561369d5761369c614b92565b5b6136a884828561494a565b509392505050565b60006136c36136be846146df565b614689565b9050828152602081018484840111156136df576136de614b92565b5b6136ea84828561494a565b509392505050565b60008135905061370181615465565b92915050565b6000813590506137168161547c565b92915050565b60008083601f84011261373257613731614b88565b5b8235905067ffffffffffffffff81111561374f5761374e614b83565b5b60208301915083602082028301111561376b5761376a614b8d565b5b9250929050565b60008135905061378181615493565b92915050565b600081359050613796816154aa565b92915050565b6000815190506137ab816154aa565b92915050565b600082601f8301126137c6576137c5614b88565b5b81356137d684826020860161366e565b91505092915050565b600082601f8301126137f4576137f3614b88565b5b81356138048482602086016136b0565b91505092915050565b60008135905061381c816154c1565b92915050565b600081359050613831816154d8565b92915050565b600081359050613846816154ef565b92915050565b60006020828403121561386257613861614b9c565b5b6000613870848285016136f2565b91505092915050565b60006020828403121561388f5761388e614b9c565b5b600061389d84828501613707565b91505092915050565b600080604083850312156138bd576138bc614b9c565b5b60006138cb858286016136f2565b92505060206138dc858286016136f2565b9150509250929050565b6000806000606084860312156138ff576138fe614b9c565b5b600061390d868287016136f2565b935050602061391e868287016136f2565b925050604061392f86828701613822565b9150509250925092565b6000806000806080858703121561395357613952614b9c565b5b6000613961878288016136f2565b9450506020613972878288016136f2565b935050604061398387828801613822565b925050606085013567ffffffffffffffff8111156139a4576139a3614b97565b5b6139b0878288016137b1565b91505092959194509250565b600080604083850312156139d3576139d2614b9c565b5b60006139e1858286016136f2565b92505060206139f285828601613772565b9150509250929050565b60008060408385031215613a1357613a12614b9c565b5b6000613a21858286016136f2565b9250506020613a3285828601613822565b9150509250929050565b60008060208385031215613a5357613a52614b9c565b5b600083013567ffffffffffffffff811115613a7157613a70614b97565b5b613a7d8582860161371c565b92509250509250929050565b600060208284031215613a9f57613a9e614b9c565b5b6000613aad84828501613787565b91505092915050565b600060208284031215613acc57613acb614b9c565b5b6000613ada8482850161379c565b91505092915050565b600060208284031215613af957613af8614b9c565b5b600082013567ffffffffffffffff811115613b1757613b16614b97565b5b613b23848285016137df565b91505092915050565b600060208284031215613b4257613b41614b9c565b5b6000613b508482850161380d565b91505092915050565b600060208284031215613b6f57613b6e614b9c565b5b6000613b7d84828501613822565b91505092915050565b600060208284031215613b9c57613b9b614b9c565b5b6000613baa84828501613837565b91505092915050565b613bbc81614914565b82525050565b613bcb81614873565b82525050565b613bda81614897565b82525050565b6000613beb82614710565b613bf58185614726565b9350613c05818560208601614959565b613c0e81614ba1565b840191505092915050565b6000613c248261471b565b613c2e8185614742565b9350613c3e818560208601614959565b613c4781614ba1565b840191505092915050565b6000613c5d8261471b565b613c678185614753565b9350613c77818560208601614959565b80840191505092915050565b6000613c90601883614742565b9150613c9b82614bb2565b602082019050919050565b6000613cb3602783614742565b9150613cbe82614bdb565b604082019050919050565b6000613cd6602b83614742565b9150613ce182614c2a565b604082019050919050565b6000613cf9603283614742565b9150613d0482614c79565b604082019050919050565b6000613d1c602683614742565b9150613d2782614cc8565b604082019050919050565b6000613d3f601c83614742565b9150613d4a82614d17565b602082019050919050565b6000613d62603483614742565b9150613d6d82614d40565b604082019050919050565b6000613d85602683614742565b9150613d9082614d8f565b604082019050919050565b6000613da8602483614742565b9150613db382614dde565b604082019050919050565b6000613dcb601983614742565b9150613dd682614e2d565b602082019050919050565b6000613dee601f83614742565b9150613df982614e56565b602082019050919050565b6000613e11603a83614742565b9150613e1c82614e7f565b604082019050919050565b6000613e34601d83614742565b9150613e3f82614ece565b602082019050919050565b6000613e57602c83614742565b9150613e6282614ef7565b604082019050919050565b6000613e7a602b83614742565b9150613e8582614f46565b604082019050919050565b6000613e9d603883614742565b9150613ea882614f95565b604082019050919050565b6000613ec0602a83614742565b9150613ecb82614fe4565b604082019050919050565b6000613ee3602983614742565b9150613eee82615033565b604082019050919050565b6000613f06602083614742565b9150613f1182615082565b602082019050919050565b6000613f29602083614742565b9150613f34826150ab565b602082019050919050565b6000613f4c602c83614742565b9150613f57826150d4565b604082019050919050565b6000613f6f601b83614742565b9150613f7a82615123565b602082019050919050565b6000613f92602583614742565b9150613f9d8261514c565b604082019050919050565b6000613fb5602083614742565b9150613fc08261519b565b602082019050919050565b6000613fd8602983614742565b9150613fe3826151c4565b604082019050919050565b6000613ffb602f83614742565b915061400682615213565b604082019050919050565b600061401e604183614742565b915061402982615262565b606082019050919050565b6000614041601e83614742565b915061404c826152d7565b602082019050919050565b6000614064602183614742565b915061406f82615300565b604082019050919050565b6000614087604483614742565b91506140928261534f565b606082019050919050565b60006140aa600083614737565b91506140b5826153c4565b600082019050919050565b60006140cd603183614742565b91506140d8826153c7565b604082019050919050565b60006140f0602c83614742565b91506140fb82615416565b604082019050919050565b61410f816148cf565b82525050565b61411e816148fd565b82525050565b60006141308285613c52565b915061413c8284613c52565b91508190509392505050565b60006141538261409d565b9150819050919050565b60006020820190506141726000830184613bc2565b92915050565b600060408201905061418d6000830185613bb3565b61419a6020830184614115565b9392505050565b60006080820190506141b66000830187613bc2565b6141c36020830186613bc2565b6141d06040830185614115565b81810360608301526141e28184613be0565b905095945050505050565b60006040820190506142026000830185613bc2565b61420f6020830184614115565b9392505050565b600060208201905061422b6000830184613bd1565b92915050565b6000602082019050818103600083015261424b8184613c19565b905092915050565b6000602082019050818103600083015261426c81613c83565b9050919050565b6000602082019050818103600083015261428c81613ca6565b9050919050565b600060208201905081810360008301526142ac81613cc9565b9050919050565b600060208201905081810360008301526142cc81613cec565b9050919050565b600060208201905081810360008301526142ec81613d0f565b9050919050565b6000602082019050818103600083015261430c81613d32565b9050919050565b6000602082019050818103600083015261432c81613d55565b9050919050565b6000602082019050818103600083015261434c81613d78565b9050919050565b6000602082019050818103600083015261436c81613d9b565b9050919050565b6000602082019050818103600083015261438c81613dbe565b9050919050565b600060208201905081810360008301526143ac81613de1565b9050919050565b600060208201905081810360008301526143cc81613e04565b9050919050565b600060208201905081810360008301526143ec81613e27565b9050919050565b6000602082019050818103600083015261440c81613e4a565b9050919050565b6000602082019050818103600083015261442c81613e6d565b9050919050565b6000602082019050818103600083015261444c81613e90565b9050919050565b6000602082019050818103600083015261446c81613eb3565b9050919050565b6000602082019050818103600083015261448c81613ed6565b9050919050565b600060208201905081810360008301526144ac81613ef9565b9050919050565b600060208201905081810360008301526144cc81613f1c565b9050919050565b600060208201905081810360008301526144ec81613f3f565b9050919050565b6000602082019050818103600083015261450c81613f62565b9050919050565b6000602082019050818103600083015261452c81613f85565b9050919050565b6000602082019050818103600083015261454c81613fa8565b9050919050565b6000602082019050818103600083015261456c81613fcb565b9050919050565b6000602082019050818103600083015261458c81613fee565b9050919050565b600060208201905081810360008301526145ac81614011565b9050919050565b600060208201905081810360008301526145cc81614034565b9050919050565b600060208201905081810360008301526145ec81614057565b9050919050565b6000602082019050818103600083015261460c8161407a565b9050919050565b6000602082019050818103600083015261462c816140c0565b9050919050565b6000602082019050818103600083015261464c816140e3565b9050919050565b60006020820190506146686000830184614106565b92915050565b60006020820190506146836000830184614115565b92915050565b60006146936146a4565b905061469f82826149be565b919050565b6000604051905090565b600067ffffffffffffffff8211156146c9576146c8614b54565b5b6146d282614ba1565b9050602081019050919050565b600067ffffffffffffffff8211156146fa576146f9614b54565b5b61470382614ba1565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614769826148fd565b9150614774836148fd565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156147a9576147a8614a69565b5b828201905092915050565b60006147bf826148fd565b91506147ca836148fd565b9250826147da576147d9614a98565b5b828204905092915050565b60006147f0826148fd565b91506147fb836148fd565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561483457614833614a69565b5b828202905092915050565b600061484a826148fd565b9150614855836148fd565b92508282101561486857614867614a69565b5b828203905092915050565b600061487e826148dd565b9050919050565b6000614890826148dd565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b600061491f82614926565b9050919050565b600061493182614938565b9050919050565b6000614943826148dd565b9050919050565b82818337600083830152505050565b60005b8381101561497757808201518184015260208101905061495c565b83811115614986576000848401525b50505050565b600060028204905060018216806149a457607f821691505b602082108114156149b8576149b7614ac7565b5b50919050565b6149c782614ba1565b810181811067ffffffffffffffff821117156149e6576149e5614b54565b5b80604052505050565b60006149fa826148fd565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614a2d57614a2c614a69565b5b600182019050919050565b6000614a43826148fd565b9150614a4e836148fd565b925082614a5e57614a5d614a98565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f53616c6520686173206e6f742073746172746564207965740000000000000000600082015250565b7f43616e6e6f74206d696e74206d6f7265207468616e203120746f6b656e20617460008201527f20612074696d6500000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f43616e6e6f74206d696e74206d6f7265207468616e203220746f6b656e73206160008201527f7420612074696d6520666f722070726573616c65000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c79600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f50726573616c6520686173206e6f742073746172746564207965740000000000600082015250565b7f596f7520646f206e6f7420686176652061636365737320746f2074686520707260008201527f6573616c65000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f54686973206d696e7420776f756c642070757420796f752061626f766520746860008201527f652073616c65206c696d6974206f66206d696e747320706572206163636f756e60208201527f7400000000000000000000000000000000000000000000000000000000000000604082015250565b7f4e6f7420617574686f72697a656420666f72207468617420616374696f6e0000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f54686973206d696e7420776f756c642070757420796f752061626f766520746860008201527f652070726573616c65206c696d6974206f66206d696e7473207065722061636360208201527f6f756e7400000000000000000000000000000000000000000000000000000000604082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b61546e81614873565b811461547957600080fd5b50565b61548581614885565b811461549057600080fd5b50565b61549c81614897565b81146154a757600080fd5b50565b6154b3816148a3565b81146154be57600080fd5b50565b6154ca816148cf565b81146154d557600080fd5b50565b6154e1816148fd565b81146154ec57600080fd5b50565b6154f881614907565b811461550357600080fd5b5056fea26469706673582212205bc788a3e1fb04eb3732db2ea0023a6d2370be73cba07d73bc10ee4b049517dc64736f6c63430008070033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000741bfdb9bea6fa505ff9dfe9e8947b29863373fa000000000000000000000000790070de1c38d81286046a681f26a1514d7196e2000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000001

Deployed Bytecode

0x6080604052600436106102605760003560e01c80636c0360eb11610144578063b88d4fde116100b6578063e33b7de31161007a578063e33b7de31461094d578063e6a72acf14610978578063e985e9c5146109b5578063eb8d2444146109f2578063f032554914610a1d578063f2fde38b14610a34576102a7565b8063b88d4fde14610844578063bc6cd5051461086d578063c87b56dd146108aa578063ce7c2ac2146108e7578063dfe8ae6714610924576102a7565b80638cb7a02f116101085780638cb7a02f146107435780638da5cb5b1461076c57806395d89b411461079757806397304ced146107c25780639852595c146107de578063a22cb4651461081b576102a7565b80636c0360eb1461065c57806370a0823114610687578063715018a6146106c45780638559dff3146106db5780638b83209b14610706576102a7565b80633488c0da116101dd578063420401e9116101a1578063420401e91461053c57806342842e0e146105655780634f6ccce71461058e57806355f804b3146105cb5780635dde4684146105f45780636352211e1461061f576102a7565b80633488c0da1461048a57806334918dfd146104a65780633819fc0f146104bd5780633a98ef39146104e65780633cf924a014610511576102a7565b8063191655871161022457806319165587146103a557806323b872dd146103ce5780632f745c59146103f757806330f72cd41461043457806332cb6b0c1461045f576102a7565b806301ffc9a7146102ac57806306fdde03146102e9578063081812fc14610314578063095ea7b31461035157806318160ddd1461037a576102a7565b366102a7577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77061028e610a5d565b3460405161029d9291906141ed565b60405180910390a1005b600080fd5b3480156102b857600080fd5b506102d360048036038101906102ce9190613a89565b610a65565b6040516102e09190614216565b60405180910390f35b3480156102f557600080fd5b506102fe610a77565b60405161030b9190614231565b60405180910390f35b34801561032057600080fd5b5061033b60048036038101906103369190613b59565b610b09565b604051610348919061415d565b60405180910390f35b34801561035d57600080fd5b50610378600480360381019061037391906139fc565b610b8e565b005b34801561038657600080fd5b5061038f610ca6565b60405161039c919061466e565b60405180910390f35b3480156103b157600080fd5b506103cc60048036038101906103c79190613879565b610cb3565b005b3480156103da57600080fd5b506103f560048036038101906103f091906138e6565b610f1b565b005b34801561040357600080fd5b5061041e600480360381019061041991906139fc565b610f7b565b60405161042b919061466e565b60405180910390f35b34801561044057600080fd5b50610449611020565b6040516104569190614216565b60405180910390f35b34801561046b57600080fd5b50610474611033565b6040516104819190614653565b60405180910390f35b6104a4600480360381019061049f9190613b2c565b611047565b005b3480156104b257600080fd5b506104bb611280565b005b3480156104c957600080fd5b506104e460048036038101906104df9190613a3c565b611328565b005b3480156104f257600080fd5b506104fb6114b2565b604051610508919061466e565b60405180910390f35b34801561051d57600080fd5b506105266114bc565b604051610533919061466e565b60405180910390f35b34801561054857600080fd5b50610563600480360381019061055e9190613b59565b6114d8565b005b34801561057157600080fd5b5061058c600480360381019061058791906138e6565b61155e565b005b34801561059a57600080fd5b506105b560048036038101906105b09190613b59565b61157e565b6040516105c2919061466e565b60405180910390f35b3480156105d757600080fd5b506105f260048036038101906105ed9190613ae3565b6115ef565b005b34801561060057600080fd5b50610609611685565b604051610616919061466e565b60405180910390f35b34801561062b57600080fd5b5061064660048036038101906106419190613b59565b61168b565b604051610653919061415d565b60405180910390f35b34801561066857600080fd5b5061067161173d565b60405161067e9190614231565b60405180910390f35b34801561069357600080fd5b506106ae60048036038101906106a9919061384c565b61174c565b6040516106bb919061466e565b60405180910390f35b3480156106d057600080fd5b506106d9611804565b005b3480156106e757600080fd5b506106f061188c565b6040516106fd919061466e565b60405180910390f35b34801561071257600080fd5b5061072d60048036038101906107289190613b59565b611896565b60405161073a919061415d565b60405180910390f35b34801561074f57600080fd5b5061076a60048036038101906107659190613a3c565b6118de565b005b34801561077857600080fd5b506107816119f8565b60405161078e919061415d565b60405180910390f35b3480156107a357600080fd5b506107ac611a22565b6040516107b99190614231565b60405180910390f35b6107dc60048036038101906107d79190613b59565b611ab4565b005b3480156107ea57600080fd5b506108056004803603810190610800919061384c565b611c91565b604051610812919061466e565b60405180910390f35b34801561082757600080fd5b50610842600480360381019061083d91906139bc565b611cda565b005b34801561085057600080fd5b5061086b60048036038101906108669190613939565b611e5b565b005b34801561087957600080fd5b50610894600480360381019061088f919061384c565b611ebd565b6040516108a19190614216565b60405180910390f35b3480156108b657600080fd5b506108d160048036038101906108cc9190613b59565b611f13565b6040516108de9190614231565b60405180910390f35b3480156108f357600080fd5b5061090e6004803603810190610909919061384c565b611fba565b60405161091b919061466e565b60405180910390f35b34801561093057600080fd5b5061094b60048036038101906109469190613b86565b612003565b005b34801561095957600080fd5b506109626120a2565b60405161096f919061466e565b60405180910390f35b34801561098457600080fd5b5061099f600480360381019061099a9190613b59565b6120ac565b6040516109ac919061466e565b60405180910390f35b3480156109c157600080fd5b506109dc60048036038101906109d791906138a6565b6120ca565b6040516109e99190614216565b60405180910390f35b3480156109fe57600080fd5b50610a0761215e565b604051610a149190614216565b60405180910390f35b348015610a2957600080fd5b50610a32612171565b005b348015610a4057600080fd5b50610a5b6004803603810190610a56919061384c565b612219565b005b600033905090565b6000610a7082612311565b9050919050565b606060008054610a869061498c565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab29061498c565b8015610aff5780601f10610ad457610100808354040283529160200191610aff565b820191906000526020600020905b815481529060010190602001808311610ae257829003601f168201915b5050505050905090565b6000610b148261238b565b610b53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4a906144d3565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b998261168b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c01906145d3565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c29610a5d565b73ffffffffffffffffffffffffffffffffffffffff161480610c585750610c5781610c52610a5d565b6120ca565b5b610c97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8e90614433565b60405180910390fd5b610ca183836123f7565b505050565b6000600880549050905090565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610d35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2c90614333565b60405180910390fd5b6000600c5447610d45919061475e565b90506000600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600b54600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484610dd791906147e5565b610de191906147b4565b610deb919061483f565b90506000811415610e31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2890614413565b60405180910390fd5b80600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610e7c919061475e565b600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600c54610ecd919061475e565b600c81905550610edd83826124b0565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051610f0e929190614178565b60405180910390a1505050565b610f2c610f26610a5d565b826125a4565b610f6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6290614613565b60405180910390fd5b610f76838383612682565b505050565b6000610f868361174c565b8210610fc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbe90614293565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b601760019054906101000a900460ff1681565b601060009054906101000a900461ffff1681565b8061ffff16601060009054906101000a900461ffff1661ffff1661107b8261106d610ca6565b6128de90919063ffffffff16565b11156110bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b390614493565b60405180910390fd5b8161ffff16601260029054906101000a900461ffff1661ffff16811115611118576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110f90614313565b60405180910390fd5b8261ffff1634611127826120ac565b14611167576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115e90614393565b60405180910390fd5b601760019054906101000a900460ff166111b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ad906144f3565b60405180910390fd5b6111bf33611ebd565b6111fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f590614513565b60405180910390fd5b601260029054906101000a900461ffff1661ffff168461ffff166112213361174c565b61122b919061475e565b111561126c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611263906145f3565b60405180910390fd5b61127a8461ffff16336128f4565b50505050565b611288610a5d565b73ffffffffffffffffffffffffffffffffffffffff166112a66119f8565b73ffffffffffffffffffffffffffffffffffffffff16146112fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f390614533565b60405180910390fd5b601760009054906101000a900460ff1615601760006101000a81548160ff021916908315150217905550565b3373ffffffffffffffffffffffffffffffffffffffff166113476119f8565b73ffffffffffffffffffffffffffffffffffffffff1614806113b25750601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6113f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e8906145b3565b60405180910390fd5b60005b828290508110156114915760016015600085858581811061141857611417614b25565b5b905060200201602081019061142d919061384c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611489906149ef565b9150506113f4565b5081819050601160008282546114a7919061475e565b925050819055505050565b6000600b54905090565b6000601260009054906101000a900461ffff1661ffff16905090565b6114e0610a5d565b73ffffffffffffffffffffffffffffffffffffffff166114fe6119f8565b73ffffffffffffffffffffffffffffffffffffffff1614611554576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154b90614533565b60405180910390fd5b8060138190555050565b61157983838360405180602001604052806000815250611e5b565b505050565b6000611588610ca6565b82106115c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c090614633565b60405180910390fd5b600882815481106115dd576115dc614b25565b5b90600052602060002001549050919050565b6115f7610a5d565b73ffffffffffffffffffffffffffffffffffffffff166116156119f8565b73ffffffffffffffffffffffffffffffffffffffff161461166b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166290614533565b60405180910390fd5b80601490805190602001906116819291906135cb565b5050565b60115481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611734576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172b90614473565b60405180910390fd5b80915050919050565b6060611747612934565b905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b490614453565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61180c610a5d565b73ffffffffffffffffffffffffffffffffffffffff1661182a6119f8565b73ffffffffffffffffffffffffffffffffffffffff1614611880576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187790614533565b60405180910390fd5b61188a60006129c6565b565b6000601354905090565b6000600f82815481106118ac576118ab614b25565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b3373ffffffffffffffffffffffffffffffffffffffff166118fd6119f8565b73ffffffffffffffffffffffffffffffffffffffff1614611953576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194a906145b3565b60405180910390fd5b60005b828290508110156119f35760016016600085858581811061197a57611979614b25565b5b905060200201602081019061198f919061384c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806119eb906149ef565b915050611956565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611a319061498c565b80601f0160208091040260200160405190810160405280929190818152602001828054611a5d9061498c565b8015611aaa5780601f10611a7f57610100808354040283529160200191611aaa565b820191906000526020600020905b815481529060010190602001808311611a8d57829003601f168201915b5050505050905090565b80601060009054906101000a900461ffff1661ffff16611ae482611ad6610ca6565b6128de90919063ffffffff16565b1115611b25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1c90614493565b60405180910390fd5b81601260009054906101000a900461ffff1661ffff16811115611b7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7490614273565b60405180910390fd5b8234611b88826120ac565b14611bc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bbf90614393565b60405180910390fd5b601760009054906101000a900460ff16611c17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0e90614253565b60405180910390fd5b601260009054906101000a900461ffff1661ffff1684611c363361174c565b611c40919061475e565b1115611c81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7890614593565b60405180910390fd5b611c8b84336128f4565b50505050565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611ce2610a5d565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4790614373565b60405180910390fd5b8060056000611d5d610a5d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611e0a610a5d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e4f9190614216565b60405180910390a35050565b611e6c611e66610a5d565b836125a4565b611eab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea290614613565b60405180910390fd5b611eb784848484612a8c565b50505050565b6000601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6060611f1e8261238b565b611f5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5490614573565b60405180910390fd5b6000611f67612934565b90506000815111611f875760405180602001604052806000815250611fb2565b80611f9184612ae8565b604051602001611fa2929190614124565b6040516020818303038152906040525b915050919050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61200b610a5d565b73ffffffffffffffffffffffffffffffffffffffff166120296119f8565b73ffffffffffffffffffffffffffffffffffffffff161461207f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207690614533565b60405180910390fd5b8060ff16601260006101000a81548161ffff021916908361ffff16021790555050565b6000600c54905090565b60006120c382601354612c4990919063ffffffff16565b9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601760009054906101000a900460ff1681565b612179610a5d565b73ffffffffffffffffffffffffffffffffffffffff166121976119f8565b73ffffffffffffffffffffffffffffffffffffffff16146121ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e490614533565b60405180910390fd5b601760019054906101000a900460ff1615601760016101000a81548160ff021916908315150217905550565b612221610a5d565b73ffffffffffffffffffffffffffffffffffffffff1661223f6119f8565b73ffffffffffffffffffffffffffffffffffffffff1614612295576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228c90614533565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612305576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122fc906142d3565b60405180910390fd5b61230e816129c6565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612384575061238382612c5f565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661246a8361168b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b804710156124f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ea906143d3565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161251990614148565b60006040518083038185875af1925050503d8060008114612556576040519150601f19603f3d011682016040523d82523d6000602084013e61255b565b606091505b505090508061259f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612596906143b3565b60405180910390fd5b505050565b60006125af8261238b565b6125ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e5906143f3565b60405180910390fd5b60006125f98361168b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061266857508373ffffffffffffffffffffffffffffffffffffffff1661265084610b09565b73ffffffffffffffffffffffffffffffffffffffff16145b80612679575061267881856120ca565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166126a28261168b565b73ffffffffffffffffffffffffffffffffffffffff16146126f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ef90614553565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612768576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275f90614353565b60405180910390fd5b612773838383612d41565b61277e6000826123f7565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127ce919061483f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612825919061475e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081836128ec919061475e565b905092915050565b60005b8281101561292f5761291c82600161290d610ca6565b612917919061475e565b612d51565b8080612927906149ef565b9150506128f7565b505050565b6060601480546129439061498c565b80601f016020809104026020016040519081016040528092919081815260200182805461296f9061498c565b80156129bc5780601f10612991576101008083540402835291602001916129bc565b820191906000526020600020905b81548152906001019060200180831161299f57829003601f168201915b5050505050905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612a97848484612682565b612aa384848484612d6f565b612ae2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ad9906142b3565b60405180910390fd5b50505050565b60606000821415612b30576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612c44565b600082905060005b60008214612b62578080612b4b906149ef565b915050600a82612b5b91906147b4565b9150612b38565b60008167ffffffffffffffff811115612b7e57612b7d614b54565b5b6040519080825280601f01601f191660200182016040528015612bb05781602001600182028036833780820191505090505b5090505b60008514612c3d57600182612bc9919061483f565b9150600a85612bd89190614a38565b6030612be4919061475e565b60f81b818381518110612bfa57612bf9614b25565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612c3691906147b4565b9450612bb4565b8093505050505b919050565b60008183612c5791906147e5565b905092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612d2a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612d3a5750612d3982612f06565b5b9050919050565b612d4c838383612f70565b505050565b612d6b828260405180602001604052806000815250613084565b5050565b6000612d908473ffffffffffffffffffffffffffffffffffffffff166130df565b15612ef9578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612db9610a5d565b8786866040518563ffffffff1660e01b8152600401612ddb94939291906141a1565b602060405180830381600087803b158015612df557600080fd5b505af1925050508015612e2657506040513d601f19601f82011682018060405250810190612e239190613ab6565b60015b612ea9573d8060008114612e56576040519150601f19603f3d011682016040523d82523d6000602084013e612e5b565b606091505b50600081511415612ea1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e98906142b3565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612efe565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612f7b8383836130f2565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612fbe57612fb9816130f7565b612ffd565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612ffc57612ffb8382613140565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156130405761303b816132ad565b61307f565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461307e5761307d828261337e565b5b5b505050565b61308e83836133fd565b61309b6000848484612d6f565b6130da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130d1906142b3565b60405180910390fd5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161314d8461174c565b613157919061483f565b905060006007600084815260200190815260200160002054905081811461323c576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506132c1919061483f565b90506000600960008481526020019081526020016000205490506000600883815481106132f1576132f0614b25565b5b90600052602060002001549050806008838154811061331357613312614b25565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061336257613361614af6565b5b6001900381819060005260206000200160009055905550505050565b60006133898361174c565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561346d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613464906144b3565b60405180910390fd5b6134768161238b565b156134b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134ad906142f3565b60405180910390fd5b6134c260008383612d41565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613512919061475e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8280546135d79061498c565b90600052602060002090601f0160209004810192826135f95760008555613640565b82601f1061361257805160ff1916838001178555613640565b82800160010185558215613640579182015b8281111561363f578251825591602001919060010190613624565b5b50905061364d9190613651565b5090565b5b8082111561366a576000816000905550600101613652565b5090565b600061368161367c846146ae565b614689565b90508281526020810184848401111561369d5761369c614b92565b5b6136a884828561494a565b509392505050565b60006136c36136be846146df565b614689565b9050828152602081018484840111156136df576136de614b92565b5b6136ea84828561494a565b509392505050565b60008135905061370181615465565b92915050565b6000813590506137168161547c565b92915050565b60008083601f84011261373257613731614b88565b5b8235905067ffffffffffffffff81111561374f5761374e614b83565b5b60208301915083602082028301111561376b5761376a614b8d565b5b9250929050565b60008135905061378181615493565b92915050565b600081359050613796816154aa565b92915050565b6000815190506137ab816154aa565b92915050565b600082601f8301126137c6576137c5614b88565b5b81356137d684826020860161366e565b91505092915050565b600082601f8301126137f4576137f3614b88565b5b81356138048482602086016136b0565b91505092915050565b60008135905061381c816154c1565b92915050565b600081359050613831816154d8565b92915050565b600081359050613846816154ef565b92915050565b60006020828403121561386257613861614b9c565b5b6000613870848285016136f2565b91505092915050565b60006020828403121561388f5761388e614b9c565b5b600061389d84828501613707565b91505092915050565b600080604083850312156138bd576138bc614b9c565b5b60006138cb858286016136f2565b92505060206138dc858286016136f2565b9150509250929050565b6000806000606084860312156138ff576138fe614b9c565b5b600061390d868287016136f2565b935050602061391e868287016136f2565b925050604061392f86828701613822565b9150509250925092565b6000806000806080858703121561395357613952614b9c565b5b6000613961878288016136f2565b9450506020613972878288016136f2565b935050604061398387828801613822565b925050606085013567ffffffffffffffff8111156139a4576139a3614b97565b5b6139b0878288016137b1565b91505092959194509250565b600080604083850312156139d3576139d2614b9c565b5b60006139e1858286016136f2565b92505060206139f285828601613772565b9150509250929050565b60008060408385031215613a1357613a12614b9c565b5b6000613a21858286016136f2565b9250506020613a3285828601613822565b9150509250929050565b60008060208385031215613a5357613a52614b9c565b5b600083013567ffffffffffffffff811115613a7157613a70614b97565b5b613a7d8582860161371c565b92509250509250929050565b600060208284031215613a9f57613a9e614b9c565b5b6000613aad84828501613787565b91505092915050565b600060208284031215613acc57613acb614b9c565b5b6000613ada8482850161379c565b91505092915050565b600060208284031215613af957613af8614b9c565b5b600082013567ffffffffffffffff811115613b1757613b16614b97565b5b613b23848285016137df565b91505092915050565b600060208284031215613b4257613b41614b9c565b5b6000613b508482850161380d565b91505092915050565b600060208284031215613b6f57613b6e614b9c565b5b6000613b7d84828501613822565b91505092915050565b600060208284031215613b9c57613b9b614b9c565b5b6000613baa84828501613837565b91505092915050565b613bbc81614914565b82525050565b613bcb81614873565b82525050565b613bda81614897565b82525050565b6000613beb82614710565b613bf58185614726565b9350613c05818560208601614959565b613c0e81614ba1565b840191505092915050565b6000613c248261471b565b613c2e8185614742565b9350613c3e818560208601614959565b613c4781614ba1565b840191505092915050565b6000613c5d8261471b565b613c678185614753565b9350613c77818560208601614959565b80840191505092915050565b6000613c90601883614742565b9150613c9b82614bb2565b602082019050919050565b6000613cb3602783614742565b9150613cbe82614bdb565b604082019050919050565b6000613cd6602b83614742565b9150613ce182614c2a565b604082019050919050565b6000613cf9603283614742565b9150613d0482614c79565b604082019050919050565b6000613d1c602683614742565b9150613d2782614cc8565b604082019050919050565b6000613d3f601c83614742565b9150613d4a82614d17565b602082019050919050565b6000613d62603483614742565b9150613d6d82614d40565b604082019050919050565b6000613d85602683614742565b9150613d9082614d8f565b604082019050919050565b6000613da8602483614742565b9150613db382614dde565b604082019050919050565b6000613dcb601983614742565b9150613dd682614e2d565b602082019050919050565b6000613dee601f83614742565b9150613df982614e56565b602082019050919050565b6000613e11603a83614742565b9150613e1c82614e7f565b604082019050919050565b6000613e34601d83614742565b9150613e3f82614ece565b602082019050919050565b6000613e57602c83614742565b9150613e6282614ef7565b604082019050919050565b6000613e7a602b83614742565b9150613e8582614f46565b604082019050919050565b6000613e9d603883614742565b9150613ea882614f95565b604082019050919050565b6000613ec0602a83614742565b9150613ecb82614fe4565b604082019050919050565b6000613ee3602983614742565b9150613eee82615033565b604082019050919050565b6000613f06602083614742565b9150613f1182615082565b602082019050919050565b6000613f29602083614742565b9150613f34826150ab565b602082019050919050565b6000613f4c602c83614742565b9150613f57826150d4565b604082019050919050565b6000613f6f601b83614742565b9150613f7a82615123565b602082019050919050565b6000613f92602583614742565b9150613f9d8261514c565b604082019050919050565b6000613fb5602083614742565b9150613fc08261519b565b602082019050919050565b6000613fd8602983614742565b9150613fe3826151c4565b604082019050919050565b6000613ffb602f83614742565b915061400682615213565b604082019050919050565b600061401e604183614742565b915061402982615262565b606082019050919050565b6000614041601e83614742565b915061404c826152d7565b602082019050919050565b6000614064602183614742565b915061406f82615300565b604082019050919050565b6000614087604483614742565b91506140928261534f565b606082019050919050565b60006140aa600083614737565b91506140b5826153c4565b600082019050919050565b60006140cd603183614742565b91506140d8826153c7565b604082019050919050565b60006140f0602c83614742565b91506140fb82615416565b604082019050919050565b61410f816148cf565b82525050565b61411e816148fd565b82525050565b60006141308285613c52565b915061413c8284613c52565b91508190509392505050565b60006141538261409d565b9150819050919050565b60006020820190506141726000830184613bc2565b92915050565b600060408201905061418d6000830185613bb3565b61419a6020830184614115565b9392505050565b60006080820190506141b66000830187613bc2565b6141c36020830186613bc2565b6141d06040830185614115565b81810360608301526141e28184613be0565b905095945050505050565b60006040820190506142026000830185613bc2565b61420f6020830184614115565b9392505050565b600060208201905061422b6000830184613bd1565b92915050565b6000602082019050818103600083015261424b8184613c19565b905092915050565b6000602082019050818103600083015261426c81613c83565b9050919050565b6000602082019050818103600083015261428c81613ca6565b9050919050565b600060208201905081810360008301526142ac81613cc9565b9050919050565b600060208201905081810360008301526142cc81613cec565b9050919050565b600060208201905081810360008301526142ec81613d0f565b9050919050565b6000602082019050818103600083015261430c81613d32565b9050919050565b6000602082019050818103600083015261432c81613d55565b9050919050565b6000602082019050818103600083015261434c81613d78565b9050919050565b6000602082019050818103600083015261436c81613d9b565b9050919050565b6000602082019050818103600083015261438c81613dbe565b9050919050565b600060208201905081810360008301526143ac81613de1565b9050919050565b600060208201905081810360008301526143cc81613e04565b9050919050565b600060208201905081810360008301526143ec81613e27565b9050919050565b6000602082019050818103600083015261440c81613e4a565b9050919050565b6000602082019050818103600083015261442c81613e6d565b9050919050565b6000602082019050818103600083015261444c81613e90565b9050919050565b6000602082019050818103600083015261446c81613eb3565b9050919050565b6000602082019050818103600083015261448c81613ed6565b9050919050565b600060208201905081810360008301526144ac81613ef9565b9050919050565b600060208201905081810360008301526144cc81613f1c565b9050919050565b600060208201905081810360008301526144ec81613f3f565b9050919050565b6000602082019050818103600083015261450c81613f62565b9050919050565b6000602082019050818103600083015261452c81613f85565b9050919050565b6000602082019050818103600083015261454c81613fa8565b9050919050565b6000602082019050818103600083015261456c81613fcb565b9050919050565b6000602082019050818103600083015261458c81613fee565b9050919050565b600060208201905081810360008301526145ac81614011565b9050919050565b600060208201905081810360008301526145cc81614034565b9050919050565b600060208201905081810360008301526145ec81614057565b9050919050565b6000602082019050818103600083015261460c8161407a565b9050919050565b6000602082019050818103600083015261462c816140c0565b9050919050565b6000602082019050818103600083015261464c816140e3565b9050919050565b60006020820190506146686000830184614106565b92915050565b60006020820190506146836000830184614115565b92915050565b60006146936146a4565b905061469f82826149be565b919050565b6000604051905090565b600067ffffffffffffffff8211156146c9576146c8614b54565b5b6146d282614ba1565b9050602081019050919050565b600067ffffffffffffffff8211156146fa576146f9614b54565b5b61470382614ba1565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614769826148fd565b9150614774836148fd565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156147a9576147a8614a69565b5b828201905092915050565b60006147bf826148fd565b91506147ca836148fd565b9250826147da576147d9614a98565b5b828204905092915050565b60006147f0826148fd565b91506147fb836148fd565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561483457614833614a69565b5b828202905092915050565b600061484a826148fd565b9150614855836148fd565b92508282101561486857614867614a69565b5b828203905092915050565b600061487e826148dd565b9050919050565b6000614890826148dd565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b600061491f82614926565b9050919050565b600061493182614938565b9050919050565b6000614943826148dd565b9050919050565b82818337600083830152505050565b60005b8381101561497757808201518184015260208101905061495c565b83811115614986576000848401525b50505050565b600060028204905060018216806149a457607f821691505b602082108114156149b8576149b7614ac7565b5b50919050565b6149c782614ba1565b810181811067ffffffffffffffff821117156149e6576149e5614b54565b5b80604052505050565b60006149fa826148fd565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614a2d57614a2c614a69565b5b600182019050919050565b6000614a43826148fd565b9150614a4e836148fd565b925082614a5e57614a5d614a98565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f53616c6520686173206e6f742073746172746564207965740000000000000000600082015250565b7f43616e6e6f74206d696e74206d6f7265207468616e203120746f6b656e20617460008201527f20612074696d6500000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f43616e6e6f74206d696e74206d6f7265207468616e203220746f6b656e73206160008201527f7420612074696d6520666f722070726573616c65000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c79600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f50726573616c6520686173206e6f742073746172746564207965740000000000600082015250565b7f596f7520646f206e6f7420686176652061636365737320746f2074686520707260008201527f6573616c65000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f54686973206d696e7420776f756c642070757420796f752061626f766520746860008201527f652073616c65206c696d6974206f66206d696e747320706572206163636f756e60208201527f7400000000000000000000000000000000000000000000000000000000000000604082015250565b7f4e6f7420617574686f72697a656420666f72207468617420616374696f6e0000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f54686973206d696e7420776f756c642070757420796f752061626f766520746860008201527f652070726573616c65206c696d6974206f66206d696e7473207065722061636360208201527f6f756e7400000000000000000000000000000000000000000000000000000000604082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b61546e81614873565b811461547957600080fd5b50565b61548581614885565b811461549057600080fd5b50565b61549c81614897565b81146154a757600080fd5b50565b6154b3816148a3565b81146154be57600080fd5b50565b6154ca816148cf565b81146154d557600080fd5b50565b6154e1816148fd565b81146154ec57600080fd5b50565b6154f881614907565b811461550357600080fd5b5056fea26469706673582212205bc788a3e1fb04eb3732db2ea0023a6d2370be73cba07d73bc10ee4b049517dc64736f6c63430008070033

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

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000741bfdb9bea6fa505ff9dfe9e8947b29863373fa000000000000000000000000790070de1c38d81286046a681f26a1514d7196e2000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000001

-----Decoded View---------------
Arg [0] : payees (address[]): 0x741BFDB9bea6Fa505fF9dFe9E8947B29863373fA,0x790070dE1C38D81286046a681F26A1514d7196e2
Arg [1] : paymentShares (uint256[]): 3,1

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [3] : 000000000000000000000000741bfdb9bea6fa505ff9dfe9e8947b29863373fa
Arg [4] : 000000000000000000000000790070de1c38d81286046a681f26a1514d7196e2
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000001


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.