ETH Price: $3,353.98 (-0.63%)

Token

Impermanent AI Gallery (IAIG)
 

Overview

Max Total Supply

522 IAIG

Holders

141

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
nichamilton.eth
Balance
2 IAIG
0x518201899E316bf98c957C73e1326b77672Fe52b
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:
ImpermanentAIGallery

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : ImpermanentAIGallery.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Counters.sol";

/*
                                                                                                                                                                                                   @*   
                                 @@@@@                                                                                                                                                         /@@@@@@@@
               @@               @@@@@@@                                                                    .@@@@@@@@@@@                                                 @@@@@@@@@@             @@@@@@@@@
     @@@@@@@@@ @@@@             @@@@@@@   @@@@@                      @@@@@@@@@@@@@@@@@@&    @@@    @@@@  @@@@@@*     @@@,        @@@@      @@@@@                       @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @@@@@@@@@@@ .@@@@           @@@@@ ,@@@@@@@@@@@@@@@                @@@@@@@@@,@@   @@@@  @@@@   @@@@@              @@@@       @@@@@    @@@@@@@                        @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 
    @@@@@@@@@@@    @@@@       @@@@@  (@@@@@(     @@@@@@                 @@@@@@@@      @@@% @@@@@ @@@ @@    @@@@@@@@@@@@@@       @@@@@@   @@@@@@                          @@@@@@@     @@@@@@@      @#    
     @@@@@@@        @@@@@@@@@@@@@@@   @@@@@@    %@@@@@@                  @@@@@@@@@@   @@@& @@@@@@@@  @@   .@@@@  @@@@@ @        @@@@@@  @@@@@                                        @@@@@              
       @@@@         @@@    @@@ @@@@    @@@@@@@@@@@@        @@@@@*        @@@@@ /@@@@ @@@@( @@ @@@@    @    @@@@ ,@@@@ ,@        @@ @@@@@@@  @@@@@@@@@@@@@@@      @@@@     &@@@@@@@   #@@@.              
        @@@,        @@@     @@ @@@(    @@@@      @@@@@@@@@@@@@@@@@@.    @@@@@@@  @@@@@@@   @. @@@@     @     @@@@@@   @@@@@@@@  @@ @@@@@@   @@@@@@    @@@@       @@@@@@@@@@@@@@@@@@  &@@@               
        @@@@      @@@@@@       @@@@    @@@@    @@@@@@@@@@@@@@@@@@@@  @@@@@@  @@@@         @@           @@@@*           @@@@@@   @@ .@@@@@,  @@@@@                @@@@@@@@@@@    @@@&  @@@@              
       @@@@@   @@@@@@@@@         @@@@  @@@@      @@@@@@               @@@@@  @@@@      /@@@@            @@@@@@@                ,@@  @@@@@    @@@@@@@              @@@@@@@   @@@@@@@   @@@@@             
      #@@@@    @@@@@@@@           @@@@  @@@       @@@@@    .#@@@@@@@@@       @@@@     @@@@@              %@@@@@                @@@          @@@@@@@@@@@@@@@        @@@@@@   @@@@@@   @@@@@@@@@@         
  @@@@@@@@@@                           @@@@@@     @@@@@@@@@@@@@@@@@@@@      @@@@@@@@%                                        @@@@,          &@@@                  @@@@@      @@@&   @@@@@@@@@@@@@       
 @@@@@@@@@@@@                       @@@@@@@@@@     @@@@@(  &@               @@@@@@@@@@@                                   @@@@@@@          @@@@@                 @@@@@      @@@@    #@@@@@@@@@@@@       
 @@@@@@@@@@@@                      @@@@@@@@@@@@    @@@@@ ,@@@@                @@@@@@@@@                                   @@@@@          @@@@@@@@@@@@@@@@@@@@@   @@@@@@     @@@@@@     @@@@@@@          
    @@@@@@                          %@@@@@@@@@    @@@@@@@@@@@@@@@@@@@@@                                                                   (@@@@@     .@@@@@@@@   @@@@@@     @@@@@@                      
                                       .@@@@       @@@@@@                                                                                                         @@@@@      @@@@@                      

*/

contract ImpermanentAIGallery is ERC721, Ownable {
    using Counters for Counters.Counter;

    Counters.Counter private _tokenIdCounter;
    uint256 public maxTokenSupply;

    uint256 public mintPrice = 0.01 ether;

    bool public mintingIsActive = false;

    bool public isLocked = false;
    string public baseURI;
    string public provenance;

    event MintedToken(uint256 tokenId, string id);
    event EvolvedToken(uint256 tokenId, string id);

    constructor(string memory name, string memory symbol, uint256 maxSupply) ERC721(name, symbol) {
        maxTokenSupply = maxSupply;
    }

    function setMaxTokenSupply(uint256 maxSupply) public onlyOwner {
        maxTokenSupply = maxSupply;
    }

    function setMintPrice(uint256 newPrice) public onlyOwner {
        mintPrice = newPrice;
    }

    function withdraw(uint256 amount) public onlyOwner {
        Address.sendValue(payable(msg.sender), amount);
    }

    /*
    * Mint reserved NFTs for giveaways, devs, etc.
    */
    function reserveMint(uint256 reservedAmount, address mintAddress) public onlyOwner {        
        for (uint256 i = 1; i <= reservedAmount; i++) {
            _tokenIdCounter.increment();
            _safeMint(mintAddress, _tokenIdCounter.current());
        }
    }

    /*
    * Pause minting if active, make active if paused.
    */
    function flipMintingState() public onlyOwner {
        mintingIsActive = !mintingIsActive;
    }

    /*
    * Lock provenance and base URI.
    */
    function lockProvenance() public onlyOwner {
        isLocked = true;
    }

    function totalSupply() external view returns (uint256) {
        return _tokenIdCounter.current();
    }

    function mint(string memory id) public payable {
        require(mintingIsActive, "Minting not live");
        require(_tokenIdCounter.current() < maxTokenSupply, "Exceeds max supply");
        require(mintPrice <= msg.value, "Incorrect ether value");

        _tokenIdCounter.increment();
        _safeMint(msg.sender, _tokenIdCounter.current());
        emit MintedToken(_tokenIdCounter.current(), id);
    }

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

    function setBaseURI(string memory newBaseURI) public onlyOwner {
        require(!isLocked, "Locked");
        baseURI = newBaseURI;
    }

    /*     
    * Set provenance once it's calculated.
    */
    function setProvenanceHash(string memory provenanceHash) public onlyOwner {
        require(!isLocked, "Locked");
        provenance = provenanceHash;
    }
}

File 2 of 12 : 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 () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 3 of 12 : 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}. 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(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    // solhint-disable-next-line no-inline-assembly
                    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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }
}

File 4 of 12 : 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 5 of 12 : 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 6 of 12 : 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 7 of 12 : 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;
        // solhint-disable-next-line no-inline-assembly
        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");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 8 of 12 : 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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 9 of 12 : 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 or decremented by one. 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;
        }
    }
}

File 10 of 12 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "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] = alphabet[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

}

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"id","type":"string"}],"name":"EvolvedToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"id","type":"string"}],"name":"MintedToken","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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipMintingState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockProvenance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxTokenSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"id","type":"string"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintingIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenance","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"reservedAmount","type":"uint256"},{"internalType":"address","name":"mintAddress","type":"address"}],"name":"reserveMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"name":"setMaxTokenSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052662386f26fc100006009556000600a60006101000a81548160ff0219169083151502179055506000600a60016101000a81548160ff0219169083151502179055503480156200005257600080fd5b5060405162004317380380620043178339818101604052810190620000789190620003ff565b828281600090805190602001906200009292919062000177565b508060019080519060200190620000ab92919062000177565b5050506000620000c06200016f60201b60201c565b905080600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35080600881905550505050620004fe565b600033905090565b8280546200018590620004c8565b90600052602060002090601f016020900481019282620001a95760008555620001f5565b82601f10620001c457805160ff1916838001178555620001f5565b82800160010185558215620001f5579182015b82811115620001f4578251825591602001919060010190620001d7565b5b50905062000204919062000208565b5090565b5b808211156200022357600081600090555060010162000209565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620002908262000245565b810181811067ffffffffffffffff82111715620002b257620002b162000256565b5b80604052505050565b6000620002c762000227565b9050620002d5828262000285565b919050565b600067ffffffffffffffff821115620002f857620002f762000256565b5b620003038262000245565b9050602081019050919050565b60005b838110156200033057808201518184015260208101905062000313565b8381111562000340576000848401525b50505050565b60006200035d6200035784620002da565b620002bb565b9050828152602081018484840111156200037c576200037b62000240565b5b6200038984828562000310565b509392505050565b600082601f830112620003a957620003a86200023b565b5b8151620003bb84826020860162000346565b91505092915050565b6000819050919050565b620003d981620003c4565b8114620003e557600080fd5b50565b600081519050620003f981620003ce565b92915050565b6000806000606084860312156200041b576200041a62000231565b5b600084015167ffffffffffffffff8111156200043c576200043b62000236565b5b6200044a8682870162000391565b935050602084015167ffffffffffffffff8111156200046e576200046d62000236565b5b6200047c8682870162000391565b92505060406200048f86828701620003e8565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620004e157607f821691505b60208210811415620004f857620004f762000499565b5b50919050565b613e09806200050e6000396000f3fe6080604052600436106101e35760003560e01c80636c0360eb11610102578063b88d4fde11610095578063ea7523ee11610064578063ea7523ee146106d1578063f2fde38b146106e8578063f4a0a52814610711578063f655ff221461073a576101e3565b8063b88d4fde14610612578063c87b56dd1461063b578063d85d3d2714610678578063e985e9c514610694576101e3565b806395d89b41116100d157806395d89b411461056a578063a22cb46514610595578063a4e2d634146105be578063b07ed982146105e9576101e3565b80636c0360eb146104c057806370a08231146104eb578063715018a6146105285780638da5cb5b1461053f576101e3565b80632e1a7d4d1161017a57806355f804b31161014957806355f804b31461040657806360b02f701461042f5780636352211e146104585780636817c76c14610495576101e3565b80632e1a7d4d1461035e57806342842e0e146103875780634728b9f4146103b057806350f7c204146103db576101e3565b80630f7309e8116101b65780630f7309e8146102b657806310969523146102e157806318160ddd1461030a57806323b872dd14610335576101e3565b806301ffc9a7146101e857806306fdde0314610225578063081812fc14610250578063095ea7b31461028d575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a9190612840565b610751565b60405161021c9190612888565b60405180910390f35b34801561023157600080fd5b5061023a610833565b604051610247919061293c565b60405180910390f35b34801561025c57600080fd5b5061027760048036038101906102729190612994565b6108c5565b6040516102849190612a02565b60405180910390f35b34801561029957600080fd5b506102b460048036038101906102af9190612a49565b61094a565b005b3480156102c257600080fd5b506102cb610a62565b6040516102d8919061293c565b60405180910390f35b3480156102ed57600080fd5b5061030860048036038101906103039190612bbe565b610af0565b005b34801561031657600080fd5b5061031f610bd6565b60405161032c9190612c16565b60405180910390f35b34801561034157600080fd5b5061035c60048036038101906103579190612c31565b610be7565b005b34801561036a57600080fd5b5061038560048036038101906103809190612994565b610c47565b005b34801561039357600080fd5b506103ae60048036038101906103a99190612c31565b610cd0565b005b3480156103bc57600080fd5b506103c5610cf0565b6040516103d29190612888565b60405180910390f35b3480156103e757600080fd5b506103f0610d03565b6040516103fd9190612c16565b60405180910390f35b34801561041257600080fd5b5061042d60048036038101906104289190612bbe565b610d09565b005b34801561043b57600080fd5b5061045660048036038101906104519190612c84565b610def565b005b34801561046457600080fd5b5061047f600480360381019061047a9190612994565b610eae565b60405161048c9190612a02565b60405180910390f35b3480156104a157600080fd5b506104aa610f60565b6040516104b79190612c16565b60405180910390f35b3480156104cc57600080fd5b506104d5610f66565b6040516104e2919061293c565b60405180910390f35b3480156104f757600080fd5b50610512600480360381019061050d9190612cc4565b610ff4565b60405161051f9190612c16565b60405180910390f35b34801561053457600080fd5b5061053d6110ac565b005b34801561054b57600080fd5b506105546111e9565b6040516105619190612a02565b60405180910390f35b34801561057657600080fd5b5061057f611213565b60405161058c919061293c565b60405180910390f35b3480156105a157600080fd5b506105bc60048036038101906105b79190612d1d565b6112a5565b005b3480156105ca57600080fd5b506105d3611426565b6040516105e09190612888565b60405180910390f35b3480156105f557600080fd5b50610610600480360381019061060b9190612994565b611439565b005b34801561061e57600080fd5b5061063960048036038101906106349190612dfe565b6114bf565b005b34801561064757600080fd5b50610662600480360381019061065d9190612994565b611521565b60405161066f919061293c565b60405180910390f35b610692600480360381019061068d9190612bbe565b6115c8565b005b3480156106a057600080fd5b506106bb60048036038101906106b69190612e81565b61170b565b6040516106c89190612888565b60405180910390f35b3480156106dd57600080fd5b506106e661179f565b005b3480156106f457600080fd5b5061070f600480360381019061070a9190612cc4565b611838565b005b34801561071d57600080fd5b5061073860048036038101906107339190612994565b6119e4565b005b34801561074657600080fd5b5061074f611a6a565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061081c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061082c575061082b82611b12565b5b9050919050565b60606000805461084290612ef0565b80601f016020809104026020016040519081016040528092919081815260200182805461086e90612ef0565b80156108bb5780601f10610890576101008083540402835291602001916108bb565b820191906000526020600020905b81548152906001019060200180831161089e57829003601f168201915b5050505050905090565b60006108d082611b7c565b61090f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090690612f94565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061095582610eae565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bd90613026565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109e5611be8565b73ffffffffffffffffffffffffffffffffffffffff161480610a145750610a1381610a0e611be8565b61170b565b5b610a53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4a906130b8565b60405180910390fd5b610a5d8383611bf0565b505050565b600c8054610a6f90612ef0565b80601f0160208091040260200160405190810160405280929190818152602001828054610a9b90612ef0565b8015610ae85780601f10610abd57610100808354040283529160200191610ae8565b820191906000526020600020905b815481529060010190602001808311610acb57829003601f168201915b505050505081565b610af8611be8565b73ffffffffffffffffffffffffffffffffffffffff16610b166111e9565b73ffffffffffffffffffffffffffffffffffffffff1614610b6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6390613124565b60405180910390fd5b600a60019054906101000a900460ff1615610bbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb390613190565b60405180910390fd5b80600c9080519060200190610bd2929190612731565b5050565b6000610be26007611ca9565b905090565b610bf8610bf2611be8565b82611cb7565b610c37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2e90613222565b60405180910390fd5b610c42838383611d95565b505050565b610c4f611be8565b73ffffffffffffffffffffffffffffffffffffffff16610c6d6111e9565b73ffffffffffffffffffffffffffffffffffffffff1614610cc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cba90613124565b60405180910390fd5b610ccd3382611ff1565b50565b610ceb838383604051806020016040528060008152506114bf565b505050565b600a60009054906101000a900460ff1681565b60085481565b610d11611be8565b73ffffffffffffffffffffffffffffffffffffffff16610d2f6111e9565b73ffffffffffffffffffffffffffffffffffffffff1614610d85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7c90613124565b60405180910390fd5b600a60019054906101000a900460ff1615610dd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcc90613190565b60405180910390fd5b80600b9080519060200190610deb929190612731565b5050565b610df7611be8565b73ffffffffffffffffffffffffffffffffffffffff16610e156111e9565b73ffffffffffffffffffffffffffffffffffffffff1614610e6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6290613124565b60405180910390fd5b6000600190505b828111610ea957610e8360076120e5565b610e9682610e916007611ca9565b6120fb565b8080610ea190613271565b915050610e72565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4e9061332c565b60405180910390fd5b80915050919050565b60095481565b600b8054610f7390612ef0565b80601f0160208091040260200160405190810160405280929190818152602001828054610f9f90612ef0565b8015610fec5780601f10610fc157610100808354040283529160200191610fec565b820191906000526020600020905b815481529060010190602001808311610fcf57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611065576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105c906133be565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6110b4611be8565b73ffffffffffffffffffffffffffffffffffffffff166110d26111e9565b73ffffffffffffffffffffffffffffffffffffffff1614611128576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111f90613124565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461122290612ef0565b80601f016020809104026020016040519081016040528092919081815260200182805461124e90612ef0565b801561129b5780601f106112705761010080835404028352916020019161129b565b820191906000526020600020905b81548152906001019060200180831161127e57829003601f168201915b5050505050905090565b6112ad611be8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561131b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113129061342a565b60405180910390fd5b8060056000611328611be8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166113d5611be8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161141a9190612888565b60405180910390a35050565b600a60019054906101000a900460ff1681565b611441611be8565b73ffffffffffffffffffffffffffffffffffffffff1661145f6111e9565b73ffffffffffffffffffffffffffffffffffffffff16146114b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ac90613124565b60405180910390fd5b8060088190555050565b6114d06114ca611be8565b83611cb7565b61150f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150690613222565b60405180910390fd5b61151b84848484612119565b50505050565b606061152c82611b7c565b61156b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611562906134bc565b60405180910390fd5b6000611575612175565b9050600081511161159557604051806020016040528060008152506115c0565b8061159f84612207565b6040516020016115b0929190613518565b6040516020818303038152906040525b915050919050565b600a60009054906101000a900460ff16611617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160e90613588565b60405180910390fd5b6008546116246007611ca9565b10611664576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165b906135f4565b60405180910390fd5b3460095411156116a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a090613660565b60405180910390fd5b6116b360076120e5565b6116c6336116c16007611ca9565b6120fb565b7f0ee87046bcc347d818d84653203fd0e421cff74b278710e8c75736f195265f686116f16007611ca9565b82604051611700929190613680565b60405180910390a150565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6117a7611be8565b73ffffffffffffffffffffffffffffffffffffffff166117c56111e9565b73ffffffffffffffffffffffffffffffffffffffff161461181b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181290613124565b60405180910390fd5b6001600a60016101000a81548160ff021916908315150217905550565b611840611be8565b73ffffffffffffffffffffffffffffffffffffffff1661185e6111e9565b73ffffffffffffffffffffffffffffffffffffffff16146118b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ab90613124565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611924576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191b90613722565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6119ec611be8565b73ffffffffffffffffffffffffffffffffffffffff16611a0a6111e9565b73ffffffffffffffffffffffffffffffffffffffff1614611a60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5790613124565b60405180910390fd5b8060098190555050565b611a72611be8565b73ffffffffffffffffffffffffffffffffffffffff16611a906111e9565b73ffffffffffffffffffffffffffffffffffffffff1614611ae6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611add90613124565b60405180910390fd5b600a60009054906101000a900460ff1615600a60006101000a81548160ff021916908315150217905550565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611c6383610eae565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b6000611cc282611b7c565b611d01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf8906137b4565b60405180910390fd5b6000611d0c83610eae565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611d7b57508373ffffffffffffffffffffffffffffffffffffffff16611d63846108c5565b73ffffffffffffffffffffffffffffffffffffffff16145b80611d8c5750611d8b818561170b565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611db582610eae565b73ffffffffffffffffffffffffffffffffffffffff1614611e0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0290613846565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e72906138d8565b60405180910390fd5b611e86838383612368565b611e91600082611bf0565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ee191906138f8565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f38919061392c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b80471015612034576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202b906139ce565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161205a90613a1f565b60006040518083038185875af1925050503d8060008114612097576040519150601f19603f3d011682016040523d82523d6000602084013e61209c565b606091505b50509050806120e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d790613aa6565b60405180910390fd5b505050565b6001816000016000828254019250508190555050565b61211582826040518060200160405280600081525061236d565b5050565b612124848484611d95565b612130848484846123c8565b61216f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216690613b38565b60405180910390fd5b50505050565b6060600b805461218490612ef0565b80601f01602080910402602001604051908101604052809291908181526020018280546121b090612ef0565b80156121fd5780601f106121d2576101008083540402835291602001916121fd565b820191906000526020600020905b8154815290600101906020018083116121e057829003601f168201915b5050505050905090565b6060600082141561224f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612363565b600082905060005b6000821461228157808061226a90613271565b915050600a8261227a9190613b87565b9150612257565b60008167ffffffffffffffff81111561229d5761229c612a93565b5b6040519080825280601f01601f1916602001820160405280156122cf5781602001600182028036833780820191505090505b5090505b6000851461235c576001826122e891906138f8565b9150600a856122f79190613bb8565b6030612303919061392c565b60f81b81838151811061231957612318613be9565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856123559190613b87565b94506122d3565b8093505050505b919050565b505050565b6123778383612550565b61238460008484846123c8565b6123c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ba90613b38565b60405180910390fd5b505050565b60006123e98473ffffffffffffffffffffffffffffffffffffffff1661271e565b15612543578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612412611be8565b8786866040518563ffffffff1660e01b81526004016124349493929190613c6d565b6020604051808303816000875af192505050801561247057506040513d601f19601f8201168201806040525081019061246d9190613cce565b60015b6124f3573d80600081146124a0576040519150601f19603f3d011682016040523d82523d6000602084013e6124a5565b606091505b506000815114156124eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e290613b38565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612548565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b790613d47565b60405180910390fd5b6125c981611b7c565b15612609576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260090613db3565b60405180910390fd5b61261560008383612368565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612665919061392c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b82805461273d90612ef0565b90600052602060002090601f01602090048101928261275f57600085556127a6565b82601f1061277857805160ff19168380011785556127a6565b828001600101855582156127a6579182015b828111156127a557825182559160200191906001019061278a565b5b5090506127b391906127b7565b5090565b5b808211156127d05760008160009055506001016127b8565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61281d816127e8565b811461282857600080fd5b50565b60008135905061283a81612814565b92915050565b600060208284031215612856576128556127de565b5b60006128648482850161282b565b91505092915050565b60008115159050919050565b6128828161286d565b82525050565b600060208201905061289d6000830184612879565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156128dd5780820151818401526020810190506128c2565b838111156128ec576000848401525b50505050565b6000601f19601f8301169050919050565b600061290e826128a3565b61291881856128ae565b93506129288185602086016128bf565b612931816128f2565b840191505092915050565b600060208201905081810360008301526129568184612903565b905092915050565b6000819050919050565b6129718161295e565b811461297c57600080fd5b50565b60008135905061298e81612968565b92915050565b6000602082840312156129aa576129a96127de565b5b60006129b88482850161297f565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006129ec826129c1565b9050919050565b6129fc816129e1565b82525050565b6000602082019050612a1760008301846129f3565b92915050565b612a26816129e1565b8114612a3157600080fd5b50565b600081359050612a4381612a1d565b92915050565b60008060408385031215612a6057612a5f6127de565b5b6000612a6e85828601612a34565b9250506020612a7f8582860161297f565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612acb826128f2565b810181811067ffffffffffffffff82111715612aea57612ae9612a93565b5b80604052505050565b6000612afd6127d4565b9050612b098282612ac2565b919050565b600067ffffffffffffffff821115612b2957612b28612a93565b5b612b32826128f2565b9050602081019050919050565b82818337600083830152505050565b6000612b61612b5c84612b0e565b612af3565b905082815260208101848484011115612b7d57612b7c612a8e565b5b612b88848285612b3f565b509392505050565b600082601f830112612ba557612ba4612a89565b5b8135612bb5848260208601612b4e565b91505092915050565b600060208284031215612bd457612bd36127de565b5b600082013567ffffffffffffffff811115612bf257612bf16127e3565b5b612bfe84828501612b90565b91505092915050565b612c108161295e565b82525050565b6000602082019050612c2b6000830184612c07565b92915050565b600080600060608486031215612c4a57612c496127de565b5b6000612c5886828701612a34565b9350506020612c6986828701612a34565b9250506040612c7a8682870161297f565b9150509250925092565b60008060408385031215612c9b57612c9a6127de565b5b6000612ca98582860161297f565b9250506020612cba85828601612a34565b9150509250929050565b600060208284031215612cda57612cd96127de565b5b6000612ce884828501612a34565b91505092915050565b612cfa8161286d565b8114612d0557600080fd5b50565b600081359050612d1781612cf1565b92915050565b60008060408385031215612d3457612d336127de565b5b6000612d4285828601612a34565b9250506020612d5385828601612d08565b9150509250929050565b600067ffffffffffffffff821115612d7857612d77612a93565b5b612d81826128f2565b9050602081019050919050565b6000612da1612d9c84612d5d565b612af3565b905082815260208101848484011115612dbd57612dbc612a8e565b5b612dc8848285612b3f565b509392505050565b600082601f830112612de557612de4612a89565b5b8135612df5848260208601612d8e565b91505092915050565b60008060008060808587031215612e1857612e176127de565b5b6000612e2687828801612a34565b9450506020612e3787828801612a34565b9350506040612e488782880161297f565b925050606085013567ffffffffffffffff811115612e6957612e686127e3565b5b612e7587828801612dd0565b91505092959194509250565b60008060408385031215612e9857612e976127de565b5b6000612ea685828601612a34565b9250506020612eb785828601612a34565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612f0857607f821691505b60208210811415612f1c57612f1b612ec1565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000612f7e602c836128ae565b9150612f8982612f22565b604082019050919050565b60006020820190508181036000830152612fad81612f71565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006130106021836128ae565b915061301b82612fb4565b604082019050919050565b6000602082019050818103600083015261303f81613003565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006130a26038836128ae565b91506130ad82613046565b604082019050919050565b600060208201905081810360008301526130d181613095565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061310e6020836128ae565b9150613119826130d8565b602082019050919050565b6000602082019050818103600083015261313d81613101565b9050919050565b7f4c6f636b65640000000000000000000000000000000000000000000000000000600082015250565b600061317a6006836128ae565b915061318582613144565b602082019050919050565b600060208201905081810360008301526131a98161316d565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061320c6031836128ae565b9150613217826131b0565b604082019050919050565b6000602082019050818103600083015261323b816131ff565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061327c8261295e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156132af576132ae613242565b5b600182019050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006133166029836128ae565b9150613321826132ba565b604082019050919050565b6000602082019050818103600083015261334581613309565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006133a8602a836128ae565b91506133b38261334c565b604082019050919050565b600060208201905081810360008301526133d78161339b565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006134146019836128ae565b915061341f826133de565b602082019050919050565b6000602082019050818103600083015261344381613407565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006134a6602f836128ae565b91506134b18261344a565b604082019050919050565b600060208201905081810360008301526134d581613499565b9050919050565b600081905092915050565b60006134f2826128a3565b6134fc81856134dc565b935061350c8185602086016128bf565b80840191505092915050565b600061352482856134e7565b915061353082846134e7565b91508190509392505050565b7f4d696e74696e67206e6f74206c69766500000000000000000000000000000000600082015250565b60006135726010836128ae565b915061357d8261353c565b602082019050919050565b600060208201905081810360008301526135a181613565565b9050919050565b7f45786365656473206d617820737570706c790000000000000000000000000000600082015250565b60006135de6012836128ae565b91506135e9826135a8565b602082019050919050565b6000602082019050818103600083015261360d816135d1565b9050919050565b7f496e636f72726563742065746865722076616c75650000000000000000000000600082015250565b600061364a6015836128ae565b915061365582613614565b602082019050919050565b600060208201905081810360008301526136798161363d565b9050919050565b60006040820190506136956000830185612c07565b81810360208301526136a78184612903565b90509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061370c6026836128ae565b9150613717826136b0565b604082019050919050565b6000602082019050818103600083015261373b816136ff565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061379e602c836128ae565b91506137a982613742565b604082019050919050565b600060208201905081810360008301526137cd81613791565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006138306029836128ae565b915061383b826137d4565b604082019050919050565b6000602082019050818103600083015261385f81613823565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006138c26024836128ae565b91506138cd82613866565b604082019050919050565b600060208201905081810360008301526138f1816138b5565b9050919050565b60006139038261295e565b915061390e8361295e565b92508282101561392157613920613242565b5b828203905092915050565b60006139378261295e565b91506139428361295e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561397757613976613242565b5b828201905092915050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b60006139b8601d836128ae565b91506139c382613982565b602082019050919050565b600060208201905081810360008301526139e7816139ab565b9050919050565b600081905092915050565b50565b6000613a096000836139ee565b9150613a14826139f9565b600082019050919050565b6000613a2a826139fc565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000613a90603a836128ae565b9150613a9b82613a34565b604082019050919050565b60006020820190508181036000830152613abf81613a83565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613b226032836128ae565b9150613b2d82613ac6565b604082019050919050565b60006020820190508181036000830152613b5181613b15565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613b928261295e565b9150613b9d8361295e565b925082613bad57613bac613b58565b5b828204905092915050565b6000613bc38261295e565b9150613bce8361295e565b925082613bde57613bdd613b58565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000613c3f82613c18565b613c498185613c23565b9350613c598185602086016128bf565b613c62816128f2565b840191505092915050565b6000608082019050613c8260008301876129f3565b613c8f60208301866129f3565b613c9c6040830185612c07565b8181036060830152613cae8184613c34565b905095945050505050565b600081519050613cc881612814565b92915050565b600060208284031215613ce457613ce36127de565b5b6000613cf284828501613cb9565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000613d316020836128ae565b9150613d3c82613cfb565b602082019050919050565b60006020820190508181036000830152613d6081613d24565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000613d9d601c836128ae565b9150613da882613d67565b602082019050919050565b60006020820190508181036000830152613dcc81613d90565b905091905056fea26469706673582212209a84b44a80dc3455e4e2efa7e4276a2e77839ed9c33ca34d4c9bd6bc31b3250764736f6c634300080b0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000027100000000000000000000000000000000000000000000000000000000000000016496d7065726d616e656e742041492047616c6c6572790000000000000000000000000000000000000000000000000000000000000000000000000000000000044941494700000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101e35760003560e01c80636c0360eb11610102578063b88d4fde11610095578063ea7523ee11610064578063ea7523ee146106d1578063f2fde38b146106e8578063f4a0a52814610711578063f655ff221461073a576101e3565b8063b88d4fde14610612578063c87b56dd1461063b578063d85d3d2714610678578063e985e9c514610694576101e3565b806395d89b41116100d157806395d89b411461056a578063a22cb46514610595578063a4e2d634146105be578063b07ed982146105e9576101e3565b80636c0360eb146104c057806370a08231146104eb578063715018a6146105285780638da5cb5b1461053f576101e3565b80632e1a7d4d1161017a57806355f804b31161014957806355f804b31461040657806360b02f701461042f5780636352211e146104585780636817c76c14610495576101e3565b80632e1a7d4d1461035e57806342842e0e146103875780634728b9f4146103b057806350f7c204146103db576101e3565b80630f7309e8116101b65780630f7309e8146102b657806310969523146102e157806318160ddd1461030a57806323b872dd14610335576101e3565b806301ffc9a7146101e857806306fdde0314610225578063081812fc14610250578063095ea7b31461028d575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a9190612840565b610751565b60405161021c9190612888565b60405180910390f35b34801561023157600080fd5b5061023a610833565b604051610247919061293c565b60405180910390f35b34801561025c57600080fd5b5061027760048036038101906102729190612994565b6108c5565b6040516102849190612a02565b60405180910390f35b34801561029957600080fd5b506102b460048036038101906102af9190612a49565b61094a565b005b3480156102c257600080fd5b506102cb610a62565b6040516102d8919061293c565b60405180910390f35b3480156102ed57600080fd5b5061030860048036038101906103039190612bbe565b610af0565b005b34801561031657600080fd5b5061031f610bd6565b60405161032c9190612c16565b60405180910390f35b34801561034157600080fd5b5061035c60048036038101906103579190612c31565b610be7565b005b34801561036a57600080fd5b5061038560048036038101906103809190612994565b610c47565b005b34801561039357600080fd5b506103ae60048036038101906103a99190612c31565b610cd0565b005b3480156103bc57600080fd5b506103c5610cf0565b6040516103d29190612888565b60405180910390f35b3480156103e757600080fd5b506103f0610d03565b6040516103fd9190612c16565b60405180910390f35b34801561041257600080fd5b5061042d60048036038101906104289190612bbe565b610d09565b005b34801561043b57600080fd5b5061045660048036038101906104519190612c84565b610def565b005b34801561046457600080fd5b5061047f600480360381019061047a9190612994565b610eae565b60405161048c9190612a02565b60405180910390f35b3480156104a157600080fd5b506104aa610f60565b6040516104b79190612c16565b60405180910390f35b3480156104cc57600080fd5b506104d5610f66565b6040516104e2919061293c565b60405180910390f35b3480156104f757600080fd5b50610512600480360381019061050d9190612cc4565b610ff4565b60405161051f9190612c16565b60405180910390f35b34801561053457600080fd5b5061053d6110ac565b005b34801561054b57600080fd5b506105546111e9565b6040516105619190612a02565b60405180910390f35b34801561057657600080fd5b5061057f611213565b60405161058c919061293c565b60405180910390f35b3480156105a157600080fd5b506105bc60048036038101906105b79190612d1d565b6112a5565b005b3480156105ca57600080fd5b506105d3611426565b6040516105e09190612888565b60405180910390f35b3480156105f557600080fd5b50610610600480360381019061060b9190612994565b611439565b005b34801561061e57600080fd5b5061063960048036038101906106349190612dfe565b6114bf565b005b34801561064757600080fd5b50610662600480360381019061065d9190612994565b611521565b60405161066f919061293c565b60405180910390f35b610692600480360381019061068d9190612bbe565b6115c8565b005b3480156106a057600080fd5b506106bb60048036038101906106b69190612e81565b61170b565b6040516106c89190612888565b60405180910390f35b3480156106dd57600080fd5b506106e661179f565b005b3480156106f457600080fd5b5061070f600480360381019061070a9190612cc4565b611838565b005b34801561071d57600080fd5b5061073860048036038101906107339190612994565b6119e4565b005b34801561074657600080fd5b5061074f611a6a565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061081c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061082c575061082b82611b12565b5b9050919050565b60606000805461084290612ef0565b80601f016020809104026020016040519081016040528092919081815260200182805461086e90612ef0565b80156108bb5780601f10610890576101008083540402835291602001916108bb565b820191906000526020600020905b81548152906001019060200180831161089e57829003601f168201915b5050505050905090565b60006108d082611b7c565b61090f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090690612f94565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061095582610eae565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bd90613026565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109e5611be8565b73ffffffffffffffffffffffffffffffffffffffff161480610a145750610a1381610a0e611be8565b61170b565b5b610a53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4a906130b8565b60405180910390fd5b610a5d8383611bf0565b505050565b600c8054610a6f90612ef0565b80601f0160208091040260200160405190810160405280929190818152602001828054610a9b90612ef0565b8015610ae85780601f10610abd57610100808354040283529160200191610ae8565b820191906000526020600020905b815481529060010190602001808311610acb57829003601f168201915b505050505081565b610af8611be8565b73ffffffffffffffffffffffffffffffffffffffff16610b166111e9565b73ffffffffffffffffffffffffffffffffffffffff1614610b6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6390613124565b60405180910390fd5b600a60019054906101000a900460ff1615610bbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb390613190565b60405180910390fd5b80600c9080519060200190610bd2929190612731565b5050565b6000610be26007611ca9565b905090565b610bf8610bf2611be8565b82611cb7565b610c37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2e90613222565b60405180910390fd5b610c42838383611d95565b505050565b610c4f611be8565b73ffffffffffffffffffffffffffffffffffffffff16610c6d6111e9565b73ffffffffffffffffffffffffffffffffffffffff1614610cc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cba90613124565b60405180910390fd5b610ccd3382611ff1565b50565b610ceb838383604051806020016040528060008152506114bf565b505050565b600a60009054906101000a900460ff1681565b60085481565b610d11611be8565b73ffffffffffffffffffffffffffffffffffffffff16610d2f6111e9565b73ffffffffffffffffffffffffffffffffffffffff1614610d85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7c90613124565b60405180910390fd5b600a60019054906101000a900460ff1615610dd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcc90613190565b60405180910390fd5b80600b9080519060200190610deb929190612731565b5050565b610df7611be8565b73ffffffffffffffffffffffffffffffffffffffff16610e156111e9565b73ffffffffffffffffffffffffffffffffffffffff1614610e6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6290613124565b60405180910390fd5b6000600190505b828111610ea957610e8360076120e5565b610e9682610e916007611ca9565b6120fb565b8080610ea190613271565b915050610e72565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4e9061332c565b60405180910390fd5b80915050919050565b60095481565b600b8054610f7390612ef0565b80601f0160208091040260200160405190810160405280929190818152602001828054610f9f90612ef0565b8015610fec5780601f10610fc157610100808354040283529160200191610fec565b820191906000526020600020905b815481529060010190602001808311610fcf57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611065576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105c906133be565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6110b4611be8565b73ffffffffffffffffffffffffffffffffffffffff166110d26111e9565b73ffffffffffffffffffffffffffffffffffffffff1614611128576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111f90613124565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461122290612ef0565b80601f016020809104026020016040519081016040528092919081815260200182805461124e90612ef0565b801561129b5780601f106112705761010080835404028352916020019161129b565b820191906000526020600020905b81548152906001019060200180831161127e57829003601f168201915b5050505050905090565b6112ad611be8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561131b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113129061342a565b60405180910390fd5b8060056000611328611be8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166113d5611be8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161141a9190612888565b60405180910390a35050565b600a60019054906101000a900460ff1681565b611441611be8565b73ffffffffffffffffffffffffffffffffffffffff1661145f6111e9565b73ffffffffffffffffffffffffffffffffffffffff16146114b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ac90613124565b60405180910390fd5b8060088190555050565b6114d06114ca611be8565b83611cb7565b61150f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150690613222565b60405180910390fd5b61151b84848484612119565b50505050565b606061152c82611b7c565b61156b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611562906134bc565b60405180910390fd5b6000611575612175565b9050600081511161159557604051806020016040528060008152506115c0565b8061159f84612207565b6040516020016115b0929190613518565b6040516020818303038152906040525b915050919050565b600a60009054906101000a900460ff16611617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160e90613588565b60405180910390fd5b6008546116246007611ca9565b10611664576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165b906135f4565b60405180910390fd5b3460095411156116a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a090613660565b60405180910390fd5b6116b360076120e5565b6116c6336116c16007611ca9565b6120fb565b7f0ee87046bcc347d818d84653203fd0e421cff74b278710e8c75736f195265f686116f16007611ca9565b82604051611700929190613680565b60405180910390a150565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6117a7611be8565b73ffffffffffffffffffffffffffffffffffffffff166117c56111e9565b73ffffffffffffffffffffffffffffffffffffffff161461181b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181290613124565b60405180910390fd5b6001600a60016101000a81548160ff021916908315150217905550565b611840611be8565b73ffffffffffffffffffffffffffffffffffffffff1661185e6111e9565b73ffffffffffffffffffffffffffffffffffffffff16146118b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ab90613124565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611924576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191b90613722565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6119ec611be8565b73ffffffffffffffffffffffffffffffffffffffff16611a0a6111e9565b73ffffffffffffffffffffffffffffffffffffffff1614611a60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5790613124565b60405180910390fd5b8060098190555050565b611a72611be8565b73ffffffffffffffffffffffffffffffffffffffff16611a906111e9565b73ffffffffffffffffffffffffffffffffffffffff1614611ae6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611add90613124565b60405180910390fd5b600a60009054906101000a900460ff1615600a60006101000a81548160ff021916908315150217905550565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611c6383610eae565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b6000611cc282611b7c565b611d01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf8906137b4565b60405180910390fd5b6000611d0c83610eae565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611d7b57508373ffffffffffffffffffffffffffffffffffffffff16611d63846108c5565b73ffffffffffffffffffffffffffffffffffffffff16145b80611d8c5750611d8b818561170b565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611db582610eae565b73ffffffffffffffffffffffffffffffffffffffff1614611e0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0290613846565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e72906138d8565b60405180910390fd5b611e86838383612368565b611e91600082611bf0565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ee191906138f8565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f38919061392c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b80471015612034576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202b906139ce565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161205a90613a1f565b60006040518083038185875af1925050503d8060008114612097576040519150601f19603f3d011682016040523d82523d6000602084013e61209c565b606091505b50509050806120e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d790613aa6565b60405180910390fd5b505050565b6001816000016000828254019250508190555050565b61211582826040518060200160405280600081525061236d565b5050565b612124848484611d95565b612130848484846123c8565b61216f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216690613b38565b60405180910390fd5b50505050565b6060600b805461218490612ef0565b80601f01602080910402602001604051908101604052809291908181526020018280546121b090612ef0565b80156121fd5780601f106121d2576101008083540402835291602001916121fd565b820191906000526020600020905b8154815290600101906020018083116121e057829003601f168201915b5050505050905090565b6060600082141561224f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612363565b600082905060005b6000821461228157808061226a90613271565b915050600a8261227a9190613b87565b9150612257565b60008167ffffffffffffffff81111561229d5761229c612a93565b5b6040519080825280601f01601f1916602001820160405280156122cf5781602001600182028036833780820191505090505b5090505b6000851461235c576001826122e891906138f8565b9150600a856122f79190613bb8565b6030612303919061392c565b60f81b81838151811061231957612318613be9565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856123559190613b87565b94506122d3565b8093505050505b919050565b505050565b6123778383612550565b61238460008484846123c8565b6123c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ba90613b38565b60405180910390fd5b505050565b60006123e98473ffffffffffffffffffffffffffffffffffffffff1661271e565b15612543578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612412611be8565b8786866040518563ffffffff1660e01b81526004016124349493929190613c6d565b6020604051808303816000875af192505050801561247057506040513d601f19601f8201168201806040525081019061246d9190613cce565b60015b6124f3573d80600081146124a0576040519150601f19603f3d011682016040523d82523d6000602084013e6124a5565b606091505b506000815114156124eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e290613b38565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612548565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b790613d47565b60405180910390fd5b6125c981611b7c565b15612609576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260090613db3565b60405180910390fd5b61261560008383612368565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612665919061392c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b82805461273d90612ef0565b90600052602060002090601f01602090048101928261275f57600085556127a6565b82601f1061277857805160ff19168380011785556127a6565b828001600101855582156127a6579182015b828111156127a557825182559160200191906001019061278a565b5b5090506127b391906127b7565b5090565b5b808211156127d05760008160009055506001016127b8565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61281d816127e8565b811461282857600080fd5b50565b60008135905061283a81612814565b92915050565b600060208284031215612856576128556127de565b5b60006128648482850161282b565b91505092915050565b60008115159050919050565b6128828161286d565b82525050565b600060208201905061289d6000830184612879565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156128dd5780820151818401526020810190506128c2565b838111156128ec576000848401525b50505050565b6000601f19601f8301169050919050565b600061290e826128a3565b61291881856128ae565b93506129288185602086016128bf565b612931816128f2565b840191505092915050565b600060208201905081810360008301526129568184612903565b905092915050565b6000819050919050565b6129718161295e565b811461297c57600080fd5b50565b60008135905061298e81612968565b92915050565b6000602082840312156129aa576129a96127de565b5b60006129b88482850161297f565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006129ec826129c1565b9050919050565b6129fc816129e1565b82525050565b6000602082019050612a1760008301846129f3565b92915050565b612a26816129e1565b8114612a3157600080fd5b50565b600081359050612a4381612a1d565b92915050565b60008060408385031215612a6057612a5f6127de565b5b6000612a6e85828601612a34565b9250506020612a7f8582860161297f565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612acb826128f2565b810181811067ffffffffffffffff82111715612aea57612ae9612a93565b5b80604052505050565b6000612afd6127d4565b9050612b098282612ac2565b919050565b600067ffffffffffffffff821115612b2957612b28612a93565b5b612b32826128f2565b9050602081019050919050565b82818337600083830152505050565b6000612b61612b5c84612b0e565b612af3565b905082815260208101848484011115612b7d57612b7c612a8e565b5b612b88848285612b3f565b509392505050565b600082601f830112612ba557612ba4612a89565b5b8135612bb5848260208601612b4e565b91505092915050565b600060208284031215612bd457612bd36127de565b5b600082013567ffffffffffffffff811115612bf257612bf16127e3565b5b612bfe84828501612b90565b91505092915050565b612c108161295e565b82525050565b6000602082019050612c2b6000830184612c07565b92915050565b600080600060608486031215612c4a57612c496127de565b5b6000612c5886828701612a34565b9350506020612c6986828701612a34565b9250506040612c7a8682870161297f565b9150509250925092565b60008060408385031215612c9b57612c9a6127de565b5b6000612ca98582860161297f565b9250506020612cba85828601612a34565b9150509250929050565b600060208284031215612cda57612cd96127de565b5b6000612ce884828501612a34565b91505092915050565b612cfa8161286d565b8114612d0557600080fd5b50565b600081359050612d1781612cf1565b92915050565b60008060408385031215612d3457612d336127de565b5b6000612d4285828601612a34565b9250506020612d5385828601612d08565b9150509250929050565b600067ffffffffffffffff821115612d7857612d77612a93565b5b612d81826128f2565b9050602081019050919050565b6000612da1612d9c84612d5d565b612af3565b905082815260208101848484011115612dbd57612dbc612a8e565b5b612dc8848285612b3f565b509392505050565b600082601f830112612de557612de4612a89565b5b8135612df5848260208601612d8e565b91505092915050565b60008060008060808587031215612e1857612e176127de565b5b6000612e2687828801612a34565b9450506020612e3787828801612a34565b9350506040612e488782880161297f565b925050606085013567ffffffffffffffff811115612e6957612e686127e3565b5b612e7587828801612dd0565b91505092959194509250565b60008060408385031215612e9857612e976127de565b5b6000612ea685828601612a34565b9250506020612eb785828601612a34565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612f0857607f821691505b60208210811415612f1c57612f1b612ec1565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000612f7e602c836128ae565b9150612f8982612f22565b604082019050919050565b60006020820190508181036000830152612fad81612f71565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006130106021836128ae565b915061301b82612fb4565b604082019050919050565b6000602082019050818103600083015261303f81613003565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006130a26038836128ae565b91506130ad82613046565b604082019050919050565b600060208201905081810360008301526130d181613095565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061310e6020836128ae565b9150613119826130d8565b602082019050919050565b6000602082019050818103600083015261313d81613101565b9050919050565b7f4c6f636b65640000000000000000000000000000000000000000000000000000600082015250565b600061317a6006836128ae565b915061318582613144565b602082019050919050565b600060208201905081810360008301526131a98161316d565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061320c6031836128ae565b9150613217826131b0565b604082019050919050565b6000602082019050818103600083015261323b816131ff565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061327c8261295e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156132af576132ae613242565b5b600182019050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006133166029836128ae565b9150613321826132ba565b604082019050919050565b6000602082019050818103600083015261334581613309565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006133a8602a836128ae565b91506133b38261334c565b604082019050919050565b600060208201905081810360008301526133d78161339b565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006134146019836128ae565b915061341f826133de565b602082019050919050565b6000602082019050818103600083015261344381613407565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006134a6602f836128ae565b91506134b18261344a565b604082019050919050565b600060208201905081810360008301526134d581613499565b9050919050565b600081905092915050565b60006134f2826128a3565b6134fc81856134dc565b935061350c8185602086016128bf565b80840191505092915050565b600061352482856134e7565b915061353082846134e7565b91508190509392505050565b7f4d696e74696e67206e6f74206c69766500000000000000000000000000000000600082015250565b60006135726010836128ae565b915061357d8261353c565b602082019050919050565b600060208201905081810360008301526135a181613565565b9050919050565b7f45786365656473206d617820737570706c790000000000000000000000000000600082015250565b60006135de6012836128ae565b91506135e9826135a8565b602082019050919050565b6000602082019050818103600083015261360d816135d1565b9050919050565b7f496e636f72726563742065746865722076616c75650000000000000000000000600082015250565b600061364a6015836128ae565b915061365582613614565b602082019050919050565b600060208201905081810360008301526136798161363d565b9050919050565b60006040820190506136956000830185612c07565b81810360208301526136a78184612903565b90509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061370c6026836128ae565b9150613717826136b0565b604082019050919050565b6000602082019050818103600083015261373b816136ff565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061379e602c836128ae565b91506137a982613742565b604082019050919050565b600060208201905081810360008301526137cd81613791565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006138306029836128ae565b915061383b826137d4565b604082019050919050565b6000602082019050818103600083015261385f81613823565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006138c26024836128ae565b91506138cd82613866565b604082019050919050565b600060208201905081810360008301526138f1816138b5565b9050919050565b60006139038261295e565b915061390e8361295e565b92508282101561392157613920613242565b5b828203905092915050565b60006139378261295e565b91506139428361295e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561397757613976613242565b5b828201905092915050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b60006139b8601d836128ae565b91506139c382613982565b602082019050919050565b600060208201905081810360008301526139e7816139ab565b9050919050565b600081905092915050565b50565b6000613a096000836139ee565b9150613a14826139f9565b600082019050919050565b6000613a2a826139fc565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000613a90603a836128ae565b9150613a9b82613a34565b604082019050919050565b60006020820190508181036000830152613abf81613a83565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613b226032836128ae565b9150613b2d82613ac6565b604082019050919050565b60006020820190508181036000830152613b5181613b15565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613b928261295e565b9150613b9d8361295e565b925082613bad57613bac613b58565b5b828204905092915050565b6000613bc38261295e565b9150613bce8361295e565b925082613bde57613bdd613b58565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000613c3f82613c18565b613c498185613c23565b9350613c598185602086016128bf565b613c62816128f2565b840191505092915050565b6000608082019050613c8260008301876129f3565b613c8f60208301866129f3565b613c9c6040830185612c07565b8181036060830152613cae8184613c34565b905095945050505050565b600081519050613cc881612814565b92915050565b600060208284031215613ce457613ce36127de565b5b6000613cf284828501613cb9565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000613d316020836128ae565b9150613d3c82613cfb565b602082019050919050565b60006020820190508181036000830152613d6081613d24565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000613d9d601c836128ae565b9150613da882613d67565b602082019050919050565b60006020820190508181036000830152613dcc81613d90565b905091905056fea26469706673582212209a84b44a80dc3455e4e2efa7e4276a2e77839ed9c33ca34d4c9bd6bc31b3250764736f6c634300080b0033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000027100000000000000000000000000000000000000000000000000000000000000016496d7065726d616e656e742041492047616c6c6572790000000000000000000000000000000000000000000000000000000000000000000000000000000000044941494700000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Impermanent AI Gallery
Arg [1] : symbol (string): IAIG
Arg [2] : maxSupply (uint256): 10000

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000016
Arg [4] : 496d7065726d616e656e742041492047616c6c65727900000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 4941494700000000000000000000000000000000000000000000000000000000


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.