ETH Price: $2,523.67 (+2.05%)

Token

Impasto (IMPASTO)
 

Overview

Max Total Supply

269 IMPASTO

Holders

139

Total Transfers

-

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

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:
Grail

Compiler Version
v0.8.2+commit.661d1103

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 19 : Grail.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./ERC721Tradable.sol";
import "@openzeppelin/contracts/utils/math/Math.sol";
import "@openzeppelin/contracts/utils/Counters.sol";

interface IToken {
    function balanceOf(address owner) external returns (uint256);
}

contract Grail is ERC721Tradable {
    bool public salePublicIsActive;
    uint256 public maxByMint = 1;
    uint256 public maxSupply;
    uint256 public maxPublicSupply;
    uint256 public maxReservedSupply;
    address public daoAddress;
    string internal baseTokenURI;

    // Dutch auction
    uint256 public startTime;
    uint256 public maxPrice = 3.2 ether;
    uint256 public minPrice =  0.2 ether;
    uint256 public timeDelta = 1 minutes;
    uint256 public priceDelta = 0.05 ether;

    mapping(uint256 => string) public generativeArtScript;
    mapping(uint256 => bytes32) public tokenIdToHash;
    mapping(bytes32 => uint256) public hashToTokenId;

    // Rare
    mapping(uint256 => bytes32) public curatedHashes;

    using Counters for Counters.Counter;
    Counters.Counter private _totalPublicSupply;
    Counters.Counter private _totalReservedSupply;
    
    constructor(
        string memory _name,
        string memory _symbol,
        address _proxyRegistryAddress
    ) ERC721Tradable(_name, _symbol, _proxyRegistryAddress) {
        maxSupply = 269;
        maxReservedSupply = 7;
        maxPublicSupply = maxSupply - maxReservedSupply; 
        daoAddress = 0x63fE60e3373De8480eBe56Db5B153baB1A431E38;
        baseTokenURI = "https://grailers.com/api/grail/1/meta/";
    }

    function contractURI() public pure returns (string memory) {
        return "https://grailers.com/api/grail/1/contract";
    }

    function _mintN(uint numberOfTokens) private {
        require(numberOfTokens <= maxByMint, "Max mint exceeded");
        require(_totalPublicSupply.current() + numberOfTokens <= maxPublicSupply, "Max supply reached");
        for(uint i = 0; i < numberOfTokens; i++) {
            _totalPublicSupply.increment();
            uint256 tokenIdToBe = this.totalSupply();
            _setHash(tokenIdToBe);
            _safeMint(msg.sender, this.totalSupply());
        }
    }

    function _generateRandomHash(uint random) private view returns (bytes32) {
        return keccak256(abi.encodePacked(block.number, blockhash(block.number - 1), msg.sender, random));
    }

    function _setHash(uint256 tokenIdToBe) private {
        bytes32 hash;
        if ( curatedHashes[tokenIdToBe] != bytes32(0) ) {
            hash = curatedHashes[tokenIdToBe];
        } else {
            hash = _generateRandomHash(tokenIdToBe);
        }
        tokenIdToHash[tokenIdToBe]=hash;
        hashToTokenId[hash]=tokenIdToBe;
    }

    function mintPublic(uint numberOfTokens) external payable {
        require(salePublicIsActive, "Sale not active");
        uint256 totalPrice = getCurrentPrice() * numberOfTokens; 
        require(totalPrice <= msg.value, "Not enough ETH");
        _mintN(numberOfTokens);
        // Return change (if any)
        uint256 change = msg.value - totalPrice;
        payable(msg.sender).transfer(change);
    }

    function mintReserved(address _to, uint numberOfTokens) external onlyOwner {
        require(_totalReservedSupply.current() + numberOfTokens <= maxReservedSupply, "Max supply reached");
        for(uint i = 0; i < numberOfTokens; i++) {
            _totalReservedSupply.increment();
            _setHash(this.totalSupply());
            _safeMint(_to, this.totalSupply());
        }
    }

    function getCurrentPrice() public view returns (uint256) {
        if (!salePublicIsActive) {
            return maxPrice;
        }
        return _getCurrentPrice(startTime, block.timestamp, maxPrice, minPrice);
    }

    function _getCurrentPrice(
        uint256 _startTime,
        uint256 _currentTime,
        uint256 _maxPrice,
        uint256 _minPrice
    ) internal view virtual returns (uint256) {
        if (_currentTime < _startTime) {
            return _maxPrice;
        }
        // Drop by x eth every y minutes
        uint256 priceDiff = ((_currentTime - _startTime) / timeDelta) * priceDelta;
        priceDiff = Math.min(priceDiff, _maxPrice);
        return Math.max(_minPrice, _maxPrice - priceDiff);
    }

    function tokenURI(uint256 _tokenId) override public view returns (string memory) {
        return string(abi.encodePacked(baseTokenURI, Strings.toString(_tokenId)));
    }

    function totalSupply() public view returns (uint256) {
        return _totalPublicSupply.current() + _totalReservedSupply.current();
    }

    function totalPublicSupply() public view returns (uint256) {
        return _totalPublicSupply.current();
    }

    function totalReservedSupply() public view returns (uint256) {
        return _totalReservedSupply.current();
    }

    function startAuction() external onlyOwner {
        startTime = block.timestamp;
        salePublicIsActive = true;
    }

    function pauseAuction() external onlyOwner {
        salePublicIsActive = false;
    } 

    function setDaoAddress(address _daoAddress) external onlyOwner {
        daoAddress = _daoAddress;
    }

    function setBaseTokenURI(string memory _baseTokenURI) external onlyOwner {
        baseTokenURI = _baseTokenURI;
    }

    function setSupply(uint256 _maxSupply, uint256 _maxReservedSupply) external onlyOwner {
        maxSupply = _maxSupply;
        maxReservedSupply = _maxReservedSupply;
        maxPublicSupply = maxSupply - maxReservedSupply; 
    }

    function setAuction(uint256 _maxPrice, uint256 _minPrice, uint256 _timeDelta, uint256 _priceDelta) external onlyOwner {
        maxPrice = _maxPrice;
        minPrice = _minPrice;
        timeDelta = _timeDelta;
        priceDelta = _priceDelta;
    }

    function setMaxByMint(uint256 _maxByMint) external onlyOwner {
        maxByMint = _maxByMint;
    }

    function withdraw() external onlyOwner {
        uint balance = address(this).balance;
        require(balance > 0);
        _withdraw(daoAddress, balance);
    }

    function _withdraw(address _address, uint256 _amount) private {
        (bool success, ) = _address.call{value: _amount}("");
        require(success, "Tx failed");
    }

    /*
    * Generative Art Script
    */
    function updateScript(uint256[] memory _indexes, string[] memory _scripts)
        external
        onlyOwner
    {
        require(
            _indexes.length == _scripts.length,
            "Array lengths are different"
        );
        for (uint256 i = 0; i < _scripts.length; i++) {
            generativeArtScript[_indexes[i]] = _scripts[i];
        }
    }

    function updateCurated(uint256[] memory _indexes, bytes32[] memory _curatedHashes)
        external
        onlyOwner
    {
        require(
            _indexes.length == _curatedHashes.length,
            "Array lengths are different"
        );
        for (uint256 i = 0; i < _indexes.length; i++) {
            curatedHashes[_indexes[i]] = _curatedHashes[i];
        }
    }

}

File 2 of 19 : ERC721Tradable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./common/meta-transactions/ContentMixin.sol";
import "./common/meta-transactions/NativeMetaTransaction.sol";

contract OwnableDelegateProxy {}

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

/**
 * @title ERC721Tradable
 */
abstract contract ERC721Tradable is ERC721, ContextMixin, NativeMetaTransaction, Ownable {
    address internal proxyRegistryAddress;

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

    /**
     * Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-less listings.
     */
    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();
    }

    function setProxyRegistryAddress(address _proxyRegistryAddress) public onlyOwner {
        proxyRegistryAddress = _proxyRegistryAddress;
    }

}

File 3 of 19 : Math.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a / b + (a % b == 0 ? 0 : 1);
    }
}

File 4 of 19 : Counters.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 5 of 19 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 6 of 19 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 7 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 8 of 19 : NativeMetaTransaction.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import { SafeMathUpgradeable as SafeMath } from "@openzeppelin/contracts-upgradeable/utils/math/SafeMathUpgradeable.sol";
import "./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 9 of 19 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

File 10 of 19 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 11 of 19 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 12 of 19 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 13 of 19 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 14 of 19 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 15 of 19 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

File 17 of 19 : SafeMathUpgradeable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMathUpgradeable {
    /**
     * @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 18 of 19 : EIP712Base.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts-upgradeable/proxy/utils/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 19 of 19 : Initializable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        require(_initializing || !_initialized, "Initializable: contract is already initialized");

        bool isTopLevelCall = !_initializing;
        if (isTopLevelCall) {
            _initializing = true;
            _initialized = true;
        }

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"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":"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":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"curatedHashes","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"daoAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"","type":"uint256"}],"name":"generativeArtScript","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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":"getCurrentPrice","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":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"hashToTokenId","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":"maxByMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPublicSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxReservedSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintReserved","outputs":[],"stateMutability":"nonpayable","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":"pauseAuction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"priceDelta","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":"salePublicIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPrice","type":"uint256"},{"internalType":"uint256","name":"_minPrice","type":"uint256"},{"internalType":"uint256","name":"_timeDelta","type":"uint256"},{"internalType":"uint256","name":"_priceDelta","type":"uint256"}],"name":"setAuction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_daoAddress","type":"address"}],"name":"setDaoAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxByMint","type":"uint256"}],"name":"setMaxByMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"name":"setProxyRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"uint256","name":"_maxReservedSupply","type":"uint256"}],"name":"setSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startAuction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timeDelta","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"totalPublicSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReservedSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_indexes","type":"uint256[]"},{"internalType":"bytes32[]","name":"_curatedHashes","type":"bytes32[]"}],"name":"updateCurated","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_indexes","type":"uint256[]"},{"internalType":"string[]","name":"_scripts","type":"string[]"}],"name":"updateScript","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526001600b55672c68af0bb14000006012556702c68af0bb140000601355603c60145566b1a2bc2ec500006015553480156200003e57600080fd5b50604051620065ed380380620065ed83398181016040528101906200006491906200064b565b828282828281600090805190602001906200008192919062000512565b5080600190805190602001906200009a92919062000512565b505050620000bd620000b1620001cb60201b60201c565b620001e760201b60201c565b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200010f83620002ad60201b60201c565b50505061010d600c819055506007600e81905550600e54600c546200013591906200080b565b600d819055507363fe60e3373de8480ebe56db5b153bab1a431e38600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550604051806060016040528060268152602001620065c76026913960109080519060200190620001c192919062000512565b5050505062000a37565b6000620001e2620003a360201b620027e41760201c565b905090565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600660019054906101000a900460ff1680620002d65750600660009054906101000a900460ff16155b62000318576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200030f9062000779565b60405180910390fd5b6000600660019054906101000a900460ff1615905080156200036b576001600660016101000a81548160ff0219169083151502179055506001600660006101000a81548160ff0219169083151502179055505b6200037c826200045660201b60201c565b80156200039f576000600660016101000a81548160ff0219169083151502179055505b5050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156200044f57600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff81830151169250505062000453565b3390505b90565b6040518060800160405280604f815260200162006578604f91398051906020012081805190602001206040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152508051906020012030620004cd6200050560201b60201c565b60001b604051602001620004e69594939291906200071c565b6040516020818303038152906040528051906020012060078190555050565b6000804690508091505090565b8280546200052090620008c4565b90600052602060002090601f01602090048101928262000544576000855562000590565b82601f106200055f57805160ff191683800117855562000590565b8280016001018555821562000590579182015b828111156200058f57825182559160200191906001019062000572565b5b5090506200059f9190620005a3565b5090565b5b80821115620005be576000816000905550600101620005a4565b5090565b6000620005d9620005d384620007c4565b6200079b565b905082815260208101848484011115620005f257600080fd5b620005ff8482856200088e565b509392505050565b600081519050620006188162000a1d565b92915050565b600082601f8301126200063057600080fd5b815162000642848260208601620005c2565b91505092915050565b6000806000606084860312156200066157600080fd5b600084015167ffffffffffffffff8111156200067c57600080fd5b6200068a868287016200061e565b935050602084015167ffffffffffffffff811115620006a857600080fd5b620006b6868287016200061e565b9250506040620006c98682870162000607565b9150509250925092565b620006de8162000846565b82525050565b620006ef816200085a565b82525050565b600062000704602e83620007fa565b91506200071182620009ce565b604082019050919050565b600060a082019050620007336000830188620006e4565b620007426020830187620006e4565b620007516040830186620006e4565b620007606060830185620006d3565b6200076f6080830184620006e4565b9695505050505050565b600060208201905081810360008301526200079481620006f5565b9050919050565b6000620007a7620007ba565b9050620007b58282620008fa565b919050565b6000604051905090565b600067ffffffffffffffff821115620007e257620007e16200098e565b5b620007ed82620009bd565b9050602081019050919050565b600082825260208201905092915050565b6000620008188262000884565b9150620008258362000884565b9250828210156200083b576200083a62000930565b5b828203905092915050565b6000620008538262000864565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b83811015620008ae57808201518184015260208101905062000891565b83811115620008be576000848401525b50505050565b60006002820490506001821680620008dd57607f821691505b60208210811415620008f457620008f36200095f565b5b50919050565b6200090582620009bd565b810181811067ffffffffffffffff821117156200092757620009266200098e565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b62000a288162000846565b811462000a3457600080fd5b50565b615b318062000a476000396000f3fe6080604052600436106103355760003560e01c806386292bb4116101ab578063c87b56dd116100f7578063e985e9c511610095578063f2fde38b1161006f578063f2fde38b14610be2578063f51f74a914610c0b578063fc35ffd914610c48578063fc784d4914610c7157610335565b8063e985e9c514610b5e578063eb91d37e14610b9b578063efd0cbf914610bc657610335565b8063e38d6b5c116100d1578063e38d6b5c14610ab2578063e45be8eb14610add578063e6a5931e14610b08578063e8a3d48514610b3357610335565b8063c87b56dd14610a21578063d26ea6c014610a5e578063d5abeb0114610a8757610335565b8063b455c5fe11610164578063b9ae73641161013e578063b9ae736414610979578063c06dafa014610990578063c1fad42c146109cd578063c26272a4146109f857610335565b8063b455c5fe146108fc578063b6c65d3814610925578063b88d4fde1461095057610335565b806386292bb4146107ec5780638da5cb5b1461082957806395d89b411461085457806395e8bb231461087f5780639a3cac6a146108aa578063a22cb465146108d357610335565b806330176e13116102855780636352211e1161022357806370a08231116101fd57806370a0823114610744578063715018a61461078157806378e97925146107985780637de55fe1146107c357610335565b80636352211e146106c5578063674d13c8146107025780636b64c7691461072d57610335565b806342842e0e1161025f57806342842e0e1461060b5780635bfa896a14610634578063621a1f741461065f57806362e61a631461069c57610335565b806330176e13146105a05780633408e470146105c95780633ccfd60b146105f457610335565b8063138a4e01116102f25780632131c68c116102cc5780632131c68c146104e457806323b872dd1461050f57806326a74d8e146105385780632d0335ab1461056357610335565b8063138a4e011461046357806318160ddd1461048e57806320379ee5146104b957610335565b806301ffc9a71461033a57806306fdde0314610377578063081812fc146103a2578063095ea7b3146103df5780630c53c51c146104085780630f7e597014610438575b600080fd5b34801561034657600080fd5b50610361600480360381019061035c91906141ab565b610c9a565b60405161036e9190614a7a565b60405180910390f35b34801561038357600080fd5b5061038c610d7c565b6040516103999190614b5c565b60405180910390f35b3480156103ae57600080fd5b506103c960048036038101906103c49190614267565b610e0e565b6040516103d691906149d5565b60405180910390f35b3480156103eb57600080fd5b506104066004803603810190610401919061406e565b610e93565b005b610422600480360381019061041d9190613fdf565b610fab565b60405161042f9190614b3a565b60405180910390f35b34801561044457600080fd5b5061044d61121d565b60405161045a9190614b5c565b60405180910390f35b34801561046f57600080fd5b50610478611256565b6040516104859190614e7e565b60405180910390f35b34801561049a57600080fd5b506104a361125c565b6040516104b09190614e7e565b60405180910390f35b3480156104c557600080fd5b506104ce611281565b6040516104db9190614a95565b60405180910390f35b3480156104f057600080fd5b506104f961128b565b60405161050691906149d5565b60405180910390f35b34801561051b57600080fd5b5061053660048036038101906105319190613ed9565b6112b1565b005b34801561054457600080fd5b5061054d611311565b60405161055a9190614e7e565b60405180910390f35b34801561056f57600080fd5b5061058a60048036038101906105859190613e74565b611317565b6040516105979190614e7e565b60405180910390f35b3480156105ac57600080fd5b506105c760048036038101906105c29190614226565b611360565b005b3480156105d557600080fd5b506105de6113f6565b6040516105eb9190614e7e565b60405180910390f35b34801561060057600080fd5b50610609611403565b005b34801561061757600080fd5b50610632600480360381019061062d9190613ed9565b6114c0565b005b34801561064057600080fd5b506106496114e0565b6040516106569190614e7e565b60405180910390f35b34801561066b57600080fd5b5061068660048036038101906106819190614267565b6114e6565b6040516106939190614a95565b60405180910390f35b3480156106a857600080fd5b506106c360048036038101906106be91906142f5565b6114fe565b005b3480156106d157600080fd5b506106ec60048036038101906106e79190614267565b61159c565b6040516106f991906149d5565b60405180910390f35b34801561070e57600080fd5b5061071761164e565b6040516107249190614e7e565b60405180910390f35b34801561073957600080fd5b5061074261165f565b005b34801561075057600080fd5b5061076b60048036038101906107669190613e74565b6116ff565b6040516107789190614e7e565b60405180910390f35b34801561078d57600080fd5b506107966117b7565b005b3480156107a457600080fd5b506107ad61183f565b6040516107ba9190614e7e565b60405180910390f35b3480156107cf57600080fd5b506107ea60048036038101906107e5919061406e565b611845565b005b3480156107f857600080fd5b50610813600480360381019061080e9190614267565b611a54565b6040516108209190614b5c565b60405180910390f35b34801561083557600080fd5b5061083e611af4565b60405161084b91906149d5565b60405180910390f35b34801561086057600080fd5b50610869611b1e565b6040516108769190614b5c565b60405180910390f35b34801561088b57600080fd5b50610894611bb0565b6040516108a19190614e7e565b60405180910390f35b3480156108b657600080fd5b506108d160048036038101906108cc9190613e74565b611bb6565b005b3480156108df57600080fd5b506108fa60048036038101906108f59190613fa3565b611c76565b005b34801561090857600080fd5b50610923600480360381019061091e9190614267565b611df7565b005b34801561093157600080fd5b5061093a611e7d565b6040516109479190614a7a565b60405180910390f35b34801561095c57600080fd5b5061097760048036038101906109729190613f28565b611e90565b005b34801561098557600080fd5b5061098e611ef2565b005b34801561099c57600080fd5b506109b760048036038101906109b29190614267565b611f8b565b6040516109c49190614a95565b60405180910390f35b3480156109d957600080fd5b506109e2611fa3565b6040516109ef9190614e7e565b60405180910390f35b348015610a0457600080fd5b50610a1f6004803603810190610a1a9190614116565b611fa9565b005b348015610a2d57600080fd5b50610a486004803603810190610a439190614267565b612135565b604051610a559190614b5c565b60405180910390f35b348015610a6a57600080fd5b50610a856004803603810190610a809190613e74565b612169565b005b348015610a9357600080fd5b50610a9c612229565b604051610aa99190614e7e565b60405180910390f35b348015610abe57600080fd5b50610ac761222f565b604051610ad49190614e7e565b60405180910390f35b348015610ae957600080fd5b50610af2612235565b604051610aff9190614e7e565b60405180910390f35b348015610b1457600080fd5b50610b1d61223b565b604051610b2a9190614e7e565b60405180910390f35b348015610b3f57600080fd5b50610b4861224c565b604051610b559190614b5c565b60405180910390f35b348015610b6a57600080fd5b50610b856004803603810190610b809190613e9d565b61226c565b604051610b929190614a7a565b60405180910390f35b348015610ba757600080fd5b50610bb061236e565b604051610bbd9190614e7e565b60405180910390f35b610be06004803603810190610bdb9190614267565b6123a6565b005b348015610bee57600080fd5b50610c096004803603810190610c049190613e74565b6124b4565b005b348015610c1757600080fd5b50610c326004803603810190610c2d9190614182565b6125ac565b604051610c3f9190614e7e565b60405180910390f35b348015610c5457600080fd5b50610c6f6004803603810190610c6a91906140aa565b6125c4565b005b348015610c7d57600080fd5b50610c986004803603810190610c9391906142b9565b612740565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610d6557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610d755750610d7482612895565b5b9050919050565b606060008054610d8b9061520d565b80601f0160208091040260200160405190810160405280929190818152602001828054610db79061520d565b8015610e045780601f10610dd957610100808354040283529160200191610e04565b820191906000526020600020905b815481529060010190602001808311610de757829003601f168201915b5050505050905090565b6000610e19826128ff565b610e58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4f90614d7e565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610e9e8261159c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0690614dfe565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610f2e61296b565b73ffffffffffffffffffffffffffffffffffffffff161480610f5d5750610f5c81610f5761296b565b61226c565b5b610f9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9390614cbe565b60405180910390fd5b610fa6838361297a565b505050565b606060006040518060600160405280600860008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020018873ffffffffffffffffffffffffffffffffffffffff16815260200187815250905061102e8782878787612a33565b61106d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106490614dde565b60405180910390fd5b6110c06001600860008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612b3c90919063ffffffff16565b600860008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b873388604051611136939291906149f0565b60405180910390a16000803073ffffffffffffffffffffffffffffffffffffffff16888a60405160200161116b9291906148ef565b60405160208183030381529060405260405161118791906148d8565b6000604051808303816000865af19150503d80600081146111c4576040519150601f19603f3d011682016040523d82523d6000602084013e6111c9565b606091505b50915091508161120e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120590614bbe565b60405180910390fd5b80935050505095945050505050565b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b600b5481565b6000611268601b612b52565b611272601a612b52565b61127c9190615007565b905090565b6000600754905090565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6112c26112bc61296b565b82612b60565b611301576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f890614e1e565b60405180910390fd5b61130c838383612c3e565b505050565b600d5481565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61136861296b565b73ffffffffffffffffffffffffffffffffffffffff16611386611af4565b73ffffffffffffffffffffffffffffffffffffffff16146113dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d390614d9e565b60405180910390fd5b80601090805190602001906113f2929190613a91565b5050565b6000804690508091505090565b61140b61296b565b73ffffffffffffffffffffffffffffffffffffffff16611429611af4565b73ffffffffffffffffffffffffffffffffffffffff161461147f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147690614d9e565b60405180910390fd5b60004790506000811161149157600080fd5b6114bd600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682612e9a565b50565b6114db83838360405180602001604052806000815250611e90565b505050565b60155481565b60176020528060005260406000206000915090505481565b61150661296b565b73ffffffffffffffffffffffffffffffffffffffff16611524611af4565b73ffffffffffffffffffffffffffffffffffffffff161461157a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157190614d9e565b60405180910390fd5b8360128190555082601381905550816014819055508060158190555050505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611645576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163c90614cfe565b60405180910390fd5b80915050919050565b600061165a601b612b52565b905090565b61166761296b565b73ffffffffffffffffffffffffffffffffffffffff16611685611af4565b73ffffffffffffffffffffffffffffffffffffffff16146116db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d290614d9e565b60405180910390fd5b426011819055506001600a60146101000a81548160ff021916908315150217905550565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611770576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176790614cde565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6117bf61296b565b73ffffffffffffffffffffffffffffffffffffffff166117dd611af4565b73ffffffffffffffffffffffffffffffffffffffff1614611833576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182a90614d9e565b60405180910390fd5b61183d6000612f4b565b565b60115481565b61184d61296b565b73ffffffffffffffffffffffffffffffffffffffff1661186b611af4565b73ffffffffffffffffffffffffffffffffffffffff16146118c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b890614d9e565b60405180910390fd5b600e54816118cf601b612b52565b6118d99190615007565b111561191a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191190614e3e565b60405180910390fd5b60005b81811015611a4f5761192f601b613011565b6119b53073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561197857600080fd5b505afa15801561198c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119b09190614290565b613027565b611a3c833073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156119ff57600080fd5b505afa158015611a13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a379190614290565b6130a1565b8080611a4790615270565b91505061191d565b505050565b60166020528060005260406000206000915090508054611a739061520d565b80601f0160208091040260200160405190810160405280929190818152602001828054611a9f9061520d565b8015611aec5780601f10611ac157610100808354040283529160200191611aec565b820191906000526020600020905b815481529060010190602001808311611acf57829003601f168201915b505050505081565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611b2d9061520d565b80601f0160208091040260200160405190810160405280929190818152602001828054611b599061520d565b8015611ba65780601f10611b7b57610100808354040283529160200191611ba6565b820191906000526020600020905b815481529060010190602001808311611b8957829003601f168201915b5050505050905090565b60145481565b611bbe61296b565b73ffffffffffffffffffffffffffffffffffffffff16611bdc611af4565b73ffffffffffffffffffffffffffffffffffffffff1614611c32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2990614d9e565b60405180910390fd5b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611c7e61296b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce390614c3e565b60405180910390fd5b8060056000611cf961296b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611da661296b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611deb9190614a7a565b60405180910390a35050565b611dff61296b565b73ffffffffffffffffffffffffffffffffffffffff16611e1d611af4565b73ffffffffffffffffffffffffffffffffffffffff1614611e73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6a90614d9e565b60405180910390fd5b80600b8190555050565b600a60149054906101000a900460ff1681565b611ea1611e9b61296b565b83612b60565b611ee0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed790614e1e565b60405180910390fd5b611eec848484846130bf565b50505050565b611efa61296b565b73ffffffffffffffffffffffffffffffffffffffff16611f18611af4565b73ffffffffffffffffffffffffffffffffffffffff1614611f6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6590614d9e565b60405180910390fd5b6000600a60146101000a81548160ff021916908315150217905550565b60196020528060005260406000206000915090505481565b600e5481565b611fb161296b565b73ffffffffffffffffffffffffffffffffffffffff16611fcf611af4565b73ffffffffffffffffffffffffffffffffffffffff1614612025576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201c90614d9e565b60405180910390fd5b8051825114612069576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206090614e5e565b60405180910390fd5b60005b8151811015612130578181815181106120ae577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151601660008584815181106120f3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518152602001908152602001600020908051906020019061211c929190613a91565b50808061212890615270565b91505061206c565b505050565b606060106121428361311b565b604051602001612153929190614917565b6040516020818303038152906040529050919050565b61217161296b565b73ffffffffffffffffffffffffffffffffffffffff1661218f611af4565b73ffffffffffffffffffffffffffffffffffffffff16146121e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121dc90614d9e565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600c5481565b60125481565b60135481565b6000612247601a612b52565b905090565b6060604051806060016040528060298152602001615ad360299139905090565b600080600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016122e491906149d5565b60206040518083038186803b1580156122fc57600080fd5b505afa158015612310573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061233491906141fd565b73ffffffffffffffffffffffffffffffffffffffff16141561235a576001915050612368565b61236484846132c8565b9150505b92915050565b6000600a60149054906101000a900460ff1661238e5760125490506123a3565b6123a06011544260125460135461335c565b90505b90565b600a60149054906101000a900460ff166123f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ec90614c7e565b60405180910390fd5b60008161240061236e565b61240a919061508e565b90503481111561244f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244690614d5e565b60405180910390fd5b612458826133c5565b6000813461246691906150e8565b90503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156124ae573d6000803e3d6000fd5b50505050565b6124bc61296b565b73ffffffffffffffffffffffffffffffffffffffff166124da611af4565b73ffffffffffffffffffffffffffffffffffffffff1614612530576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252790614d9e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156125a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259790614b9e565b60405180910390fd5b6125a981612f4b565b50565b60186020528060005260406000206000915090505481565b6125cc61296b565b73ffffffffffffffffffffffffffffffffffffffff166125ea611af4565b73ffffffffffffffffffffffffffffffffffffffff1614612640576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263790614d9e565b60405180910390fd5b8051825114612684576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267b90614e5e565b60405180910390fd5b60005b825181101561273b578181815181106126c9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516019600085848151811061270e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002081905550808061273390615270565b915050612687565b505050565b61274861296b565b73ffffffffffffffffffffffffffffffffffffffff16612766611af4565b73ffffffffffffffffffffffffffffffffffffffff16146127bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b390614d9e565b60405180910390fd5b81600c8190555080600e81905550600e54600c546127da91906150e8565b600d819055505050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561288e57600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff818301511692505050612892565b3390505b90565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60006129756127e4565b905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166129ed8361159c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161415612aa4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9b90614c9e565b60405180910390fd5b6001612ab7612ab2876135a2565b61360a565b83868660405160008152602001604052604051612ad79493929190614af5565b6020604051602081039080840390855afa158015612af9573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b60008183612b4a9190615007565b905092915050565b600081600001549050919050565b6000612b6b826128ff565b612baa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ba190614c5e565b60405180910390fd5b6000612bb58361159c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612c2457508373ffffffffffffffffffffffffffffffffffffffff16612c0c84610e0e565b73ffffffffffffffffffffffffffffffffffffffff16145b80612c355750612c34818561226c565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612c5e8261159c565b73ffffffffffffffffffffffffffffffffffffffff1614612cb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cab90614dbe565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d1b90614c1e565b60405180910390fd5b612d2f838383613643565b612d3a60008261297a565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d8a91906150e8565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612de19190615007565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612ec090614972565b60006040518083038185875af1925050503d8060008114612efd576040519150601f19603f3d011682016040523d82523d6000602084013e612f02565b606091505b5050905080612f46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f3d90614d1e565b60405180910390fd5b505050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001816000016000828254019250508190555050565b60008060001b601960008481526020019081526020016000205414613061576019600083815260200190815260200160002054905061306d565b61306a82613648565b90505b8060176000848152602001908152602001600020819055508160186000838152602001908152602001600020819055505050565b6130bb82826040518060200160405280600081525061368b565b5050565b6130ca848484612c3e565b6130d6848484846136e6565b613115576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161310c90614b7e565b60405180910390fd5b50505050565b60606000821415613163576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506132c3565b600082905060005b6000821461319557808061317e90615270565b915050600a8261318e919061505d565b915061316b565b60008167ffffffffffffffff8111156131d7577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156132095781602001600182028036833780820191505090505b5090505b600085146132bc5760018261322291906150e8565b9150600a8561323191906152f1565b603061323d9190615007565b60f81b818381518110613279577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856132b5919061505d565b945061320d565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60008484101561336e578290506133bd565b6000601554601454878761338291906150e8565b61338c919061505d565b613396919061508e565b90506133a2818561387d565b90506133b98382866133b491906150e8565b613896565b9150505b949350505050565b600b5481111561340a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161340190614bfe565b60405180910390fd5b600d5481613418601a612b52565b6134229190615007565b1115613463576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161345a90614e3e565b60405180910390fd5b60005b8181101561359e57613478601a613011565b60003073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156134c057600080fd5b505afa1580156134d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134f89190614290565b905061350381613027565b61358a333073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561354d57600080fd5b505afa158015613561573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135859190614290565b6130a1565b50808061359690615270565b915050613466565b5050565b6000604051806080016040528060438152602001615a906043913980519060200120826000015183602001518460400151805190602001206040516020016135ed9493929190614ab0565b604051602081830303815290604052805190602001209050919050565b6000613614611281565b8260405160200161362692919061493b565b604051602081830303815290604052805190602001209050919050565b505050565b60004360014361365891906150e8565b40338460405160200161366e9493929190614987565b604051602081830303815290604052805190602001209050919050565b61369583836138b0565b6136a260008484846136e6565b6136e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136d890614b7e565b60405180910390fd5b505050565b60006137078473ffffffffffffffffffffffffffffffffffffffff16613a7e565b15613870578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261373061296b565b8786866040518563ffffffff1660e01b81526004016137529493929190614a2e565b602060405180830381600087803b15801561376c57600080fd5b505af192505050801561379d57506040513d601f19601f8201168201806040525081019061379a91906141d4565b60015b613820573d80600081146137cd576040519150601f19603f3d011682016040523d82523d6000602084013e6137d2565b606091505b50600081511415613818576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161380f90614b7e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613875565b600190505b949350505050565b600081831061388c578161388e565b825b905092915050565b6000818310156138a657816138a8565b825b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613920576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161391790614d3e565b60405180910390fd5b613929816128ff565b15613969576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161396090614bde565b60405180910390fd5b61397560008383613643565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546139c59190615007565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054613a9d9061520d565b90600052602060002090601f016020900481019282613abf5760008555613b06565b82601f10613ad857805160ff1916838001178555613b06565b82800160010185558215613b06579182015b82811115613b05578251825591602001919060010190613aea565b5b509050613b139190613b17565b5090565b5b80821115613b30576000816000905550600101613b18565b5090565b6000613b47613b4284614ebe565b614e99565b90508083825260208201905082856020860282011115613b6657600080fd5b60005b85811015613b965781613b7c8882613d8d565b845260208401935060208301925050600181019050613b69565b5050509392505050565b6000613bb3613bae84614eea565b614e99565b9050808382526020820190508260005b85811015613bf35781358501613bd98882613e0b565b845260208401935060208301925050600181019050613bc3565b5050509392505050565b6000613c10613c0b84614f16565b614e99565b90508083825260208201905082856020860282011115613c2f57600080fd5b60005b85811015613c5f5781613c458882613e35565b845260208401935060208301925050600181019050613c32565b5050509392505050565b6000613c7c613c7784614f42565b614e99565b905082815260208101848484011115613c9457600080fd5b613c9f8482856151cb565b509392505050565b6000613cba613cb584614f73565b614e99565b905082815260208101848484011115613cd257600080fd5b613cdd8482856151cb565b509392505050565b600081359050613cf4816159ee565b92915050565b600082601f830112613d0b57600080fd5b8135613d1b848260208601613b34565b91505092915050565b600082601f830112613d3557600080fd5b8135613d45848260208601613ba0565b91505092915050565b600082601f830112613d5f57600080fd5b8135613d6f848260208601613bfd565b91505092915050565b600081359050613d8781615a05565b92915050565b600081359050613d9c81615a1c565b92915050565b600081359050613db181615a33565b92915050565b600081519050613dc681615a33565b92915050565b600082601f830112613ddd57600080fd5b8135613ded848260208601613c69565b91505092915050565b600081519050613e0581615a4a565b92915050565b600082601f830112613e1c57600080fd5b8135613e2c848260208601613ca7565b91505092915050565b600081359050613e4481615a61565b92915050565b600081519050613e5981615a61565b92915050565b600081359050613e6e81615a78565b92915050565b600060208284031215613e8657600080fd5b6000613e9484828501613ce5565b91505092915050565b60008060408385031215613eb057600080fd5b6000613ebe85828601613ce5565b9250506020613ecf85828601613ce5565b9150509250929050565b600080600060608486031215613eee57600080fd5b6000613efc86828701613ce5565b9350506020613f0d86828701613ce5565b9250506040613f1e86828701613e35565b9150509250925092565b60008060008060808587031215613f3e57600080fd5b6000613f4c87828801613ce5565b9450506020613f5d87828801613ce5565b9350506040613f6e87828801613e35565b925050606085013567ffffffffffffffff811115613f8b57600080fd5b613f9787828801613dcc565b91505092959194509250565b60008060408385031215613fb657600080fd5b6000613fc485828601613ce5565b9250506020613fd585828601613d78565b9150509250929050565b600080600080600060a08688031215613ff757600080fd5b600061400588828901613ce5565b955050602086013567ffffffffffffffff81111561402257600080fd5b61402e88828901613dcc565b945050604061403f88828901613d8d565b935050606061405088828901613d8d565b925050608061406188828901613e5f565b9150509295509295909350565b6000806040838503121561408157600080fd5b600061408f85828601613ce5565b92505060206140a085828601613e35565b9150509250929050565b600080604083850312156140bd57600080fd5b600083013567ffffffffffffffff8111156140d757600080fd5b6140e385828601613d4e565b925050602083013567ffffffffffffffff81111561410057600080fd5b61410c85828601613cfa565b9150509250929050565b6000806040838503121561412957600080fd5b600083013567ffffffffffffffff81111561414357600080fd5b61414f85828601613d4e565b925050602083013567ffffffffffffffff81111561416c57600080fd5b61417885828601613d24565b9150509250929050565b60006020828403121561419457600080fd5b60006141a284828501613d8d565b91505092915050565b6000602082840312156141bd57600080fd5b60006141cb84828501613da2565b91505092915050565b6000602082840312156141e657600080fd5b60006141f484828501613db7565b91505092915050565b60006020828403121561420f57600080fd5b600061421d84828501613df6565b91505092915050565b60006020828403121561423857600080fd5b600082013567ffffffffffffffff81111561425257600080fd5b61425e84828501613e0b565b91505092915050565b60006020828403121561427957600080fd5b600061428784828501613e35565b91505092915050565b6000602082840312156142a257600080fd5b60006142b084828501613e4a565b91505092915050565b600080604083850312156142cc57600080fd5b60006142da85828601613e35565b92505060206142eb85828601613e35565b9150509250929050565b6000806000806080858703121561430b57600080fd5b600061431987828801613e35565b945050602061432a87828801613e35565b935050604061433b87828801613e35565b925050606061434c87828801613e35565b91505092959194509250565b6143618161512e565b82525050565b6143708161511c565b82525050565b6143876143828261511c565b6152b9565b82525050565b61439681615140565b82525050565b6143a58161514c565b82525050565b6143bc6143b78261514c565b6152cb565b82525050565b60006143cd82614fb9565b6143d78185614fcf565b93506143e78185602086016151da565b6143f0816153de565b840191505092915050565b600061440682614fb9565b6144108185614fe0565b93506144208185602086016151da565b80840191505092915050565b600061443782614fc4565b6144418185614feb565b93506144518185602086016151da565b61445a816153de565b840191505092915050565b600061447082614fc4565b61447a8185614ffc565b935061448a8185602086016151da565b80840191505092915050565b600081546144a38161520d565b6144ad8186614ffc565b945060018216600081146144c857600181146144d95761450c565b60ff1983168652818601935061450c565b6144e285614fa4565b60005b83811015614504578154818901526001820191506020810190506144e5565b838801955050505b50505092915050565b6000614522603283614feb565b915061452d826153fc565b604082019050919050565b6000614545602683614feb565b91506145508261544b565b604082019050919050565b6000614568601c83614feb565b91506145738261549a565b602082019050919050565b600061458b601c83614feb565b9150614596826154c3565b602082019050919050565b60006145ae600283614ffc565b91506145b9826154ec565b600282019050919050565b60006145d1601183614feb565b91506145dc82615515565b602082019050919050565b60006145f4602483614feb565b91506145ff8261553e565b604082019050919050565b6000614617601983614feb565b91506146228261558d565b602082019050919050565b600061463a602c83614feb565b9150614645826155b6565b604082019050919050565b600061465d600f83614feb565b915061466882615605565b602082019050919050565b6000614680602583614feb565b915061468b8261562e565b604082019050919050565b60006146a3603883614feb565b91506146ae8261567d565b604082019050919050565b60006146c6602a83614feb565b91506146d1826156cc565b604082019050919050565b60006146e9602983614feb565b91506146f48261571b565b604082019050919050565b600061470c600983614feb565b91506147178261576a565b602082019050919050565b600061472f602083614feb565b915061473a82615793565b602082019050919050565b6000614752600e83614feb565b915061475d826157bc565b602082019050919050565b6000614775602c83614feb565b9150614780826157e5565b604082019050919050565b6000614798602083614feb565b91506147a382615834565b602082019050919050565b60006147bb602983614feb565b91506147c68261585d565b604082019050919050565b60006147de602183614feb565b91506147e9826158ac565b604082019050919050565b6000614801602183614feb565b915061480c826158fb565b604082019050919050565b6000614824600083614fe0565b915061482f8261594a565b600082019050919050565b6000614847603183614feb565b91506148528261594d565b604082019050919050565b600061486a601283614feb565b91506148758261599c565b602082019050919050565b600061488d601b83614feb565b9150614898826159c5565b602082019050919050565b6148ac816151b4565b82525050565b6148c36148be826151b4565b6152e7565b82525050565b6148d2816151be565b82525050565b60006148e482846143fb565b915081905092915050565b60006148fb82856143fb565b91506149078284614376565b6014820191508190509392505050565b60006149238285614496565b915061492f8284614465565b91508190509392505050565b6000614946826145a1565b915061495282856143ab565b60208201915061496282846143ab565b6020820191508190509392505050565b600061497d82614817565b9150819050919050565b600061499382876148b2565b6020820191506149a382866143ab565b6020820191506149b38285614376565b6014820191506149c382846148b2565b60208201915081905095945050505050565b60006020820190506149ea6000830184614367565b92915050565b6000606082019050614a056000830186614367565b614a126020830185614358565b8181036040830152614a2481846143c2565b9050949350505050565b6000608082019050614a436000830187614367565b614a506020830186614367565b614a5d60408301856148a3565b8181036060830152614a6f81846143c2565b905095945050505050565b6000602082019050614a8f600083018461438d565b92915050565b6000602082019050614aaa600083018461439c565b92915050565b6000608082019050614ac5600083018761439c565b614ad260208301866148a3565b614adf6040830185614367565b614aec606083018461439c565b95945050505050565b6000608082019050614b0a600083018761439c565b614b1760208301866148c9565b614b24604083018561439c565b614b31606083018461439c565b95945050505050565b60006020820190508181036000830152614b5481846143c2565b905092915050565b60006020820190508181036000830152614b76818461442c565b905092915050565b60006020820190508181036000830152614b9781614515565b9050919050565b60006020820190508181036000830152614bb781614538565b9050919050565b60006020820190508181036000830152614bd78161455b565b9050919050565b60006020820190508181036000830152614bf78161457e565b9050919050565b60006020820190508181036000830152614c17816145c4565b9050919050565b60006020820190508181036000830152614c37816145e7565b9050919050565b60006020820190508181036000830152614c578161460a565b9050919050565b60006020820190508181036000830152614c778161462d565b9050919050565b60006020820190508181036000830152614c9781614650565b9050919050565b60006020820190508181036000830152614cb781614673565b9050919050565b60006020820190508181036000830152614cd781614696565b9050919050565b60006020820190508181036000830152614cf7816146b9565b9050919050565b60006020820190508181036000830152614d17816146dc565b9050919050565b60006020820190508181036000830152614d37816146ff565b9050919050565b60006020820190508181036000830152614d5781614722565b9050919050565b60006020820190508181036000830152614d7781614745565b9050919050565b60006020820190508181036000830152614d9781614768565b9050919050565b60006020820190508181036000830152614db78161478b565b9050919050565b60006020820190508181036000830152614dd7816147ae565b9050919050565b60006020820190508181036000830152614df7816147d1565b9050919050565b60006020820190508181036000830152614e17816147f4565b9050919050565b60006020820190508181036000830152614e378161483a565b9050919050565b60006020820190508181036000830152614e578161485d565b9050919050565b60006020820190508181036000830152614e7781614880565b9050919050565b6000602082019050614e9360008301846148a3565b92915050565b6000614ea3614eb4565b9050614eaf828261523f565b919050565b6000604051905090565b600067ffffffffffffffff821115614ed957614ed86153af565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614f0557614f046153af565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614f3157614f306153af565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614f5d57614f5c6153af565b5b614f66826153de565b9050602081019050919050565b600067ffffffffffffffff821115614f8e57614f8d6153af565b5b614f97826153de565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000615012826151b4565b915061501d836151b4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561505257615051615322565b5b828201905092915050565b6000615068826151b4565b9150615073836151b4565b92508261508357615082615351565b5b828204905092915050565b6000615099826151b4565b91506150a4836151b4565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156150dd576150dc615322565b5b828202905092915050565b60006150f3826151b4565b91506150fe836151b4565b92508282101561511157615110615322565b5b828203905092915050565b600061512782615194565b9050919050565b600061513982615194565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061518d8261511c565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156151f85780820151818401526020810190506151dd565b83811115615207576000848401525b50505050565b6000600282049050600182168061522557607f821691505b6020821081141561523957615238615380565b5b50919050565b615248826153de565b810181811067ffffffffffffffff82111715615267576152666153af565b5b80604052505050565b600061527b826151b4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156152ae576152ad615322565b5b600182019050919050565b60006152c4826152d5565b9050919050565b6000819050919050565b60006152e0826153ef565b9050919050565b6000819050919050565b60006152fc826151b4565b9150615307836151b4565b92508261531757615316615351565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f4d6178206d696e74206578636565646564000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f53616c65206e6f74206163746976650000000000000000000000000000000000600082015250565b7f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360008201527f49474e4552000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f5478206661696c65640000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4e6f7420656e6f75676820455448000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360008201527f6800000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4d617820737570706c7920726561636865640000000000000000000000000000600082015250565b7f4172726179206c656e677468732061726520646966666572656e740000000000600082015250565b6159f78161511c565b8114615a0257600080fd5b50565b615a0e81615140565b8114615a1957600080fd5b50565b615a258161514c565b8114615a3057600080fd5b50565b615a3c81615156565b8114615a4757600080fd5b50565b615a5381615182565b8114615a5e57600080fd5b50565b615a6a816151b4565b8114615a7557600080fd5b50565b615a81816151be565b8114615a8c57600080fd5b5056fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e61747572652968747470733a2f2f677261696c6572732e636f6d2f6170692f677261696c2f312f636f6e7472616374a264697066735822122088a0a9bfaa424c7c179bbddf776c8fe5c0c0a3909a9d3c1401f2eaa5b6cde4dd64736f6c63430008020033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c742968747470733a2f2f677261696c6572732e636f6d2f6170692f677261696c2f312f6d6574612f000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c10000000000000000000000000000000000000000000000000000000000000007496d706173746f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007494d504153544f00000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106103355760003560e01c806386292bb4116101ab578063c87b56dd116100f7578063e985e9c511610095578063f2fde38b1161006f578063f2fde38b14610be2578063f51f74a914610c0b578063fc35ffd914610c48578063fc784d4914610c7157610335565b8063e985e9c514610b5e578063eb91d37e14610b9b578063efd0cbf914610bc657610335565b8063e38d6b5c116100d1578063e38d6b5c14610ab2578063e45be8eb14610add578063e6a5931e14610b08578063e8a3d48514610b3357610335565b8063c87b56dd14610a21578063d26ea6c014610a5e578063d5abeb0114610a8757610335565b8063b455c5fe11610164578063b9ae73641161013e578063b9ae736414610979578063c06dafa014610990578063c1fad42c146109cd578063c26272a4146109f857610335565b8063b455c5fe146108fc578063b6c65d3814610925578063b88d4fde1461095057610335565b806386292bb4146107ec5780638da5cb5b1461082957806395d89b411461085457806395e8bb231461087f5780639a3cac6a146108aa578063a22cb465146108d357610335565b806330176e13116102855780636352211e1161022357806370a08231116101fd57806370a0823114610744578063715018a61461078157806378e97925146107985780637de55fe1146107c357610335565b80636352211e146106c5578063674d13c8146107025780636b64c7691461072d57610335565b806342842e0e1161025f57806342842e0e1461060b5780635bfa896a14610634578063621a1f741461065f57806362e61a631461069c57610335565b806330176e13146105a05780633408e470146105c95780633ccfd60b146105f457610335565b8063138a4e01116102f25780632131c68c116102cc5780632131c68c146104e457806323b872dd1461050f57806326a74d8e146105385780632d0335ab1461056357610335565b8063138a4e011461046357806318160ddd1461048e57806320379ee5146104b957610335565b806301ffc9a71461033a57806306fdde0314610377578063081812fc146103a2578063095ea7b3146103df5780630c53c51c146104085780630f7e597014610438575b600080fd5b34801561034657600080fd5b50610361600480360381019061035c91906141ab565b610c9a565b60405161036e9190614a7a565b60405180910390f35b34801561038357600080fd5b5061038c610d7c565b6040516103999190614b5c565b60405180910390f35b3480156103ae57600080fd5b506103c960048036038101906103c49190614267565b610e0e565b6040516103d691906149d5565b60405180910390f35b3480156103eb57600080fd5b506104066004803603810190610401919061406e565b610e93565b005b610422600480360381019061041d9190613fdf565b610fab565b60405161042f9190614b3a565b60405180910390f35b34801561044457600080fd5b5061044d61121d565b60405161045a9190614b5c565b60405180910390f35b34801561046f57600080fd5b50610478611256565b6040516104859190614e7e565b60405180910390f35b34801561049a57600080fd5b506104a361125c565b6040516104b09190614e7e565b60405180910390f35b3480156104c557600080fd5b506104ce611281565b6040516104db9190614a95565b60405180910390f35b3480156104f057600080fd5b506104f961128b565b60405161050691906149d5565b60405180910390f35b34801561051b57600080fd5b5061053660048036038101906105319190613ed9565b6112b1565b005b34801561054457600080fd5b5061054d611311565b60405161055a9190614e7e565b60405180910390f35b34801561056f57600080fd5b5061058a60048036038101906105859190613e74565b611317565b6040516105979190614e7e565b60405180910390f35b3480156105ac57600080fd5b506105c760048036038101906105c29190614226565b611360565b005b3480156105d557600080fd5b506105de6113f6565b6040516105eb9190614e7e565b60405180910390f35b34801561060057600080fd5b50610609611403565b005b34801561061757600080fd5b50610632600480360381019061062d9190613ed9565b6114c0565b005b34801561064057600080fd5b506106496114e0565b6040516106569190614e7e565b60405180910390f35b34801561066b57600080fd5b5061068660048036038101906106819190614267565b6114e6565b6040516106939190614a95565b60405180910390f35b3480156106a857600080fd5b506106c360048036038101906106be91906142f5565b6114fe565b005b3480156106d157600080fd5b506106ec60048036038101906106e79190614267565b61159c565b6040516106f991906149d5565b60405180910390f35b34801561070e57600080fd5b5061071761164e565b6040516107249190614e7e565b60405180910390f35b34801561073957600080fd5b5061074261165f565b005b34801561075057600080fd5b5061076b60048036038101906107669190613e74565b6116ff565b6040516107789190614e7e565b60405180910390f35b34801561078d57600080fd5b506107966117b7565b005b3480156107a457600080fd5b506107ad61183f565b6040516107ba9190614e7e565b60405180910390f35b3480156107cf57600080fd5b506107ea60048036038101906107e5919061406e565b611845565b005b3480156107f857600080fd5b50610813600480360381019061080e9190614267565b611a54565b6040516108209190614b5c565b60405180910390f35b34801561083557600080fd5b5061083e611af4565b60405161084b91906149d5565b60405180910390f35b34801561086057600080fd5b50610869611b1e565b6040516108769190614b5c565b60405180910390f35b34801561088b57600080fd5b50610894611bb0565b6040516108a19190614e7e565b60405180910390f35b3480156108b657600080fd5b506108d160048036038101906108cc9190613e74565b611bb6565b005b3480156108df57600080fd5b506108fa60048036038101906108f59190613fa3565b611c76565b005b34801561090857600080fd5b50610923600480360381019061091e9190614267565b611df7565b005b34801561093157600080fd5b5061093a611e7d565b6040516109479190614a7a565b60405180910390f35b34801561095c57600080fd5b5061097760048036038101906109729190613f28565b611e90565b005b34801561098557600080fd5b5061098e611ef2565b005b34801561099c57600080fd5b506109b760048036038101906109b29190614267565b611f8b565b6040516109c49190614a95565b60405180910390f35b3480156109d957600080fd5b506109e2611fa3565b6040516109ef9190614e7e565b60405180910390f35b348015610a0457600080fd5b50610a1f6004803603810190610a1a9190614116565b611fa9565b005b348015610a2d57600080fd5b50610a486004803603810190610a439190614267565b612135565b604051610a559190614b5c565b60405180910390f35b348015610a6a57600080fd5b50610a856004803603810190610a809190613e74565b612169565b005b348015610a9357600080fd5b50610a9c612229565b604051610aa99190614e7e565b60405180910390f35b348015610abe57600080fd5b50610ac761222f565b604051610ad49190614e7e565b60405180910390f35b348015610ae957600080fd5b50610af2612235565b604051610aff9190614e7e565b60405180910390f35b348015610b1457600080fd5b50610b1d61223b565b604051610b2a9190614e7e565b60405180910390f35b348015610b3f57600080fd5b50610b4861224c565b604051610b559190614b5c565b60405180910390f35b348015610b6a57600080fd5b50610b856004803603810190610b809190613e9d565b61226c565b604051610b929190614a7a565b60405180910390f35b348015610ba757600080fd5b50610bb061236e565b604051610bbd9190614e7e565b60405180910390f35b610be06004803603810190610bdb9190614267565b6123a6565b005b348015610bee57600080fd5b50610c096004803603810190610c049190613e74565b6124b4565b005b348015610c1757600080fd5b50610c326004803603810190610c2d9190614182565b6125ac565b604051610c3f9190614e7e565b60405180910390f35b348015610c5457600080fd5b50610c6f6004803603810190610c6a91906140aa565b6125c4565b005b348015610c7d57600080fd5b50610c986004803603810190610c9391906142b9565b612740565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610d6557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610d755750610d7482612895565b5b9050919050565b606060008054610d8b9061520d565b80601f0160208091040260200160405190810160405280929190818152602001828054610db79061520d565b8015610e045780601f10610dd957610100808354040283529160200191610e04565b820191906000526020600020905b815481529060010190602001808311610de757829003601f168201915b5050505050905090565b6000610e19826128ff565b610e58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4f90614d7e565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610e9e8261159c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0690614dfe565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610f2e61296b565b73ffffffffffffffffffffffffffffffffffffffff161480610f5d5750610f5c81610f5761296b565b61226c565b5b610f9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9390614cbe565b60405180910390fd5b610fa6838361297a565b505050565b606060006040518060600160405280600860008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020018873ffffffffffffffffffffffffffffffffffffffff16815260200187815250905061102e8782878787612a33565b61106d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106490614dde565b60405180910390fd5b6110c06001600860008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612b3c90919063ffffffff16565b600860008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b873388604051611136939291906149f0565b60405180910390a16000803073ffffffffffffffffffffffffffffffffffffffff16888a60405160200161116b9291906148ef565b60405160208183030381529060405260405161118791906148d8565b6000604051808303816000865af19150503d80600081146111c4576040519150601f19603f3d011682016040523d82523d6000602084013e6111c9565b606091505b50915091508161120e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120590614bbe565b60405180910390fd5b80935050505095945050505050565b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b600b5481565b6000611268601b612b52565b611272601a612b52565b61127c9190615007565b905090565b6000600754905090565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6112c26112bc61296b565b82612b60565b611301576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f890614e1e565b60405180910390fd5b61130c838383612c3e565b505050565b600d5481565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61136861296b565b73ffffffffffffffffffffffffffffffffffffffff16611386611af4565b73ffffffffffffffffffffffffffffffffffffffff16146113dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d390614d9e565b60405180910390fd5b80601090805190602001906113f2929190613a91565b5050565b6000804690508091505090565b61140b61296b565b73ffffffffffffffffffffffffffffffffffffffff16611429611af4565b73ffffffffffffffffffffffffffffffffffffffff161461147f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147690614d9e565b60405180910390fd5b60004790506000811161149157600080fd5b6114bd600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682612e9a565b50565b6114db83838360405180602001604052806000815250611e90565b505050565b60155481565b60176020528060005260406000206000915090505481565b61150661296b565b73ffffffffffffffffffffffffffffffffffffffff16611524611af4565b73ffffffffffffffffffffffffffffffffffffffff161461157a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157190614d9e565b60405180910390fd5b8360128190555082601381905550816014819055508060158190555050505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611645576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163c90614cfe565b60405180910390fd5b80915050919050565b600061165a601b612b52565b905090565b61166761296b565b73ffffffffffffffffffffffffffffffffffffffff16611685611af4565b73ffffffffffffffffffffffffffffffffffffffff16146116db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d290614d9e565b60405180910390fd5b426011819055506001600a60146101000a81548160ff021916908315150217905550565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611770576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176790614cde565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6117bf61296b565b73ffffffffffffffffffffffffffffffffffffffff166117dd611af4565b73ffffffffffffffffffffffffffffffffffffffff1614611833576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182a90614d9e565b60405180910390fd5b61183d6000612f4b565b565b60115481565b61184d61296b565b73ffffffffffffffffffffffffffffffffffffffff1661186b611af4565b73ffffffffffffffffffffffffffffffffffffffff16146118c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b890614d9e565b60405180910390fd5b600e54816118cf601b612b52565b6118d99190615007565b111561191a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191190614e3e565b60405180910390fd5b60005b81811015611a4f5761192f601b613011565b6119b53073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561197857600080fd5b505afa15801561198c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119b09190614290565b613027565b611a3c833073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156119ff57600080fd5b505afa158015611a13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a379190614290565b6130a1565b8080611a4790615270565b91505061191d565b505050565b60166020528060005260406000206000915090508054611a739061520d565b80601f0160208091040260200160405190810160405280929190818152602001828054611a9f9061520d565b8015611aec5780601f10611ac157610100808354040283529160200191611aec565b820191906000526020600020905b815481529060010190602001808311611acf57829003601f168201915b505050505081565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611b2d9061520d565b80601f0160208091040260200160405190810160405280929190818152602001828054611b599061520d565b8015611ba65780601f10611b7b57610100808354040283529160200191611ba6565b820191906000526020600020905b815481529060010190602001808311611b8957829003601f168201915b5050505050905090565b60145481565b611bbe61296b565b73ffffffffffffffffffffffffffffffffffffffff16611bdc611af4565b73ffffffffffffffffffffffffffffffffffffffff1614611c32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2990614d9e565b60405180910390fd5b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611c7e61296b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce390614c3e565b60405180910390fd5b8060056000611cf961296b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611da661296b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611deb9190614a7a565b60405180910390a35050565b611dff61296b565b73ffffffffffffffffffffffffffffffffffffffff16611e1d611af4565b73ffffffffffffffffffffffffffffffffffffffff1614611e73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6a90614d9e565b60405180910390fd5b80600b8190555050565b600a60149054906101000a900460ff1681565b611ea1611e9b61296b565b83612b60565b611ee0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed790614e1e565b60405180910390fd5b611eec848484846130bf565b50505050565b611efa61296b565b73ffffffffffffffffffffffffffffffffffffffff16611f18611af4565b73ffffffffffffffffffffffffffffffffffffffff1614611f6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6590614d9e565b60405180910390fd5b6000600a60146101000a81548160ff021916908315150217905550565b60196020528060005260406000206000915090505481565b600e5481565b611fb161296b565b73ffffffffffffffffffffffffffffffffffffffff16611fcf611af4565b73ffffffffffffffffffffffffffffffffffffffff1614612025576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201c90614d9e565b60405180910390fd5b8051825114612069576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206090614e5e565b60405180910390fd5b60005b8151811015612130578181815181106120ae577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151601660008584815181106120f3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518152602001908152602001600020908051906020019061211c929190613a91565b50808061212890615270565b91505061206c565b505050565b606060106121428361311b565b604051602001612153929190614917565b6040516020818303038152906040529050919050565b61217161296b565b73ffffffffffffffffffffffffffffffffffffffff1661218f611af4565b73ffffffffffffffffffffffffffffffffffffffff16146121e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121dc90614d9e565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600c5481565b60125481565b60135481565b6000612247601a612b52565b905090565b6060604051806060016040528060298152602001615ad360299139905090565b600080600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016122e491906149d5565b60206040518083038186803b1580156122fc57600080fd5b505afa158015612310573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061233491906141fd565b73ffffffffffffffffffffffffffffffffffffffff16141561235a576001915050612368565b61236484846132c8565b9150505b92915050565b6000600a60149054906101000a900460ff1661238e5760125490506123a3565b6123a06011544260125460135461335c565b90505b90565b600a60149054906101000a900460ff166123f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ec90614c7e565b60405180910390fd5b60008161240061236e565b61240a919061508e565b90503481111561244f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244690614d5e565b60405180910390fd5b612458826133c5565b6000813461246691906150e8565b90503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156124ae573d6000803e3d6000fd5b50505050565b6124bc61296b565b73ffffffffffffffffffffffffffffffffffffffff166124da611af4565b73ffffffffffffffffffffffffffffffffffffffff1614612530576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252790614d9e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156125a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259790614b9e565b60405180910390fd5b6125a981612f4b565b50565b60186020528060005260406000206000915090505481565b6125cc61296b565b73ffffffffffffffffffffffffffffffffffffffff166125ea611af4565b73ffffffffffffffffffffffffffffffffffffffff1614612640576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263790614d9e565b60405180910390fd5b8051825114612684576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267b90614e5e565b60405180910390fd5b60005b825181101561273b578181815181106126c9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516019600085848151811061270e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002081905550808061273390615270565b915050612687565b505050565b61274861296b565b73ffffffffffffffffffffffffffffffffffffffff16612766611af4565b73ffffffffffffffffffffffffffffffffffffffff16146127bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b390614d9e565b60405180910390fd5b81600c8190555080600e81905550600e54600c546127da91906150e8565b600d819055505050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561288e57600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff818301511692505050612892565b3390505b90565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60006129756127e4565b905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166129ed8361159c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161415612aa4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9b90614c9e565b60405180910390fd5b6001612ab7612ab2876135a2565b61360a565b83868660405160008152602001604052604051612ad79493929190614af5565b6020604051602081039080840390855afa158015612af9573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b60008183612b4a9190615007565b905092915050565b600081600001549050919050565b6000612b6b826128ff565b612baa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ba190614c5e565b60405180910390fd5b6000612bb58361159c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612c2457508373ffffffffffffffffffffffffffffffffffffffff16612c0c84610e0e565b73ffffffffffffffffffffffffffffffffffffffff16145b80612c355750612c34818561226c565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612c5e8261159c565b73ffffffffffffffffffffffffffffffffffffffff1614612cb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cab90614dbe565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d1b90614c1e565b60405180910390fd5b612d2f838383613643565b612d3a60008261297a565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d8a91906150e8565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612de19190615007565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612ec090614972565b60006040518083038185875af1925050503d8060008114612efd576040519150601f19603f3d011682016040523d82523d6000602084013e612f02565b606091505b5050905080612f46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f3d90614d1e565b60405180910390fd5b505050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001816000016000828254019250508190555050565b60008060001b601960008481526020019081526020016000205414613061576019600083815260200190815260200160002054905061306d565b61306a82613648565b90505b8060176000848152602001908152602001600020819055508160186000838152602001908152602001600020819055505050565b6130bb82826040518060200160405280600081525061368b565b5050565b6130ca848484612c3e565b6130d6848484846136e6565b613115576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161310c90614b7e565b60405180910390fd5b50505050565b60606000821415613163576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506132c3565b600082905060005b6000821461319557808061317e90615270565b915050600a8261318e919061505d565b915061316b565b60008167ffffffffffffffff8111156131d7577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156132095781602001600182028036833780820191505090505b5090505b600085146132bc5760018261322291906150e8565b9150600a8561323191906152f1565b603061323d9190615007565b60f81b818381518110613279577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856132b5919061505d565b945061320d565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60008484101561336e578290506133bd565b6000601554601454878761338291906150e8565b61338c919061505d565b613396919061508e565b90506133a2818561387d565b90506133b98382866133b491906150e8565b613896565b9150505b949350505050565b600b5481111561340a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161340190614bfe565b60405180910390fd5b600d5481613418601a612b52565b6134229190615007565b1115613463576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161345a90614e3e565b60405180910390fd5b60005b8181101561359e57613478601a613011565b60003073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156134c057600080fd5b505afa1580156134d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134f89190614290565b905061350381613027565b61358a333073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561354d57600080fd5b505afa158015613561573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135859190614290565b6130a1565b50808061359690615270565b915050613466565b5050565b6000604051806080016040528060438152602001615a906043913980519060200120826000015183602001518460400151805190602001206040516020016135ed9493929190614ab0565b604051602081830303815290604052805190602001209050919050565b6000613614611281565b8260405160200161362692919061493b565b604051602081830303815290604052805190602001209050919050565b505050565b60004360014361365891906150e8565b40338460405160200161366e9493929190614987565b604051602081830303815290604052805190602001209050919050565b61369583836138b0565b6136a260008484846136e6565b6136e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136d890614b7e565b60405180910390fd5b505050565b60006137078473ffffffffffffffffffffffffffffffffffffffff16613a7e565b15613870578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261373061296b565b8786866040518563ffffffff1660e01b81526004016137529493929190614a2e565b602060405180830381600087803b15801561376c57600080fd5b505af192505050801561379d57506040513d601f19601f8201168201806040525081019061379a91906141d4565b60015b613820573d80600081146137cd576040519150601f19603f3d011682016040523d82523d6000602084013e6137d2565b606091505b50600081511415613818576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161380f90614b7e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613875565b600190505b949350505050565b600081831061388c578161388e565b825b905092915050565b6000818310156138a657816138a8565b825b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613920576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161391790614d3e565b60405180910390fd5b613929816128ff565b15613969576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161396090614bde565b60405180910390fd5b61397560008383613643565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546139c59190615007565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054613a9d9061520d565b90600052602060002090601f016020900481019282613abf5760008555613b06565b82601f10613ad857805160ff1916838001178555613b06565b82800160010185558215613b06579182015b82811115613b05578251825591602001919060010190613aea565b5b509050613b139190613b17565b5090565b5b80821115613b30576000816000905550600101613b18565b5090565b6000613b47613b4284614ebe565b614e99565b90508083825260208201905082856020860282011115613b6657600080fd5b60005b85811015613b965781613b7c8882613d8d565b845260208401935060208301925050600181019050613b69565b5050509392505050565b6000613bb3613bae84614eea565b614e99565b9050808382526020820190508260005b85811015613bf35781358501613bd98882613e0b565b845260208401935060208301925050600181019050613bc3565b5050509392505050565b6000613c10613c0b84614f16565b614e99565b90508083825260208201905082856020860282011115613c2f57600080fd5b60005b85811015613c5f5781613c458882613e35565b845260208401935060208301925050600181019050613c32565b5050509392505050565b6000613c7c613c7784614f42565b614e99565b905082815260208101848484011115613c9457600080fd5b613c9f8482856151cb565b509392505050565b6000613cba613cb584614f73565b614e99565b905082815260208101848484011115613cd257600080fd5b613cdd8482856151cb565b509392505050565b600081359050613cf4816159ee565b92915050565b600082601f830112613d0b57600080fd5b8135613d1b848260208601613b34565b91505092915050565b600082601f830112613d3557600080fd5b8135613d45848260208601613ba0565b91505092915050565b600082601f830112613d5f57600080fd5b8135613d6f848260208601613bfd565b91505092915050565b600081359050613d8781615a05565b92915050565b600081359050613d9c81615a1c565b92915050565b600081359050613db181615a33565b92915050565b600081519050613dc681615a33565b92915050565b600082601f830112613ddd57600080fd5b8135613ded848260208601613c69565b91505092915050565b600081519050613e0581615a4a565b92915050565b600082601f830112613e1c57600080fd5b8135613e2c848260208601613ca7565b91505092915050565b600081359050613e4481615a61565b92915050565b600081519050613e5981615a61565b92915050565b600081359050613e6e81615a78565b92915050565b600060208284031215613e8657600080fd5b6000613e9484828501613ce5565b91505092915050565b60008060408385031215613eb057600080fd5b6000613ebe85828601613ce5565b9250506020613ecf85828601613ce5565b9150509250929050565b600080600060608486031215613eee57600080fd5b6000613efc86828701613ce5565b9350506020613f0d86828701613ce5565b9250506040613f1e86828701613e35565b9150509250925092565b60008060008060808587031215613f3e57600080fd5b6000613f4c87828801613ce5565b9450506020613f5d87828801613ce5565b9350506040613f6e87828801613e35565b925050606085013567ffffffffffffffff811115613f8b57600080fd5b613f9787828801613dcc565b91505092959194509250565b60008060408385031215613fb657600080fd5b6000613fc485828601613ce5565b9250506020613fd585828601613d78565b9150509250929050565b600080600080600060a08688031215613ff757600080fd5b600061400588828901613ce5565b955050602086013567ffffffffffffffff81111561402257600080fd5b61402e88828901613dcc565b945050604061403f88828901613d8d565b935050606061405088828901613d8d565b925050608061406188828901613e5f565b9150509295509295909350565b6000806040838503121561408157600080fd5b600061408f85828601613ce5565b92505060206140a085828601613e35565b9150509250929050565b600080604083850312156140bd57600080fd5b600083013567ffffffffffffffff8111156140d757600080fd5b6140e385828601613d4e565b925050602083013567ffffffffffffffff81111561410057600080fd5b61410c85828601613cfa565b9150509250929050565b6000806040838503121561412957600080fd5b600083013567ffffffffffffffff81111561414357600080fd5b61414f85828601613d4e565b925050602083013567ffffffffffffffff81111561416c57600080fd5b61417885828601613d24565b9150509250929050565b60006020828403121561419457600080fd5b60006141a284828501613d8d565b91505092915050565b6000602082840312156141bd57600080fd5b60006141cb84828501613da2565b91505092915050565b6000602082840312156141e657600080fd5b60006141f484828501613db7565b91505092915050565b60006020828403121561420f57600080fd5b600061421d84828501613df6565b91505092915050565b60006020828403121561423857600080fd5b600082013567ffffffffffffffff81111561425257600080fd5b61425e84828501613e0b565b91505092915050565b60006020828403121561427957600080fd5b600061428784828501613e35565b91505092915050565b6000602082840312156142a257600080fd5b60006142b084828501613e4a565b91505092915050565b600080604083850312156142cc57600080fd5b60006142da85828601613e35565b92505060206142eb85828601613e35565b9150509250929050565b6000806000806080858703121561430b57600080fd5b600061431987828801613e35565b945050602061432a87828801613e35565b935050604061433b87828801613e35565b925050606061434c87828801613e35565b91505092959194509250565b6143618161512e565b82525050565b6143708161511c565b82525050565b6143876143828261511c565b6152b9565b82525050565b61439681615140565b82525050565b6143a58161514c565b82525050565b6143bc6143b78261514c565b6152cb565b82525050565b60006143cd82614fb9565b6143d78185614fcf565b93506143e78185602086016151da565b6143f0816153de565b840191505092915050565b600061440682614fb9565b6144108185614fe0565b93506144208185602086016151da565b80840191505092915050565b600061443782614fc4565b6144418185614feb565b93506144518185602086016151da565b61445a816153de565b840191505092915050565b600061447082614fc4565b61447a8185614ffc565b935061448a8185602086016151da565b80840191505092915050565b600081546144a38161520d565b6144ad8186614ffc565b945060018216600081146144c857600181146144d95761450c565b60ff1983168652818601935061450c565b6144e285614fa4565b60005b83811015614504578154818901526001820191506020810190506144e5565b838801955050505b50505092915050565b6000614522603283614feb565b915061452d826153fc565b604082019050919050565b6000614545602683614feb565b91506145508261544b565b604082019050919050565b6000614568601c83614feb565b91506145738261549a565b602082019050919050565b600061458b601c83614feb565b9150614596826154c3565b602082019050919050565b60006145ae600283614ffc565b91506145b9826154ec565b600282019050919050565b60006145d1601183614feb565b91506145dc82615515565b602082019050919050565b60006145f4602483614feb565b91506145ff8261553e565b604082019050919050565b6000614617601983614feb565b91506146228261558d565b602082019050919050565b600061463a602c83614feb565b9150614645826155b6565b604082019050919050565b600061465d600f83614feb565b915061466882615605565b602082019050919050565b6000614680602583614feb565b915061468b8261562e565b604082019050919050565b60006146a3603883614feb565b91506146ae8261567d565b604082019050919050565b60006146c6602a83614feb565b91506146d1826156cc565b604082019050919050565b60006146e9602983614feb565b91506146f48261571b565b604082019050919050565b600061470c600983614feb565b91506147178261576a565b602082019050919050565b600061472f602083614feb565b915061473a82615793565b602082019050919050565b6000614752600e83614feb565b915061475d826157bc565b602082019050919050565b6000614775602c83614feb565b9150614780826157e5565b604082019050919050565b6000614798602083614feb565b91506147a382615834565b602082019050919050565b60006147bb602983614feb565b91506147c68261585d565b604082019050919050565b60006147de602183614feb565b91506147e9826158ac565b604082019050919050565b6000614801602183614feb565b915061480c826158fb565b604082019050919050565b6000614824600083614fe0565b915061482f8261594a565b600082019050919050565b6000614847603183614feb565b91506148528261594d565b604082019050919050565b600061486a601283614feb565b91506148758261599c565b602082019050919050565b600061488d601b83614feb565b9150614898826159c5565b602082019050919050565b6148ac816151b4565b82525050565b6148c36148be826151b4565b6152e7565b82525050565b6148d2816151be565b82525050565b60006148e482846143fb565b915081905092915050565b60006148fb82856143fb565b91506149078284614376565b6014820191508190509392505050565b60006149238285614496565b915061492f8284614465565b91508190509392505050565b6000614946826145a1565b915061495282856143ab565b60208201915061496282846143ab565b6020820191508190509392505050565b600061497d82614817565b9150819050919050565b600061499382876148b2565b6020820191506149a382866143ab565b6020820191506149b38285614376565b6014820191506149c382846148b2565b60208201915081905095945050505050565b60006020820190506149ea6000830184614367565b92915050565b6000606082019050614a056000830186614367565b614a126020830185614358565b8181036040830152614a2481846143c2565b9050949350505050565b6000608082019050614a436000830187614367565b614a506020830186614367565b614a5d60408301856148a3565b8181036060830152614a6f81846143c2565b905095945050505050565b6000602082019050614a8f600083018461438d565b92915050565b6000602082019050614aaa600083018461439c565b92915050565b6000608082019050614ac5600083018761439c565b614ad260208301866148a3565b614adf6040830185614367565b614aec606083018461439c565b95945050505050565b6000608082019050614b0a600083018761439c565b614b1760208301866148c9565b614b24604083018561439c565b614b31606083018461439c565b95945050505050565b60006020820190508181036000830152614b5481846143c2565b905092915050565b60006020820190508181036000830152614b76818461442c565b905092915050565b60006020820190508181036000830152614b9781614515565b9050919050565b60006020820190508181036000830152614bb781614538565b9050919050565b60006020820190508181036000830152614bd78161455b565b9050919050565b60006020820190508181036000830152614bf78161457e565b9050919050565b60006020820190508181036000830152614c17816145c4565b9050919050565b60006020820190508181036000830152614c37816145e7565b9050919050565b60006020820190508181036000830152614c578161460a565b9050919050565b60006020820190508181036000830152614c778161462d565b9050919050565b60006020820190508181036000830152614c9781614650565b9050919050565b60006020820190508181036000830152614cb781614673565b9050919050565b60006020820190508181036000830152614cd781614696565b9050919050565b60006020820190508181036000830152614cf7816146b9565b9050919050565b60006020820190508181036000830152614d17816146dc565b9050919050565b60006020820190508181036000830152614d37816146ff565b9050919050565b60006020820190508181036000830152614d5781614722565b9050919050565b60006020820190508181036000830152614d7781614745565b9050919050565b60006020820190508181036000830152614d9781614768565b9050919050565b60006020820190508181036000830152614db78161478b565b9050919050565b60006020820190508181036000830152614dd7816147ae565b9050919050565b60006020820190508181036000830152614df7816147d1565b9050919050565b60006020820190508181036000830152614e17816147f4565b9050919050565b60006020820190508181036000830152614e378161483a565b9050919050565b60006020820190508181036000830152614e578161485d565b9050919050565b60006020820190508181036000830152614e7781614880565b9050919050565b6000602082019050614e9360008301846148a3565b92915050565b6000614ea3614eb4565b9050614eaf828261523f565b919050565b6000604051905090565b600067ffffffffffffffff821115614ed957614ed86153af565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614f0557614f046153af565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614f3157614f306153af565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614f5d57614f5c6153af565b5b614f66826153de565b9050602081019050919050565b600067ffffffffffffffff821115614f8e57614f8d6153af565b5b614f97826153de565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000615012826151b4565b915061501d836151b4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561505257615051615322565b5b828201905092915050565b6000615068826151b4565b9150615073836151b4565b92508261508357615082615351565b5b828204905092915050565b6000615099826151b4565b91506150a4836151b4565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156150dd576150dc615322565b5b828202905092915050565b60006150f3826151b4565b91506150fe836151b4565b92508282101561511157615110615322565b5b828203905092915050565b600061512782615194565b9050919050565b600061513982615194565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061518d8261511c565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156151f85780820151818401526020810190506151dd565b83811115615207576000848401525b50505050565b6000600282049050600182168061522557607f821691505b6020821081141561523957615238615380565b5b50919050565b615248826153de565b810181811067ffffffffffffffff82111715615267576152666153af565b5b80604052505050565b600061527b826151b4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156152ae576152ad615322565b5b600182019050919050565b60006152c4826152d5565b9050919050565b6000819050919050565b60006152e0826153ef565b9050919050565b6000819050919050565b60006152fc826151b4565b9150615307836151b4565b92508261531757615316615351565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f4d6178206d696e74206578636565646564000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f53616c65206e6f74206163746976650000000000000000000000000000000000600082015250565b7f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360008201527f49474e4552000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f5478206661696c65640000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4e6f7420656e6f75676820455448000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360008201527f6800000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4d617820737570706c7920726561636865640000000000000000000000000000600082015250565b7f4172726179206c656e677468732061726520646966666572656e740000000000600082015250565b6159f78161511c565b8114615a0257600080fd5b50565b615a0e81615140565b8114615a1957600080fd5b50565b615a258161514c565b8114615a3057600080fd5b50565b615a3c81615156565b8114615a4757600080fd5b50565b615a5381615182565b8114615a5e57600080fd5b50565b615a6a816151b4565b8114615a7557600080fd5b50565b615a81816151be565b8114615a8c57600080fd5b5056fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e61747572652968747470733a2f2f677261696c6572732e636f6d2f6170692f677261696c2f312f636f6e7472616374a264697066735822122088a0a9bfaa424c7c179bbddf776c8fe5c0c0a3909a9d3c1401f2eaa5b6cde4dd64736f6c63430008020033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c10000000000000000000000000000000000000000000000000000000000000007496d706173746f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007494d504153544f00000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Impasto
Arg [1] : _symbol (string): IMPASTO
Arg [2] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [4] : 496d706173746f00000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [6] : 494d504153544f00000000000000000000000000000000000000000000000000


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.