ETH Price: $3,362.56 (-1.59%)
Gas: 8 Gwei

Token

Boss Beauties (BOSSB)
 

Overview

Max Total Supply

9,999 BOSSB

Holders

5,280

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
slotty.eth
Balance
3 BOSSB
0x4efC2FBE5Ea2321675d8897F6C6E6e33c1d2D342
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Collection inspired by the women & girls of My Social Canvas.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
BossBeauties

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 17 : BossBeauties.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;

import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/finance/PaymentSplitter.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";

contract BossBeauties is
    ERC721,
    ERC721Enumerable,
    Ownable,
    AccessControl,
    PaymentSplitter
{
    bytes32 public constant ADMIN_ROLE = keccak256("ADMIN_ROLE");

    using Address for address;
    using SafeMath for uint256;

    uint256 public _maxSupply;
    uint256 public _price;
    string internal _tokenBaseURI;

    mapping(address => bool) internal _presaleAllowed;
    mapping(address => bool) internal _presaleMinted;

    bool public presaleActive = false;
    bool public publicSaleActive = false;

    constructor(
        uint256 maxSupply,
        uint256 price,
        address[] memory payees,
        uint256[] memory shares
    ) ERC721("Boss Beauties", "BOSSB") PaymentSplitter(payees, shares) {
        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
        _maxSupply = maxSupply;
        _price = price;
    }

    // Modifiers
    modifier requireMint(uint256 numberOfTokens, uint256 maxPerMint) {
        require(numberOfTokens > 0, "Must be greater than 0");
        require(numberOfTokens <= maxPerMint, "Cannot mint more than max");
        require(
            totalSupply().add(numberOfTokens) < _maxSupply,
            "Exceeded max supply"
        );
        require(
            _price.mul(numberOfTokens) == msg.value,
            "Value is not correct"
        );
        _;
    }

    // Admin
    function addPresale(address[] calldata addresses)
        public
        onlyRole(ADMIN_ROLE)
    {
        for (uint256 i = 0; i < addresses.length; i++) {
            _presaleAllowed[addresses[i]] = true;
        }
    }

    function startPresale() public onlyRole(ADMIN_ROLE) {
        require(presaleActive == false, "Presale is already active");

        presaleActive = true;
    }

    function pausePreale() public onlyRole(ADMIN_ROLE) {
        require(presaleActive == true, "Presale is already paused");

        presaleActive = false;
    }

    function startPublicSale() public onlyRole(ADMIN_ROLE) {
        require(publicSaleActive == false, "Sale is already active");

        publicSaleActive = true;
    }

    function pausePublicSale() public onlyRole(ADMIN_ROLE) {
        require(publicSaleActive == true, "Sale is already paused");

        publicSaleActive = false;
    }

    function setBaseURI(string memory baseURI)
        public
        onlyRole(DEFAULT_ADMIN_ROLE)
    {
        _tokenBaseURI = baseURI;
    }

    function superMint(uint256 numberOfTokens, address recipient)
        public
        onlyRole(ADMIN_ROLE)
    {
        require(numberOfTokens > 0, "Must be greater than 0");
        require(
            totalSupply().add(numberOfTokens) < _maxSupply,
            "Exceeded max supply"
        );

        _mint(numberOfTokens, recipient);
    }

    // Presale
    function presaleMint(uint256 numberOfTokens)
        public
        payable
        requireMint(numberOfTokens, 20)
    {
        require(presaleActive == true, "Presale must be active");
        require(_presaleAllowed[_msgSender()] == true, "Not in presale");
        require(_presaleMinted[_msgSender()] == false, "Already minted");

        _presaleMinted[_msgSender()] = true;
        _mint(numberOfTokens, _msgSender());
    }

    // Public Sale
    function mint(uint256 numberOfTokens)
        public
        payable
        requireMint(numberOfTokens, 10)
    {
        require(publicSaleActive == true, "Sale must be active");

        _mint(numberOfTokens, _msgSender());
    }

    // Utility
    function presaleAllowed(address presaleAddress) public view returns (bool) {
        return _presaleAllowed[presaleAddress];
    }

    function presaleMinted(address presaleAddress) public view returns (bool) {
        return _presaleMinted[presaleAddress];
    }

    // Internal
    function _baseURI() internal view virtual override returns (string memory) {
        return _tokenBaseURI;
    }

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

    // The following functions are overrides required by Solidity.
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal override(ERC721, ERC721Enumerable) {
        super._beforeTokenTransfer(from, to, tokenId);
    }

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

File 2 of 17 : 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 3 of 17 : 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 4 of 17 : 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 17 : AccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 6 of 17 : 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 7 of 17 : 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 8 of 17 : 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 9 of 17 : 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 10 of 17 : IAccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

File 11 of 17 : 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 12 of 17 : 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 13 of 17 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 14 of 17 : 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 17 : 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 16 of 17 : 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 17 of 17 : 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"address[]","name":"payees","type":"address[]"},{"internalType":"uint256[]","name":"shares","type":"uint256[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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":"ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"addPresale","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","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":[],"name":"pausePreale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pausePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"presaleAddress","type":"address"}],"name":"presaleAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"presaleAddress","type":"address"}],"name":"presaleMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleActive","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":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"superMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"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"}]

60806040526000601660006101000a81548160ff0219169083151502179055506000601660016101000a81548160ff0219169083151502179055503480156200004757600080fd5b5060405162006eed38038062006eed83398181016040528101906200006d919062000950565b81816040518060400160405280600d81526020017f426f7373204265617574696573000000000000000000000000000000000000008152506040518060400160405280600581526020017f424f5353420000000000000000000000000000000000000000000000000000008152508160009080519060200190620000f39291906200072e565b5080600190805190602001906200010c9291906200072e565b5050506200012f62000123620002b360201b60201c565b620002bb60201b60201c565b805182511462000176576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200016d9062000b22565b60405180910390fd5b6000825111620001bd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001b49062000b66565b60405180910390fd5b60005b825181101562000274576200025e83828151811062000208577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518383815181106200024a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516200038160201b60201c565b80806200026b9062000d49565b915050620001c0565b5050506200029b6000801b6200028f620002b360201b60201c565b620005bb60201b60201c565b83601181905550826012819055505050505062000fa8565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620003f4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003eb9062000b00565b60405180910390fd5b600081116200043a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004319062000b88565b60405180910390fd5b6000600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414620004bf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004b69062000b44565b60405180910390fd5b6010829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600c5462000576919062000c42565b600c819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac8282604051620005af92919062000ad3565b60405180910390a15050565b620005cd8282620005d160201b60201c565b5050565b620005e38282620006c360201b60201c565b620006bf576001600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555062000664620002b360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b8280546200073c9062000cdd565b90600052602060002090601f016020900481019282620007605760008555620007ac565b82601f106200077b57805160ff1916838001178555620007ac565b82800160010185558215620007ac579182015b82811115620007ab5782518255916020019190600101906200078e565b5b509050620007bb9190620007bf565b5090565b5b80821115620007da576000816000905550600101620007c0565b5090565b6000620007f5620007ef8462000bd3565b62000baa565b905080838252602082019050828560208602820111156200081557600080fd5b60005b858110156200084957816200082e8882620008c8565b84526020840193506020830192505060018101905062000818565b5050509392505050565b60006200086a620008648462000c02565b62000baa565b905080838252602082019050828560208602820111156200088a57600080fd5b60005b85811015620008be5781620008a3888262000939565b8452602084019350602083019250506001810190506200088d565b5050509392505050565b600081519050620008d98162000f74565b92915050565b600082601f830112620008f157600080fd5b815162000903848260208601620007de565b91505092915050565b600082601f8301126200091e57600080fd5b81516200093084826020860162000853565b91505092915050565b6000815190506200094a8162000f8e565b92915050565b600080600080608085870312156200096757600080fd5b6000620009778782880162000939565b94505060206200098a8782880162000939565b935050604085015167ffffffffffffffff811115620009a857600080fd5b620009b687828801620008df565b925050606085015167ffffffffffffffff811115620009d457600080fd5b620009e2878288016200090c565b91505092959194509250565b620009f98162000c9f565b82525050565b600062000a0e602c8362000c31565b915062000a1b8262000e35565b604082019050919050565b600062000a3560328362000c31565b915062000a428262000e84565b604082019050919050565b600062000a5c602b8362000c31565b915062000a698262000ed3565b604082019050919050565b600062000a83601a8362000c31565b915062000a908262000f22565b602082019050919050565b600062000aaa601d8362000c31565b915062000ab78262000f4b565b602082019050919050565b62000acd8162000cd3565b82525050565b600060408201905062000aea6000830185620009ee565b62000af9602083018462000ac2565b9392505050565b6000602082019050818103600083015262000b1b81620009ff565b9050919050565b6000602082019050818103600083015262000b3d8162000a26565b9050919050565b6000602082019050818103600083015262000b5f8162000a4d565b9050919050565b6000602082019050818103600083015262000b818162000a74565b9050919050565b6000602082019050818103600083015262000ba38162000a9b565b9050919050565b600062000bb662000bc9565b905062000bc4828262000d13565b919050565b6000604051905090565b600067ffffffffffffffff82111562000bf15762000bf062000df5565b5b602082029050602081019050919050565b600067ffffffffffffffff82111562000c205762000c1f62000df5565b5b602082029050602081019050919050565b600082825260208201905092915050565b600062000c4f8262000cd3565b915062000c5c8362000cd3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000c945762000c9362000d97565b5b828201905092915050565b600062000cac8262000cb3565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000600282049050600182168062000cf657607f821691505b6020821081141562000d0d5762000d0c62000dc6565b5b50919050565b62000d1e8262000e24565b810181811067ffffffffffffffff8211171562000d405762000d3f62000df5565b5b80604052505050565b600062000d568262000cd3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562000d8c5762000d8b62000d97565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f5061796d656e7453706c69747465723a206163636f756e74206973207468652060008201527f7a65726f20616464726573730000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a2070617965657320616e64207368617260008201527f6573206c656e677468206d69736d617463680000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960008201527f2068617320736861726573000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206e6f20706179656573000000000000600082015250565b7f5061796d656e7453706c69747465723a20736861726573206172652030000000600082015250565b62000f7f8162000c9f565b811462000f8b57600080fd5b50565b62000f998162000cd3565b811462000fa557600080fd5b50565b615f358062000fb86000396000f3fe60806040526004361061028c5760003560e01c806370a082311161015a578063b4452702116100c1578063ce7c2ac21161007a578063ce7c2ac2146109fb578063d547741f14610a38578063e33b7de314610a61578063e985e9c514610a8c578063f2fde38b14610ac9578063f3d6b71c14610af2576102d3565b8063b4452702146108fa578063b88d4fde14610911578063bc660cac1461093a578063bc8893b414610977578063c87b56dd146109a2578063c9b298f1146109df576102d3565b806395d89b411161011357806395d89b41146107f95780639852595c14610824578063a0712d6814610861578063a217fddf1461087d578063a22cb465146108a8578063b09afa30146108d1576102d3565b806370a08231146106d5578063715018a61461071257806375b238fc146107295780638b83209b146107545780638da5cb5b1461079157806391d14854146107bc576102d3565b806323b872dd116101fe5780633a98ef39116101b75780633a98ef39146105b357806342842e0e146105de5780634f6ccce71461060757806353135ca01461064457806355f804b31461066f5780636352211e14610698576102d3565b806323b872dd14610495578063248a9ca3146104be5780632f2ff15d146104fb5780632f745c591461052457806334b227831461056157806336568abe1461058a576102d3565b80630c1c972a116102505780630c1c972a146103bd5780630c41f497146103d457806318160ddd146103eb578063191655871461041657806322f4596f1461043f578063235b6ea11461046a576102d3565b806301ffc9a7146102d857806304c98b2b1461031557806306fdde031461032c578063081812fc14610357578063095ea7b314610394576102d3565b366102d3577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7706102ba610b2f565b346040516102c9929190614bce565b60405180910390a1005b600080fd5b3480156102e457600080fd5b506102ff60048036038101906102fa9190614390565b610b37565b60405161030c9190614bf7565b60405180910390f35b34801561032157600080fd5b5061032a610b49565b005b34801561033857600080fd5b50610341610bef565b60405161034e9190614c2d565b60405180910390f35b34801561036357600080fd5b5061037e60048036038101906103799190614423565b610c81565b60405161038b9190614b3e565b60405180910390f35b3480156103a057600080fd5b506103bb60048036038101906103b691906142aa565b610d06565b005b3480156103c957600080fd5b506103d2610e1e565b005b3480156103e057600080fd5b506103e9610ec4565b005b3480156103f757600080fd5b50610400610f6a565b60405161040d91906150cf565b60405180910390f35b34801561042257600080fd5b5061043d6004803603810190610438919061413f565b610f77565b005b34801561044b57600080fd5b506104546111df565b60405161046191906150cf565b60405180910390f35b34801561047657600080fd5b5061047f6111e5565b60405161048c91906150cf565b60405180910390f35b3480156104a157600080fd5b506104bc60048036038101906104b791906141a4565b6111eb565b005b3480156104ca57600080fd5b506104e560048036038101906104e0919061432b565b61124b565b6040516104f29190614c12565b60405180910390f35b34801561050757600080fd5b50610522600480360381019061051d9190614354565b61126b565b005b34801561053057600080fd5b5061054b600480360381019061054691906142aa565b611294565b60405161055891906150cf565b60405180910390f35b34801561056d57600080fd5b506105886004803603810190610583919061444c565b611339565b005b34801561059657600080fd5b506105b160048036038101906105ac9190614354565b61141a565b005b3480156105bf57600080fd5b506105c861149d565b6040516105d591906150cf565b60405180910390f35b3480156105ea57600080fd5b50610605600480360381019061060091906141a4565b6114a7565b005b34801561061357600080fd5b5061062e60048036038101906106299190614423565b6114c7565b60405161063b91906150cf565b60405180910390f35b34801561065057600080fd5b5061065961155e565b6040516106669190614bf7565b60405180910390f35b34801561067b57600080fd5b50610696600480360381019061069191906143e2565b611571565b005b3480156106a457600080fd5b506106bf60048036038101906106ba9190614423565b6115a1565b6040516106cc9190614b3e565b60405180910390f35b3480156106e157600080fd5b506106fc60048036038101906106f79190614116565b611653565b60405161070991906150cf565b60405180910390f35b34801561071e57600080fd5b5061072761170b565b005b34801561073557600080fd5b5061073e611793565b60405161074b9190614c12565b60405180910390f35b34801561076057600080fd5b5061077b60048036038101906107769190614423565b6117b7565b6040516107889190614b3e565b60405180910390f35b34801561079d57600080fd5b506107a6611825565b6040516107b39190614b3e565b60405180910390f35b3480156107c857600080fd5b506107e360048036038101906107de9190614354565b61184f565b6040516107f09190614bf7565b60405180910390f35b34801561080557600080fd5b5061080e6118ba565b60405161081b9190614c2d565b60405180910390f35b34801561083057600080fd5b5061084b60048036038101906108469190614116565b61194c565b60405161085891906150cf565b60405180910390f35b61087b60048036038101906108769190614423565b611995565b005b34801561088957600080fd5b50610892611b3d565b60405161089f9190614c12565b60405180910390f35b3480156108b457600080fd5b506108cf60048036038101906108ca919061426e565b611b44565b005b3480156108dd57600080fd5b506108f860048036038101906108f391906142e6565b611cc5565b005b34801561090657600080fd5b5061090f611dc3565b005b34801561091d57600080fd5b50610938600480360381019061093391906141f3565b611e69565b005b34801561094657600080fd5b50610961600480360381019061095c9190614116565b611ecb565b60405161096e9190614bf7565b60405180910390f35b34801561098357600080fd5b5061098c611f21565b6040516109999190614bf7565b60405180910390f35b3480156109ae57600080fd5b506109c960048036038101906109c49190614423565b611f34565b6040516109d69190614c2d565b60405180910390f35b6109f960048036038101906109f49190614423565b611fdb565b005b348015610a0757600080fd5b50610a226004803603810190610a1d9190614116565b612316565b604051610a2f91906150cf565b60405180910390f35b348015610a4457600080fd5b50610a5f6004803603810190610a5a9190614354565b61235f565b005b348015610a6d57600080fd5b50610a76612388565b604051610a8391906150cf565b60405180910390f35b348015610a9857600080fd5b50610ab36004803603810190610aae9190614168565b612392565b604051610ac09190614bf7565b60405180910390f35b348015610ad557600080fd5b50610af06004803603810190610aeb9190614116565b612426565b005b348015610afe57600080fd5b50610b196004803603810190610b149190614116565b61251e565b604051610b269190614bf7565b60405180910390f35b600033905090565b6000610b4282612574565b9050919050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775610b7b81610b76610b2f565b6125ee565b60001515601660009054906101000a900460ff16151514610bd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc89061502f565b60405180910390fd5b6001601660006101000a81548160ff02191690831515021790555050565b606060008054610bfe90615406565b80601f0160208091040260200160405190810160405280929190818152602001828054610c2a90615406565b8015610c775780601f10610c4c57610100808354040283529160200191610c77565b820191906000526020600020905b815481529060010190602001808311610c5a57829003601f168201915b5050505050905090565b6000610c8c8261268b565b610ccb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc290614f6f565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d11826115a1565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d799061504f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610da1610b2f565b73ffffffffffffffffffffffffffffffffffffffff161480610dd05750610dcf81610dca610b2f565b612392565b5b610e0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0690614e4f565b60405180910390fd5b610e1983836126f7565b505050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775610e5081610e4b610b2f565b6125ee565b60001515601660019054906101000a900460ff16151514610ea6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9d90614caf565b60405180910390fd5b6001601660016101000a81548160ff02191690831515021790555050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775610ef681610ef1610b2f565b6125ee565b60011515601660019054906101000a900460ff16151514610f4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4390614eef565b60405180910390fd5b6000601660016101000a81548160ff02191690831515021790555050565b6000600880549050905090565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610ff9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff090614d4f565b60405180910390fd5b6000600d544761100991906151bf565b90506000600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600c54600e60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548461109b9190615246565b6110a59190615215565b6110af91906152a0565b905060008114156110f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ec90614e0f565b60405180910390fd5b80600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461114091906151bf565b600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600d5461119191906151bf565b600d819055506111a183826127b0565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05683826040516111d2929190614b59565b60405180910390a1505050565b60115481565b60125481565b6111fc6111f6610b2f565b826128a4565b61123b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112329061506f565b60405180910390fd5b611246838383612982565b505050565b6000600b6000838152602001908152602001600020600101549050919050565b6112748261124b565b61128581611280610b2f565b6125ee565b61128f8383612bde565b505050565b600061129f83611653565b82106112e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d790614ccf565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177561136b81611366610b2f565b6125ee565b600083116113ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a590614e2f565b60405180910390fd5b6011546113cb846113bd610f6a565b612cbf90919063ffffffff16565b1061140b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114029061500f565b60405180910390fd5b6114158383612cd5565b505050565b611422610b2f565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461148f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611486906150af565b60405180910390fd5b6114998282612d1b565b5050565b6000600c54905090565b6114c283838360405180602001604052806000815250611e69565b505050565b60006114d1610f6a565b8210611512576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115099061508f565b60405180910390fd5b6008828154811061154c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b601660009054906101000a900460ff1681565b6000801b61158681611581610b2f565b6125ee565b816013908051906020019061159c929190613ec6565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561164a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164190614eaf565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116bb90614e8f565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611713610b2f565b73ffffffffffffffffffffffffffffffffffffffff16611731611825565b73ffffffffffffffffffffffffffffffffffffffff1614611787576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177e90614f8f565b60405180910390fd5b6117916000612dfd565b565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b6000601082815481106117f3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6060600180546118c990615406565b80601f01602080910402602001604051908101604052809291908181526020018280546118f590615406565b80156119425780601f1061191757610100808354040283529160200191611942565b820191906000526020600020905b81548152906001019060200180831161192557829003601f168201915b5050505050905090565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b80600a600082116119db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d290614e2f565b60405180910390fd5b80821115611a1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1590614f2f565b60405180910390fd5b601154611a3b83611a2d610f6a565b612cbf90919063ffffffff16565b10611a7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a729061500f565b60405180910390fd5b34611a9183601254612ec390919063ffffffff16565b14611ad1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac890614f0f565b60405180910390fd5b60011515601660019054906101000a900460ff16151514611b27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1e90614c8f565b60405180910390fd5b611b3883611b33610b2f565b612cd5565b505050565b6000801b81565b611b4c610b2f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb190614d8f565b60405180910390fd5b8060056000611bc7610b2f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611c74610b2f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611cb99190614bf7565b60405180910390a35050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775611cf781611cf2610b2f565b6125ee565b60005b83839050811015611dbd57600160146000868685818110611d44577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611d599190614116565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611db590615469565b915050611cfa565b50505050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775611df581611df0610b2f565b6125ee565b60011515601660009054906101000a900460ff16151514611e4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4290614ecf565b60405180910390fd5b6000601660006101000a81548160ff02191690831515021790555050565b611e7a611e74610b2f565b836128a4565b611eb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb09061506f565b60405180910390fd5b611ec584848484612ed9565b50505050565b6000601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b601660019054906101000a900460ff1681565b6060611f3f8261268b565b611f7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7590614fef565b60405180910390fd5b6000611f88612f35565b90506000815111611fa85760405180602001604052806000815250611fd3565b80611fb284612fc7565b604051602001611fc3929190614acb565b6040516020818303038152906040525b915050919050565b80601460008211612021576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201890614e2f565b60405180910390fd5b80821115612064576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205b90614f2f565b60405180910390fd5b60115461208183612073610f6a565b612cbf90919063ffffffff16565b106120c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b89061500f565b60405180910390fd5b346120d783601254612ec390919063ffffffff16565b14612117576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210e90614f0f565b60405180910390fd5b60011515601660009054906101000a900460ff1615151461216d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216490614faf565b60405180910390fd5b600115156014600061217d610b2f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514612207576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121fe90614e6f565b60405180910390fd5b6000151560156000612217610b2f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515146122a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229890614c6f565b60405180910390fd5b6001601560006122af610b2f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506123118361230c610b2f565b612cd5565b505050565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6123688261124b565b61237981612374610b2f565b6125ee565b6123838383612d1b565b505050565b6000600d54905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61242e610b2f565b73ffffffffffffffffffffffffffffffffffffffff1661244c611825565b73ffffffffffffffffffffffffffffffffffffffff16146124a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249990614f8f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612512576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250990614d0f565b60405180910390fd5b61251b81612dfd565b50565b6000601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806125e757506125e682613174565b5b9050919050565b6125f8828261184f565b6126875761261d8173ffffffffffffffffffffffffffffffffffffffff1660146131ee565b61262b8360001c60206131ee565b60405160200161263c929190614b04565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267e9190614c2d565b60405180910390fd5b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661276a836115a1565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b804710156127f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ea90614dcf565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161281990614aef565b60006040518083038185875af1925050503d8060008114612856576040519150601f19603f3d011682016040523d82523d6000602084013e61285b565b606091505b505090508061289f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289690614daf565b60405180910390fd5b505050565b60006128af8261268b565b6128ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e590614def565b60405180910390fd5b60006128f9836115a1565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061296857508373ffffffffffffffffffffffffffffffffffffffff1661295084610c81565b73ffffffffffffffffffffffffffffffffffffffff16145b8061297957506129788185612392565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166129a2826115a1565b73ffffffffffffffffffffffffffffffffffffffff16146129f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ef90614fcf565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5f90614d6f565b60405180910390fd5b612a738383836134e8565b612a7e6000826126f7565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ace91906152a0565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b2591906151bf565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612be8828261184f565b612cbb576001600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612c60610b2f565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60008183612ccd91906151bf565b905092915050565b60005b82811015612d165760006001612cec610f6a565b612cf691906151bf565b9050612d0283826134f8565b508080612d0e90615469565b915050612cd8565b505050565b612d25828261184f565b15612df9576000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612d9e610b2f565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008183612ed19190615246565b905092915050565b612ee4848484612982565b612ef084848484613516565b612f2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2690614cef565b60405180910390fd5b50505050565b606060138054612f4490615406565b80601f0160208091040260200160405190810160405280929190818152602001828054612f7090615406565b8015612fbd5780601f10612f9257610100808354040283529160200191612fbd565b820191906000526020600020905b815481529060010190602001808311612fa057829003601f168201915b5050505050905090565b6060600082141561300f576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061316f565b600082905060005b6000821461304157808061302a90615469565b915050600a8261303a9190615215565b9150613017565b60008167ffffffffffffffff811115613083577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156130b55781602001600182028036833780820191505090505b5090505b60008514613168576001826130ce91906152a0565b9150600a856130dd91906154b2565b60306130e991906151bf565b60f81b818381518110613125577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131619190615215565b94506130b9565b8093505050505b919050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806131e757506131e6826136ad565b5b9050919050565b6060600060028360026132019190615246565b61320b91906151bf565b67ffffffffffffffff81111561324a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561327c5781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106132da577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110613364577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026133a49190615246565b6133ae91906151bf565b90505b600181111561349a577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613416577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110613453577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080613493906153dc565b90506133b1565b50600084146134de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134d590614c4f565b60405180910390fd5b8091505092915050565b6134f383838361378f565b505050565b6135128282604051806020016040528060008152506138a3565b5050565b60006135378473ffffffffffffffffffffffffffffffffffffffff166138fe565b156136a0578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613560610b2f565b8786866040518563ffffffff1660e01b81526004016135829493929190614b82565b602060405180830381600087803b15801561359c57600080fd5b505af19250505080156135cd57506040513d601f19601f820116820180604052508101906135ca91906143b9565b60015b613650573d80600081146135fd576040519150601f19603f3d011682016040523d82523d6000602084013e613602565b606091505b50600081511415613648576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161363f90614cef565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506136a5565b600190505b949350505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061377857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80613788575061378782613911565b5b9050919050565b61379a83838361397b565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156137dd576137d881613980565b61381c565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461381b5761381a83826139c9565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561385f5761385a81613b36565b61389e565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461389d5761389c8282613c79565b5b5b505050565b6138ad8383613cf8565b6138ba6000848484613516565b6138f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138f090614cef565b60405180910390fd5b505050565b600080823b905060008111915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016139d684611653565b6139e091906152a0565b9050600060076000848152602001908152602001600020549050818114613ac5576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613b4a91906152a0565b9050600060096000848152602001908152602001600020549050600060088381548110613ba0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613be8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613c5d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613c8483611653565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613d68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d5f90614f4f565b60405180910390fd5b613d718161268b565b15613db1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613da890614d2f565b60405180910390fd5b613dbd600083836134e8565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613e0d91906151bf565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054613ed290615406565b90600052602060002090601f016020900481019282613ef45760008555613f3b565b82601f10613f0d57805160ff1916838001178555613f3b565b82800160010185558215613f3b579182015b82811115613f3a578251825591602001919060010190613f1f565b5b509050613f489190613f4c565b5090565b5b80821115613f65576000816000905550600101613f4d565b5090565b6000613f7c613f778461510f565b6150ea565b905082815260208101848484011115613f9457600080fd5b613f9f84828561539a565b509392505050565b6000613fba613fb584615140565b6150ea565b905082815260208101848484011115613fd257600080fd5b613fdd84828561539a565b509392505050565b600081359050613ff481615e75565b92915050565b60008135905061400981615e8c565b92915050565b60008083601f84011261402157600080fd5b8235905067ffffffffffffffff81111561403a57600080fd5b60208301915083602082028301111561405257600080fd5b9250929050565b60008135905061406881615ea3565b92915050565b60008135905061407d81615eba565b92915050565b60008135905061409281615ed1565b92915050565b6000815190506140a781615ed1565b92915050565b600082601f8301126140be57600080fd5b81356140ce848260208601613f69565b91505092915050565b600082601f8301126140e857600080fd5b81356140f8848260208601613fa7565b91505092915050565b60008135905061411081615ee8565b92915050565b60006020828403121561412857600080fd5b600061413684828501613fe5565b91505092915050565b60006020828403121561415157600080fd5b600061415f84828501613ffa565b91505092915050565b6000806040838503121561417b57600080fd5b600061418985828601613fe5565b925050602061419a85828601613fe5565b9150509250929050565b6000806000606084860312156141b957600080fd5b60006141c786828701613fe5565b93505060206141d886828701613fe5565b92505060406141e986828701614101565b9150509250925092565b6000806000806080858703121561420957600080fd5b600061421787828801613fe5565b945050602061422887828801613fe5565b935050604061423987828801614101565b925050606085013567ffffffffffffffff81111561425657600080fd5b614262878288016140ad565b91505092959194509250565b6000806040838503121561428157600080fd5b600061428f85828601613fe5565b92505060206142a085828601614059565b9150509250929050565b600080604083850312156142bd57600080fd5b60006142cb85828601613fe5565b92505060206142dc85828601614101565b9150509250929050565b600080602083850312156142f957600080fd5b600083013567ffffffffffffffff81111561431357600080fd5b61431f8582860161400f565b92509250509250929050565b60006020828403121561433d57600080fd5b600061434b8482850161406e565b91505092915050565b6000806040838503121561436757600080fd5b60006143758582860161406e565b925050602061438685828601613fe5565b9150509250929050565b6000602082840312156143a257600080fd5b60006143b084828501614083565b91505092915050565b6000602082840312156143cb57600080fd5b60006143d984828501614098565b91505092915050565b6000602082840312156143f457600080fd5b600082013567ffffffffffffffff81111561440e57600080fd5b61441a848285016140d7565b91505092915050565b60006020828403121561443557600080fd5b600061444384828501614101565b91505092915050565b6000806040838503121561445f57600080fd5b600061446d85828601614101565b925050602061447e85828601613fe5565b9150509250929050565b61449181615364565b82525050565b6144a0816152d4565b82525050565b6144af816152f8565b82525050565b6144be81615304565b82525050565b60006144cf82615171565b6144d98185615187565b93506144e98185602086016153a9565b6144f28161559f565b840191505092915050565b60006145088261517c565b61451281856151a3565b93506145228185602086016153a9565b61452b8161559f565b840191505092915050565b60006145418261517c565b61454b81856151b4565b935061455b8185602086016153a9565b80840191505092915050565b60006145746020836151a3565b915061457f826155b0565b602082019050919050565b6000614597600e836151a3565b91506145a2826155d9565b602082019050919050565b60006145ba6013836151a3565b91506145c582615602565b602082019050919050565b60006145dd6016836151a3565b91506145e88261562b565b602082019050919050565b6000614600602b836151a3565b915061460b82615654565b604082019050919050565b60006146236032836151a3565b915061462e826156a3565b604082019050919050565b60006146466026836151a3565b9150614651826156f2565b604082019050919050565b6000614669601c836151a3565b915061467482615741565b602082019050919050565b600061468c6026836151a3565b91506146978261576a565b604082019050919050565b60006146af6024836151a3565b91506146ba826157b9565b604082019050919050565b60006146d26019836151a3565b91506146dd82615808565b602082019050919050565b60006146f5603a836151a3565b915061470082615831565b604082019050919050565b6000614718601d836151a3565b915061472382615880565b602082019050919050565b600061473b602c836151a3565b9150614746826158a9565b604082019050919050565b600061475e602b836151a3565b9150614769826158f8565b604082019050919050565b60006147816016836151a3565b915061478c82615947565b602082019050919050565b60006147a46038836151a3565b91506147af82615970565b604082019050919050565b60006147c7600e836151a3565b91506147d2826159bf565b602082019050919050565b60006147ea602a836151a3565b91506147f5826159e8565b604082019050919050565b600061480d6029836151a3565b915061481882615a37565b604082019050919050565b60006148306019836151a3565b915061483b82615a86565b602082019050919050565b60006148536016836151a3565b915061485e82615aaf565b602082019050919050565b60006148766014836151a3565b915061488182615ad8565b602082019050919050565b60006148996019836151a3565b91506148a482615b01565b602082019050919050565b60006148bc6020836151a3565b91506148c782615b2a565b602082019050919050565b60006148df602c836151a3565b91506148ea82615b53565b604082019050919050565b60006149026020836151a3565b915061490d82615ba2565b602082019050919050565b60006149256016836151a3565b915061493082615bcb565b602082019050919050565b60006149486029836151a3565b915061495382615bf4565b604082019050919050565b600061496b602f836151a3565b915061497682615c43565b604082019050919050565b600061498e6013836151a3565b915061499982615c92565b602082019050919050565b60006149b16019836151a3565b91506149bc82615cbb565b602082019050919050565b60006149d46021836151a3565b91506149df82615ce4565b604082019050919050565b60006149f7600083615198565b9150614a0282615d33565b600082019050919050565b6000614a1a6031836151a3565b9150614a2582615d36565b604082019050919050565b6000614a3d602c836151a3565b9150614a4882615d85565b604082019050919050565b6000614a606017836151b4565b9150614a6b82615dd4565b601782019050919050565b6000614a836011836151b4565b9150614a8e82615dfd565b601182019050919050565b6000614aa6602f836151a3565b9150614ab182615e26565b604082019050919050565b614ac58161535a565b82525050565b6000614ad78285614536565b9150614ae38284614536565b91508190509392505050565b6000614afa826149ea565b9150819050919050565b6000614b0f82614a53565b9150614b1b8285614536565b9150614b2682614a76565b9150614b328284614536565b91508190509392505050565b6000602082019050614b536000830184614497565b92915050565b6000604082019050614b6e6000830185614488565b614b7b6020830184614abc565b9392505050565b6000608082019050614b976000830187614497565b614ba46020830186614497565b614bb16040830185614abc565b8181036060830152614bc381846144c4565b905095945050505050565b6000604082019050614be36000830185614497565b614bf06020830184614abc565b9392505050565b6000602082019050614c0c60008301846144a6565b92915050565b6000602082019050614c2760008301846144b5565b92915050565b60006020820190508181036000830152614c4781846144fd565b905092915050565b60006020820190508181036000830152614c6881614567565b9050919050565b60006020820190508181036000830152614c888161458a565b9050919050565b60006020820190508181036000830152614ca8816145ad565b9050919050565b60006020820190508181036000830152614cc8816145d0565b9050919050565b60006020820190508181036000830152614ce8816145f3565b9050919050565b60006020820190508181036000830152614d0881614616565b9050919050565b60006020820190508181036000830152614d2881614639565b9050919050565b60006020820190508181036000830152614d488161465c565b9050919050565b60006020820190508181036000830152614d688161467f565b9050919050565b60006020820190508181036000830152614d88816146a2565b9050919050565b60006020820190508181036000830152614da8816146c5565b9050919050565b60006020820190508181036000830152614dc8816146e8565b9050919050565b60006020820190508181036000830152614de88161470b565b9050919050565b60006020820190508181036000830152614e088161472e565b9050919050565b60006020820190508181036000830152614e2881614751565b9050919050565b60006020820190508181036000830152614e4881614774565b9050919050565b60006020820190508181036000830152614e6881614797565b9050919050565b60006020820190508181036000830152614e88816147ba565b9050919050565b60006020820190508181036000830152614ea8816147dd565b9050919050565b60006020820190508181036000830152614ec881614800565b9050919050565b60006020820190508181036000830152614ee881614823565b9050919050565b60006020820190508181036000830152614f0881614846565b9050919050565b60006020820190508181036000830152614f2881614869565b9050919050565b60006020820190508181036000830152614f488161488c565b9050919050565b60006020820190508181036000830152614f68816148af565b9050919050565b60006020820190508181036000830152614f88816148d2565b9050919050565b60006020820190508181036000830152614fa8816148f5565b9050919050565b60006020820190508181036000830152614fc881614918565b9050919050565b60006020820190508181036000830152614fe88161493b565b9050919050565b600060208201905081810360008301526150088161495e565b9050919050565b6000602082019050818103600083015261502881614981565b9050919050565b60006020820190508181036000830152615048816149a4565b9050919050565b60006020820190508181036000830152615068816149c7565b9050919050565b6000602082019050818103600083015261508881614a0d565b9050919050565b600060208201905081810360008301526150a881614a30565b9050919050565b600060208201905081810360008301526150c881614a99565b9050919050565b60006020820190506150e46000830184614abc565b92915050565b60006150f4615105565b90506151008282615438565b919050565b6000604051905090565b600067ffffffffffffffff82111561512a57615129615570565b5b6151338261559f565b9050602081019050919050565b600067ffffffffffffffff82111561515b5761515a615570565b5b6151648261559f565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006151ca8261535a565b91506151d58361535a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561520a576152096154e3565b5b828201905092915050565b60006152208261535a565b915061522b8361535a565b92508261523b5761523a615512565b5b828204905092915050565b60006152518261535a565b915061525c8361535a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615295576152946154e3565b5b828202905092915050565b60006152ab8261535a565b91506152b68361535a565b9250828210156152c9576152c86154e3565b5b828203905092915050565b60006152df8261533a565b9050919050565b60006152f18261533a565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061536f82615376565b9050919050565b600061538182615388565b9050919050565b60006153938261533a565b9050919050565b82818337600083830152505050565b60005b838110156153c75780820151818401526020810190506153ac565b838111156153d6576000848401525b50505050565b60006153e78261535a565b915060008214156153fb576153fa6154e3565b5b600182039050919050565b6000600282049050600182168061541e57607f821691505b6020821081141561543257615431615541565b5b50919050565b6154418261559f565b810181811067ffffffffffffffff821117156154605761545f615570565b5b80604052505050565b60006154748261535a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156154a7576154a66154e3565b5b600182019050919050565b60006154bd8261535a565b91506154c88361535a565b9250826154d8576154d7615512565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f416c7265616479206d696e746564000000000000000000000000000000000000600082015250565b7f53616c65206d7573742062652061637469766500000000000000000000000000600082015250565b7f53616c6520697320616c72656164792061637469766500000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f4d7573742062652067726561746572207468616e203000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4e6f7420696e2070726573616c65000000000000000000000000000000000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f50726573616c6520697320616c72656164792070617573656400000000000000600082015250565b7f53616c6520697320616c72656164792070617573656400000000000000000000600082015250565b7f56616c7565206973206e6f7420636f7272656374000000000000000000000000600082015250565b7f43616e6e6f74206d696e74206d6f7265207468616e206d617800000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f50726573616c65206d7573742062652061637469766500000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4578636565646564206d617820737570706c7900000000000000000000000000600082015250565b7f50726573616c6520697320616c72656164792061637469766500000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b615e7e816152d4565b8114615e8957600080fd5b50565b615e95816152e6565b8114615ea057600080fd5b50565b615eac816152f8565b8114615eb757600080fd5b50565b615ec381615304565b8114615ece57600080fd5b50565b615eda8161530e565b8114615ee557600080fd5b50565b615ef18161535a565b8114615efc57600080fd5b5056fea26469706673582212206bbf3a4052cb330f8dae216d5a0a2af342813591895f3fb837c5de17f74a5dd664736f6c634300080400330000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000011c37937e080000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000055ee731f1b55562e293bd0c8670e9d0c86291a4c00000000000000000000000073523cfbc14645d52de1e6f330b720b58ece617e0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000005f0000000000000000000000000000000000000000000000000000000000000005

Deployed Bytecode

0x60806040526004361061028c5760003560e01c806370a082311161015a578063b4452702116100c1578063ce7c2ac21161007a578063ce7c2ac2146109fb578063d547741f14610a38578063e33b7de314610a61578063e985e9c514610a8c578063f2fde38b14610ac9578063f3d6b71c14610af2576102d3565b8063b4452702146108fa578063b88d4fde14610911578063bc660cac1461093a578063bc8893b414610977578063c87b56dd146109a2578063c9b298f1146109df576102d3565b806395d89b411161011357806395d89b41146107f95780639852595c14610824578063a0712d6814610861578063a217fddf1461087d578063a22cb465146108a8578063b09afa30146108d1576102d3565b806370a08231146106d5578063715018a61461071257806375b238fc146107295780638b83209b146107545780638da5cb5b1461079157806391d14854146107bc576102d3565b806323b872dd116101fe5780633a98ef39116101b75780633a98ef39146105b357806342842e0e146105de5780634f6ccce71461060757806353135ca01461064457806355f804b31461066f5780636352211e14610698576102d3565b806323b872dd14610495578063248a9ca3146104be5780632f2ff15d146104fb5780632f745c591461052457806334b227831461056157806336568abe1461058a576102d3565b80630c1c972a116102505780630c1c972a146103bd5780630c41f497146103d457806318160ddd146103eb578063191655871461041657806322f4596f1461043f578063235b6ea11461046a576102d3565b806301ffc9a7146102d857806304c98b2b1461031557806306fdde031461032c578063081812fc14610357578063095ea7b314610394576102d3565b366102d3577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7706102ba610b2f565b346040516102c9929190614bce565b60405180910390a1005b600080fd5b3480156102e457600080fd5b506102ff60048036038101906102fa9190614390565b610b37565b60405161030c9190614bf7565b60405180910390f35b34801561032157600080fd5b5061032a610b49565b005b34801561033857600080fd5b50610341610bef565b60405161034e9190614c2d565b60405180910390f35b34801561036357600080fd5b5061037e60048036038101906103799190614423565b610c81565b60405161038b9190614b3e565b60405180910390f35b3480156103a057600080fd5b506103bb60048036038101906103b691906142aa565b610d06565b005b3480156103c957600080fd5b506103d2610e1e565b005b3480156103e057600080fd5b506103e9610ec4565b005b3480156103f757600080fd5b50610400610f6a565b60405161040d91906150cf565b60405180910390f35b34801561042257600080fd5b5061043d6004803603810190610438919061413f565b610f77565b005b34801561044b57600080fd5b506104546111df565b60405161046191906150cf565b60405180910390f35b34801561047657600080fd5b5061047f6111e5565b60405161048c91906150cf565b60405180910390f35b3480156104a157600080fd5b506104bc60048036038101906104b791906141a4565b6111eb565b005b3480156104ca57600080fd5b506104e560048036038101906104e0919061432b565b61124b565b6040516104f29190614c12565b60405180910390f35b34801561050757600080fd5b50610522600480360381019061051d9190614354565b61126b565b005b34801561053057600080fd5b5061054b600480360381019061054691906142aa565b611294565b60405161055891906150cf565b60405180910390f35b34801561056d57600080fd5b506105886004803603810190610583919061444c565b611339565b005b34801561059657600080fd5b506105b160048036038101906105ac9190614354565b61141a565b005b3480156105bf57600080fd5b506105c861149d565b6040516105d591906150cf565b60405180910390f35b3480156105ea57600080fd5b50610605600480360381019061060091906141a4565b6114a7565b005b34801561061357600080fd5b5061062e60048036038101906106299190614423565b6114c7565b60405161063b91906150cf565b60405180910390f35b34801561065057600080fd5b5061065961155e565b6040516106669190614bf7565b60405180910390f35b34801561067b57600080fd5b50610696600480360381019061069191906143e2565b611571565b005b3480156106a457600080fd5b506106bf60048036038101906106ba9190614423565b6115a1565b6040516106cc9190614b3e565b60405180910390f35b3480156106e157600080fd5b506106fc60048036038101906106f79190614116565b611653565b60405161070991906150cf565b60405180910390f35b34801561071e57600080fd5b5061072761170b565b005b34801561073557600080fd5b5061073e611793565b60405161074b9190614c12565b60405180910390f35b34801561076057600080fd5b5061077b60048036038101906107769190614423565b6117b7565b6040516107889190614b3e565b60405180910390f35b34801561079d57600080fd5b506107a6611825565b6040516107b39190614b3e565b60405180910390f35b3480156107c857600080fd5b506107e360048036038101906107de9190614354565b61184f565b6040516107f09190614bf7565b60405180910390f35b34801561080557600080fd5b5061080e6118ba565b60405161081b9190614c2d565b60405180910390f35b34801561083057600080fd5b5061084b60048036038101906108469190614116565b61194c565b60405161085891906150cf565b60405180910390f35b61087b60048036038101906108769190614423565b611995565b005b34801561088957600080fd5b50610892611b3d565b60405161089f9190614c12565b60405180910390f35b3480156108b457600080fd5b506108cf60048036038101906108ca919061426e565b611b44565b005b3480156108dd57600080fd5b506108f860048036038101906108f391906142e6565b611cc5565b005b34801561090657600080fd5b5061090f611dc3565b005b34801561091d57600080fd5b50610938600480360381019061093391906141f3565b611e69565b005b34801561094657600080fd5b50610961600480360381019061095c9190614116565b611ecb565b60405161096e9190614bf7565b60405180910390f35b34801561098357600080fd5b5061098c611f21565b6040516109999190614bf7565b60405180910390f35b3480156109ae57600080fd5b506109c960048036038101906109c49190614423565b611f34565b6040516109d69190614c2d565b60405180910390f35b6109f960048036038101906109f49190614423565b611fdb565b005b348015610a0757600080fd5b50610a226004803603810190610a1d9190614116565b612316565b604051610a2f91906150cf565b60405180910390f35b348015610a4457600080fd5b50610a5f6004803603810190610a5a9190614354565b61235f565b005b348015610a6d57600080fd5b50610a76612388565b604051610a8391906150cf565b60405180910390f35b348015610a9857600080fd5b50610ab36004803603810190610aae9190614168565b612392565b604051610ac09190614bf7565b60405180910390f35b348015610ad557600080fd5b50610af06004803603810190610aeb9190614116565b612426565b005b348015610afe57600080fd5b50610b196004803603810190610b149190614116565b61251e565b604051610b269190614bf7565b60405180910390f35b600033905090565b6000610b4282612574565b9050919050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775610b7b81610b76610b2f565b6125ee565b60001515601660009054906101000a900460ff16151514610bd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc89061502f565b60405180910390fd5b6001601660006101000a81548160ff02191690831515021790555050565b606060008054610bfe90615406565b80601f0160208091040260200160405190810160405280929190818152602001828054610c2a90615406565b8015610c775780601f10610c4c57610100808354040283529160200191610c77565b820191906000526020600020905b815481529060010190602001808311610c5a57829003601f168201915b5050505050905090565b6000610c8c8261268b565b610ccb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc290614f6f565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d11826115a1565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d799061504f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610da1610b2f565b73ffffffffffffffffffffffffffffffffffffffff161480610dd05750610dcf81610dca610b2f565b612392565b5b610e0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0690614e4f565b60405180910390fd5b610e1983836126f7565b505050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775610e5081610e4b610b2f565b6125ee565b60001515601660019054906101000a900460ff16151514610ea6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9d90614caf565b60405180910390fd5b6001601660016101000a81548160ff02191690831515021790555050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775610ef681610ef1610b2f565b6125ee565b60011515601660019054906101000a900460ff16151514610f4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4390614eef565b60405180910390fd5b6000601660016101000a81548160ff02191690831515021790555050565b6000600880549050905090565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610ff9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff090614d4f565b60405180910390fd5b6000600d544761100991906151bf565b90506000600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600c54600e60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548461109b9190615246565b6110a59190615215565b6110af91906152a0565b905060008114156110f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ec90614e0f565b60405180910390fd5b80600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461114091906151bf565b600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600d5461119191906151bf565b600d819055506111a183826127b0565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05683826040516111d2929190614b59565b60405180910390a1505050565b60115481565b60125481565b6111fc6111f6610b2f565b826128a4565b61123b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112329061506f565b60405180910390fd5b611246838383612982565b505050565b6000600b6000838152602001908152602001600020600101549050919050565b6112748261124b565b61128581611280610b2f565b6125ee565b61128f8383612bde565b505050565b600061129f83611653565b82106112e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d790614ccf565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177561136b81611366610b2f565b6125ee565b600083116113ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a590614e2f565b60405180910390fd5b6011546113cb846113bd610f6a565b612cbf90919063ffffffff16565b1061140b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114029061500f565b60405180910390fd5b6114158383612cd5565b505050565b611422610b2f565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461148f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611486906150af565b60405180910390fd5b6114998282612d1b565b5050565b6000600c54905090565b6114c283838360405180602001604052806000815250611e69565b505050565b60006114d1610f6a565b8210611512576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115099061508f565b60405180910390fd5b6008828154811061154c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b601660009054906101000a900460ff1681565b6000801b61158681611581610b2f565b6125ee565b816013908051906020019061159c929190613ec6565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561164a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164190614eaf565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116bb90614e8f565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611713610b2f565b73ffffffffffffffffffffffffffffffffffffffff16611731611825565b73ffffffffffffffffffffffffffffffffffffffff1614611787576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177e90614f8f565b60405180910390fd5b6117916000612dfd565b565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b6000601082815481106117f3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6060600180546118c990615406565b80601f01602080910402602001604051908101604052809291908181526020018280546118f590615406565b80156119425780601f1061191757610100808354040283529160200191611942565b820191906000526020600020905b81548152906001019060200180831161192557829003601f168201915b5050505050905090565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b80600a600082116119db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d290614e2f565b60405180910390fd5b80821115611a1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1590614f2f565b60405180910390fd5b601154611a3b83611a2d610f6a565b612cbf90919063ffffffff16565b10611a7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a729061500f565b60405180910390fd5b34611a9183601254612ec390919063ffffffff16565b14611ad1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac890614f0f565b60405180910390fd5b60011515601660019054906101000a900460ff16151514611b27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1e90614c8f565b60405180910390fd5b611b3883611b33610b2f565b612cd5565b505050565b6000801b81565b611b4c610b2f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb190614d8f565b60405180910390fd5b8060056000611bc7610b2f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611c74610b2f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611cb99190614bf7565b60405180910390a35050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775611cf781611cf2610b2f565b6125ee565b60005b83839050811015611dbd57600160146000868685818110611d44577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611d599190614116565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611db590615469565b915050611cfa565b50505050565b7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775611df581611df0610b2f565b6125ee565b60011515601660009054906101000a900460ff16151514611e4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4290614ecf565b60405180910390fd5b6000601660006101000a81548160ff02191690831515021790555050565b611e7a611e74610b2f565b836128a4565b611eb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb09061506f565b60405180910390fd5b611ec584848484612ed9565b50505050565b6000601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b601660019054906101000a900460ff1681565b6060611f3f8261268b565b611f7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7590614fef565b60405180910390fd5b6000611f88612f35565b90506000815111611fa85760405180602001604052806000815250611fd3565b80611fb284612fc7565b604051602001611fc3929190614acb565b6040516020818303038152906040525b915050919050565b80601460008211612021576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201890614e2f565b60405180910390fd5b80821115612064576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205b90614f2f565b60405180910390fd5b60115461208183612073610f6a565b612cbf90919063ffffffff16565b106120c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b89061500f565b60405180910390fd5b346120d783601254612ec390919063ffffffff16565b14612117576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210e90614f0f565b60405180910390fd5b60011515601660009054906101000a900460ff1615151461216d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216490614faf565b60405180910390fd5b600115156014600061217d610b2f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514612207576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121fe90614e6f565b60405180910390fd5b6000151560156000612217610b2f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515146122a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229890614c6f565b60405180910390fd5b6001601560006122af610b2f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506123118361230c610b2f565b612cd5565b505050565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6123688261124b565b61237981612374610b2f565b6125ee565b6123838383612d1b565b505050565b6000600d54905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61242e610b2f565b73ffffffffffffffffffffffffffffffffffffffff1661244c611825565b73ffffffffffffffffffffffffffffffffffffffff16146124a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249990614f8f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612512576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250990614d0f565b60405180910390fd5b61251b81612dfd565b50565b6000601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806125e757506125e682613174565b5b9050919050565b6125f8828261184f565b6126875761261d8173ffffffffffffffffffffffffffffffffffffffff1660146131ee565b61262b8360001c60206131ee565b60405160200161263c929190614b04565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267e9190614c2d565b60405180910390fd5b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661276a836115a1565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b804710156127f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ea90614dcf565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161281990614aef565b60006040518083038185875af1925050503d8060008114612856576040519150601f19603f3d011682016040523d82523d6000602084013e61285b565b606091505b505090508061289f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289690614daf565b60405180910390fd5b505050565b60006128af8261268b565b6128ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e590614def565b60405180910390fd5b60006128f9836115a1565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061296857508373ffffffffffffffffffffffffffffffffffffffff1661295084610c81565b73ffffffffffffffffffffffffffffffffffffffff16145b8061297957506129788185612392565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166129a2826115a1565b73ffffffffffffffffffffffffffffffffffffffff16146129f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ef90614fcf565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5f90614d6f565b60405180910390fd5b612a738383836134e8565b612a7e6000826126f7565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ace91906152a0565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b2591906151bf565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612be8828261184f565b612cbb576001600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612c60610b2f565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60008183612ccd91906151bf565b905092915050565b60005b82811015612d165760006001612cec610f6a565b612cf691906151bf565b9050612d0283826134f8565b508080612d0e90615469565b915050612cd8565b505050565b612d25828261184f565b15612df9576000600b600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612d9e610b2f565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008183612ed19190615246565b905092915050565b612ee4848484612982565b612ef084848484613516565b612f2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2690614cef565b60405180910390fd5b50505050565b606060138054612f4490615406565b80601f0160208091040260200160405190810160405280929190818152602001828054612f7090615406565b8015612fbd5780601f10612f9257610100808354040283529160200191612fbd565b820191906000526020600020905b815481529060010190602001808311612fa057829003601f168201915b5050505050905090565b6060600082141561300f576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061316f565b600082905060005b6000821461304157808061302a90615469565b915050600a8261303a9190615215565b9150613017565b60008167ffffffffffffffff811115613083577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156130b55781602001600182028036833780820191505090505b5090505b60008514613168576001826130ce91906152a0565b9150600a856130dd91906154b2565b60306130e991906151bf565b60f81b818381518110613125577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131619190615215565b94506130b9565b8093505050505b919050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806131e757506131e6826136ad565b5b9050919050565b6060600060028360026132019190615246565b61320b91906151bf565b67ffffffffffffffff81111561324a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561327c5781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106132da577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110613364577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026133a49190615246565b6133ae91906151bf565b90505b600181111561349a577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110613416577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110613453577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080613493906153dc565b90506133b1565b50600084146134de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134d590614c4f565b60405180910390fd5b8091505092915050565b6134f383838361378f565b505050565b6135128282604051806020016040528060008152506138a3565b5050565b60006135378473ffffffffffffffffffffffffffffffffffffffff166138fe565b156136a0578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613560610b2f565b8786866040518563ffffffff1660e01b81526004016135829493929190614b82565b602060405180830381600087803b15801561359c57600080fd5b505af19250505080156135cd57506040513d601f19601f820116820180604052508101906135ca91906143b9565b60015b613650573d80600081146135fd576040519150601f19603f3d011682016040523d82523d6000602084013e613602565b606091505b50600081511415613648576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161363f90614cef565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506136a5565b600190505b949350505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061377857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80613788575061378782613911565b5b9050919050565b61379a83838361397b565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156137dd576137d881613980565b61381c565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461381b5761381a83826139c9565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561385f5761385a81613b36565b61389e565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461389d5761389c8282613c79565b5b5b505050565b6138ad8383613cf8565b6138ba6000848484613516565b6138f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138f090614cef565b60405180910390fd5b505050565b600080823b905060008111915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016139d684611653565b6139e091906152a0565b9050600060076000848152602001908152602001600020549050818114613ac5576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613b4a91906152a0565b9050600060096000848152602001908152602001600020549050600060088381548110613ba0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613be8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613c5d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613c8483611653565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613d68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d5f90614f4f565b60405180910390fd5b613d718161268b565b15613db1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613da890614d2f565b60405180910390fd5b613dbd600083836134e8565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613e0d91906151bf565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054613ed290615406565b90600052602060002090601f016020900481019282613ef45760008555613f3b565b82601f10613f0d57805160ff1916838001178555613f3b565b82800160010185558215613f3b579182015b82811115613f3a578251825591602001919060010190613f1f565b5b509050613f489190613f4c565b5090565b5b80821115613f65576000816000905550600101613f4d565b5090565b6000613f7c613f778461510f565b6150ea565b905082815260208101848484011115613f9457600080fd5b613f9f84828561539a565b509392505050565b6000613fba613fb584615140565b6150ea565b905082815260208101848484011115613fd257600080fd5b613fdd84828561539a565b509392505050565b600081359050613ff481615e75565b92915050565b60008135905061400981615e8c565b92915050565b60008083601f84011261402157600080fd5b8235905067ffffffffffffffff81111561403a57600080fd5b60208301915083602082028301111561405257600080fd5b9250929050565b60008135905061406881615ea3565b92915050565b60008135905061407d81615eba565b92915050565b60008135905061409281615ed1565b92915050565b6000815190506140a781615ed1565b92915050565b600082601f8301126140be57600080fd5b81356140ce848260208601613f69565b91505092915050565b600082601f8301126140e857600080fd5b81356140f8848260208601613fa7565b91505092915050565b60008135905061411081615ee8565b92915050565b60006020828403121561412857600080fd5b600061413684828501613fe5565b91505092915050565b60006020828403121561415157600080fd5b600061415f84828501613ffa565b91505092915050565b6000806040838503121561417b57600080fd5b600061418985828601613fe5565b925050602061419a85828601613fe5565b9150509250929050565b6000806000606084860312156141b957600080fd5b60006141c786828701613fe5565b93505060206141d886828701613fe5565b92505060406141e986828701614101565b9150509250925092565b6000806000806080858703121561420957600080fd5b600061421787828801613fe5565b945050602061422887828801613fe5565b935050604061423987828801614101565b925050606085013567ffffffffffffffff81111561425657600080fd5b614262878288016140ad565b91505092959194509250565b6000806040838503121561428157600080fd5b600061428f85828601613fe5565b92505060206142a085828601614059565b9150509250929050565b600080604083850312156142bd57600080fd5b60006142cb85828601613fe5565b92505060206142dc85828601614101565b9150509250929050565b600080602083850312156142f957600080fd5b600083013567ffffffffffffffff81111561431357600080fd5b61431f8582860161400f565b92509250509250929050565b60006020828403121561433d57600080fd5b600061434b8482850161406e565b91505092915050565b6000806040838503121561436757600080fd5b60006143758582860161406e565b925050602061438685828601613fe5565b9150509250929050565b6000602082840312156143a257600080fd5b60006143b084828501614083565b91505092915050565b6000602082840312156143cb57600080fd5b60006143d984828501614098565b91505092915050565b6000602082840312156143f457600080fd5b600082013567ffffffffffffffff81111561440e57600080fd5b61441a848285016140d7565b91505092915050565b60006020828403121561443557600080fd5b600061444384828501614101565b91505092915050565b6000806040838503121561445f57600080fd5b600061446d85828601614101565b925050602061447e85828601613fe5565b9150509250929050565b61449181615364565b82525050565b6144a0816152d4565b82525050565b6144af816152f8565b82525050565b6144be81615304565b82525050565b60006144cf82615171565b6144d98185615187565b93506144e98185602086016153a9565b6144f28161559f565b840191505092915050565b60006145088261517c565b61451281856151a3565b93506145228185602086016153a9565b61452b8161559f565b840191505092915050565b60006145418261517c565b61454b81856151b4565b935061455b8185602086016153a9565b80840191505092915050565b60006145746020836151a3565b915061457f826155b0565b602082019050919050565b6000614597600e836151a3565b91506145a2826155d9565b602082019050919050565b60006145ba6013836151a3565b91506145c582615602565b602082019050919050565b60006145dd6016836151a3565b91506145e88261562b565b602082019050919050565b6000614600602b836151a3565b915061460b82615654565b604082019050919050565b60006146236032836151a3565b915061462e826156a3565b604082019050919050565b60006146466026836151a3565b9150614651826156f2565b604082019050919050565b6000614669601c836151a3565b915061467482615741565b602082019050919050565b600061468c6026836151a3565b91506146978261576a565b604082019050919050565b60006146af6024836151a3565b91506146ba826157b9565b604082019050919050565b60006146d26019836151a3565b91506146dd82615808565b602082019050919050565b60006146f5603a836151a3565b915061470082615831565b604082019050919050565b6000614718601d836151a3565b915061472382615880565b602082019050919050565b600061473b602c836151a3565b9150614746826158a9565b604082019050919050565b600061475e602b836151a3565b9150614769826158f8565b604082019050919050565b60006147816016836151a3565b915061478c82615947565b602082019050919050565b60006147a46038836151a3565b91506147af82615970565b604082019050919050565b60006147c7600e836151a3565b91506147d2826159bf565b602082019050919050565b60006147ea602a836151a3565b91506147f5826159e8565b604082019050919050565b600061480d6029836151a3565b915061481882615a37565b604082019050919050565b60006148306019836151a3565b915061483b82615a86565b602082019050919050565b60006148536016836151a3565b915061485e82615aaf565b602082019050919050565b60006148766014836151a3565b915061488182615ad8565b602082019050919050565b60006148996019836151a3565b91506148a482615b01565b602082019050919050565b60006148bc6020836151a3565b91506148c782615b2a565b602082019050919050565b60006148df602c836151a3565b91506148ea82615b53565b604082019050919050565b60006149026020836151a3565b915061490d82615ba2565b602082019050919050565b60006149256016836151a3565b915061493082615bcb565b602082019050919050565b60006149486029836151a3565b915061495382615bf4565b604082019050919050565b600061496b602f836151a3565b915061497682615c43565b604082019050919050565b600061498e6013836151a3565b915061499982615c92565b602082019050919050565b60006149b16019836151a3565b91506149bc82615cbb565b602082019050919050565b60006149d46021836151a3565b91506149df82615ce4565b604082019050919050565b60006149f7600083615198565b9150614a0282615d33565b600082019050919050565b6000614a1a6031836151a3565b9150614a2582615d36565b604082019050919050565b6000614a3d602c836151a3565b9150614a4882615d85565b604082019050919050565b6000614a606017836151b4565b9150614a6b82615dd4565b601782019050919050565b6000614a836011836151b4565b9150614a8e82615dfd565b601182019050919050565b6000614aa6602f836151a3565b9150614ab182615e26565b604082019050919050565b614ac58161535a565b82525050565b6000614ad78285614536565b9150614ae38284614536565b91508190509392505050565b6000614afa826149ea565b9150819050919050565b6000614b0f82614a53565b9150614b1b8285614536565b9150614b2682614a76565b9150614b328284614536565b91508190509392505050565b6000602082019050614b536000830184614497565b92915050565b6000604082019050614b6e6000830185614488565b614b7b6020830184614abc565b9392505050565b6000608082019050614b976000830187614497565b614ba46020830186614497565b614bb16040830185614abc565b8181036060830152614bc381846144c4565b905095945050505050565b6000604082019050614be36000830185614497565b614bf06020830184614abc565b9392505050565b6000602082019050614c0c60008301846144a6565b92915050565b6000602082019050614c2760008301846144b5565b92915050565b60006020820190508181036000830152614c4781846144fd565b905092915050565b60006020820190508181036000830152614c6881614567565b9050919050565b60006020820190508181036000830152614c888161458a565b9050919050565b60006020820190508181036000830152614ca8816145ad565b9050919050565b60006020820190508181036000830152614cc8816145d0565b9050919050565b60006020820190508181036000830152614ce8816145f3565b9050919050565b60006020820190508181036000830152614d0881614616565b9050919050565b60006020820190508181036000830152614d2881614639565b9050919050565b60006020820190508181036000830152614d488161465c565b9050919050565b60006020820190508181036000830152614d688161467f565b9050919050565b60006020820190508181036000830152614d88816146a2565b9050919050565b60006020820190508181036000830152614da8816146c5565b9050919050565b60006020820190508181036000830152614dc8816146e8565b9050919050565b60006020820190508181036000830152614de88161470b565b9050919050565b60006020820190508181036000830152614e088161472e565b9050919050565b60006020820190508181036000830152614e2881614751565b9050919050565b60006020820190508181036000830152614e4881614774565b9050919050565b60006020820190508181036000830152614e6881614797565b9050919050565b60006020820190508181036000830152614e88816147ba565b9050919050565b60006020820190508181036000830152614ea8816147dd565b9050919050565b60006020820190508181036000830152614ec881614800565b9050919050565b60006020820190508181036000830152614ee881614823565b9050919050565b60006020820190508181036000830152614f0881614846565b9050919050565b60006020820190508181036000830152614f2881614869565b9050919050565b60006020820190508181036000830152614f488161488c565b9050919050565b60006020820190508181036000830152614f68816148af565b9050919050565b60006020820190508181036000830152614f88816148d2565b9050919050565b60006020820190508181036000830152614fa8816148f5565b9050919050565b60006020820190508181036000830152614fc881614918565b9050919050565b60006020820190508181036000830152614fe88161493b565b9050919050565b600060208201905081810360008301526150088161495e565b9050919050565b6000602082019050818103600083015261502881614981565b9050919050565b60006020820190508181036000830152615048816149a4565b9050919050565b60006020820190508181036000830152615068816149c7565b9050919050565b6000602082019050818103600083015261508881614a0d565b9050919050565b600060208201905081810360008301526150a881614a30565b9050919050565b600060208201905081810360008301526150c881614a99565b9050919050565b60006020820190506150e46000830184614abc565b92915050565b60006150f4615105565b90506151008282615438565b919050565b6000604051905090565b600067ffffffffffffffff82111561512a57615129615570565b5b6151338261559f565b9050602081019050919050565b600067ffffffffffffffff82111561515b5761515a615570565b5b6151648261559f565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006151ca8261535a565b91506151d58361535a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561520a576152096154e3565b5b828201905092915050565b60006152208261535a565b915061522b8361535a565b92508261523b5761523a615512565b5b828204905092915050565b60006152518261535a565b915061525c8361535a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615295576152946154e3565b5b828202905092915050565b60006152ab8261535a565b91506152b68361535a565b9250828210156152c9576152c86154e3565b5b828203905092915050565b60006152df8261533a565b9050919050565b60006152f18261533a565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061536f82615376565b9050919050565b600061538182615388565b9050919050565b60006153938261533a565b9050919050565b82818337600083830152505050565b60005b838110156153c75780820151818401526020810190506153ac565b838111156153d6576000848401525b50505050565b60006153e78261535a565b915060008214156153fb576153fa6154e3565b5b600182039050919050565b6000600282049050600182168061541e57607f821691505b6020821081141561543257615431615541565b5b50919050565b6154418261559f565b810181811067ffffffffffffffff821117156154605761545f615570565b5b80604052505050565b60006154748261535a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156154a7576154a66154e3565b5b600182019050919050565b60006154bd8261535a565b91506154c88361535a565b9250826154d8576154d7615512565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f416c7265616479206d696e746564000000000000000000000000000000000000600082015250565b7f53616c65206d7573742062652061637469766500000000000000000000000000600082015250565b7f53616c6520697320616c72656164792061637469766500000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f4d7573742062652067726561746572207468616e203000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4e6f7420696e2070726573616c65000000000000000000000000000000000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f50726573616c6520697320616c72656164792070617573656400000000000000600082015250565b7f53616c6520697320616c72656164792070617573656400000000000000000000600082015250565b7f56616c7565206973206e6f7420636f7272656374000000000000000000000000600082015250565b7f43616e6e6f74206d696e74206d6f7265207468616e206d617800000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f50726573616c65206d7573742062652061637469766500000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4578636565646564206d617820737570706c7900000000000000000000000000600082015250565b7f50726573616c6520697320616c72656164792061637469766500000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b615e7e816152d4565b8114615e8957600080fd5b50565b615e95816152e6565b8114615ea057600080fd5b50565b615eac816152f8565b8114615eb757600080fd5b50565b615ec381615304565b8114615ece57600080fd5b50565b615eda8161530e565b8114615ee557600080fd5b50565b615ef18161535a565b8114615efc57600080fd5b5056fea26469706673582212206bbf3a4052cb330f8dae216d5a0a2af342813591895f3fb837c5de17f74a5dd664736f6c63430008040033

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

0000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000011c37937e080000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000055ee731f1b55562e293bd0c8670e9d0c86291a4c00000000000000000000000073523cfbc14645d52de1e6f330b720b58ece617e0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000005f0000000000000000000000000000000000000000000000000000000000000005

-----Decoded View---------------
Arg [0] : maxSupply (uint256): 10000
Arg [1] : price (uint256): 80000000000000000
Arg [2] : payees (address[]): 0x55EE731f1B55562E293bd0c8670e9d0c86291A4c,0x73523cFBC14645d52DE1E6f330b720b58Ece617e
Arg [3] : shares (uint256[]): 95,5

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [1] : 000000000000000000000000000000000000000000000000011c37937e080000
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [5] : 00000000000000000000000055ee731f1b55562e293bd0c8670e9d0c86291a4c
Arg [6] : 00000000000000000000000073523cfbc14645d52de1e6f330b720b58ece617e
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [8] : 000000000000000000000000000000000000000000000000000000000000005f
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000005


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.