ETH Price: $3,198.12 (+5.42%)

Token

FramedGrowth (FRGR)
 

Overview

Max Total Supply

314 FRGR

Holders

116

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
Null: 0x000...000
Balance
0 FRGR
0x0000000000000000000000000000000000000000
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:
FRAMEDGROWTH

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : growth.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 FRAMEDGROWTH is
    ERC721,
    ERC721Enumerable,
    Ownable,
    PaymentSplitter
{
    using SafeMath for uint256;
    using SafeMath for uint16;

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



    constructor(
        address[] memory payees,
        uint256[] memory paymentShares
    ) ERC721("FramedGrowth", "FRGR") 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;
    }
    
    
    // Toggles for Sale and Presale states
    function flipSaleState() public onlyOwner {
        saleIsActive = !saleIsActive;
    }
    
    function flipPreSaleState() public onlyOwner {
        presaleIsActive = !presaleIsActive;
    }


    // getters and setters for minting limits
    function maxPurchaseCount() public view returns (uint256) {
        return _maxPurchaseCount;
    }

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


    function maxPreSalePurchaseCount() public view returns (uint256) {
        return _maxPreSalePurchaseCount;
    }

    function setMaxPreSalePurchaseCount(uint8 count) public onlyOwner {
        _maxPreSalePurchaseCount = count;
    }

    
    
    // getters and setters for mint price
    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);
    }

   
   
    // getters and setters for Presale access
    function canAccessPresale(address addr) public view returns (bool) {
        return _presaleAccess[addr];
    }

    function addPresaleAddresses(address[] calldata addresses) external onlyOwner{
        for (uint256 i = 0; i < addresses.length; i++) {
            _presaleAccess[addresses[i]] = true;
        }
        presaleAccessCount += addresses.length;
    }
    


    // MODIFIERS
    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"
        );
        _;
    }
    
    
    // Minting Functions
    function _mintTokens(uint256 numberOfTokens, address to) internal {
        for (uint256 i = 0; i < numberOfTokens; i++) {
            _safeMint(to, totalSupply() + 1);
        }
    }
    
    function OwnerMint(uint256 numberOfTokens)
        public
        mintCountMeetsSupply(numberOfTokens)
        onlyOwner
    {

        _mintTokens(numberOfTokens, msg.sender);
    }

    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 capSupply() public onlyOwner {
        MAX_SUPPLY = totalSupply();
    }



    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",
        "devdoc",
        "userdoc",
        "metadata",
        "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":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"OwnerMint","outputs":[],"stateMutability":"nonpayable","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":[],"name":"capSupply","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":"maxPreSalePurchaseCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"setMaxPreSalePurchaseCount","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"}]

608060405261013a60105560006011556002601260006101000a81548161ffff021916908361ffff1602179055506002601260026101000a81548161ffff021916908361ffff16021790555066b1a2bc2ec500006013556000601660006101000a81548160ff0219169083151502179055506000601660016101000a81548160ff0219169083151502179055503480156200009957600080fd5b5060405162006426380380620064268339818101604052810190620000bf9190620007cb565b81816040518060400160405280600c81526020017f4672616d656447726f77746800000000000000000000000000000000000000008152506040518060400160405280600481526020017f465247520000000000000000000000000000000000000000000000000000000081525081600090805190602001906200014592919062000591565b5080600190805190602001906200015e92919062000591565b50505062000181620001756200028960201b60201c565b6200029160201b60201c565b8051825114620001c8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001bf9062000984565b60405180910390fd5b60008251116200020f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200020690620009c8565b60405180910390fd5b60005b82518110156200027e576200026883828151811062000236576200023562000c57565b5b602002602001015183838151811062000254576200025362000c57565b5b60200260200101516200035760201b60201c565b8080620002759062000bab565b91505062000212565b505050505062000e4d565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620003ca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003c19062000962565b60405180910390fd5b6000811162000410576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200040790620009ea565b60405180910390fd5b6000600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541462000495576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200048c90620009a6565b60405180910390fd5b600f829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600b546200054c919062000aa4565b600b819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac82826040516200058592919062000935565b60405180910390a15050565b8280546200059f9062000b3f565b90600052602060002090601f016020900481019282620005c357600085556200060f565b82601f10620005de57805160ff19168380011785556200060f565b828001600101855582156200060f579182015b828111156200060e578251825591602001919060010190620005f1565b5b5090506200061e919062000622565b5090565b5b808211156200063d57600081600090555060010162000623565b5090565b600062000658620006528462000a35565b62000a0c565b905080838252602082019050828560208602820111156200067e576200067d62000cba565b5b60005b85811015620006b2578162000697888262000737565b84526020840193506020830192505060018101905062000681565b5050509392505050565b6000620006d3620006cd8462000a64565b62000a0c565b90508083825260208201905082856020860282011115620006f957620006f862000cba565b5b60005b858110156200072d5781620007128882620007b4565b845260208401935060208301925050600181019050620006fc565b5050509392505050565b600081519050620007488162000e19565b92915050565b600082601f83011262000766576200076562000cb5565b5b81516200077884826020860162000641565b91505092915050565b600082601f83011262000799576200079862000cb5565b5b8151620007ab848260208601620006bc565b91505092915050565b600081519050620007c58162000e33565b92915050565b60008060408385031215620007e557620007e462000cc4565b5b600083015167ffffffffffffffff81111562000806576200080562000cbf565b5b62000814858286016200074e565b925050602083015167ffffffffffffffff81111562000838576200083762000cbf565b5b620008468582860162000781565b9150509250929050565b6200085b8162000b01565b82525050565b600062000870602c8362000a93565b91506200087d8262000cda565b604082019050919050565b60006200089760328362000a93565b9150620008a48262000d29565b604082019050919050565b6000620008be602b8362000a93565b9150620008cb8262000d78565b604082019050919050565b6000620008e5601a8362000a93565b9150620008f28262000dc7565b602082019050919050565b60006200090c601d8362000a93565b9150620009198262000df0565b602082019050919050565b6200092f8162000b35565b82525050565b60006040820190506200094c600083018562000850565b6200095b602083018462000924565b9392505050565b600060208201905081810360008301526200097d8162000861565b9050919050565b600060208201905081810360008301526200099f8162000888565b9050919050565b60006020820190508181036000830152620009c181620008af565b9050919050565b60006020820190508181036000830152620009e381620008d6565b9050919050565b6000602082019050818103600083015262000a0581620008fd565b9050919050565b600062000a1862000a2b565b905062000a26828262000b75565b919050565b6000604051905090565b600067ffffffffffffffff82111562000a535762000a5262000c86565b5b602082029050602081019050919050565b600067ffffffffffffffff82111562000a825762000a8162000c86565b5b602082029050602081019050919050565b600082825260208201905092915050565b600062000ab18262000b35565b915062000abe8362000b35565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000af65762000af562000bf9565b5b828201905092915050565b600062000b0e8262000b15565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000600282049050600182168062000b5857607f821691505b6020821081141562000b6f5762000b6e62000c28565b5b50919050565b62000b808262000cc9565b810181811067ffffffffffffffff8211171562000ba25762000ba162000c86565b5b80604052505050565b600062000bb88262000b35565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562000bee5762000bed62000bf9565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f5061796d656e7453706c69747465723a206163636f756e74206973207468652060008201527f7a65726f20616464726573730000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a2070617965657320616e64207368617260008201527f6573206c656e677468206d69736d617463680000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960008201527f2068617320736861726573000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206e6f20706179656573000000000000600082015250565b7f5061796d656e7453706c69747465723a20736861726573206172652030000000600082015250565b62000e248162000b01565b811462000e3057600080fd5b50565b62000e3e8162000b35565b811462000e4a57600080fd5b50565b6155c98062000e5d6000396000f3fe6080604052600436106102815760003560e01c80636352211e1161014f578063b88d4fde116100c1578063e6a72acf1161007a578063e6a72acf146109d9578063e6ede82c14610a16578063e985e9c514610a41578063eb8d244414610a7e578063f032554914610aa9578063f2fde38b14610ac0576102c8565b8063b88d4fde146108a5578063bc6cd505146108ce578063c87b56dd1461090b578063ce7c2ac214610948578063dfe8ae6714610985578063e33b7de3146109ae576102c8565b80638b83209b116101135780638b83209b146107905780638da5cb5b146107cd57806395d89b41146107f857806397304ced146108235780639852595c1461083f578063a22cb4651461087c576102c8565b80636352211e146106a95780636c0360eb146106e657806370a0823114610711578063715018a61461074e5780638559dff314610765576102c8565b806330f72cd4116101f35780633cf924a0116101ac5780633cf924a01461059b578063420401e9146105c657806342842e0e146105ef5780634f6ccce71461061857806355f804b3146106555780635dde46841461067e576102c8565b806330f72cd4146104be57806332cb6b0c146104e95780633488c0da1461051457806334918dfd146105305780633819fc0f146105475780633a98ef3914610570576102c8565b806318160ddd1161024557806318160ddd146103c457806319165587146103ef57806323b872dd1461041857806324262857146104415780632588fa54146104585780632f745c5914610481576102c8565b806301ffc9a7146102cd57806306fdde031461030a578063081812fc14610335578063095ea7b3146103725780631618c8df1461039b576102c8565b366102c8577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7706102af610ae9565b346040516102be9291906142de565b60405180910390a1005b600080fd5b3480156102d957600080fd5b506102f460048036038101906102ef9190613bac565b610af1565b6040516103019190614307565b60405180910390f35b34801561031657600080fd5b5061031f610b03565b60405161032c9190614322565b60405180910390f35b34801561034157600080fd5b5061035c60048036038101906103579190613c7c565b610b95565b604051610369919061424e565b60405180910390f35b34801561037e57600080fd5b5061039960048036038101906103949190613b1f565b610c1a565b005b3480156103a757600080fd5b506103c260048036038101906103bd9190613c7c565b610d32565b005b3480156103d057600080fd5b506103d9610e1b565b6040516103e69190614724565b60405180910390f35b3480156103fb57600080fd5b506104166004803603810190610411919061399c565b610e28565b005b34801561042457600080fd5b5061043f600480360381019061043a9190613a09565b611090565b005b34801561044d57600080fd5b506104566110f0565b005b34801561046457600080fd5b5061047f600480360381019061047a9190613ca9565b61117c565b005b34801561048d57600080fd5b506104a860048036038101906104a39190613b1f565b61121b565b6040516104b59190614724565b60405180910390f35b3480156104ca57600080fd5b506104d36112c0565b6040516104e09190614307565b60405180910390f35b3480156104f557600080fd5b506104fe6112d3565b60405161050b9190614724565b60405180910390f35b61052e60048036038101906105299190613c4f565b6112d9565b005b34801561053c57600080fd5b50610545611500565b005b34801561055357600080fd5b5061056e60048036038101906105699190613b5f565b6115a8565b005b34801561057c57600080fd5b506105856116e5565b6040516105929190614724565b60405180910390f35b3480156105a757600080fd5b506105b06116ef565b6040516105bd9190614724565b60405180910390f35b3480156105d257600080fd5b506105ed60048036038101906105e89190613c7c565b61170b565b005b3480156105fb57600080fd5b5061061660048036038101906106119190613a09565b611791565b005b34801561062457600080fd5b5061063f600480360381019061063a9190613c7c565b6117b1565b60405161064c9190614724565b60405180910390f35b34801561066157600080fd5b5061067c60048036038101906106779190613c06565b611822565b005b34801561068a57600080fd5b506106936118b8565b6040516106a09190614724565b60405180910390f35b3480156106b557600080fd5b506106d060048036038101906106cb9190613c7c565b6118be565b6040516106dd919061424e565b60405180910390f35b3480156106f257600080fd5b506106fb611970565b6040516107089190614322565b60405180910390f35b34801561071d57600080fd5b506107386004803603810190610733919061396f565b61197f565b6040516107459190614724565b60405180910390f35b34801561075a57600080fd5b50610763611a37565b005b34801561077157600080fd5b5061077a611abf565b6040516107879190614724565b60405180910390f35b34801561079c57600080fd5b506107b760048036038101906107b29190613c7c565b611ac9565b6040516107c4919061424e565b60405180910390f35b3480156107d957600080fd5b506107e2611b11565b6040516107ef919061424e565b60405180910390f35b34801561080457600080fd5b5061080d611b3b565b60405161081a9190614322565b60405180910390f35b61083d60048036038101906108389190613c7c565b611bcd565b005b34801561084b57600080fd5b506108666004803603810190610861919061396f565b611d98565b6040516108739190614724565b60405180910390f35b34801561088857600080fd5b506108a3600480360381019061089e9190613adf565b611de1565b005b3480156108b157600080fd5b506108cc60048036038101906108c79190613a5c565b611f62565b005b3480156108da57600080fd5b506108f560048036038101906108f0919061396f565b611fc4565b6040516109029190614307565b60405180910390f35b34801561091757600080fd5b50610932600480360381019061092d9190613c7c565b61201a565b60405161093f9190614322565b60405180910390f35b34801561095457600080fd5b5061096f600480360381019061096a919061396f565b6120c1565b60405161097c9190614724565b60405180910390f35b34801561099157600080fd5b506109ac60048036038101906109a79190613ca9565b61210a565b005b3480156109ba57600080fd5b506109c36121a9565b6040516109d09190614724565b60405180910390f35b3480156109e557600080fd5b50610a0060048036038101906109fb9190613c7c565b6121b3565b604051610a0d9190614724565b60405180910390f35b348015610a2257600080fd5b50610a2b6121d1565b604051610a389190614724565b60405180910390f35b348015610a4d57600080fd5b50610a686004803603810190610a6391906139c9565b6121ed565b604051610a759190614307565b60405180910390f35b348015610a8a57600080fd5b50610a93612281565b604051610aa09190614307565b60405180910390f35b348015610ab557600080fd5b50610abe612294565b005b348015610acc57600080fd5b50610ae76004803603810190610ae2919061396f565b61233c565b005b600033905090565b6000610afc82612434565b9050919050565b606060008054610b1290614a42565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3e90614a42565b8015610b8b5780601f10610b6057610100808354040283529160200191610b8b565b820191906000526020600020905b815481529060010190602001808311610b6e57829003601f168201915b5050505050905090565b6000610ba0826124ae565b610bdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd6906145c4565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c25826118be565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8d906146a4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cb5610ae9565b73ffffffffffffffffffffffffffffffffffffffff161480610ce45750610ce381610cde610ae9565b6121ed565b5b610d23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1a90614524565b60405180910390fd5b610d2d838361251a565b505050565b80601054610d5082610d42610e1b565b6125d390919063ffffffff16565b1115610d91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8890614584565b60405180910390fd5b610d99610ae9565b73ffffffffffffffffffffffffffffffffffffffff16610db7611b11565b73ffffffffffffffffffffffffffffffffffffffff1614610e0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0490614624565b60405180910390fd5b610e1782336125e9565b5050565b6000600880549050905090565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610eaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea190614424565b60405180910390fd5b6000600c5447610eba9190614814565b90506000600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600b54600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484610f4c919061489b565b610f56919061486a565b610f6091906148f5565b90506000811415610fa6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9d90614504565b60405180910390fd5b80600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610ff19190614814565b600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600c546110429190614814565b600c819055506110528382612629565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051611083929190614269565b60405180910390a1505050565b6110a161109b610ae9565b8261271d565b6110e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d7906146e4565b60405180910390fd5b6110eb8383836127fb565b505050565b6110f8610ae9565b73ffffffffffffffffffffffffffffffffffffffff16611116611b11565b73ffffffffffffffffffffffffffffffffffffffff161461116c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116390614624565b60405180910390fd5b611174610e1b565b601081905550565b611184610ae9565b73ffffffffffffffffffffffffffffffffffffffff166111a2611b11565b73ffffffffffffffffffffffffffffffffffffffff16146111f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ef90614624565b60405180910390fd5b8060ff16601260026101000a81548161ffff021916908361ffff16021790555050565b60006112268361197f565b8210611267576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125e90614384565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b601660019054906101000a900460ff1681565b60105481565b8061ffff166010546112fb826112ed610e1b565b6125d390919063ffffffff16565b111561133c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133390614584565b60405180910390fd5b8161ffff16601260029054906101000a900461ffff1661ffff16811115611398576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138f90614404565b60405180910390fd5b8261ffff16346113a7826121b3565b146113e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113de90614484565b60405180910390fd5b601660019054906101000a900460ff16611436576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142d906145e4565b60405180910390fd5b61143f33611fc4565b61147e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147590614604565b60405180910390fd5b601260029054906101000a900461ffff1661ffff168461ffff166114a13361197f565b6114ab9190614814565b11156114ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e3906146c4565b60405180910390fd5b6114fa8461ffff16336125e9565b50505050565b611508610ae9565b73ffffffffffffffffffffffffffffffffffffffff16611526611b11565b73ffffffffffffffffffffffffffffffffffffffff161461157c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157390614624565b60405180910390fd5b601660009054906101000a900460ff1615601660006101000a81548160ff021916908315150217905550565b6115b0610ae9565b73ffffffffffffffffffffffffffffffffffffffff166115ce611b11565b73ffffffffffffffffffffffffffffffffffffffff1614611624576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161b90614624565b60405180910390fd5b60005b828290508110156116c45760016015600085858581811061164b5761164a614bdb565b5b9050602002016020810190611660919061396f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806116bc90614aa5565b915050611627565b5081819050601160008282546116da9190614814565b925050819055505050565b6000600b54905090565b6000601260009054906101000a900461ffff1661ffff16905090565b611713610ae9565b73ffffffffffffffffffffffffffffffffffffffff16611731611b11565b73ffffffffffffffffffffffffffffffffffffffff1614611787576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177e90614624565b60405180910390fd5b8060138190555050565b6117ac83838360405180602001604052806000815250611f62565b505050565b60006117bb610e1b565b82106117fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f390614704565b60405180910390fd5b600882815481106118105761180f614bdb565b5b90600052602060002001549050919050565b61182a610ae9565b73ffffffffffffffffffffffffffffffffffffffff16611848611b11565b73ffffffffffffffffffffffffffffffffffffffff161461189e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189590614624565b60405180910390fd5b80601490805190602001906118b49291906136ee565b5050565b60115481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611967576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195e90614564565b60405180910390fd5b80915050919050565b606061197a612a57565b905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e790614544565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611a3f610ae9565b73ffffffffffffffffffffffffffffffffffffffff16611a5d611b11565b73ffffffffffffffffffffffffffffffffffffffff1614611ab3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aaa90614624565b60405180910390fd5b611abd6000612ae9565b565b6000601354905090565b6000600f8281548110611adf57611ade614bdb565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611b4a90614a42565b80601f0160208091040260200160405190810160405280929190818152602001828054611b7690614a42565b8015611bc35780601f10611b9857610100808354040283529160200191611bc3565b820191906000526020600020905b815481529060010190602001808311611ba657829003601f168201915b5050505050905090565b80601054611beb82611bdd610e1b565b6125d390919063ffffffff16565b1115611c2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2390614584565b60405180910390fd5b81601260009054906101000a900461ffff1661ffff16811115611c84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7b90614364565b60405180910390fd5b8234611c8f826121b3565b14611ccf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc690614484565b60405180910390fd5b601660009054906101000a900460ff16611d1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1590614344565b60405180910390fd5b601260009054906101000a900461ffff1661ffff1684611d3d3361197f565b611d479190614814565b1115611d88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7f90614684565b60405180910390fd5b611d9284336125e9565b50505050565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611de9610ae9565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4e90614464565b60405180910390fd5b8060056000611e64610ae9565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611f11610ae9565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f569190614307565b60405180910390a35050565b611f73611f6d610ae9565b8361271d565b611fb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa9906146e4565b60405180910390fd5b611fbe84848484612baf565b50505050565b6000601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6060612025826124ae565b612064576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205b90614664565b60405180910390fd5b600061206e612a57565b9050600081511161208e57604051806020016040528060008152506120b9565b8061209884612c0b565b6040516020016120a9929190614215565b6040516020818303038152906040525b915050919050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b612112610ae9565b73ffffffffffffffffffffffffffffffffffffffff16612130611b11565b73ffffffffffffffffffffffffffffffffffffffff1614612186576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217d90614624565b60405180910390fd5b8060ff16601260006101000a81548161ffff021916908361ffff16021790555050565b6000600c54905090565b60006121ca82601354612d6c90919063ffffffff16565b9050919050565b6000601260029054906101000a900461ffff1661ffff16905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601660009054906101000a900460ff1681565b61229c610ae9565b73ffffffffffffffffffffffffffffffffffffffff166122ba611b11565b73ffffffffffffffffffffffffffffffffffffffff1614612310576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230790614624565b60405180910390fd5b601660019054906101000a900460ff1615601660016101000a81548160ff021916908315150217905550565b612344610ae9565b73ffffffffffffffffffffffffffffffffffffffff16612362611b11565b73ffffffffffffffffffffffffffffffffffffffff16146123b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123af90614624565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612428576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241f906143c4565b60405180910390fd5b61243181612ae9565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806124a757506124a682612d82565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661258d836118be565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081836125e19190614814565b905092915050565b60005b8281101561262457612611826001612602610e1b565b61260c9190614814565b612e64565b808061261c90614aa5565b9150506125ec565b505050565b8047101561266c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612663906144c4565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161269290614239565b60006040518083038185875af1925050503d80600081146126cf576040519150601f19603f3d011682016040523d82523d6000602084013e6126d4565b606091505b5050905080612718576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270f906144a4565b60405180910390fd5b505050565b6000612728826124ae565b612767576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275e906144e4565b60405180910390fd5b6000612772836118be565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806127e157508373ffffffffffffffffffffffffffffffffffffffff166127c984610b95565b73ffffffffffffffffffffffffffffffffffffffff16145b806127f257506127f181856121ed565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661281b826118be565b73ffffffffffffffffffffffffffffffffffffffff1614612871576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286890614644565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128d890614444565b60405180910390fd5b6128ec838383612e82565b6128f760008261251a565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461294791906148f5565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461299e9190614814565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b606060148054612a6690614a42565b80601f0160208091040260200160405190810160405280929190818152602001828054612a9290614a42565b8015612adf5780601f10612ab457610100808354040283529160200191612adf565b820191906000526020600020905b815481529060010190602001808311612ac257829003601f168201915b5050505050905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612bba8484846127fb565b612bc684848484612e92565b612c05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bfc906143a4565b60405180910390fd5b50505050565b60606000821415612c53576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d67565b600082905060005b60008214612c85578080612c6e90614aa5565b915050600a82612c7e919061486a565b9150612c5b565b60008167ffffffffffffffff811115612ca157612ca0614c0a565b5b6040519080825280601f01601f191660200182016040528015612cd35781602001600182028036833780820191505090505b5090505b60008514612d6057600182612cec91906148f5565b9150600a85612cfb9190614aee565b6030612d079190614814565b60f81b818381518110612d1d57612d1c614bdb565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612d59919061486a565b9450612cd7565b8093505050505b919050565b60008183612d7a919061489b565b905092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612e4d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612e5d5750612e5c82613029565b5b9050919050565b612e7e828260405180602001604052806000815250613093565b5050565b612e8d8383836130ee565b505050565b6000612eb38473ffffffffffffffffffffffffffffffffffffffff16613202565b1561301c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612edc610ae9565b8786866040518563ffffffff1660e01b8152600401612efe9493929190614292565b602060405180830381600087803b158015612f1857600080fd5b505af1925050508015612f4957506040513d601f19601f82011682018060405250810190612f469190613bd9565b60015b612fcc573d8060008114612f79576040519150601f19603f3d011682016040523d82523d6000602084013e612f7e565b606091505b50600081511415612fc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fbb906143a4565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613021565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61309d8383613215565b6130aa6000848484612e92565b6130e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130e0906143a4565b60405180910390fd5b505050565b6130f98383836133e3565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561313c57613137816133e8565b61317b565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461317a576131798382613431565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131be576131b98161359e565b6131fd565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146131fc576131fb828261366f565b5b5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613285576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161327c906145a4565b60405180910390fd5b61328e816124ae565b156132ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132c5906143e4565b60405180910390fd5b6132da60008383612e82565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461332a9190614814565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161343e8461197f565b61344891906148f5565b905060006007600084815260200190815260200160002054905081811461352d576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506135b291906148f5565b90506000600960008481526020019081526020016000205490506000600883815481106135e2576135e1614bdb565b5b90600052602060002001549050806008838154811061360457613603614bdb565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061365357613652614bac565b5b6001900381819060005260206000200160009055905550505050565b600061367a8361197f565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b8280546136fa90614a42565b90600052602060002090601f01602090048101928261371c5760008555613763565b82601f1061373557805160ff1916838001178555613763565b82800160010185558215613763579182015b82811115613762578251825591602001919060010190613747565b5b5090506137709190613774565b5090565b5b8082111561378d576000816000905550600101613775565b5090565b60006137a461379f84614764565b61473f565b9050828152602081018484840111156137c0576137bf614c48565b5b6137cb848285614a00565b509392505050565b60006137e66137e184614795565b61473f565b90508281526020810184848401111561380257613801614c48565b5b61380d848285614a00565b509392505050565b600081359050613824816154f2565b92915050565b60008135905061383981615509565b92915050565b60008083601f84011261385557613854614c3e565b5b8235905067ffffffffffffffff81111561387257613871614c39565b5b60208301915083602082028301111561388e5761388d614c43565b5b9250929050565b6000813590506138a481615520565b92915050565b6000813590506138b981615537565b92915050565b6000815190506138ce81615537565b92915050565b600082601f8301126138e9576138e8614c3e565b5b81356138f9848260208601613791565b91505092915050565b600082601f83011261391757613916614c3e565b5b81356139278482602086016137d3565b91505092915050565b60008135905061393f8161554e565b92915050565b60008135905061395481615565565b92915050565b6000813590506139698161557c565b92915050565b60006020828403121561398557613984614c52565b5b600061399384828501613815565b91505092915050565b6000602082840312156139b2576139b1614c52565b5b60006139c08482850161382a565b91505092915050565b600080604083850312156139e0576139df614c52565b5b60006139ee85828601613815565b92505060206139ff85828601613815565b9150509250929050565b600080600060608486031215613a2257613a21614c52565b5b6000613a3086828701613815565b9350506020613a4186828701613815565b9250506040613a5286828701613945565b9150509250925092565b60008060008060808587031215613a7657613a75614c52565b5b6000613a8487828801613815565b9450506020613a9587828801613815565b9350506040613aa687828801613945565b925050606085013567ffffffffffffffff811115613ac757613ac6614c4d565b5b613ad3878288016138d4565b91505092959194509250565b60008060408385031215613af657613af5614c52565b5b6000613b0485828601613815565b9250506020613b1585828601613895565b9150509250929050565b60008060408385031215613b3657613b35614c52565b5b6000613b4485828601613815565b9250506020613b5585828601613945565b9150509250929050565b60008060208385031215613b7657613b75614c52565b5b600083013567ffffffffffffffff811115613b9457613b93614c4d565b5b613ba08582860161383f565b92509250509250929050565b600060208284031215613bc257613bc1614c52565b5b6000613bd0848285016138aa565b91505092915050565b600060208284031215613bef57613bee614c52565b5b6000613bfd848285016138bf565b91505092915050565b600060208284031215613c1c57613c1b614c52565b5b600082013567ffffffffffffffff811115613c3a57613c39614c4d565b5b613c4684828501613902565b91505092915050565b600060208284031215613c6557613c64614c52565b5b6000613c7384828501613930565b91505092915050565b600060208284031215613c9257613c91614c52565b5b6000613ca084828501613945565b91505092915050565b600060208284031215613cbf57613cbe614c52565b5b6000613ccd8482850161395a565b91505092915050565b613cdf816149ca565b82525050565b613cee81614929565b82525050565b613cfd8161494d565b82525050565b6000613d0e826147c6565b613d1881856147dc565b9350613d28818560208601614a0f565b613d3181614c57565b840191505092915050565b6000613d47826147d1565b613d5181856147f8565b9350613d61818560208601614a0f565b613d6a81614c57565b840191505092915050565b6000613d80826147d1565b613d8a8185614809565b9350613d9a818560208601614a0f565b80840191505092915050565b6000613db36018836147f8565b9150613dbe82614c68565b602082019050919050565b6000613dd66027836147f8565b9150613de182614c91565b604082019050919050565b6000613df9602b836147f8565b9150613e0482614ce0565b604082019050919050565b6000613e1c6032836147f8565b9150613e2782614d2f565b604082019050919050565b6000613e3f6026836147f8565b9150613e4a82614d7e565b604082019050919050565b6000613e62601c836147f8565b9150613e6d82614dcd565b602082019050919050565b6000613e856034836147f8565b9150613e9082614df6565b604082019050919050565b6000613ea86026836147f8565b9150613eb382614e45565b604082019050919050565b6000613ecb6024836147f8565b9150613ed682614e94565b604082019050919050565b6000613eee6019836147f8565b9150613ef982614ee3565b602082019050919050565b6000613f11601f836147f8565b9150613f1c82614f0c565b602082019050919050565b6000613f34603a836147f8565b9150613f3f82614f35565b604082019050919050565b6000613f57601d836147f8565b9150613f6282614f84565b602082019050919050565b6000613f7a602c836147f8565b9150613f8582614fad565b604082019050919050565b6000613f9d602b836147f8565b9150613fa882614ffc565b604082019050919050565b6000613fc06038836147f8565b9150613fcb8261504b565b604082019050919050565b6000613fe3602a836147f8565b9150613fee8261509a565b604082019050919050565b60006140066029836147f8565b9150614011826150e9565b604082019050919050565b60006140296020836147f8565b915061403482615138565b602082019050919050565b600061404c6020836147f8565b915061405782615161565b602082019050919050565b600061406f602c836147f8565b915061407a8261518a565b604082019050919050565b6000614092601b836147f8565b915061409d826151d9565b602082019050919050565b60006140b56025836147f8565b91506140c082615202565b604082019050919050565b60006140d86020836147f8565b91506140e382615251565b602082019050919050565b60006140fb6029836147f8565b91506141068261527a565b604082019050919050565b600061411e602f836147f8565b9150614129826152c9565b604082019050919050565b60006141416041836147f8565b915061414c82615318565b606082019050919050565b60006141646021836147f8565b915061416f8261538d565b604082019050919050565b60006141876044836147f8565b9150614192826153dc565b606082019050919050565b60006141aa6000836147ed565b91506141b582615451565b600082019050919050565b60006141cd6031836147f8565b91506141d882615454565b604082019050919050565b60006141f0602c836147f8565b91506141fb826154a3565b604082019050919050565b61420f816149b3565b82525050565b60006142218285613d75565b915061422d8284613d75565b91508190509392505050565b60006142448261419d565b9150819050919050565b60006020820190506142636000830184613ce5565b92915050565b600060408201905061427e6000830185613cd6565b61428b6020830184614206565b9392505050565b60006080820190506142a76000830187613ce5565b6142b46020830186613ce5565b6142c16040830185614206565b81810360608301526142d38184613d03565b905095945050505050565b60006040820190506142f36000830185613ce5565b6143006020830184614206565b9392505050565b600060208201905061431c6000830184613cf4565b92915050565b6000602082019050818103600083015261433c8184613d3c565b905092915050565b6000602082019050818103600083015261435d81613da6565b9050919050565b6000602082019050818103600083015261437d81613dc9565b9050919050565b6000602082019050818103600083015261439d81613dec565b9050919050565b600060208201905081810360008301526143bd81613e0f565b9050919050565b600060208201905081810360008301526143dd81613e32565b9050919050565b600060208201905081810360008301526143fd81613e55565b9050919050565b6000602082019050818103600083015261441d81613e78565b9050919050565b6000602082019050818103600083015261443d81613e9b565b9050919050565b6000602082019050818103600083015261445d81613ebe565b9050919050565b6000602082019050818103600083015261447d81613ee1565b9050919050565b6000602082019050818103600083015261449d81613f04565b9050919050565b600060208201905081810360008301526144bd81613f27565b9050919050565b600060208201905081810360008301526144dd81613f4a565b9050919050565b600060208201905081810360008301526144fd81613f6d565b9050919050565b6000602082019050818103600083015261451d81613f90565b9050919050565b6000602082019050818103600083015261453d81613fb3565b9050919050565b6000602082019050818103600083015261455d81613fd6565b9050919050565b6000602082019050818103600083015261457d81613ff9565b9050919050565b6000602082019050818103600083015261459d8161401c565b9050919050565b600060208201905081810360008301526145bd8161403f565b9050919050565b600060208201905081810360008301526145dd81614062565b9050919050565b600060208201905081810360008301526145fd81614085565b9050919050565b6000602082019050818103600083015261461d816140a8565b9050919050565b6000602082019050818103600083015261463d816140cb565b9050919050565b6000602082019050818103600083015261465d816140ee565b9050919050565b6000602082019050818103600083015261467d81614111565b9050919050565b6000602082019050818103600083015261469d81614134565b9050919050565b600060208201905081810360008301526146bd81614157565b9050919050565b600060208201905081810360008301526146dd8161417a565b9050919050565b600060208201905081810360008301526146fd816141c0565b9050919050565b6000602082019050818103600083015261471d816141e3565b9050919050565b60006020820190506147396000830184614206565b92915050565b600061474961475a565b90506147558282614a74565b919050565b6000604051905090565b600067ffffffffffffffff82111561477f5761477e614c0a565b5b61478882614c57565b9050602081019050919050565b600067ffffffffffffffff8211156147b0576147af614c0a565b5b6147b982614c57565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061481f826149b3565b915061482a836149b3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561485f5761485e614b1f565b5b828201905092915050565b6000614875826149b3565b9150614880836149b3565b9250826148905761488f614b4e565b5b828204905092915050565b60006148a6826149b3565b91506148b1836149b3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156148ea576148e9614b1f565b5b828202905092915050565b6000614900826149b3565b915061490b836149b3565b92508282101561491e5761491d614b1f565b5b828203905092915050565b600061493482614993565b9050919050565b600061494682614993565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006149d5826149dc565b9050919050565b60006149e7826149ee565b9050919050565b60006149f982614993565b9050919050565b82818337600083830152505050565b60005b83811015614a2d578082015181840152602081019050614a12565b83811115614a3c576000848401525b50505050565b60006002820490506001821680614a5a57607f821691505b60208210811415614a6e57614a6d614b7d565b5b50919050565b614a7d82614c57565b810181811067ffffffffffffffff82111715614a9c57614a9b614c0a565b5b80604052505050565b6000614ab0826149b3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614ae357614ae2614b1f565b5b600182019050919050565b6000614af9826149b3565b9150614b04836149b3565b925082614b1457614b13614b4e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f53616c6520686173206e6f742073746172746564207965740000000000000000600082015250565b7f43616e6e6f74206d696e74206d6f7265207468616e203120746f6b656e20617460008201527f20612074696d6500000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f43616e6e6f74206d696e74206d6f7265207468616e203220746f6b656e73206160008201527f7420612074696d6520666f722070726573616c65000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c79600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f50726573616c6520686173206e6f742073746172746564207965740000000000600082015250565b7f596f7520646f206e6f7420686176652061636365737320746f2074686520707260008201527f6573616c65000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f54686973206d696e7420776f756c642070757420796f752061626f766520746860008201527f652073616c65206c696d6974206f66206d696e747320706572206163636f756e60208201527f7400000000000000000000000000000000000000000000000000000000000000604082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f54686973206d696e7420776f756c642070757420796f752061626f766520746860008201527f652070726573616c65206c696d6974206f66206d696e7473207065722061636360208201527f6f756e7400000000000000000000000000000000000000000000000000000000604082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6154fb81614929565b811461550657600080fd5b50565b6155128161493b565b811461551d57600080fd5b50565b6155298161494d565b811461553457600080fd5b50565b61554081614959565b811461554b57600080fd5b50565b61555781614985565b811461556257600080fd5b50565b61556e816149b3565b811461557957600080fd5b50565b615585816149bd565b811461559057600080fd5b5056fea264697066735822122027bed90796227cec94136b9f1d57cadb713161e93285fd29e54fe55fd3746af764736f6c63430008070033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000790070de1c38d81286046a681f26a1514d7196e200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001

Deployed Bytecode

0x6080604052600436106102815760003560e01c80636352211e1161014f578063b88d4fde116100c1578063e6a72acf1161007a578063e6a72acf146109d9578063e6ede82c14610a16578063e985e9c514610a41578063eb8d244414610a7e578063f032554914610aa9578063f2fde38b14610ac0576102c8565b8063b88d4fde146108a5578063bc6cd505146108ce578063c87b56dd1461090b578063ce7c2ac214610948578063dfe8ae6714610985578063e33b7de3146109ae576102c8565b80638b83209b116101135780638b83209b146107905780638da5cb5b146107cd57806395d89b41146107f857806397304ced146108235780639852595c1461083f578063a22cb4651461087c576102c8565b80636352211e146106a95780636c0360eb146106e657806370a0823114610711578063715018a61461074e5780638559dff314610765576102c8565b806330f72cd4116101f35780633cf924a0116101ac5780633cf924a01461059b578063420401e9146105c657806342842e0e146105ef5780634f6ccce71461061857806355f804b3146106555780635dde46841461067e576102c8565b806330f72cd4146104be57806332cb6b0c146104e95780633488c0da1461051457806334918dfd146105305780633819fc0f146105475780633a98ef3914610570576102c8565b806318160ddd1161024557806318160ddd146103c457806319165587146103ef57806323b872dd1461041857806324262857146104415780632588fa54146104585780632f745c5914610481576102c8565b806301ffc9a7146102cd57806306fdde031461030a578063081812fc14610335578063095ea7b3146103725780631618c8df1461039b576102c8565b366102c8577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7706102af610ae9565b346040516102be9291906142de565b60405180910390a1005b600080fd5b3480156102d957600080fd5b506102f460048036038101906102ef9190613bac565b610af1565b6040516103019190614307565b60405180910390f35b34801561031657600080fd5b5061031f610b03565b60405161032c9190614322565b60405180910390f35b34801561034157600080fd5b5061035c60048036038101906103579190613c7c565b610b95565b604051610369919061424e565b60405180910390f35b34801561037e57600080fd5b5061039960048036038101906103949190613b1f565b610c1a565b005b3480156103a757600080fd5b506103c260048036038101906103bd9190613c7c565b610d32565b005b3480156103d057600080fd5b506103d9610e1b565b6040516103e69190614724565b60405180910390f35b3480156103fb57600080fd5b506104166004803603810190610411919061399c565b610e28565b005b34801561042457600080fd5b5061043f600480360381019061043a9190613a09565b611090565b005b34801561044d57600080fd5b506104566110f0565b005b34801561046457600080fd5b5061047f600480360381019061047a9190613ca9565b61117c565b005b34801561048d57600080fd5b506104a860048036038101906104a39190613b1f565b61121b565b6040516104b59190614724565b60405180910390f35b3480156104ca57600080fd5b506104d36112c0565b6040516104e09190614307565b60405180910390f35b3480156104f557600080fd5b506104fe6112d3565b60405161050b9190614724565b60405180910390f35b61052e60048036038101906105299190613c4f565b6112d9565b005b34801561053c57600080fd5b50610545611500565b005b34801561055357600080fd5b5061056e60048036038101906105699190613b5f565b6115a8565b005b34801561057c57600080fd5b506105856116e5565b6040516105929190614724565b60405180910390f35b3480156105a757600080fd5b506105b06116ef565b6040516105bd9190614724565b60405180910390f35b3480156105d257600080fd5b506105ed60048036038101906105e89190613c7c565b61170b565b005b3480156105fb57600080fd5b5061061660048036038101906106119190613a09565b611791565b005b34801561062457600080fd5b5061063f600480360381019061063a9190613c7c565b6117b1565b60405161064c9190614724565b60405180910390f35b34801561066157600080fd5b5061067c60048036038101906106779190613c06565b611822565b005b34801561068a57600080fd5b506106936118b8565b6040516106a09190614724565b60405180910390f35b3480156106b557600080fd5b506106d060048036038101906106cb9190613c7c565b6118be565b6040516106dd919061424e565b60405180910390f35b3480156106f257600080fd5b506106fb611970565b6040516107089190614322565b60405180910390f35b34801561071d57600080fd5b506107386004803603810190610733919061396f565b61197f565b6040516107459190614724565b60405180910390f35b34801561075a57600080fd5b50610763611a37565b005b34801561077157600080fd5b5061077a611abf565b6040516107879190614724565b60405180910390f35b34801561079c57600080fd5b506107b760048036038101906107b29190613c7c565b611ac9565b6040516107c4919061424e565b60405180910390f35b3480156107d957600080fd5b506107e2611b11565b6040516107ef919061424e565b60405180910390f35b34801561080457600080fd5b5061080d611b3b565b60405161081a9190614322565b60405180910390f35b61083d60048036038101906108389190613c7c565b611bcd565b005b34801561084b57600080fd5b506108666004803603810190610861919061396f565b611d98565b6040516108739190614724565b60405180910390f35b34801561088857600080fd5b506108a3600480360381019061089e9190613adf565b611de1565b005b3480156108b157600080fd5b506108cc60048036038101906108c79190613a5c565b611f62565b005b3480156108da57600080fd5b506108f560048036038101906108f0919061396f565b611fc4565b6040516109029190614307565b60405180910390f35b34801561091757600080fd5b50610932600480360381019061092d9190613c7c565b61201a565b60405161093f9190614322565b60405180910390f35b34801561095457600080fd5b5061096f600480360381019061096a919061396f565b6120c1565b60405161097c9190614724565b60405180910390f35b34801561099157600080fd5b506109ac60048036038101906109a79190613ca9565b61210a565b005b3480156109ba57600080fd5b506109c36121a9565b6040516109d09190614724565b60405180910390f35b3480156109e557600080fd5b50610a0060048036038101906109fb9190613c7c565b6121b3565b604051610a0d9190614724565b60405180910390f35b348015610a2257600080fd5b50610a2b6121d1565b604051610a389190614724565b60405180910390f35b348015610a4d57600080fd5b50610a686004803603810190610a6391906139c9565b6121ed565b604051610a759190614307565b60405180910390f35b348015610a8a57600080fd5b50610a93612281565b604051610aa09190614307565b60405180910390f35b348015610ab557600080fd5b50610abe612294565b005b348015610acc57600080fd5b50610ae76004803603810190610ae2919061396f565b61233c565b005b600033905090565b6000610afc82612434565b9050919050565b606060008054610b1290614a42565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3e90614a42565b8015610b8b5780601f10610b6057610100808354040283529160200191610b8b565b820191906000526020600020905b815481529060010190602001808311610b6e57829003601f168201915b5050505050905090565b6000610ba0826124ae565b610bdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd6906145c4565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c25826118be565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8d906146a4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cb5610ae9565b73ffffffffffffffffffffffffffffffffffffffff161480610ce45750610ce381610cde610ae9565b6121ed565b5b610d23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1a90614524565b60405180910390fd5b610d2d838361251a565b505050565b80601054610d5082610d42610e1b565b6125d390919063ffffffff16565b1115610d91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8890614584565b60405180910390fd5b610d99610ae9565b73ffffffffffffffffffffffffffffffffffffffff16610db7611b11565b73ffffffffffffffffffffffffffffffffffffffff1614610e0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0490614624565b60405180910390fd5b610e1782336125e9565b5050565b6000600880549050905090565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610eaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea190614424565b60405180910390fd5b6000600c5447610eba9190614814565b90506000600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600b54600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484610f4c919061489b565b610f56919061486a565b610f6091906148f5565b90506000811415610fa6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9d90614504565b60405180910390fd5b80600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610ff19190614814565b600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600c546110429190614814565b600c819055506110528382612629565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051611083929190614269565b60405180910390a1505050565b6110a161109b610ae9565b8261271d565b6110e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d7906146e4565b60405180910390fd5b6110eb8383836127fb565b505050565b6110f8610ae9565b73ffffffffffffffffffffffffffffffffffffffff16611116611b11565b73ffffffffffffffffffffffffffffffffffffffff161461116c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116390614624565b60405180910390fd5b611174610e1b565b601081905550565b611184610ae9565b73ffffffffffffffffffffffffffffffffffffffff166111a2611b11565b73ffffffffffffffffffffffffffffffffffffffff16146111f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ef90614624565b60405180910390fd5b8060ff16601260026101000a81548161ffff021916908361ffff16021790555050565b60006112268361197f565b8210611267576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125e90614384565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b601660019054906101000a900460ff1681565b60105481565b8061ffff166010546112fb826112ed610e1b565b6125d390919063ffffffff16565b111561133c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133390614584565b60405180910390fd5b8161ffff16601260029054906101000a900461ffff1661ffff16811115611398576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138f90614404565b60405180910390fd5b8261ffff16346113a7826121b3565b146113e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113de90614484565b60405180910390fd5b601660019054906101000a900460ff16611436576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142d906145e4565b60405180910390fd5b61143f33611fc4565b61147e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147590614604565b60405180910390fd5b601260029054906101000a900461ffff1661ffff168461ffff166114a13361197f565b6114ab9190614814565b11156114ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e3906146c4565b60405180910390fd5b6114fa8461ffff16336125e9565b50505050565b611508610ae9565b73ffffffffffffffffffffffffffffffffffffffff16611526611b11565b73ffffffffffffffffffffffffffffffffffffffff161461157c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157390614624565b60405180910390fd5b601660009054906101000a900460ff1615601660006101000a81548160ff021916908315150217905550565b6115b0610ae9565b73ffffffffffffffffffffffffffffffffffffffff166115ce611b11565b73ffffffffffffffffffffffffffffffffffffffff1614611624576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161b90614624565b60405180910390fd5b60005b828290508110156116c45760016015600085858581811061164b5761164a614bdb565b5b9050602002016020810190611660919061396f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806116bc90614aa5565b915050611627565b5081819050601160008282546116da9190614814565b925050819055505050565b6000600b54905090565b6000601260009054906101000a900461ffff1661ffff16905090565b611713610ae9565b73ffffffffffffffffffffffffffffffffffffffff16611731611b11565b73ffffffffffffffffffffffffffffffffffffffff1614611787576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177e90614624565b60405180910390fd5b8060138190555050565b6117ac83838360405180602001604052806000815250611f62565b505050565b60006117bb610e1b565b82106117fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f390614704565b60405180910390fd5b600882815481106118105761180f614bdb565b5b90600052602060002001549050919050565b61182a610ae9565b73ffffffffffffffffffffffffffffffffffffffff16611848611b11565b73ffffffffffffffffffffffffffffffffffffffff161461189e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189590614624565b60405180910390fd5b80601490805190602001906118b49291906136ee565b5050565b60115481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611967576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195e90614564565b60405180910390fd5b80915050919050565b606061197a612a57565b905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e790614544565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611a3f610ae9565b73ffffffffffffffffffffffffffffffffffffffff16611a5d611b11565b73ffffffffffffffffffffffffffffffffffffffff1614611ab3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aaa90614624565b60405180910390fd5b611abd6000612ae9565b565b6000601354905090565b6000600f8281548110611adf57611ade614bdb565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611b4a90614a42565b80601f0160208091040260200160405190810160405280929190818152602001828054611b7690614a42565b8015611bc35780601f10611b9857610100808354040283529160200191611bc3565b820191906000526020600020905b815481529060010190602001808311611ba657829003601f168201915b5050505050905090565b80601054611beb82611bdd610e1b565b6125d390919063ffffffff16565b1115611c2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2390614584565b60405180910390fd5b81601260009054906101000a900461ffff1661ffff16811115611c84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7b90614364565b60405180910390fd5b8234611c8f826121b3565b14611ccf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc690614484565b60405180910390fd5b601660009054906101000a900460ff16611d1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1590614344565b60405180910390fd5b601260009054906101000a900461ffff1661ffff1684611d3d3361197f565b611d479190614814565b1115611d88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7f90614684565b60405180910390fd5b611d9284336125e9565b50505050565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611de9610ae9565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4e90614464565b60405180910390fd5b8060056000611e64610ae9565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611f11610ae9565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f569190614307565b60405180910390a35050565b611f73611f6d610ae9565b8361271d565b611fb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa9906146e4565b60405180910390fd5b611fbe84848484612baf565b50505050565b6000601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6060612025826124ae565b612064576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205b90614664565b60405180910390fd5b600061206e612a57565b9050600081511161208e57604051806020016040528060008152506120b9565b8061209884612c0b565b6040516020016120a9929190614215565b6040516020818303038152906040525b915050919050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b612112610ae9565b73ffffffffffffffffffffffffffffffffffffffff16612130611b11565b73ffffffffffffffffffffffffffffffffffffffff1614612186576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217d90614624565b60405180910390fd5b8060ff16601260006101000a81548161ffff021916908361ffff16021790555050565b6000600c54905090565b60006121ca82601354612d6c90919063ffffffff16565b9050919050565b6000601260029054906101000a900461ffff1661ffff16905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601660009054906101000a900460ff1681565b61229c610ae9565b73ffffffffffffffffffffffffffffffffffffffff166122ba611b11565b73ffffffffffffffffffffffffffffffffffffffff1614612310576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230790614624565b60405180910390fd5b601660019054906101000a900460ff1615601660016101000a81548160ff021916908315150217905550565b612344610ae9565b73ffffffffffffffffffffffffffffffffffffffff16612362611b11565b73ffffffffffffffffffffffffffffffffffffffff16146123b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123af90614624565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612428576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241f906143c4565b60405180910390fd5b61243181612ae9565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806124a757506124a682612d82565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661258d836118be565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081836125e19190614814565b905092915050565b60005b8281101561262457612611826001612602610e1b565b61260c9190614814565b612e64565b808061261c90614aa5565b9150506125ec565b505050565b8047101561266c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612663906144c4565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161269290614239565b60006040518083038185875af1925050503d80600081146126cf576040519150601f19603f3d011682016040523d82523d6000602084013e6126d4565b606091505b5050905080612718576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270f906144a4565b60405180910390fd5b505050565b6000612728826124ae565b612767576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275e906144e4565b60405180910390fd5b6000612772836118be565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806127e157508373ffffffffffffffffffffffffffffffffffffffff166127c984610b95565b73ffffffffffffffffffffffffffffffffffffffff16145b806127f257506127f181856121ed565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661281b826118be565b73ffffffffffffffffffffffffffffffffffffffff1614612871576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286890614644565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128d890614444565b60405180910390fd5b6128ec838383612e82565b6128f760008261251a565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461294791906148f5565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461299e9190614814565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b606060148054612a6690614a42565b80601f0160208091040260200160405190810160405280929190818152602001828054612a9290614a42565b8015612adf5780601f10612ab457610100808354040283529160200191612adf565b820191906000526020600020905b815481529060010190602001808311612ac257829003601f168201915b5050505050905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612bba8484846127fb565b612bc684848484612e92565b612c05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bfc906143a4565b60405180910390fd5b50505050565b60606000821415612c53576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d67565b600082905060005b60008214612c85578080612c6e90614aa5565b915050600a82612c7e919061486a565b9150612c5b565b60008167ffffffffffffffff811115612ca157612ca0614c0a565b5b6040519080825280601f01601f191660200182016040528015612cd35781602001600182028036833780820191505090505b5090505b60008514612d6057600182612cec91906148f5565b9150600a85612cfb9190614aee565b6030612d079190614814565b60f81b818381518110612d1d57612d1c614bdb565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612d59919061486a565b9450612cd7565b8093505050505b919050565b60008183612d7a919061489b565b905092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612e4d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612e5d5750612e5c82613029565b5b9050919050565b612e7e828260405180602001604052806000815250613093565b5050565b612e8d8383836130ee565b505050565b6000612eb38473ffffffffffffffffffffffffffffffffffffffff16613202565b1561301c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612edc610ae9565b8786866040518563ffffffff1660e01b8152600401612efe9493929190614292565b602060405180830381600087803b158015612f1857600080fd5b505af1925050508015612f4957506040513d601f19601f82011682018060405250810190612f469190613bd9565b60015b612fcc573d8060008114612f79576040519150601f19603f3d011682016040523d82523d6000602084013e612f7e565b606091505b50600081511415612fc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fbb906143a4565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613021565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61309d8383613215565b6130aa6000848484612e92565b6130e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130e0906143a4565b60405180910390fd5b505050565b6130f98383836133e3565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561313c57613137816133e8565b61317b565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461317a576131798382613431565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131be576131b98161359e565b6131fd565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146131fc576131fb828261366f565b5b5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613285576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161327c906145a4565b60405180910390fd5b61328e816124ae565b156132ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132c5906143e4565b60405180910390fd5b6132da60008383612e82565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461332a9190614814565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161343e8461197f565b61344891906148f5565b905060006007600084815260200190815260200160002054905081811461352d576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506135b291906148f5565b90506000600960008481526020019081526020016000205490506000600883815481106135e2576135e1614bdb565b5b90600052602060002001549050806008838154811061360457613603614bdb565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061365357613652614bac565b5b6001900381819060005260206000200160009055905550505050565b600061367a8361197f565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b8280546136fa90614a42565b90600052602060002090601f01602090048101928261371c5760008555613763565b82601f1061373557805160ff1916838001178555613763565b82800160010185558215613763579182015b82811115613762578251825591602001919060010190613747565b5b5090506137709190613774565b5090565b5b8082111561378d576000816000905550600101613775565b5090565b60006137a461379f84614764565b61473f565b9050828152602081018484840111156137c0576137bf614c48565b5b6137cb848285614a00565b509392505050565b60006137e66137e184614795565b61473f565b90508281526020810184848401111561380257613801614c48565b5b61380d848285614a00565b509392505050565b600081359050613824816154f2565b92915050565b60008135905061383981615509565b92915050565b60008083601f84011261385557613854614c3e565b5b8235905067ffffffffffffffff81111561387257613871614c39565b5b60208301915083602082028301111561388e5761388d614c43565b5b9250929050565b6000813590506138a481615520565b92915050565b6000813590506138b981615537565b92915050565b6000815190506138ce81615537565b92915050565b600082601f8301126138e9576138e8614c3e565b5b81356138f9848260208601613791565b91505092915050565b600082601f83011261391757613916614c3e565b5b81356139278482602086016137d3565b91505092915050565b60008135905061393f8161554e565b92915050565b60008135905061395481615565565b92915050565b6000813590506139698161557c565b92915050565b60006020828403121561398557613984614c52565b5b600061399384828501613815565b91505092915050565b6000602082840312156139b2576139b1614c52565b5b60006139c08482850161382a565b91505092915050565b600080604083850312156139e0576139df614c52565b5b60006139ee85828601613815565b92505060206139ff85828601613815565b9150509250929050565b600080600060608486031215613a2257613a21614c52565b5b6000613a3086828701613815565b9350506020613a4186828701613815565b9250506040613a5286828701613945565b9150509250925092565b60008060008060808587031215613a7657613a75614c52565b5b6000613a8487828801613815565b9450506020613a9587828801613815565b9350506040613aa687828801613945565b925050606085013567ffffffffffffffff811115613ac757613ac6614c4d565b5b613ad3878288016138d4565b91505092959194509250565b60008060408385031215613af657613af5614c52565b5b6000613b0485828601613815565b9250506020613b1585828601613895565b9150509250929050565b60008060408385031215613b3657613b35614c52565b5b6000613b4485828601613815565b9250506020613b5585828601613945565b9150509250929050565b60008060208385031215613b7657613b75614c52565b5b600083013567ffffffffffffffff811115613b9457613b93614c4d565b5b613ba08582860161383f565b92509250509250929050565b600060208284031215613bc257613bc1614c52565b5b6000613bd0848285016138aa565b91505092915050565b600060208284031215613bef57613bee614c52565b5b6000613bfd848285016138bf565b91505092915050565b600060208284031215613c1c57613c1b614c52565b5b600082013567ffffffffffffffff811115613c3a57613c39614c4d565b5b613c4684828501613902565b91505092915050565b600060208284031215613c6557613c64614c52565b5b6000613c7384828501613930565b91505092915050565b600060208284031215613c9257613c91614c52565b5b6000613ca084828501613945565b91505092915050565b600060208284031215613cbf57613cbe614c52565b5b6000613ccd8482850161395a565b91505092915050565b613cdf816149ca565b82525050565b613cee81614929565b82525050565b613cfd8161494d565b82525050565b6000613d0e826147c6565b613d1881856147dc565b9350613d28818560208601614a0f565b613d3181614c57565b840191505092915050565b6000613d47826147d1565b613d5181856147f8565b9350613d61818560208601614a0f565b613d6a81614c57565b840191505092915050565b6000613d80826147d1565b613d8a8185614809565b9350613d9a818560208601614a0f565b80840191505092915050565b6000613db36018836147f8565b9150613dbe82614c68565b602082019050919050565b6000613dd66027836147f8565b9150613de182614c91565b604082019050919050565b6000613df9602b836147f8565b9150613e0482614ce0565b604082019050919050565b6000613e1c6032836147f8565b9150613e2782614d2f565b604082019050919050565b6000613e3f6026836147f8565b9150613e4a82614d7e565b604082019050919050565b6000613e62601c836147f8565b9150613e6d82614dcd565b602082019050919050565b6000613e856034836147f8565b9150613e9082614df6565b604082019050919050565b6000613ea86026836147f8565b9150613eb382614e45565b604082019050919050565b6000613ecb6024836147f8565b9150613ed682614e94565b604082019050919050565b6000613eee6019836147f8565b9150613ef982614ee3565b602082019050919050565b6000613f11601f836147f8565b9150613f1c82614f0c565b602082019050919050565b6000613f34603a836147f8565b9150613f3f82614f35565b604082019050919050565b6000613f57601d836147f8565b9150613f6282614f84565b602082019050919050565b6000613f7a602c836147f8565b9150613f8582614fad565b604082019050919050565b6000613f9d602b836147f8565b9150613fa882614ffc565b604082019050919050565b6000613fc06038836147f8565b9150613fcb8261504b565b604082019050919050565b6000613fe3602a836147f8565b9150613fee8261509a565b604082019050919050565b60006140066029836147f8565b9150614011826150e9565b604082019050919050565b60006140296020836147f8565b915061403482615138565b602082019050919050565b600061404c6020836147f8565b915061405782615161565b602082019050919050565b600061406f602c836147f8565b915061407a8261518a565b604082019050919050565b6000614092601b836147f8565b915061409d826151d9565b602082019050919050565b60006140b56025836147f8565b91506140c082615202565b604082019050919050565b60006140d86020836147f8565b91506140e382615251565b602082019050919050565b60006140fb6029836147f8565b91506141068261527a565b604082019050919050565b600061411e602f836147f8565b9150614129826152c9565b604082019050919050565b60006141416041836147f8565b915061414c82615318565b606082019050919050565b60006141646021836147f8565b915061416f8261538d565b604082019050919050565b60006141876044836147f8565b9150614192826153dc565b606082019050919050565b60006141aa6000836147ed565b91506141b582615451565b600082019050919050565b60006141cd6031836147f8565b91506141d882615454565b604082019050919050565b60006141f0602c836147f8565b91506141fb826154a3565b604082019050919050565b61420f816149b3565b82525050565b60006142218285613d75565b915061422d8284613d75565b91508190509392505050565b60006142448261419d565b9150819050919050565b60006020820190506142636000830184613ce5565b92915050565b600060408201905061427e6000830185613cd6565b61428b6020830184614206565b9392505050565b60006080820190506142a76000830187613ce5565b6142b46020830186613ce5565b6142c16040830185614206565b81810360608301526142d38184613d03565b905095945050505050565b60006040820190506142f36000830185613ce5565b6143006020830184614206565b9392505050565b600060208201905061431c6000830184613cf4565b92915050565b6000602082019050818103600083015261433c8184613d3c565b905092915050565b6000602082019050818103600083015261435d81613da6565b9050919050565b6000602082019050818103600083015261437d81613dc9565b9050919050565b6000602082019050818103600083015261439d81613dec565b9050919050565b600060208201905081810360008301526143bd81613e0f565b9050919050565b600060208201905081810360008301526143dd81613e32565b9050919050565b600060208201905081810360008301526143fd81613e55565b9050919050565b6000602082019050818103600083015261441d81613e78565b9050919050565b6000602082019050818103600083015261443d81613e9b565b9050919050565b6000602082019050818103600083015261445d81613ebe565b9050919050565b6000602082019050818103600083015261447d81613ee1565b9050919050565b6000602082019050818103600083015261449d81613f04565b9050919050565b600060208201905081810360008301526144bd81613f27565b9050919050565b600060208201905081810360008301526144dd81613f4a565b9050919050565b600060208201905081810360008301526144fd81613f6d565b9050919050565b6000602082019050818103600083015261451d81613f90565b9050919050565b6000602082019050818103600083015261453d81613fb3565b9050919050565b6000602082019050818103600083015261455d81613fd6565b9050919050565b6000602082019050818103600083015261457d81613ff9565b9050919050565b6000602082019050818103600083015261459d8161401c565b9050919050565b600060208201905081810360008301526145bd8161403f565b9050919050565b600060208201905081810360008301526145dd81614062565b9050919050565b600060208201905081810360008301526145fd81614085565b9050919050565b6000602082019050818103600083015261461d816140a8565b9050919050565b6000602082019050818103600083015261463d816140cb565b9050919050565b6000602082019050818103600083015261465d816140ee565b9050919050565b6000602082019050818103600083015261467d81614111565b9050919050565b6000602082019050818103600083015261469d81614134565b9050919050565b600060208201905081810360008301526146bd81614157565b9050919050565b600060208201905081810360008301526146dd8161417a565b9050919050565b600060208201905081810360008301526146fd816141c0565b9050919050565b6000602082019050818103600083015261471d816141e3565b9050919050565b60006020820190506147396000830184614206565b92915050565b600061474961475a565b90506147558282614a74565b919050565b6000604051905090565b600067ffffffffffffffff82111561477f5761477e614c0a565b5b61478882614c57565b9050602081019050919050565b600067ffffffffffffffff8211156147b0576147af614c0a565b5b6147b982614c57565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061481f826149b3565b915061482a836149b3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561485f5761485e614b1f565b5b828201905092915050565b6000614875826149b3565b9150614880836149b3565b9250826148905761488f614b4e565b5b828204905092915050565b60006148a6826149b3565b91506148b1836149b3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156148ea576148e9614b1f565b5b828202905092915050565b6000614900826149b3565b915061490b836149b3565b92508282101561491e5761491d614b1f565b5b828203905092915050565b600061493482614993565b9050919050565b600061494682614993565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006149d5826149dc565b9050919050565b60006149e7826149ee565b9050919050565b60006149f982614993565b9050919050565b82818337600083830152505050565b60005b83811015614a2d578082015181840152602081019050614a12565b83811115614a3c576000848401525b50505050565b60006002820490506001821680614a5a57607f821691505b60208210811415614a6e57614a6d614b7d565b5b50919050565b614a7d82614c57565b810181811067ffffffffffffffff82111715614a9c57614a9b614c0a565b5b80604052505050565b6000614ab0826149b3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614ae357614ae2614b1f565b5b600182019050919050565b6000614af9826149b3565b9150614b04836149b3565b925082614b1457614b13614b4e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f53616c6520686173206e6f742073746172746564207965740000000000000000600082015250565b7f43616e6e6f74206d696e74206d6f7265207468616e203120746f6b656e20617460008201527f20612074696d6500000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f43616e6e6f74206d696e74206d6f7265207468616e203220746f6b656e73206160008201527f7420612074696d6520666f722070726573616c65000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c79600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f50726573616c6520686173206e6f742073746172746564207965740000000000600082015250565b7f596f7520646f206e6f7420686176652061636365737320746f2074686520707260008201527f6573616c65000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f54686973206d696e7420776f756c642070757420796f752061626f766520746860008201527f652073616c65206c696d6974206f66206d696e747320706572206163636f756e60208201527f7400000000000000000000000000000000000000000000000000000000000000604082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f54686973206d696e7420776f756c642070757420796f752061626f766520746860008201527f652070726573616c65206c696d6974206f66206d696e7473207065722061636360208201527f6f756e7400000000000000000000000000000000000000000000000000000000604082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6154fb81614929565b811461550657600080fd5b50565b6155128161493b565b811461551d57600080fd5b50565b6155298161494d565b811461553457600080fd5b50565b61554081614959565b811461554b57600080fd5b50565b61555781614985565b811461556257600080fd5b50565b61556e816149b3565b811461557957600080fd5b50565b615585816149bd565b811461559057600080fd5b5056fea264697066735822122027bed90796227cec94136b9f1d57cadb713161e93285fd29e54fe55fd3746af764736f6c63430008070033

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

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000790070de1c38d81286046a681f26a1514d7196e200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001

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

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [3] : 000000000000000000000000790070de1c38d81286046a681f26a1514d7196e2
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [5] : 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.