ETH Price: $3,004.81 (+4.23%)
Gas: 2 Gwei

Token

AbstractWarriors (ABWA)
 

Overview

Max Total Supply

333 ABWA

Holders

194

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
mekhi.eth
Balance
1 ABWA
0x4cbce8a0ea5f90c6434528a634bf2ee8f29139fc
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
AbstractWarriors

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 19 : main.sol
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";


import './ERC721Tradable.sol';

contract AbstractWarriors is ERC721Tradable {
    using Strings for uint256;
	using SafeMath for uint256;

    event MintAbstract (address indexed sender, uint256 startWith, uint256 times);

    //uints 
    uint256 public totalAbstract;
    uint256 public totalCount = 333;
    uint256 public maxPurchase = 3;
    uint256 public price = 100000000000000000;
    string public baseURI;
	uint[] public mintedIds;
	string private _contractURI;

    //bool
    bool public sale_active = true;    

	// Wallets
	address private artist_1 = 0xA09b6583fb1dE9a183b403EBEF04194Bb76894e6;
	address private artist_2 = 0x4E0acB5a71ccE2187e60E4b10eD0e5CE13b03A46;
	address private artist_3 = 0x4b6232E1E198A3b6C03494BE0669Cf3Fc25996C4;

	mapping(address => uint) public mintedNFTs;

    

	constructor(address _proxyRegistryAddress, string memory _cURI) ERC721Tradable("AbstractWarriors", "ABWA", _proxyRegistryAddress) {_contractURI = _cURI; }


    function contractURI() public view returns (string memory) {
        return _contractURI;
    }
    
    function setContractURI(string memory _cURI) external onlyOwner {
        _contractURI = _cURI;
    }

	function setBaseURI(string memory _newURI) public onlyOwner {
        baseURI = _newURI;
    }

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

	function setSaleStatus(bool _start) public onlyOwner {
        sale_active = _start;
    }

    function changePrice(uint256 _newPrice) public onlyOwner {
        price = _newPrice;
    }


    function changeBatchSize(uint256 _newBatch) public onlyOwner {
        maxPurchase = _newBatch;
    }




    function mintAbstract(uint256 _count) payable public {
		uint256 TotalSupply = totalSupply();
        require(sale_active, "sale has to be active");
        require(_count >0 && _count <= maxPurchase, "Violated Max Tx Purchase Constraint");
        require(TotalSupply + _count <= totalCount, "Exceeds Max Tokens Available");
        require(msg.value == _count * price, "value error");
		require(msg.value >= price.mul(_count), "Ether value sent is not correct");
        emit MintAbstract(_msgSender(), TotalSupply+1, _count);

        for(uint256 i=0; i < _count; i++){
            _mint(_msgSender(), _getNextTokenId());
            mintedIds.push(_getNextTokenId());
            _incrementTokenId();

        }
    }  
    
    function devMint(uint256 _count) public onlyOwner {
		uint256 TotalSupply = totalSupply();
		require(TotalSupply + _count <= totalCount, "Exceeds Max Tokens Available");
        emit MintAbstract(_msgSender(), TotalSupply+1, _count);


        for(uint256 i=0; i < _count; i++){
            _mint(_msgSender(), _getNextTokenId());
            mintedIds.push(_getNextTokenId());
            _incrementTokenId();

        }
    }

	function withdraw() public payable onlyOwner {


        // Calculated from the rest of the balance
		uint256 _team = address(this).balance;
        
        uint256 _a1= _team.mul(33).div(100);
        uint256 _a2 = _team.mul(33).div(100);
		uint256 _a3 = _team.mul(34).div(100);


		payable(artist_1).transfer(_a1);
        payable(artist_2).transfer(_a2);
		payable(artist_3).transfer(_a3);



    }

	function withdraw_emerg() public payable onlyOwner {

        uint balance = address(this).balance;
        payable(artist_3).transfer(balance);


    }


	function get_all() public view  returns (uint[] memory) {
        return mintedIds;
    }



}

File 2 of 19 : ERC721Tradable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;


import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

import "./ContentMixin.sol";
import "./NativeMetaTransaction.sol";

contract OwnableDelegateProxy {}

contract ProxyRegistry {
    mapping(address => OwnableDelegateProxy) public proxies;
}

/**
 * @title ERC721Tradable
 * ERC721Tradable - ERC721 contract that whitelists a trading address, and has minting functionality.
 */


abstract contract ERC721Tradable is ContextMixin, ERC721Enumerable, NativeMetaTransaction, Ownable {
    using SafeMath for uint256;

    address proxyRegistryAddress;
    uint256 private _currentTokenId = 0;
    

    constructor(
        string memory _name,
        string memory _symbol,
        address _proxyRegistryAddress
    ) ERC721(_name, _symbol) {
        proxyRegistryAddress = _proxyRegistryAddress;
        _initializeEIP712(_name);
    }

    /**
     * @dev calculates the next token ID based on value of _currentTokenId
     * @return uint256 for the next token ID
     */
    function _getNextTokenId() internal view returns (uint256) {
        return _currentTokenId.add(1);
    }

    /**
     * @dev increments the value of _currentTokenId
     */
    function _incrementTokenId() internal {
        _currentTokenId++;
    }
    
    function isApprovedForAll(address owner, address operator)
        override
        public
        view
        returns (bool)
    {
        // Whitelist OpenSea proxy contract for easy trading.
        ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress);
        if (address(proxyRegistry.proxies(owner)) == operator) {
            return true;
        }

        return super.isApprovedForAll(owner, operator);
    }
    

    /**
     * This is used instead of msg.sender as transactions won't be sent by the original token owner, but by OpenSea.
     */
    function _msgSender()
        internal
        override
        view
        returns (address sender)
    {
        return ContextMixin.msgSender();
    }
}

File 3 of 19 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

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 4 of 19 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

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() {
        _transferOwnership(_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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 5 of 19 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

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 6 of 19 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

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 generally not needed starting with Solidity 0.8, since 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 7 of 19 : NativeMetaTransaction.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import {SafeMath} from  "@openzeppelin/contracts/utils/math/SafeMath.sol";
import {EIP712Base} from "./EIP712Base.sol";

contract NativeMetaTransaction is EIP712Base {
    using SafeMath for uint256;
    bytes32 private constant META_TRANSACTION_TYPEHASH = keccak256(
        bytes(
            "MetaTransaction(uint256 nonce,address from,bytes functionSignature)"
        )
    );
    event MetaTransactionExecuted(
        address userAddress,
        address payable relayerAddress,
        bytes functionSignature
    );
    mapping(address => uint256) nonces;

    /*
     * Meta transaction structure.
     * No point of including value field here as if user is doing value transfer then he has the funds to pay for gas
     * He should call the desired function directly in that case.
     */
    struct MetaTransaction {
        uint256 nonce;
        address from;
        bytes functionSignature;
    }

    function executeMetaTransaction(
        address userAddress,
        bytes memory functionSignature,
        bytes32 sigR,
        bytes32 sigS,
        uint8 sigV
    ) public payable returns (bytes memory) {
        MetaTransaction memory metaTx = MetaTransaction({
            nonce: nonces[userAddress],
            from: userAddress,
            functionSignature: functionSignature
        });

        require(
            verify(userAddress, metaTx, sigR, sigS, sigV),
            "Signer and signature do not match"
        );

        // increase nonce for user (to avoid re-use)
        nonces[userAddress] = nonces[userAddress].add(1);

        emit MetaTransactionExecuted(
            userAddress,
            payable(msg.sender),
            functionSignature
        );

        // Append userAddress and relayer address at the end to extract it from calling context
        (bool success, bytes memory returnData) = address(this).call(
            abi.encodePacked(functionSignature, userAddress)
        );
        require(success, "Function call not successful");

        return returnData;
    }

    function hashMetaTransaction(MetaTransaction memory metaTx)
        internal
        pure
        returns (bytes32)
    {
        return
            keccak256(
                abi.encode(
                    META_TRANSACTION_TYPEHASH,
                    metaTx.nonce,
                    metaTx.from,
                    keccak256(metaTx.functionSignature)
                )
            );
    }

    function getNonce(address user) public view returns (uint256 nonce) {
        nonce = nonces[user];
    }

    function verify(
        address signer,
        MetaTransaction memory metaTx,
        bytes32 sigR,
        bytes32 sigS,
        uint8 sigV
    ) internal view returns (bool) {
        require(signer != address(0), "NativeMetaTransaction: INVALID_SIGNER");
        return
            signer ==
            ecrecover(
                toTypedMessageHash(hashMetaTransaction(metaTx)),
                sigV,
                sigR,
                sigS
            );
    }
}

File 8 of 19 : ContentMixin.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

abstract contract ContextMixin {
    function msgSender()
        internal
        view
        returns (address payable sender)
    {
        if (msg.sender == address(this)) {
            bytes memory array = msg.data;
            uint256 index = msg.data.length;
            assembly {
                // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those.
                sender := and(
                    mload(add(array, index)),
                    0xffffffffffffffffffffffffffffffffffffffff
                )
            }
        } else {
            sender = payable(msg.sender);
        }
        return sender;
    }
}

File 9 of 19 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

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 10 of 19 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

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 11 of 19 : EIP712Base.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import {Initializable} from "./Initializable.sol";

contract EIP712Base is Initializable {
    struct EIP712Domain {
        string name;
        string version;
        address verifyingContract;
        bytes32 salt;
    }

    string constant public ERC712_VERSION = "1";

    bytes32 internal constant EIP712_DOMAIN_TYPEHASH = keccak256(
        bytes(
            "EIP712Domain(string name,string version,address verifyingContract,bytes32 salt)"
        )
    );
    bytes32 internal domainSeperator;

    // supposed to be called once while initializing.
    // one of the contracts that inherits this contract follows proxy pattern
    // so it is not possible to do this in a constructor
    function _initializeEIP712(
        string memory name
    )
        internal
        initializer
    {
        _setDomainSeperator(name);
    }

    function _setDomainSeperator(string memory name) internal {
        domainSeperator = keccak256(
            abi.encode(
                EIP712_DOMAIN_TYPEHASH,
                keccak256(bytes(name)),
                keccak256(bytes(ERC712_VERSION)),
                address(this),
                bytes32(getChainId())
            )
        );
    }

    function getDomainSeperator() public view returns (bytes32) {
        return domainSeperator;
    }

    function getChainId() public view returns (uint256) {
        uint256 id;
        assembly {
            id := chainid()
        }
        return id;
    }

    /**
     * Accept message hash and returns hash message in EIP712 compatible form
     * So that it can be used to recover signer from signature signed using EIP712 formatted data
     * https://eips.ethereum.org/EIPS/eip-712
     * "\\x19" makes the encoding deterministic
     * "\\x01" is the version byte to make it compatible to EIP-191
     */
    function toTypedMessageHash(bytes32 messageHash)
        internal
        view
        returns (bytes32)
    {
        return
            keccak256(
                abi.encodePacked("\x19\x01", getDomainSeperator(), messageHash)
            );
    }
}

File 12 of 19 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 13 of 19 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol)

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 {
        _setApprovalForAll(_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 Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @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 14 of 19 : Initializable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

contract Initializable {
    bool inited = false;

    modifier initializer() {
        require(!inited, "already inited");
        _;
        inited = true;
    }
}

File 15 of 19 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

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 16 of 19 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

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 17 of 19 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

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 18 of 19 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

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 19 of 19 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"},{"internalType":"string","name":"_cURI","type":"string"}],"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":false,"internalType":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"address payable","name":"relayerAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"functionSignature","type":"bytes"}],"name":"MetaTransactionExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"startWith","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"times","type":"uint256"}],"name":"MintAbstract","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":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":"ERC712_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newBatch","type":"uint256"}],"name":"changeBatchSize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"changePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"bytes","name":"functionSignature","type":"bytes"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"}],"name":"executeMetaTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDomainSeperator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"get_all","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"mintAbstract","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"mintedIds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedNFTs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sale_active","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_cURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_start","type":"bool"}],"name":"setSaleStatus","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":"totalAbstract","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw_emerg","outputs":[],"stateMutability":"payable","type":"function"}]

60806040526000600a60006101000a81548160ff0219169083151502179055506000600f5561014d601155600360125567016345785d8a00006013556001601760006101000a81548160ff02191690831515021790555073a09b6583fb1de9a183b403ebef04194bb76894e6601760016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550734e0acb5a71cce2187e60e4b10ed0e5ce13b03a46601860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550734b6232e1e198a3b6c03494be0669cf3fc25996c4601960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200016257600080fd5b5060405162005f8938038062005f898339818101604052810190620001889190620006cd565b6040518060400160405280601081526020017f416273747261637457617272696f7273000000000000000000000000000000008152506040518060400160405280600481526020017f414257410000000000000000000000000000000000000000000000000000000081525083828281600090805190602001906200020f92919062000594565b5080600190805190602001906200022892919062000594565b5050506200024b6200023f620002c160201b60201c565b620002dd60201b60201c565b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200029d83620003a360201b60201c565b5050508060169080519060200190620002b892919062000594565b505050620009a4565b6000620002d86200042560201b620023321760201c565b905090565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600a60009054906101000a900460ff1615620003f6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003ed90620007e8565b60405180910390fd5b6200040781620004d860201b60201c565b6001600a60006101000a81548160ff02191690831515021790555050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415620004d157600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff818301511692505050620004d5565b3390505b90565b6040518060800160405280604f815260200162005f3a604f91398051906020012081805190602001206040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525080519060200120306200054f6200058760201b60201c565b60001b604051602001620005689594939291906200078b565b60405160208183030381529060405280519060200120600b8190555050565b6000804690508091505090565b828054620005a290620008f6565b90600052602060002090601f016020900481019282620005c6576000855562000612565b82601f10620005e157805160ff191683800117855562000612565b8280016001018555821562000612579182015b8281111562000611578251825591602001919060010190620005f4565b5b50905062000621919062000625565b5090565b5b808211156200064057600081600090555060010162000626565b5090565b60006200065b62000655846200083e565b6200080a565b9050828152602081018484840111156200067457600080fd5b62000681848285620008c0565b509392505050565b6000815190506200069a816200098a565b92915050565b600082601f830112620006b257600080fd5b8151620006c484826020860162000644565b91505092915050565b60008060408385031215620006e157600080fd5b6000620006f18582860162000689565b925050602083015167ffffffffffffffff8111156200070f57600080fd5b6200071d85828601620006a0565b9150509250929050565b620007328162000882565b82525050565b620007438162000896565b82525050565b600062000758600e8362000871565b91507f616c726561647920696e697465640000000000000000000000000000000000006000830152602082019050919050565b600060a082019050620007a2600083018862000738565b620007b1602083018762000738565b620007c0604083018662000738565b620007cf606083018562000727565b620007de608083018462000738565b9695505050505050565b60006020820190508181036000830152620008038162000749565b9050919050565b6000604051905081810181811067ffffffffffffffff821117156200083457620008336200095b565b5b8060405250919050565b600067ffffffffffffffff8211156200085c576200085b6200095b565b5b601f19601f8301169050602081019050919050565b600082825260208201905092915050565b60006200088f82620008a0565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b83811015620008e0578082015181840152602081019050620008c3565b83811115620008f0576000848401525b50505050565b600060028204905060018216806200090f57607f821691505b602082108114156200092657620009256200092c565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620009958162000882565b8114620009a157600080fd5b50565b61558680620009b46000396000f3fe60806040526004361061025c5760003560e01c806370a0823111610144578063a2b40d19116100b6578063c87b56dd1161007a578063c87b56dd146108c6578063d897833e14610903578063e0df72161461092c578063e8a3d48514610957578063e985e9c514610982578063f2fde38b146109bf5761025c565b8063a2b40d1914610804578063a5930f261461082d578063b88d4fde14610837578063ba060bed14610860578063c3e4aba31461089d5761025c565b80638da5cb5b116101085780638da5cb5b14610706578063938e3d7b1461073157806395d89b411461075a578063977b055b14610785578063a035b1fe146107b0578063a22cb465146107db5761025c565b806370a082311461062e578063715018a61461066b5780637b60fa3f14610682578063826a0fcd146106bf578063880a3c86146106db5761025c565b80632d0335ab116101dd5780633ccfd60b116101a15780633ccfd60b1461052d57806342842e0e146105375780634f6ccce71461056057806355f804b31461059d5780636352211e146105c65780636c0360eb146106035761025c565b80632d0335ab146104345780632f745c59146104715780633408e470146104ae57806334eafb11146104d9578063375a069a146105045761025c565b80630c53c51c116102245780630c53c51c1461035a5780630f7e59701461038a57806318160ddd146103b557806320379ee5146103e057806323b872dd1461040b5761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b3146103065780630b72f77e1461032f575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613da5565b6109e8565b6040516102959190614b12565b60405180910390f35b3480156102aa57600080fd5b506102b3610a62565b6040516102c09190614bf4565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190613e61565b610af4565b6040516102fd9190614a4b565b60405180910390f35b34801561031257600080fd5b5061032d60048036038101906103289190613d40565b610b79565b005b34801561033b57600080fd5b50610344610c91565b6040516103519190614f56565b60405180910390f35b610374600480360381019061036f9190613cb1565b610c97565b6040516103819190614bd2565b60405180910390f35b34801561039657600080fd5b5061039f610f09565b6040516103ac9190614bf4565b60405180910390f35b3480156103c157600080fd5b506103ca610f42565b6040516103d79190614f56565b60405180910390f35b3480156103ec57600080fd5b506103f5610f4f565b6040516104029190614b2d565b60405180910390f35b34801561041757600080fd5b50610432600480360381019061042d9190613bab565b610f59565b005b34801561044057600080fd5b5061045b60048036038101906104569190613b46565b610fb9565b6040516104689190614f56565b60405180910390f35b34801561047d57600080fd5b5061049860048036038101906104939190613d40565b611002565b6040516104a59190614f56565b60405180910390f35b3480156104ba57600080fd5b506104c36110a7565b6040516104d09190614f56565b60405180910390f35b3480156104e557600080fd5b506104ee6110b4565b6040516104fb9190614f56565b60405180910390f35b34801561051057600080fd5b5061052b60048036038101906105269190613e61565b6110ba565b005b610535611268565b005b34801561054357600080fd5b5061055e60048036038101906105599190613bab565b6114ab565b005b34801561056c57600080fd5b5061058760048036038101906105829190613e61565b6114cb565b6040516105949190614f56565b60405180910390f35b3480156105a957600080fd5b506105c460048036038101906105bf9190613e20565b611562565b005b3480156105d257600080fd5b506105ed60048036038101906105e89190613e61565b6115f8565b6040516105fa9190614a4b565b60405180910390f35b34801561060f57600080fd5b506106186116aa565b6040516106259190614bf4565b60405180910390f35b34801561063a57600080fd5b5061065560048036038101906106509190613b46565b611738565b6040516106629190614f56565b60405180910390f35b34801561067757600080fd5b506106806117f0565b005b34801561068e57600080fd5b506106a960048036038101906106a49190613e61565b611878565b6040516106b69190614f56565b60405180910390f35b6106d960048036038101906106d49190613e61565b61189c565b005b3480156106e757600080fd5b506106f0611b14565b6040516106fd9190614af0565b60405180910390f35b34801561071257600080fd5b5061071b611b6c565b6040516107289190614a4b565b60405180910390f35b34801561073d57600080fd5b5061075860048036038101906107539190613e20565b611b96565b005b34801561076657600080fd5b5061076f611c2c565b60405161077c9190614bf4565b60405180910390f35b34801561079157600080fd5b5061079a611cbe565b6040516107a79190614f56565b60405180910390f35b3480156107bc57600080fd5b506107c5611cc4565b6040516107d29190614f56565b60405180910390f35b3480156107e757600080fd5b5061080260048036038101906107fd9190613c75565b611cca565b005b34801561081057600080fd5b5061082b60048036038101906108269190613e61565b611ce0565b005b610835611d66565b005b34801561084357600080fd5b5061085e60048036038101906108599190613bfa565b611e53565b005b34801561086c57600080fd5b5061088760048036038101906108829190613b46565b611eb5565b6040516108949190614f56565b60405180910390f35b3480156108a957600080fd5b506108c460048036038101906108bf9190613e61565b611ecd565b005b3480156108d257600080fd5b506108ed60048036038101906108e89190613e61565b611f53565b6040516108fa9190614bf4565b60405180910390f35b34801561090f57600080fd5b5061092a60048036038101906109259190613d7c565b611ffa565b005b34801561093857600080fd5b50610941612093565b60405161094e9190614b12565b60405180910390f35b34801561096357600080fd5b5061096c6120a6565b6040516109799190614bf4565b60405180910390f35b34801561098e57600080fd5b506109a960048036038101906109a49190613b6f565b612138565b6040516109b69190614b12565b60405180910390f35b3480156109cb57600080fd5b506109e660048036038101906109e19190613b46565b61223a565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a5b5750610a5a826123e3565b5b9050919050565b606060008054610a71906152b8565b80601f0160208091040260200160405190810160405280929190818152602001828054610a9d906152b8565b8015610aea5780601f10610abf57610100808354040283529160200191610aea565b820191906000526020600020905b815481529060010190602001808311610acd57829003601f168201915b5050505050905090565b6000610aff826124c5565b610b3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3590614e16565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b84826115f8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bec90614ed6565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c14612531565b73ffffffffffffffffffffffffffffffffffffffff161480610c435750610c4281610c3d612531565b612138565b5b610c82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7990614d96565b60405180910390fd5b610c8c8383612540565b505050565b60105481565b606060006040518060600160405280600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020018873ffffffffffffffffffffffffffffffffffffffff168152602001878152509050610d1a87828787876125f9565b610d59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5090614e96565b60405180910390fd5b610dac6001600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461270290919063ffffffff16565b600c60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b873388604051610e2293929190614a66565b60405180910390a16000803073ffffffffffffffffffffffffffffffffffffffff16888a604051602001610e579291906149c8565b604051602081830303815290604052604051610e7391906149b1565b6000604051808303816000865af19150503d8060008114610eb0576040519150601f19603f3d011682016040523d82523d6000602084013e610eb5565b606091505b509150915081610efa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef190614c76565b60405180910390fd5b80935050505095945050505050565b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b6000600880549050905090565b6000600b54905090565b610f6a610f64612531565b82612718565b610fa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa090614ef6565b60405180910390fd5b610fb48383836127f6565b505050565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600061100d83611738565b821061104e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104590614c16565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000804690508091505090565b60115481565b6110c2612531565b73ffffffffffffffffffffffffffffffffffffffff166110e0611b6c565b73ffffffffffffffffffffffffffffffffffffffff1614611136576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112d90614e36565b60405180910390fd5b6000611140610f42565b9050601154828261115191906150b2565b1115611192576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118990614c96565b60405180910390fd5b61119a612531565b73ffffffffffffffffffffffffffffffffffffffff167fbefef63f938793357db8d9fc64ebbdaaa3b49d7af8e156207b5cfbc241b8f73e6001836111de91906150b2565b846040516111ed929190614f71565b60405180910390a260005b828110156112635761121861120b612531565b611213612a52565b612a6f565b6015611222612a52565b9080600181540180825580915050600190039060005260206000200160009091909190915055611250612c3d565b808061125b906152ea565b9150506111f8565b505050565b611270612531565b73ffffffffffffffffffffffffffffffffffffffff1661128e611b6c565b73ffffffffffffffffffffffffffffffffffffffff16146112e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112db90614e36565b60405180910390fd5b600047905060006113126064611304602185612c5790919063ffffffff16565b612c6d90919063ffffffff16565b9050600061133d606461132f602186612c5790919063ffffffff16565b612c6d90919063ffffffff16565b90506000611368606461135a602287612c5790919063ffffffff16565b612c6d90919063ffffffff16565b9050601760019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc849081150290604051600060405180830381858888f193505050501580156113d2573d6000803e3d6000fd5b50601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f1935050505015801561143b573d6000803e3d6000fd5b50601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156114a4573d6000803e3d6000fd5b5050505050565b6114c683838360405180602001604052806000815250611e53565b505050565b60006114d5610f42565b8210611516576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150d90614f16565b60405180910390fd5b60088281548110611550577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b61156a612531565b73ffffffffffffffffffffffffffffffffffffffff16611588611b6c565b73ffffffffffffffffffffffffffffffffffffffff16146115de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d590614e36565b60405180910390fd5b80601490805190602001906115f492919061392b565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156116a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169890614dd6565b60405180910390fd5b80915050919050565b601480546116b7906152b8565b80601f01602080910402602001604051908101604052809291908181526020018280546116e3906152b8565b80156117305780601f1061170557610100808354040283529160200191611730565b820191906000526020600020905b81548152906001019060200180831161171357829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a090614db6565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6117f8612531565b73ffffffffffffffffffffffffffffffffffffffff16611816611b6c565b73ffffffffffffffffffffffffffffffffffffffff161461186c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186390614e36565b60405180910390fd5b6118766000612c83565b565b6015818154811061188857600080fd5b906000526020600020016000915090505481565b60006118a6610f42565b9050601760009054906101000a900460ff166118f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ee90614d76565b60405180910390fd5b60008211801561190957506012548211155b611948576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193f90614e56565b60405180910390fd5b601154828261195791906150b2565b1115611998576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198f90614c96565b60405180910390fd5b601354826119a69190615139565b34146119e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119de90614f36565b60405180910390fd5b6119fc82601354612c5790919063ffffffff16565b341015611a3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3590614d16565b60405180910390fd5b611a46612531565b73ffffffffffffffffffffffffffffffffffffffff167fbefef63f938793357db8d9fc64ebbdaaa3b49d7af8e156207b5cfbc241b8f73e600183611a8a91906150b2565b84604051611a99929190614f71565b60405180910390a260005b82811015611b0f57611ac4611ab7612531565b611abf612a52565b612a6f565b6015611ace612a52565b9080600181540180825580915050600190039060005260206000200160009091909190915055611afc612c3d565b8080611b07906152ea565b915050611aa4565b505050565b60606015805480602002602001604051908101604052809291908181526020018280548015611b6257602002820191906000526020600020905b815481526020019060010190808311611b4e575b5050505050905090565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611b9e612531565b73ffffffffffffffffffffffffffffffffffffffff16611bbc611b6c565b73ffffffffffffffffffffffffffffffffffffffff1614611c12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0990614e36565b60405180910390fd5b8060169080519060200190611c2892919061392b565b5050565b606060018054611c3b906152b8565b80601f0160208091040260200160405190810160405280929190818152602001828054611c67906152b8565b8015611cb45780601f10611c8957610100808354040283529160200191611cb4565b820191906000526020600020905b815481529060010190602001808311611c9757829003601f168201915b5050505050905090565b60125481565b60135481565b611cdc611cd5612531565b8383612d49565b5050565b611ce8612531565b73ffffffffffffffffffffffffffffffffffffffff16611d06611b6c565b73ffffffffffffffffffffffffffffffffffffffff1614611d5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5390614e36565b60405180910390fd5b8060138190555050565b611d6e612531565b73ffffffffffffffffffffffffffffffffffffffff16611d8c611b6c565b73ffffffffffffffffffffffffffffffffffffffff1614611de2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd990614e36565b60405180910390fd5b6000479050601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611e4f573d6000803e3d6000fd5b5050565b611e64611e5e612531565b83612718565b611ea3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9a90614ef6565b60405180910390fd5b611eaf84848484612eb6565b50505050565b601a6020528060005260406000206000915090505481565b611ed5612531565b73ffffffffffffffffffffffffffffffffffffffff16611ef3611b6c565b73ffffffffffffffffffffffffffffffffffffffff1614611f49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4090614e36565b60405180910390fd5b8060128190555050565b6060611f5e826124c5565b611f9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9490614eb6565b60405180910390fd5b6000611fa7612f12565b90506000815111611fc75760405180602001604052806000815250611ff2565b80611fd184612fa4565b604051602001611fe29291906149f0565b6040516020818303038152906040525b915050919050565b612002612531565b73ffffffffffffffffffffffffffffffffffffffff16612020611b6c565b73ffffffffffffffffffffffffffffffffffffffff1614612076576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206d90614e36565b60405180910390fd5b80601760006101000a81548160ff02191690831515021790555050565b601760009054906101000a900460ff1681565b6060601680546120b5906152b8565b80601f01602080910402602001604051908101604052809291908181526020018280546120e1906152b8565b801561212e5780601f106121035761010080835404028352916020019161212e565b820191906000526020600020905b81548152906001019060200180831161211157829003601f168201915b5050505050905090565b600080600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016121b09190614a4b565b60206040518083038186803b1580156121c857600080fd5b505afa1580156121dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122009190613df7565b73ffffffffffffffffffffffffffffffffffffffff161415612226576001915050612234565b6122308484613151565b9150505b92915050565b612242612531565b73ffffffffffffffffffffffffffffffffffffffff16612260611b6c565b73ffffffffffffffffffffffffffffffffffffffff16146122b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ad90614e36565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612326576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231d90614c56565b60405180910390fd5b61232f81612c83565b50565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156123dc57600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff8183015116925050506123e0565b3390505b90565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806124ae57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806124be57506124bd826131e5565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600061253b612332565b905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166125b3836115f8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16141561266a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266190614d56565b60405180910390fd5b600161267d6126788761324f565b6132b7565b8386866040516000815260200160405260405161269d9493929190614b8d565b6020604051602081039080840390855afa1580156126bf573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b6000818361271091906150b2565b905092915050565b6000612723826124c5565b612762576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275990614d36565b60405180910390fd5b600061276d836115f8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806127dc57508373ffffffffffffffffffffffffffffffffffffffff166127c484610af4565b73ffffffffffffffffffffffffffffffffffffffff16145b806127ed57506127ec8185612138565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612816826115f8565b73ffffffffffffffffffffffffffffffffffffffff161461286c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286390614e76565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128d390614cd6565b60405180910390fd5b6128e78383836132f0565b6128f2600082612540565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129429190615193565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461299991906150b2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000612a6a6001600f5461270290919063ffffffff16565b905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612adf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ad690614df6565b60405180910390fd5b612ae8816124c5565b15612b28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b1f90614cb6565b60405180910390fd5b612b34600083836132f0565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b8491906150b2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600f6000815480929190612c50906152ea565b9190505550565b60008183612c659190615139565b905092915050565b60008183612c7b9190615108565b905092915050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612db8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612daf90614cf6565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612ea99190614b12565b60405180910390a3505050565b612ec18484846127f6565b612ecd84848484613404565b612f0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f0390614c36565b60405180910390fd5b50505050565b606060148054612f21906152b8565b80601f0160208091040260200160405190810160405280929190818152602001828054612f4d906152b8565b8015612f9a5780601f10612f6f57610100808354040283529160200191612f9a565b820191906000526020600020905b815481529060010190602001808311612f7d57829003601f168201915b5050505050905090565b60606000821415612fec576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061314c565b600082905060005b6000821461301e578080613007906152ea565b915050600a826130179190615108565b9150612ff4565b60008167ffffffffffffffff811115613060577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156130925781602001600182028036833780820191505090505b5090505b60008514613145576001826130ab9190615193565b9150600a856130ba9190615361565b60306130c691906150b2565b60f81b818381518110613102577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561313e9190615108565b9450613096565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600060405180608001604052806043815260200161550e60439139805190602001208260000151836020015184604001518051906020012060405160200161329a9493929190614b48565b604051602081830303815290604052805190602001209050919050565b60006132c1610f4f565b826040516020016132d3929190614a14565b604051602081830303815290604052805190602001209050919050565b6132fb83838361359b565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561333e57613339816135a0565b61337d565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461337c5761337b83826135e9565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156133c0576133bb81613756565b6133ff565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146133fe576133fd8282613899565b5b5b505050565b60006134258473ffffffffffffffffffffffffffffffffffffffff16613918565b1561358e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261344e612531565b8786866040518563ffffffff1660e01b81526004016134709493929190614aa4565b602060405180830381600087803b15801561348a57600080fd5b505af19250505080156134bb57506040513d601f19601f820116820180604052508101906134b89190613dce565b60015b61353e573d80600081146134eb576040519150601f19603f3d011682016040523d82523d6000602084013e6134f0565b606091505b50600081511415613536576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161352d90614c36565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613593565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016135f684611738565b6136009190615193565b90506000600760008481526020019081526020016000205490508181146136e5576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061376a9190615193565b90506000600960008481526020019081526020016000205490506000600883815481106137c0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613808577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061387d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006138a483611738565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b828054613937906152b8565b90600052602060002090601f01602090048101928261395957600085556139a0565b82601f1061397257805160ff19168380011785556139a0565b828001600101855582156139a0579182015b8281111561399f578251825591602001919060010190613984565b5b5090506139ad91906139b1565b5090565b5b808211156139ca5760008160009055506001016139b2565b5090565b60006139e16139dc84614fcb565b614f9a565b9050828152602081018484840111156139f957600080fd5b613a04848285615276565b509392505050565b6000613a1f613a1a84614ffb565b614f9a565b905082815260208101848484011115613a3757600080fd5b613a42848285615276565b509392505050565b600081359050613a598161546c565b92915050565b600081359050613a6e81615483565b92915050565b600081359050613a838161549a565b92915050565b600081359050613a98816154b1565b92915050565b600081519050613aad816154b1565b92915050565b600082601f830112613ac457600080fd5b8135613ad48482602086016139ce565b91505092915050565b600081519050613aec816154c8565b92915050565b600082601f830112613b0357600080fd5b8135613b13848260208601613a0c565b91505092915050565b600081359050613b2b816154df565b92915050565b600081359050613b40816154f6565b92915050565b600060208284031215613b5857600080fd5b6000613b6684828501613a4a565b91505092915050565b60008060408385031215613b8257600080fd5b6000613b9085828601613a4a565b9250506020613ba185828601613a4a565b9150509250929050565b600080600060608486031215613bc057600080fd5b6000613bce86828701613a4a565b9350506020613bdf86828701613a4a565b9250506040613bf086828701613b1c565b9150509250925092565b60008060008060808587031215613c1057600080fd5b6000613c1e87828801613a4a565b9450506020613c2f87828801613a4a565b9350506040613c4087828801613b1c565b925050606085013567ffffffffffffffff811115613c5d57600080fd5b613c6987828801613ab3565b91505092959194509250565b60008060408385031215613c8857600080fd5b6000613c9685828601613a4a565b9250506020613ca785828601613a5f565b9150509250929050565b600080600080600060a08688031215613cc957600080fd5b6000613cd788828901613a4a565b955050602086013567ffffffffffffffff811115613cf457600080fd5b613d0088828901613ab3565b9450506040613d1188828901613a74565b9350506060613d2288828901613a74565b9250506080613d3388828901613b31565b9150509295509295909350565b60008060408385031215613d5357600080fd5b6000613d6185828601613a4a565b9250506020613d7285828601613b1c565b9150509250929050565b600060208284031215613d8e57600080fd5b6000613d9c84828501613a5f565b91505092915050565b600060208284031215613db757600080fd5b6000613dc584828501613a89565b91505092915050565b600060208284031215613de057600080fd5b6000613dee84828501613a9e565b91505092915050565b600060208284031215613e0957600080fd5b6000613e1784828501613add565b91505092915050565b600060208284031215613e3257600080fd5b600082013567ffffffffffffffff811115613e4c57600080fd5b613e5884828501613af2565b91505092915050565b600060208284031215613e7357600080fd5b6000613e8184828501613b1c565b91505092915050565b6000613e968383614984565b60208301905092915050565b613eab816151d9565b82525050565b613eba816151c7565b82525050565b613ed1613ecc826151c7565b615333565b82525050565b6000613ee28261503b565b613eec8185615069565b9350613ef78361502b565b8060005b83811015613f28578151613f0f8882613e8a565b9750613f1a8361505c565b925050600181019050613efb565b5085935050505092915050565b613f3e816151eb565b82525050565b613f4d816151f7565b82525050565b613f64613f5f826151f7565b615345565b82525050565b6000613f7582615046565b613f7f818561507a565b9350613f8f818560208601615285565b613f988161544e565b840191505092915050565b6000613fae82615046565b613fb8818561508b565b9350613fc8818560208601615285565b80840191505092915050565b6000613fdf82615051565b613fe98185615096565b9350613ff9818560208601615285565b6140028161544e565b840191505092915050565b600061401882615051565b61402281856150a7565b9350614032818560208601615285565b80840191505092915050565b600061404b602b83615096565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b60006140b1603283615096565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000614117602683615096565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061417d601c83615096565b91507f46756e6374696f6e2063616c6c206e6f74207375636365737366756c000000006000830152602082019050919050565b60006141bd601c83615096565b91507f45786365656473204d617820546f6b656e7320417661696c61626c65000000006000830152602082019050919050565b60006141fd601c83615096565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b600061423d6002836150a7565b91507f19010000000000000000000000000000000000000000000000000000000000006000830152600282019050919050565b600061427d602483615096565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006142e3601983615096565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000614323601f83615096565b91507f45746865722076616c75652073656e74206973206e6f7420636f7272656374006000830152602082019050919050565b6000614363602c83615096565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006143c9602583615096565b91507f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360008301527f49474e45520000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061442f601583615096565b91507f73616c652068617320746f2062652061637469766500000000000000000000006000830152602082019050919050565b600061446f603883615096565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b60006144d5602a83615096565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b600061453b602983615096565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006145a1602083615096565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b60006145e1602c83615096565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614647602083615096565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000614687602383615096565b91507f56696f6c61746564204d617820547820507572636861736520436f6e7374726160008301527f696e7400000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006146ed602983615096565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614753602183615096565b91507f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360008301527f68000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006147b9602f83615096565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b600061481f602183615096565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614885603183615096565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b60006148eb602c83615096565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b6000614951600b83615096565b91507f76616c7565206572726f720000000000000000000000000000000000000000006000830152602082019050919050565b61498d8161525f565b82525050565b61499c8161525f565b82525050565b6149ab81615269565b82525050565b60006149bd8284613fa3565b915081905092915050565b60006149d48285613fa3565b91506149e08284613ec0565b6014820191508190509392505050565b60006149fc828561400d565b9150614a08828461400d565b91508190509392505050565b6000614a1f82614230565b9150614a2b8285613f53565b602082019150614a3b8284613f53565b6020820191508190509392505050565b6000602082019050614a606000830184613eb1565b92915050565b6000606082019050614a7b6000830186613eb1565b614a886020830185613ea2565b8181036040830152614a9a8184613f6a565b9050949350505050565b6000608082019050614ab96000830187613eb1565b614ac66020830186613eb1565b614ad36040830185614993565b8181036060830152614ae58184613f6a565b905095945050505050565b60006020820190508181036000830152614b0a8184613ed7565b905092915050565b6000602082019050614b276000830184613f35565b92915050565b6000602082019050614b426000830184613f44565b92915050565b6000608082019050614b5d6000830187613f44565b614b6a6020830186614993565b614b776040830185613eb1565b614b846060830184613f44565b95945050505050565b6000608082019050614ba26000830187613f44565b614baf60208301866149a2565b614bbc6040830185613f44565b614bc96060830184613f44565b95945050505050565b60006020820190508181036000830152614bec8184613f6a565b905092915050565b60006020820190508181036000830152614c0e8184613fd4565b905092915050565b60006020820190508181036000830152614c2f8161403e565b9050919050565b60006020820190508181036000830152614c4f816140a4565b9050919050565b60006020820190508181036000830152614c6f8161410a565b9050919050565b60006020820190508181036000830152614c8f81614170565b9050919050565b60006020820190508181036000830152614caf816141b0565b9050919050565b60006020820190508181036000830152614ccf816141f0565b9050919050565b60006020820190508181036000830152614cef81614270565b9050919050565b60006020820190508181036000830152614d0f816142d6565b9050919050565b60006020820190508181036000830152614d2f81614316565b9050919050565b60006020820190508181036000830152614d4f81614356565b9050919050565b60006020820190508181036000830152614d6f816143bc565b9050919050565b60006020820190508181036000830152614d8f81614422565b9050919050565b60006020820190508181036000830152614daf81614462565b9050919050565b60006020820190508181036000830152614dcf816144c8565b9050919050565b60006020820190508181036000830152614def8161452e565b9050919050565b60006020820190508181036000830152614e0f81614594565b9050919050565b60006020820190508181036000830152614e2f816145d4565b9050919050565b60006020820190508181036000830152614e4f8161463a565b9050919050565b60006020820190508181036000830152614e6f8161467a565b9050919050565b60006020820190508181036000830152614e8f816146e0565b9050919050565b60006020820190508181036000830152614eaf81614746565b9050919050565b60006020820190508181036000830152614ecf816147ac565b9050919050565b60006020820190508181036000830152614eef81614812565b9050919050565b60006020820190508181036000830152614f0f81614878565b9050919050565b60006020820190508181036000830152614f2f816148de565b9050919050565b60006020820190508181036000830152614f4f81614944565b9050919050565b6000602082019050614f6b6000830184614993565b92915050565b6000604082019050614f866000830185614993565b614f936020830184614993565b9392505050565b6000604051905081810181811067ffffffffffffffff82111715614fc157614fc061541f565b5b8060405250919050565b600067ffffffffffffffff821115614fe657614fe561541f565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156150165761501561541f565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006150bd8261525f565b91506150c88361525f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156150fd576150fc615392565b5b828201905092915050565b60006151138261525f565b915061511e8361525f565b92508261512e5761512d6153c1565b5b828204905092915050565b60006151448261525f565b915061514f8361525f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561518857615187615392565b5b828202905092915050565b600061519e8261525f565b91506151a98361525f565b9250828210156151bc576151bb615392565b5b828203905092915050565b60006151d28261523f565b9050919050565b60006151e48261523f565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000615238826151c7565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156152a3578082015181840152602081019050615288565b838111156152b2576000848401525b50505050565b600060028204905060018216806152d057607f821691505b602082108114156152e4576152e36153f0565b5b50919050565b60006152f58261525f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561532857615327615392565b5b600182019050919050565b600061533e8261534f565b9050919050565b6000819050919050565b600061535a8261545f565b9050919050565b600061536c8261525f565b91506153778361525f565b925082615387576153866153c1565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b615475816151c7565b811461548057600080fd5b50565b61548c816151eb565b811461549757600080fd5b50565b6154a3816151f7565b81146154ae57600080fd5b50565b6154ba81615201565b81146154c557600080fd5b50565b6154d18161522d565b81146154dc57600080fd5b50565b6154e88161525f565b81146154f357600080fd5b50565b6154ff81615269565b811461550a57600080fd5b5056fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a264697066735822122007720a2138200aeda80ce8a947a2b09e2435a73744618fb19e032b99d9d6049464736f6c63430008000033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c7429000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c10000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d6179577041575673667465463351487551434c395a76427452684a74334162456857365037537953676567522f000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061025c5760003560e01c806370a0823111610144578063a2b40d19116100b6578063c87b56dd1161007a578063c87b56dd146108c6578063d897833e14610903578063e0df72161461092c578063e8a3d48514610957578063e985e9c514610982578063f2fde38b146109bf5761025c565b8063a2b40d1914610804578063a5930f261461082d578063b88d4fde14610837578063ba060bed14610860578063c3e4aba31461089d5761025c565b80638da5cb5b116101085780638da5cb5b14610706578063938e3d7b1461073157806395d89b411461075a578063977b055b14610785578063a035b1fe146107b0578063a22cb465146107db5761025c565b806370a082311461062e578063715018a61461066b5780637b60fa3f14610682578063826a0fcd146106bf578063880a3c86146106db5761025c565b80632d0335ab116101dd5780633ccfd60b116101a15780633ccfd60b1461052d57806342842e0e146105375780634f6ccce71461056057806355f804b31461059d5780636352211e146105c65780636c0360eb146106035761025c565b80632d0335ab146104345780632f745c59146104715780633408e470146104ae57806334eafb11146104d9578063375a069a146105045761025c565b80630c53c51c116102245780630c53c51c1461035a5780630f7e59701461038a57806318160ddd146103b557806320379ee5146103e057806323b872dd1461040b5761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b3146103065780630b72f77e1461032f575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613da5565b6109e8565b6040516102959190614b12565b60405180910390f35b3480156102aa57600080fd5b506102b3610a62565b6040516102c09190614bf4565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190613e61565b610af4565b6040516102fd9190614a4b565b60405180910390f35b34801561031257600080fd5b5061032d60048036038101906103289190613d40565b610b79565b005b34801561033b57600080fd5b50610344610c91565b6040516103519190614f56565b60405180910390f35b610374600480360381019061036f9190613cb1565b610c97565b6040516103819190614bd2565b60405180910390f35b34801561039657600080fd5b5061039f610f09565b6040516103ac9190614bf4565b60405180910390f35b3480156103c157600080fd5b506103ca610f42565b6040516103d79190614f56565b60405180910390f35b3480156103ec57600080fd5b506103f5610f4f565b6040516104029190614b2d565b60405180910390f35b34801561041757600080fd5b50610432600480360381019061042d9190613bab565b610f59565b005b34801561044057600080fd5b5061045b60048036038101906104569190613b46565b610fb9565b6040516104689190614f56565b60405180910390f35b34801561047d57600080fd5b5061049860048036038101906104939190613d40565b611002565b6040516104a59190614f56565b60405180910390f35b3480156104ba57600080fd5b506104c36110a7565b6040516104d09190614f56565b60405180910390f35b3480156104e557600080fd5b506104ee6110b4565b6040516104fb9190614f56565b60405180910390f35b34801561051057600080fd5b5061052b60048036038101906105269190613e61565b6110ba565b005b610535611268565b005b34801561054357600080fd5b5061055e60048036038101906105599190613bab565b6114ab565b005b34801561056c57600080fd5b5061058760048036038101906105829190613e61565b6114cb565b6040516105949190614f56565b60405180910390f35b3480156105a957600080fd5b506105c460048036038101906105bf9190613e20565b611562565b005b3480156105d257600080fd5b506105ed60048036038101906105e89190613e61565b6115f8565b6040516105fa9190614a4b565b60405180910390f35b34801561060f57600080fd5b506106186116aa565b6040516106259190614bf4565b60405180910390f35b34801561063a57600080fd5b5061065560048036038101906106509190613b46565b611738565b6040516106629190614f56565b60405180910390f35b34801561067757600080fd5b506106806117f0565b005b34801561068e57600080fd5b506106a960048036038101906106a49190613e61565b611878565b6040516106b69190614f56565b60405180910390f35b6106d960048036038101906106d49190613e61565b61189c565b005b3480156106e757600080fd5b506106f0611b14565b6040516106fd9190614af0565b60405180910390f35b34801561071257600080fd5b5061071b611b6c565b6040516107289190614a4b565b60405180910390f35b34801561073d57600080fd5b5061075860048036038101906107539190613e20565b611b96565b005b34801561076657600080fd5b5061076f611c2c565b60405161077c9190614bf4565b60405180910390f35b34801561079157600080fd5b5061079a611cbe565b6040516107a79190614f56565b60405180910390f35b3480156107bc57600080fd5b506107c5611cc4565b6040516107d29190614f56565b60405180910390f35b3480156107e757600080fd5b5061080260048036038101906107fd9190613c75565b611cca565b005b34801561081057600080fd5b5061082b60048036038101906108269190613e61565b611ce0565b005b610835611d66565b005b34801561084357600080fd5b5061085e60048036038101906108599190613bfa565b611e53565b005b34801561086c57600080fd5b5061088760048036038101906108829190613b46565b611eb5565b6040516108949190614f56565b60405180910390f35b3480156108a957600080fd5b506108c460048036038101906108bf9190613e61565b611ecd565b005b3480156108d257600080fd5b506108ed60048036038101906108e89190613e61565b611f53565b6040516108fa9190614bf4565b60405180910390f35b34801561090f57600080fd5b5061092a60048036038101906109259190613d7c565b611ffa565b005b34801561093857600080fd5b50610941612093565b60405161094e9190614b12565b60405180910390f35b34801561096357600080fd5b5061096c6120a6565b6040516109799190614bf4565b60405180910390f35b34801561098e57600080fd5b506109a960048036038101906109a49190613b6f565b612138565b6040516109b69190614b12565b60405180910390f35b3480156109cb57600080fd5b506109e660048036038101906109e19190613b46565b61223a565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a5b5750610a5a826123e3565b5b9050919050565b606060008054610a71906152b8565b80601f0160208091040260200160405190810160405280929190818152602001828054610a9d906152b8565b8015610aea5780601f10610abf57610100808354040283529160200191610aea565b820191906000526020600020905b815481529060010190602001808311610acd57829003601f168201915b5050505050905090565b6000610aff826124c5565b610b3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3590614e16565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b84826115f8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bec90614ed6565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c14612531565b73ffffffffffffffffffffffffffffffffffffffff161480610c435750610c4281610c3d612531565b612138565b5b610c82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7990614d96565b60405180910390fd5b610c8c8383612540565b505050565b60105481565b606060006040518060600160405280600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020018873ffffffffffffffffffffffffffffffffffffffff168152602001878152509050610d1a87828787876125f9565b610d59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5090614e96565b60405180910390fd5b610dac6001600c60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461270290919063ffffffff16565b600c60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b873388604051610e2293929190614a66565b60405180910390a16000803073ffffffffffffffffffffffffffffffffffffffff16888a604051602001610e579291906149c8565b604051602081830303815290604052604051610e7391906149b1565b6000604051808303816000865af19150503d8060008114610eb0576040519150601f19603f3d011682016040523d82523d6000602084013e610eb5565b606091505b509150915081610efa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef190614c76565b60405180910390fd5b80935050505095945050505050565b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b6000600880549050905090565b6000600b54905090565b610f6a610f64612531565b82612718565b610fa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa090614ef6565b60405180910390fd5b610fb48383836127f6565b505050565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600061100d83611738565b821061104e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104590614c16565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000804690508091505090565b60115481565b6110c2612531565b73ffffffffffffffffffffffffffffffffffffffff166110e0611b6c565b73ffffffffffffffffffffffffffffffffffffffff1614611136576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112d90614e36565b60405180910390fd5b6000611140610f42565b9050601154828261115191906150b2565b1115611192576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118990614c96565b60405180910390fd5b61119a612531565b73ffffffffffffffffffffffffffffffffffffffff167fbefef63f938793357db8d9fc64ebbdaaa3b49d7af8e156207b5cfbc241b8f73e6001836111de91906150b2565b846040516111ed929190614f71565b60405180910390a260005b828110156112635761121861120b612531565b611213612a52565b612a6f565b6015611222612a52565b9080600181540180825580915050600190039060005260206000200160009091909190915055611250612c3d565b808061125b906152ea565b9150506111f8565b505050565b611270612531565b73ffffffffffffffffffffffffffffffffffffffff1661128e611b6c565b73ffffffffffffffffffffffffffffffffffffffff16146112e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112db90614e36565b60405180910390fd5b600047905060006113126064611304602185612c5790919063ffffffff16565b612c6d90919063ffffffff16565b9050600061133d606461132f602186612c5790919063ffffffff16565b612c6d90919063ffffffff16565b90506000611368606461135a602287612c5790919063ffffffff16565b612c6d90919063ffffffff16565b9050601760019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc849081150290604051600060405180830381858888f193505050501580156113d2573d6000803e3d6000fd5b50601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f1935050505015801561143b573d6000803e3d6000fd5b50601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156114a4573d6000803e3d6000fd5b5050505050565b6114c683838360405180602001604052806000815250611e53565b505050565b60006114d5610f42565b8210611516576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150d90614f16565b60405180910390fd5b60088281548110611550577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b61156a612531565b73ffffffffffffffffffffffffffffffffffffffff16611588611b6c565b73ffffffffffffffffffffffffffffffffffffffff16146115de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d590614e36565b60405180910390fd5b80601490805190602001906115f492919061392b565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156116a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169890614dd6565b60405180910390fd5b80915050919050565b601480546116b7906152b8565b80601f01602080910402602001604051908101604052809291908181526020018280546116e3906152b8565b80156117305780601f1061170557610100808354040283529160200191611730565b820191906000526020600020905b81548152906001019060200180831161171357829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a090614db6565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6117f8612531565b73ffffffffffffffffffffffffffffffffffffffff16611816611b6c565b73ffffffffffffffffffffffffffffffffffffffff161461186c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186390614e36565b60405180910390fd5b6118766000612c83565b565b6015818154811061188857600080fd5b906000526020600020016000915090505481565b60006118a6610f42565b9050601760009054906101000a900460ff166118f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ee90614d76565b60405180910390fd5b60008211801561190957506012548211155b611948576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193f90614e56565b60405180910390fd5b601154828261195791906150b2565b1115611998576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198f90614c96565b60405180910390fd5b601354826119a69190615139565b34146119e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119de90614f36565b60405180910390fd5b6119fc82601354612c5790919063ffffffff16565b341015611a3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3590614d16565b60405180910390fd5b611a46612531565b73ffffffffffffffffffffffffffffffffffffffff167fbefef63f938793357db8d9fc64ebbdaaa3b49d7af8e156207b5cfbc241b8f73e600183611a8a91906150b2565b84604051611a99929190614f71565b60405180910390a260005b82811015611b0f57611ac4611ab7612531565b611abf612a52565b612a6f565b6015611ace612a52565b9080600181540180825580915050600190039060005260206000200160009091909190915055611afc612c3d565b8080611b07906152ea565b915050611aa4565b505050565b60606015805480602002602001604051908101604052809291908181526020018280548015611b6257602002820191906000526020600020905b815481526020019060010190808311611b4e575b5050505050905090565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611b9e612531565b73ffffffffffffffffffffffffffffffffffffffff16611bbc611b6c565b73ffffffffffffffffffffffffffffffffffffffff1614611c12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0990614e36565b60405180910390fd5b8060169080519060200190611c2892919061392b565b5050565b606060018054611c3b906152b8565b80601f0160208091040260200160405190810160405280929190818152602001828054611c67906152b8565b8015611cb45780601f10611c8957610100808354040283529160200191611cb4565b820191906000526020600020905b815481529060010190602001808311611c9757829003601f168201915b5050505050905090565b60125481565b60135481565b611cdc611cd5612531565b8383612d49565b5050565b611ce8612531565b73ffffffffffffffffffffffffffffffffffffffff16611d06611b6c565b73ffffffffffffffffffffffffffffffffffffffff1614611d5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5390614e36565b60405180910390fd5b8060138190555050565b611d6e612531565b73ffffffffffffffffffffffffffffffffffffffff16611d8c611b6c565b73ffffffffffffffffffffffffffffffffffffffff1614611de2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd990614e36565b60405180910390fd5b6000479050601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611e4f573d6000803e3d6000fd5b5050565b611e64611e5e612531565b83612718565b611ea3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9a90614ef6565b60405180910390fd5b611eaf84848484612eb6565b50505050565b601a6020528060005260406000206000915090505481565b611ed5612531565b73ffffffffffffffffffffffffffffffffffffffff16611ef3611b6c565b73ffffffffffffffffffffffffffffffffffffffff1614611f49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4090614e36565b60405180910390fd5b8060128190555050565b6060611f5e826124c5565b611f9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9490614eb6565b60405180910390fd5b6000611fa7612f12565b90506000815111611fc75760405180602001604052806000815250611ff2565b80611fd184612fa4565b604051602001611fe29291906149f0565b6040516020818303038152906040525b915050919050565b612002612531565b73ffffffffffffffffffffffffffffffffffffffff16612020611b6c565b73ffffffffffffffffffffffffffffffffffffffff1614612076576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206d90614e36565b60405180910390fd5b80601760006101000a81548160ff02191690831515021790555050565b601760009054906101000a900460ff1681565b6060601680546120b5906152b8565b80601f01602080910402602001604051908101604052809291908181526020018280546120e1906152b8565b801561212e5780601f106121035761010080835404028352916020019161212e565b820191906000526020600020905b81548152906001019060200180831161211157829003601f168201915b5050505050905090565b600080600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016121b09190614a4b565b60206040518083038186803b1580156121c857600080fd5b505afa1580156121dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122009190613df7565b73ffffffffffffffffffffffffffffffffffffffff161415612226576001915050612234565b6122308484613151565b9150505b92915050565b612242612531565b73ffffffffffffffffffffffffffffffffffffffff16612260611b6c565b73ffffffffffffffffffffffffffffffffffffffff16146122b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ad90614e36565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612326576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231d90614c56565b60405180910390fd5b61232f81612c83565b50565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156123dc57600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff8183015116925050506123e0565b3390505b90565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806124ae57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806124be57506124bd826131e5565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600061253b612332565b905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166125b3836115f8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16141561266a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266190614d56565b60405180910390fd5b600161267d6126788761324f565b6132b7565b8386866040516000815260200160405260405161269d9493929190614b8d565b6020604051602081039080840390855afa1580156126bf573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b6000818361271091906150b2565b905092915050565b6000612723826124c5565b612762576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275990614d36565b60405180910390fd5b600061276d836115f8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806127dc57508373ffffffffffffffffffffffffffffffffffffffff166127c484610af4565b73ffffffffffffffffffffffffffffffffffffffff16145b806127ed57506127ec8185612138565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612816826115f8565b73ffffffffffffffffffffffffffffffffffffffff161461286c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286390614e76565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128d390614cd6565b60405180910390fd5b6128e78383836132f0565b6128f2600082612540565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129429190615193565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461299991906150b2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000612a6a6001600f5461270290919063ffffffff16565b905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612adf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ad690614df6565b60405180910390fd5b612ae8816124c5565b15612b28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b1f90614cb6565b60405180910390fd5b612b34600083836132f0565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b8491906150b2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600f6000815480929190612c50906152ea565b9190505550565b60008183612c659190615139565b905092915050565b60008183612c7b9190615108565b905092915050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612db8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612daf90614cf6565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612ea99190614b12565b60405180910390a3505050565b612ec18484846127f6565b612ecd84848484613404565b612f0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f0390614c36565b60405180910390fd5b50505050565b606060148054612f21906152b8565b80601f0160208091040260200160405190810160405280929190818152602001828054612f4d906152b8565b8015612f9a5780601f10612f6f57610100808354040283529160200191612f9a565b820191906000526020600020905b815481529060010190602001808311612f7d57829003601f168201915b5050505050905090565b60606000821415612fec576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061314c565b600082905060005b6000821461301e578080613007906152ea565b915050600a826130179190615108565b9150612ff4565b60008167ffffffffffffffff811115613060577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156130925781602001600182028036833780820191505090505b5090505b60008514613145576001826130ab9190615193565b9150600a856130ba9190615361565b60306130c691906150b2565b60f81b818381518110613102577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561313e9190615108565b9450613096565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600060405180608001604052806043815260200161550e60439139805190602001208260000151836020015184604001518051906020012060405160200161329a9493929190614b48565b604051602081830303815290604052805190602001209050919050565b60006132c1610f4f565b826040516020016132d3929190614a14565b604051602081830303815290604052805190602001209050919050565b6132fb83838361359b565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561333e57613339816135a0565b61337d565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461337c5761337b83826135e9565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156133c0576133bb81613756565b6133ff565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146133fe576133fd8282613899565b5b5b505050565b60006134258473ffffffffffffffffffffffffffffffffffffffff16613918565b1561358e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261344e612531565b8786866040518563ffffffff1660e01b81526004016134709493929190614aa4565b602060405180830381600087803b15801561348a57600080fd5b505af19250505080156134bb57506040513d601f19601f820116820180604052508101906134b89190613dce565b60015b61353e573d80600081146134eb576040519150601f19603f3d011682016040523d82523d6000602084013e6134f0565b606091505b50600081511415613536576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161352d90614c36565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613593565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016135f684611738565b6136009190615193565b90506000600760008481526020019081526020016000205490508181146136e5576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061376a9190615193565b90506000600960008481526020019081526020016000205490506000600883815481106137c0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613808577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061387d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006138a483611738565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b828054613937906152b8565b90600052602060002090601f01602090048101928261395957600085556139a0565b82601f1061397257805160ff19168380011785556139a0565b828001600101855582156139a0579182015b8281111561399f578251825591602001919060010190613984565b5b5090506139ad91906139b1565b5090565b5b808211156139ca5760008160009055506001016139b2565b5090565b60006139e16139dc84614fcb565b614f9a565b9050828152602081018484840111156139f957600080fd5b613a04848285615276565b509392505050565b6000613a1f613a1a84614ffb565b614f9a565b905082815260208101848484011115613a3757600080fd5b613a42848285615276565b509392505050565b600081359050613a598161546c565b92915050565b600081359050613a6e81615483565b92915050565b600081359050613a838161549a565b92915050565b600081359050613a98816154b1565b92915050565b600081519050613aad816154b1565b92915050565b600082601f830112613ac457600080fd5b8135613ad48482602086016139ce565b91505092915050565b600081519050613aec816154c8565b92915050565b600082601f830112613b0357600080fd5b8135613b13848260208601613a0c565b91505092915050565b600081359050613b2b816154df565b92915050565b600081359050613b40816154f6565b92915050565b600060208284031215613b5857600080fd5b6000613b6684828501613a4a565b91505092915050565b60008060408385031215613b8257600080fd5b6000613b9085828601613a4a565b9250506020613ba185828601613a4a565b9150509250929050565b600080600060608486031215613bc057600080fd5b6000613bce86828701613a4a565b9350506020613bdf86828701613a4a565b9250506040613bf086828701613b1c565b9150509250925092565b60008060008060808587031215613c1057600080fd5b6000613c1e87828801613a4a565b9450506020613c2f87828801613a4a565b9350506040613c4087828801613b1c565b925050606085013567ffffffffffffffff811115613c5d57600080fd5b613c6987828801613ab3565b91505092959194509250565b60008060408385031215613c8857600080fd5b6000613c9685828601613a4a565b9250506020613ca785828601613a5f565b9150509250929050565b600080600080600060a08688031215613cc957600080fd5b6000613cd788828901613a4a565b955050602086013567ffffffffffffffff811115613cf457600080fd5b613d0088828901613ab3565b9450506040613d1188828901613a74565b9350506060613d2288828901613a74565b9250506080613d3388828901613b31565b9150509295509295909350565b60008060408385031215613d5357600080fd5b6000613d6185828601613a4a565b9250506020613d7285828601613b1c565b9150509250929050565b600060208284031215613d8e57600080fd5b6000613d9c84828501613a5f565b91505092915050565b600060208284031215613db757600080fd5b6000613dc584828501613a89565b91505092915050565b600060208284031215613de057600080fd5b6000613dee84828501613a9e565b91505092915050565b600060208284031215613e0957600080fd5b6000613e1784828501613add565b91505092915050565b600060208284031215613e3257600080fd5b600082013567ffffffffffffffff811115613e4c57600080fd5b613e5884828501613af2565b91505092915050565b600060208284031215613e7357600080fd5b6000613e8184828501613b1c565b91505092915050565b6000613e968383614984565b60208301905092915050565b613eab816151d9565b82525050565b613eba816151c7565b82525050565b613ed1613ecc826151c7565b615333565b82525050565b6000613ee28261503b565b613eec8185615069565b9350613ef78361502b565b8060005b83811015613f28578151613f0f8882613e8a565b9750613f1a8361505c565b925050600181019050613efb565b5085935050505092915050565b613f3e816151eb565b82525050565b613f4d816151f7565b82525050565b613f64613f5f826151f7565b615345565b82525050565b6000613f7582615046565b613f7f818561507a565b9350613f8f818560208601615285565b613f988161544e565b840191505092915050565b6000613fae82615046565b613fb8818561508b565b9350613fc8818560208601615285565b80840191505092915050565b6000613fdf82615051565b613fe98185615096565b9350613ff9818560208601615285565b6140028161544e565b840191505092915050565b600061401882615051565b61402281856150a7565b9350614032818560208601615285565b80840191505092915050565b600061404b602b83615096565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b60006140b1603283615096565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000614117602683615096565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061417d601c83615096565b91507f46756e6374696f6e2063616c6c206e6f74207375636365737366756c000000006000830152602082019050919050565b60006141bd601c83615096565b91507f45786365656473204d617820546f6b656e7320417661696c61626c65000000006000830152602082019050919050565b60006141fd601c83615096565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b600061423d6002836150a7565b91507f19010000000000000000000000000000000000000000000000000000000000006000830152600282019050919050565b600061427d602483615096565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006142e3601983615096565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000614323601f83615096565b91507f45746865722076616c75652073656e74206973206e6f7420636f7272656374006000830152602082019050919050565b6000614363602c83615096565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006143c9602583615096565b91507f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360008301527f49474e45520000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061442f601583615096565b91507f73616c652068617320746f2062652061637469766500000000000000000000006000830152602082019050919050565b600061446f603883615096565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b60006144d5602a83615096565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b600061453b602983615096565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006145a1602083615096565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b60006145e1602c83615096565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614647602083615096565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000614687602383615096565b91507f56696f6c61746564204d617820547820507572636861736520436f6e7374726160008301527f696e7400000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006146ed602983615096565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614753602183615096565b91507f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360008301527f68000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006147b9602f83615096565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b600061481f602183615096565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614885603183615096565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b60006148eb602c83615096565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b6000614951600b83615096565b91507f76616c7565206572726f720000000000000000000000000000000000000000006000830152602082019050919050565b61498d8161525f565b82525050565b61499c8161525f565b82525050565b6149ab81615269565b82525050565b60006149bd8284613fa3565b915081905092915050565b60006149d48285613fa3565b91506149e08284613ec0565b6014820191508190509392505050565b60006149fc828561400d565b9150614a08828461400d565b91508190509392505050565b6000614a1f82614230565b9150614a2b8285613f53565b602082019150614a3b8284613f53565b6020820191508190509392505050565b6000602082019050614a606000830184613eb1565b92915050565b6000606082019050614a7b6000830186613eb1565b614a886020830185613ea2565b8181036040830152614a9a8184613f6a565b9050949350505050565b6000608082019050614ab96000830187613eb1565b614ac66020830186613eb1565b614ad36040830185614993565b8181036060830152614ae58184613f6a565b905095945050505050565b60006020820190508181036000830152614b0a8184613ed7565b905092915050565b6000602082019050614b276000830184613f35565b92915050565b6000602082019050614b426000830184613f44565b92915050565b6000608082019050614b5d6000830187613f44565b614b6a6020830186614993565b614b776040830185613eb1565b614b846060830184613f44565b95945050505050565b6000608082019050614ba26000830187613f44565b614baf60208301866149a2565b614bbc6040830185613f44565b614bc96060830184613f44565b95945050505050565b60006020820190508181036000830152614bec8184613f6a565b905092915050565b60006020820190508181036000830152614c0e8184613fd4565b905092915050565b60006020820190508181036000830152614c2f8161403e565b9050919050565b60006020820190508181036000830152614c4f816140a4565b9050919050565b60006020820190508181036000830152614c6f8161410a565b9050919050565b60006020820190508181036000830152614c8f81614170565b9050919050565b60006020820190508181036000830152614caf816141b0565b9050919050565b60006020820190508181036000830152614ccf816141f0565b9050919050565b60006020820190508181036000830152614cef81614270565b9050919050565b60006020820190508181036000830152614d0f816142d6565b9050919050565b60006020820190508181036000830152614d2f81614316565b9050919050565b60006020820190508181036000830152614d4f81614356565b9050919050565b60006020820190508181036000830152614d6f816143bc565b9050919050565b60006020820190508181036000830152614d8f81614422565b9050919050565b60006020820190508181036000830152614daf81614462565b9050919050565b60006020820190508181036000830152614dcf816144c8565b9050919050565b60006020820190508181036000830152614def8161452e565b9050919050565b60006020820190508181036000830152614e0f81614594565b9050919050565b60006020820190508181036000830152614e2f816145d4565b9050919050565b60006020820190508181036000830152614e4f8161463a565b9050919050565b60006020820190508181036000830152614e6f8161467a565b9050919050565b60006020820190508181036000830152614e8f816146e0565b9050919050565b60006020820190508181036000830152614eaf81614746565b9050919050565b60006020820190508181036000830152614ecf816147ac565b9050919050565b60006020820190508181036000830152614eef81614812565b9050919050565b60006020820190508181036000830152614f0f81614878565b9050919050565b60006020820190508181036000830152614f2f816148de565b9050919050565b60006020820190508181036000830152614f4f81614944565b9050919050565b6000602082019050614f6b6000830184614993565b92915050565b6000604082019050614f866000830185614993565b614f936020830184614993565b9392505050565b6000604051905081810181811067ffffffffffffffff82111715614fc157614fc061541f565b5b8060405250919050565b600067ffffffffffffffff821115614fe657614fe561541f565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156150165761501561541f565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006150bd8261525f565b91506150c88361525f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156150fd576150fc615392565b5b828201905092915050565b60006151138261525f565b915061511e8361525f565b92508261512e5761512d6153c1565b5b828204905092915050565b60006151448261525f565b915061514f8361525f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561518857615187615392565b5b828202905092915050565b600061519e8261525f565b91506151a98361525f565b9250828210156151bc576151bb615392565b5b828203905092915050565b60006151d28261523f565b9050919050565b60006151e48261523f565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000615238826151c7565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156152a3578082015181840152602081019050615288565b838111156152b2576000848401525b50505050565b600060028204905060018216806152d057607f821691505b602082108114156152e4576152e36153f0565b5b50919050565b60006152f58261525f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561532857615327615392565b5b600182019050919050565b600061533e8261534f565b9050919050565b6000819050919050565b600061535a8261545f565b9050919050565b600061536c8261525f565b91506153778361525f565b925082615387576153866153c1565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b615475816151c7565b811461548057600080fd5b50565b61548c816151eb565b811461549757600080fd5b50565b6154a3816151f7565b81146154ae57600080fd5b50565b6154ba81615201565b81146154c557600080fd5b50565b6154d18161522d565b81146154dc57600080fd5b50565b6154e88161525f565b81146154f357600080fd5b50565b6154ff81615269565b811461550a57600080fd5b5056fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a264697066735822122007720a2138200aeda80ce8a947a2b09e2435a73744618fb19e032b99d9d6049464736f6c63430008000033

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

000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c10000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d6179577041575673667465463351487551434c395a76427452684a74334162456857365037537953676567522f000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
Arg [1] : _cURI (string): https://gateway.pinata.cloud/ipfs/QmayWpAWVsfteF3QHuQCL9ZvBtRhJt3AbEhW6P7SySgegR/

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000051
Arg [3] : 68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066
Arg [4] : 732f516d6179577041575673667465463351487551434c395a76427452684a74
Arg [5] : 334162456857365037537953676567522f000000000000000000000000000000


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.