ETH Price: $2,611.03 (-2.83%)

Contract

0x5743cF32FfD4C1F2093AE2C94E1d036B6472E7B9
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...187449672023-12-09 0:00:59426 days ago1702080059IN
0x5743cF32...B6472E7B9
0 ETH0.0019010740.7492682
Set Approval For...177036232023-07-16 4:55:59572 days ago1689483359IN
0x5743cF32...B6472E7B9
0 ETH0.0006197913.28524508
Safe Transfer Fr...168684122023-03-20 10:52:47690 days ago1679309567IN
0x5743cF32...B6472E7B9
0 ETH0.0009605815.42785515
Safe Transfer Fr...167679212023-03-06 7:46:47704 days ago1678088807IN
0x5743cF32...B6472E7B9
0 ETH0.0012003519.27872648
Set Approval For...166318592023-02-15 4:48:23723 days ago1676436503IN
0x5743cF32...B6472E7B9
0 ETH0.0013769429.49951332
Set Approval For...166178352023-02-13 5:45:35725 days ago1676267135IN
0x5743cF32...B6472E7B9
0 ETH0.0007760116.63385717
Set Approval For...165596562023-02-05 2:40:23733 days ago1675564823IN
0x5743cF32...B6472E7B9
0 ETH0.0007989717.1259601
Set Approval For...165343592023-02-01 13:47:47737 days ago1675259267IN
0x5743cF32...B6472E7B9
0 ETH0.0012444626.67502563
Safe Transfer Fr...164676002023-01-23 6:06:23746 days ago1674453983IN
0x5743cF32...B6472E7B9
0 ETH0.0008616714.04568561
Set Approval For...164112302023-01-15 9:11:59754 days ago1673773919IN
0x5743cF32...B6472E7B9
0 ETH0.0007208115.45047824
Set Approval For...163741122023-01-10 4:47:35759 days ago1673326055IN
0x5743cF32...B6472E7B9
0 ETH0.0007636516.36875922
Set Approval For...161936462022-12-16 0:22:35784 days ago1671150155IN
0x5743cF32...B6472E7B9
0 ETH0.0006572814.08889701
Set Approval For...161884682022-12-15 7:01:11785 days ago1671087671IN
0x5743cF32...B6472E7B9
0 ETH0.0006029712.92463731
Safe Transfer Fr...161881902022-12-15 6:05:23785 days ago1671084323IN
0x5743cF32...B6472E7B9
0 ETH0.0009305114.06714719
Safe Transfer Fr...161880652022-12-15 5:39:59785 days ago1671082799IN
0x5743cF32...B6472E7B9
0 ETH0.0009291314.04636711
Safe Transfer Fr...161880602022-12-15 5:38:59785 days ago1671082739IN
0x5743cF32...B6472E7B9
0 ETH0.0009546214.43166961
Safe Transfer Fr...161880532022-12-15 5:37:35785 days ago1671082655IN
0x5743cF32...B6472E7B9
0 ETH0.0009010313.62144628
Set Approval For...161880102022-12-15 5:28:47785 days ago1671082127IN
0x5743cF32...B6472E7B9
0 ETH0.0006664714.28581664
Safe Transfer Fr...161874692022-12-15 3:39:47785 days ago1671075587IN
0x5743cF32...B6472E7B9
0 ETH0.0007674712.51024616
Safe Transfer Fr...161874452022-12-15 3:34:47785 days ago1671075287IN
0x5743cF32...B6472E7B9
0 ETH0.0007361712
Set Approval For...161794892022-12-14 0:55:23786 days ago1670979323IN
0x5743cF32...B6472E7B9
0 ETH0.0006407313.7340049
Safe Transfer Fr...161515082022-12-10 3:06:47790 days ago1670641607IN
0x5743cF32...B6472E7B9
0 ETH0.0008840114.40978267
Set Approval For...161033842022-12-03 9:26:11797 days ago1670059571IN
0x5743cF32...B6472E7B9
0 ETH0.0005749312.32354771
Set Approval For...161033562022-12-03 9:20:35797 days ago1670059235IN
0x5743cF32...B6472E7B9
0 ETH0.0005360111.48931673
Safe Transfer Fr...161033142022-12-03 9:12:11797 days ago1670058731IN
0x5743cF32...B6472E7B9
0 ETH0.0007106611.58416237
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
158153732022-10-24 3:46:47837 days ago1666583207
0x5743cF32...B6472E7B9
0.01 ETH
158153702022-10-24 3:46:11837 days ago1666583171
0x5743cF32...B6472E7B9
0.01 ETH
158153682022-10-24 3:45:47837 days ago1666583147
0x5743cF32...B6472E7B9
0.01 ETH
158153672022-10-24 3:45:35837 days ago1666583135
0x5743cF32...B6472E7B9
0.01 ETH
158153662022-10-24 3:45:23837 days ago1666583123
0x5743cF32...B6472E7B9
0.01 ETH
158153662022-10-24 3:45:23837 days ago1666583123
0x5743cF32...B6472E7B9
0.01 ETH
158153652022-10-24 3:45:11837 days ago1666583111
0x5743cF32...B6472E7B9
0.005 ETH
158153652022-10-24 3:45:11837 days ago1666583111
0x5743cF32...B6472E7B9
0.005 ETH
158153642022-10-24 3:44:59837 days ago1666583099
0x5743cF32...B6472E7B9
0.01 ETH
158153632022-10-24 3:44:47837 days ago1666583087
0x5743cF32...B6472E7B9
0.01 ETH
158153602022-10-24 3:44:11837 days ago1666583051
0x5743cF32...B6472E7B9
0.01 ETH
158153572022-10-24 3:43:35837 days ago1666583015
0x5743cF32...B6472E7B9
0.005 ETH
158153562022-10-24 3:43:23837 days ago1666583003
0x5743cF32...B6472E7B9
0.01 ETH
158153502022-10-24 3:42:11837 days ago1666582931
0x5743cF32...B6472E7B9
0.005 ETH
158153492022-10-24 3:41:59837 days ago1666582919
0x5743cF32...B6472E7B9
0.01 ETH
158153472022-10-24 3:41:35837 days ago1666582895
0x5743cF32...B6472E7B9
0.01 ETH
158153452022-10-24 3:41:11837 days ago1666582871
0x5743cF32...B6472E7B9
0.01 ETH
158153412022-10-24 3:40:23837 days ago1666582823
0x5743cF32...B6472E7B9
0.005 ETH
158153402022-10-24 3:40:11837 days ago1666582811
0x5743cF32...B6472E7B9
0.01 ETH
158153392022-10-24 3:39:59837 days ago1666582799
0x5743cF32...B6472E7B9
0.01 ETH
158153332022-10-24 3:38:47837 days ago1666582727
0x5743cF32...B6472E7B9
0.005 ETH
158153332022-10-24 3:38:47837 days ago1666582727
0x5743cF32...B6472E7B9
0.01 ETH
158153312022-10-24 3:38:23837 days ago1666582703
0x5743cF32...B6472E7B9
0.01 ETH
158153282022-10-24 3:37:47837 days ago1666582667
0x5743cF32...B6472E7B9
0.01 ETH
158153222022-10-24 3:36:35837 days ago1666582595
0x5743cF32...B6472E7B9
0.005 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BitcoinToken

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : BitcoinToken.sol
// SPDX-License-Identifier: MIT

/*
 * Created by Satoshi Nakajima (@snakajima)
 */

pragma solidity ^0.8.6;

import "@openzeppelin/contracts/utils/Strings.sol";
import './libs/ProviderToken.sol';
import "./interfaces/ITokenGate.sol";

contract BitcoinToken is ProviderToken {
  using Strings for uint256;
  ITokenGate immutable tokenGate;

  constructor(
    ITokenGate _tokenGate,
    IAssetProvider _assetProvider,
    IProxyRegistry _proxyRegistry
  ) ProviderToken(_assetProvider, _proxyRegistry, "On-Chain Bitcoin Art", "BITCOIN") {
    tokenGate = _tokenGate;
    description = "This is a part of Fully On-chain Generative Art project (https://fullyonchain.xyz/). All images are dymically generated on the blockchain.";
    mintPrice = 1e16; //0.01 ether, updatable
    mintLimit = 250; // initial limit, updatable with a hard limit of 1,000
  }

  function tokenName(uint256 _tokenId) internal pure override returns(string memory) {
    return string(abi.encodePacked('Bitcoin ', _tokenId.toString()));
  }

  function mint() public override virtual payable returns(uint256 tokenId) {
    require(nextTokenId < 1000, "Sold out"); // hard limit, regardless of updatable "mintLimit"
    require(msg.value >= mintPriceFor(msg.sender), 'Must send the mint price');
    tokenId = super.mint();
    assetProvider.processPayout{value:msg.value}(tokenId); // 100% distribution to the asset provider
  }

  function mintPriceFor(address _wallet) public override view virtual returns(uint256) {
    if (balanceOf(_wallet) < 1 && tokenGate.balanceOf(_wallet) > 0) {
      return mintPrice / 2; // 50% off only for the first one
    }
    return mintPrice;
  }
}

File 2 of 16 : ITokenGate.sol
// SPDX-License-Identifier: MIT

/*
 * Created by Satoshi Nakajima (@snakajima)
 */

pragma solidity ^0.8.6;

interface ITokenGate {
  // Intentially same as ERC721's balanceOf
  function balanceOf(address _wallet) external view returns (uint256 balance);
}

File 3 of 16 : ProviderToken.sol
// SPDX-License-Identifier: MIT

/**
 * This is a part of an effort to create a decentralized autonomous marketplace for digital assets,
 * which allows artists and developers to sell their arts and generative arts.
 *
 * Please see "https://fullyonchain.xyz/" for details. 
 *
 * Created by Satoshi Nakajima (@snakajima)
 */

pragma solidity ^0.8.6;

import { Ownable } from '@openzeppelin/contracts/access/Ownable.sol';
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import { Base64 } from 'base64-sol/base64.sol';
import "@openzeppelin/contracts/utils/Strings.sol";
import { IProxyRegistry } from '../external/opensea/IProxyRegistry.sol';
import "assetprovider.sol/IAssetProvider.sol";

/**
 * ProviderToken is an abstract implentation of ERC721, which is built on top of an asset provider.
 * The specified asset provider is responsible in providing images for NFTs in SVG format,
 * which turns them into fully on-chain NFTs.
 *
 * When implementing the mint method, and it should call processPayout method of the asset provider like this:
 *
 *   provider.processPayout{value:msg.value}(assetId)
 *
 */
abstract contract ProviderToken is Ownable, ERC721 {
  using Strings for uint256;
  using Strings for uint16;

  uint public nextTokenId;

  // To be specified by the concrete contract
  string public description; 
  uint public mintPrice; 
  uint public mintLimit; 

  // OpenSea's Proxy Registry
  IProxyRegistry public immutable proxyRegistry;

  IAssetProvider public immutable assetProvider;

  constructor(
    IAssetProvider _assetProvider,
    IProxyRegistry _proxyRegistry,
    string memory _title,
    string memory _shortTitle
  ) ERC721(_title, _shortTitle)  {
    assetProvider = _assetProvider;
    proxyRegistry = _proxyRegistry;
  }

  function setDescription(string memory _description) external onlyOwner {
      description = _description;
  }

  function setMintPrice(uint256 _price) external onlyOwner {
    mintPrice = _price;
  }

  function setMintLimit(uint256 _limit) external onlyOwner {
    mintLimit = _limit;
  }

  /**
    * @notice Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-less listings.
    */
  function isApprovedForAll(address owner, address operator) public view override returns (bool) {
      // Whitelist OpenSea proxy contract for easy trading.
      if (proxyRegistry.proxies(owner) == operator) {
          return true;
      }
      return super.isApprovedForAll(owner, operator);
  }

  string constant SVGHeader = '<svg viewBox="0 0 1024 1024'
      '"  xmlns="http://www.w3.org/2000/svg">\n'
      '<defs>\n';

  /*
   * A function of IAssetStoreToken interface.
   * It generates SVG with the specified style, using the given "SVG Part".
   */
  function generateSVG(uint256 _assetId) internal view returns (string memory) {
    // Constants of non-value type not yet implemented by Solidity
    (string memory svgPart, string memory tag) = assetProvider.generateSVGPart(_assetId);
    return string(abi.encodePacked(
      SVGHeader, 
      svgPart,
      '</defs>\n'
      '<use href="#', tag, '" />\n'
      '</svg>\n'));
  }

  /**
    * @notice A distinct Uniform Resource Identifier (URI) for a given asset.
    * @dev See {IERC721Metadata-tokenURI}.
    */
  function tokenURI(uint256 _tokenId) public view override returns (string memory) {
    require(_exists(_tokenId), 'ProviderToken.tokenURI: nonexistent token');
    bytes memory image = bytes(generateSVG(_tokenId));

    return string(
      abi.encodePacked(
        'data:application/json;base64,',
        Base64.encode(
          bytes(
            abi.encodePacked(
              '{"name":"', tokenName(_tokenId), 
                '","description":"', description, 
                '","attributes":[', generateTraits(_tokenId), 
                '],"image":"data:image/svg+xml;base64,', 
                Base64.encode(image), 
              '"}')
          )
        )
      )
    );
  }

  function tokenName(uint256 _tokenId) internal view virtual returns(string memory) {
    return _tokenId.toString();
  }

  /**
   * For non-free minting,
   * 1. Override this method
   * 2. Check for the required payment, by calling mintPriceFor()
   * 3. Call the processPayout method of the asset provider with appropriate value
   */
  function mint() public virtual payable returns(uint256 tokenId) {
    require(nextTokenId < mintLimit, "Sold out");
    tokenId = nextTokenId++; 
    _safeMint(msg.sender, tokenId);
  }

  /**
   * The concreate contract may override to offer custom pricing,
   * such as token-gated discount. 
   */
  function mintPriceFor(address) public virtual view returns(uint256) {
    return mintPrice;
  }

  function totalSupply() public view returns (uint256) {
    return nextTokenId;
  }

  function generateTraits(uint256 _tokenId) internal view returns (bytes memory traits) {
    traits = bytes(assetProvider.generateTraits(_tokenId));
  }

  function debugTokenURI(uint256 _tokenId) public view returns (string memory uri, uint256 gas) {
    gas = gasleft();
    uri = tokenURI(_tokenId);
    gas -= gasleft();
  }
}

File 4 of 16 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 5 of 16 : IProxyRegistry.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.6;

interface IProxyRegistry {
    function proxies(address) external view returns (address);
}

File 6 of 16 : IAssetProvider.sol
// SPDX-License-Identifier: MIT

/**
 * This is a part of an effort to create a decentralized autonomous marketplace for digital assets,
 * which allows artists and developers to sell their arts and generative arts.
 *
 * Please see "https://fullyonchain.xyz/" for details. 
 *
 * Created by Satoshi Nakajima (@snakajima)
 */
pragma solidity ^0.8.6;

/**
 * IAssetProvider is the interface each asset provider implements.
 * We assume there are three types of asset providers.
 * 1. Static asset provider, which has a collection of assets (either in the storage or the code) and returns them.
 * 2. Generative provider, which dynamically (but deterministically from the seed) generates assets.
 * 3. Data visualizer, which generates assets based on various data on the blockchain.
 *
 * Note: Asset providers MUST implements IERC165 (supportsInterface method) as well. 
 */
interface IAssetProvider {
  struct ProviderInfo {
    string key;  // short and unique identifier of this provider (e.g., "asset")
    string name; // human readable display name (e.g., "Asset Store")
    IAssetProvider provider;
  }
  function getProviderInfo() external view returns(ProviderInfo memory);

  /**
   * This function returns SVGPart and the tag. The SVGPart consists of one or more SVG elements.
   * The tag specifies the identifier of the SVG element to be displayed (using <use> tag).
   * The tag is the combination of the provider key and assetId (e.e., "asset123")
   */
  function generateSVGPart(uint256 _assetId) external view returns(string memory svgPart, string memory tag);

  /**
   * This is an optional function, which returns various traits of the image for ERC721 token.
   * Format: {"trait_type":"TRAIL_TYPE","value":"VALUE"},{...}
   */
  function generateTraits(uint256 _assetId) external view returns (string memory);
  
  /**
   * This function returns the number of assets available from this provider. 
   * If the total supply is 100, assetIds of available assets are 0,1,...99.
   * The generative providers may returns 0, which indicates the provider dynamically but
   * deterministically generates assets using the given assetId as the random seed.
   */
  function totalSupply() external view returns(uint256);

  /**
   * Returns the onwer. The registration update is possible only if both contracts have the same owner. 
   */
  function getOwner() external view returns (address);

  /**
   * This function processes the royalty payment from the decentralized autonomous marketplace. 
   */
  function processPayout(uint256 _assetId) external payable;

  event Payout(string providerKey, uint256 assetId, address payable to, uint256 amount);
}

File 7 of 16 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

File 8 of 16 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");
        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: invalid token ID");
        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) {
        _requireMinted(tokenId);

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

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overridden 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 token owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token 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: caller is not token 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) {
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == 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);

        _afterTokenTransfer(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);

        _afterTokenTransfer(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 from incorrect owner");
        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);

        _afterTokenTransfer(from, to, tokenId);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    /// @solidity memory-safe-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` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 9 of 16 : base64.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0;

/// @title Base64
/// @author Brecht Devos - <[email protected]>
/// @notice Provides functions for encoding/decoding base64
library Base64 {
    string internal constant TABLE_ENCODE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
    bytes  internal constant TABLE_DECODE = hex"0000000000000000000000000000000000000000000000000000000000000000"
                                            hex"00000000000000000000003e0000003f3435363738393a3b3c3d000000000000"
                                            hex"00000102030405060708090a0b0c0d0e0f101112131415161718190000000000"
                                            hex"001a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132330000000000";

    function encode(bytes memory data) internal pure returns (string memory) {
        if (data.length == 0) return '';

        // load the table into memory
        string memory table = TABLE_ENCODE;

        // multiply by 4/3 rounded up
        uint256 encodedLen = 4 * ((data.length + 2) / 3);

        // add some extra buffer at the end required for the writing
        string memory result = new string(encodedLen + 32);

        assembly {
            // set the actual output length
            mstore(result, encodedLen)

            // prepare the lookup table
            let tablePtr := add(table, 1)

            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))

            // result ptr, jump over length
            let resultPtr := add(result, 32)

            // run over the input, 3 bytes at a time
            for {} lt(dataPtr, endPtr) {}
            {
                // read 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // write 4 characters
                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(shr( 6, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(        input,  0x3F))))
                resultPtr := add(resultPtr, 1)
            }

            // padding with '='
            switch mod(mload(data), 3)
            case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) }
            case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) }
        }

        return result;
    }

    function decode(string memory _data) internal pure returns (bytes memory) {
        bytes memory data = bytes(_data);

        if (data.length == 0) return new bytes(0);
        require(data.length % 4 == 0, "invalid base64 decoder input");

        // load the table into memory
        bytes memory table = TABLE_DECODE;

        // every 4 characters represent 3 bytes
        uint256 decodedLen = (data.length / 4) * 3;

        // add some extra buffer at the end required for the writing
        bytes memory result = new bytes(decodedLen + 32);

        assembly {
            // padding with '='
            let lastBytes := mload(add(data, mload(data)))
            if eq(and(lastBytes, 0xFF), 0x3d) {
                decodedLen := sub(decodedLen, 1)
                if eq(and(lastBytes, 0xFFFF), 0x3d3d) {
                    decodedLen := sub(decodedLen, 1)
                }
            }

            // set the actual output length
            mstore(result, decodedLen)

            // prepare the lookup table
            let tablePtr := add(table, 1)

            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))

            // result ptr, jump over length
            let resultPtr := add(result, 32)

            // run over the input, 4 characters at a time
            for {} lt(dataPtr, endPtr) {}
            {
               // read 4 characters
               dataPtr := add(dataPtr, 4)
               let input := mload(dataPtr)

               // write 3 bytes
               let output := add(
                   add(
                       shl(18, and(mload(add(tablePtr, and(shr(24, input), 0xFF))), 0xFF)),
                       shl(12, and(mload(add(tablePtr, and(shr(16, input), 0xFF))), 0xFF))),
                   add(
                       shl( 6, and(mload(add(tablePtr, and(shr( 8, input), 0xFF))), 0xFF)),
                               and(mload(add(tablePtr, and(        input , 0xFF))), 0xFF)
                    )
                )
                mstore(resultPtr, shl(232, output))
                resultPtr := add(resultPtr, 3)
            }
        }

        return result;
    }
}

File 10 of 16 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 11 of 16 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * 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;

    /**
     * @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 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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @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);
}

File 12 of 16 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 14 of 16 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 15 of 16 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 16 of 16 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract ITokenGate","name":"_tokenGate","type":"address"},{"internalType":"contract IAssetProvider","name":"_assetProvider","type":"address"},{"internalType":"contract IProxyRegistry","name":"_proxyRegistry","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":[],"name":"assetProvider","outputs":[{"internalType":"contract IAssetProvider","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"debugTokenURI","outputs":[{"internalType":"string","name":"uri","type":"string"},{"internalType":"uint256","name":"gas","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"description","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"mint","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"mintPriceFor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"proxyRegistry","outputs":[{"internalType":"contract IProxyRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_description","type":"string"}],"name":"setDescription","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setMintLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setMintPrice","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"}]

60e06040523480156200001157600080fd5b50604051620048d5380380620048d58339818101604052810190620000379190620003ab565b81816040518060400160405280601481526020017f4f6e2d436861696e20426974636f696e204172740000000000000000000000008152506040518060400160405280600781526020017f424954434f494e000000000000000000000000000000000000000000000000008152508181620000c7620000bb620001d760201b60201c565b620001df60201b60201c565b8160019081620000d8919062000681565b508060029081620000ea919062000681565b5050508373ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff16815250508273ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1681525050505050508273ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff16815250506040518060c00160405280608a81526020016200484b608a913960089081620001b7919062000681565b50662386f26fc1000060098190555060fa600a8190555050505062000768565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620002d582620002a8565b9050919050565b6000620002e982620002c8565b9050919050565b620002fb81620002dc565b81146200030757600080fd5b50565b6000815190506200031b81620002f0565b92915050565b60006200032e82620002c8565b9050919050565b620003408162000321565b81146200034c57600080fd5b50565b600081519050620003608162000335565b92915050565b60006200037382620002c8565b9050919050565b620003858162000366565b81146200039157600080fd5b50565b600081519050620003a5816200037a565b92915050565b600080600060608486031215620003c757620003c6620002a3565b5b6000620003d7868287016200030a565b9350506020620003ea868287016200034f565b9250506040620003fd8682870162000394565b9150509250925092565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200048957607f821691505b6020821081036200049f576200049e62000441565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620005097fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620004ca565b620005158683620004ca565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620005626200055c62000556846200052d565b62000537565b6200052d565b9050919050565b6000819050919050565b6200057e8362000541565b620005966200058d8262000569565b848454620004d7565b825550505050565b600090565b620005ad6200059e565b620005ba81848462000573565b505050565b5b81811015620005e257620005d6600082620005a3565b600181019050620005c0565b5050565b601f8211156200063157620005fb81620004a5565b6200060684620004ba565b8101602085101562000616578190505b6200062e6200062585620004ba565b830182620005bf565b50505b505050565b600082821c905092915050565b6000620006566000198460080262000636565b1980831691505092915050565b600062000671838362000643565b9150826002028217905092915050565b6200068c8262000407565b67ffffffffffffffff811115620006a857620006a762000412565b5b620006b4825462000470565b620006c1828285620005e6565b600060209050601f831160018114620006f95760008415620006e4578287015190505b620006f0858262000663565b86555062000760565b601f1984166200070986620004a5565b60005b8281101562000733578489015182556001820191506020850194506020810190506200070c565b868310156200075357848901516200074f601f89168262000643565b8355505b6001600288020188555050505b505050505050565b60805160a05160c051614097620007b46000396000610b1a015260008181610a7401528181610f8001528181611aed0152611c08015260008181610fa4015261112d01526140976000f3fe6080604052600436106101c25760003560e01c806375794a3c116100f7578063a370f7d711610095578063cc44ab4111610064578063cc44ab4114610637578063e985e9c514610675578063f2fde38b146106b2578063f4a0a528146106db576101c2565b8063a370f7d71461057b578063b50cbd9f146105a6578063b88d4fde146105d1578063c87b56dd146105fa576101c2565b806395d89b41116100d157806395d89b41146104d3578063996517cf146104fe5780639e6a1d7d14610529578063a22cb46514610552576101c2565b806375794a3c146104545780638da5cb5b1461047f57806390c3f38f146104aa576101c2565b806323b872dd116101645780636817c76c1161013e5780636817c76c146103aa57806370a08231146103d5578063715018a6146104125780637284e41614610429576101c2565b806323b872dd1461031b57806342842e0e146103445780636352211e1461036d576101c2565b8063095ea7b3116101a0578063095ea7b31461026c5780631249c58b146102955780631346d8ea146102b357806318160ddd146102f0576101c2565b806301ffc9a7146101c757806306fdde0314610204578063081812fc1461022f575b600080fd5b3480156101d357600080fd5b506101ee60048036038101906101e9919061248a565b610704565b6040516101fb91906124d2565b60405180910390f35b34801561021057600080fd5b506102196107e6565b604051610226919061257d565b60405180910390f35b34801561023b57600080fd5b50610256600480360381019061025191906125d5565b610878565b6040516102639190612643565b60405180910390f35b34801561027857600080fd5b50610293600480360381019061028e919061268a565b6108be565b005b61029d6109d5565b6040516102aa91906126d9565b60405180910390f35b3480156102bf57600080fd5b506102da60048036038101906102d591906126f4565b610b01565b6040516102e791906126d9565b60405180910390f35b3480156102fc57600080fd5b50610305610bda565b60405161031291906126d9565b60405180910390f35b34801561032757600080fd5b50610342600480360381019061033d9190612721565b610be4565b005b34801561035057600080fd5b5061036b60048036038101906103669190612721565b610c44565b005b34801561037957600080fd5b50610394600480360381019061038f91906125d5565b610c64565b6040516103a19190612643565b60405180910390f35b3480156103b657600080fd5b506103bf610d15565b6040516103cc91906126d9565b60405180910390f35b3480156103e157600080fd5b506103fc60048036038101906103f791906126f4565b610d1b565b60405161040991906126d9565b60405180910390f35b34801561041e57600080fd5b50610427610dd2565b005b34801561043557600080fd5b5061043e610de6565b60405161044b919061257d565b60405180910390f35b34801561046057600080fd5b50610469610e74565b60405161047691906126d9565b60405180910390f35b34801561048b57600080fd5b50610494610e7a565b6040516104a19190612643565b60405180910390f35b3480156104b657600080fd5b506104d160048036038101906104cc91906128a9565b610ea3565b005b3480156104df57600080fd5b506104e8610ebe565b6040516104f5919061257d565b60405180910390f35b34801561050a57600080fd5b50610513610f50565b60405161052091906126d9565b60405180910390f35b34801561053557600080fd5b50610550600480360381019061054b91906125d5565b610f56565b005b34801561055e57600080fd5b506105796004803603810190610574919061291e565b610f68565b005b34801561058757600080fd5b50610590610f7e565b60405161059d91906129bd565b60405180910390f35b3480156105b257600080fd5b506105bb610fa2565b6040516105c891906129f9565b60405180910390f35b3480156105dd57600080fd5b506105f860048036038101906105f39190612ab5565b610fc6565b005b34801561060657600080fd5b50610621600480360381019061061c91906125d5565b611028565b60405161062e919061257d565b60405180910390f35b34801561064357600080fd5b5061065e600480360381019061065991906125d5565b6110ed565b60405161066c929190612b38565b60405180910390f35b34801561068157600080fd5b5061069c60048036038101906106979190612b68565b611112565b6040516106a991906124d2565b60405180910390f35b3480156106be57600080fd5b506106d960048036038101906106d491906126f4565b6111fc565b005b3480156106e757600080fd5b5061070260048036038101906106fd91906125d5565b61127f565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107cf57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107df57506107de82611291565b5b9050919050565b6060600180546107f590612bd7565b80601f016020809104026020016040519081016040528092919081815260200182805461082190612bd7565b801561086e5780601f106108435761010080835404028352916020019161086e565b820191906000526020600020905b81548152906001019060200180831161085157829003601f168201915b5050505050905090565b6000610883826112fb565b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108c982610c64565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610939576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093090612c7a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610958611346565b73ffffffffffffffffffffffffffffffffffffffff161480610987575061098681610981611346565b611112565b5b6109c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bd90612d0c565b60405180910390fd5b6109d0838361134e565b505050565b60006103e860075410610a1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1490612d78565b60405180910390fd5b610a2633610b01565b341015610a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5f90612de4565b60405180910390fd5b610a70611407565b90507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166389ee68bf34836040518363ffffffff1660e01b8152600401610acc91906126d9565b6000604051808303818588803b158015610ae557600080fd5b505af1158015610af9573d6000803e3d6000fd5b505050505090565b60006001610b0e83610d1b565b108015610bb4575060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610b719190612643565b602060405180830381865afa158015610b8e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb29190612e19565b115b15610bcf576002600954610bc89190612ea4565b9050610bd5565b60095490505b919050565b6000600754905090565b610bf5610bef611346565b82611475565b610c34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2b90612f47565b60405180910390fd5b610c3f83838361150a565b505050565b610c5f83838360405180602001604052806000815250610fc6565b505050565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610d0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0390612fb3565b60405180910390fd5b80915050919050565b60095481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8290613045565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610dda611770565b610de460006117ee565b565b60088054610df390612bd7565b80601f0160208091040260200160405190810160405280929190818152602001828054610e1f90612bd7565b8015610e6c5780601f10610e4157610100808354040283529160200191610e6c565b820191906000526020600020905b815481529060010190602001808311610e4f57829003601f168201915b505050505081565b60075481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610eab611770565b8060089081610eba9190613207565b5050565b606060028054610ecd90612bd7565b80601f0160208091040260200160405190810160405280929190818152602001828054610ef990612bd7565b8015610f465780601f10610f1b57610100808354040283529160200191610f46565b820191906000526020600020905b815481529060010190602001808311610f2957829003601f168201915b5050505050905090565b600a5481565b610f5e611770565b80600a8190555050565b610f7a610f73611346565b83836118b2565b5050565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b610fd7610fd1611346565b83611475565b611016576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100d90612f47565b60405180910390fd5b61102284848484611a1e565b50505050565b606061103382611a7a565b611072576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110699061334b565b60405180910390fd5b600061107d83611ae6565b90506110c661108b84611bd3565b600861109686611c04565b61109f85611cac565b6040516020016110b29493929190613613565b604051602081830303815290604052611cac565b6040516020016110d691906136d4565b604051602081830303815290604052915050919050565b606060005a90506110fd83611028565b91505a8161110b91906136f6565b9050915091565b60008173ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663c4552791856040518263ffffffff1660e01b81526004016111849190612643565b602060405180830381865afa1580156111a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111c5919061373f565b73ffffffffffffffffffffffffffffffffffffffff16036111e957600190506111f6565b6111f38383611e24565b90505b92915050565b611204611770565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611273576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126a906137de565b60405180910390fd5b61127c816117ee565b50565b611287611770565b8060098190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61130481611a7a565b611343576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133a90612fb3565b60405180910390fd5b50565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166113c183610c64565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000600a546007541061144f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144690612d78565b60405180910390fd5b60076000815480929190611462906137fe565b9190505590506114723382611eb8565b90565b60008061148183610c64565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806114c357506114c28185611112565b5b8061150157508373ffffffffffffffffffffffffffffffffffffffff166114e984610878565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661152a82610c64565b73ffffffffffffffffffffffffffffffffffffffff1614611580576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611577906138b8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036115ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e69061394a565b60405180910390fd5b6115fa838383611ed6565b61160560008261134e565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461165591906136f6565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116ac919061396a565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461176b838383611edb565b505050565b611778611346565b73ffffffffffffffffffffffffffffffffffffffff16611796610e7a565b73ffffffffffffffffffffffffffffffffffffffff16146117ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e3906139ea565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611920576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191790613a56565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a1191906124d2565b60405180910390a3505050565b611a2984848461150a565b611a3584848484611ee0565b611a74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6b90613ae8565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60606000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663e3f24f02856040518263ffffffff1660e01b8152600401611b4491906126d9565b600060405180830381865afa158015611b61573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611b8a9190613b78565b91509150604051806080016040528060498152602001614019604991398282604051602001611bbb93929190613c88565b60405160208183030381529060405292505050919050565b6060611bde82612067565b604051602001611bee9190613d1b565b6040516020818303038152906040529050919050565b60607f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166379b92f27836040518263ffffffff1660e01b8152600401611c5f91906126d9565b600060405180830381865afa158015611c7c573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611ca59190613d3d565b9050919050565b60606000825103611cce57604051806020016040528060008152509050611e1f565b6000604051806060016040528060408152602001613fd96040913990506000600360028551611cfd919061396a565b611d079190612ea4565b6004611d139190613d86565b90506000602082611d24919061396a565b67ffffffffffffffff811115611d3d57611d3c61277e565b5b6040519080825280601f01601f191660200182016040528015611d6f5781602001600182028036833780820191505090505b509050818152600183018586518101602084015b81831015611dde576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825360018201915050611d83565b600389510660018114611df85760028114611e0857611e13565b613d3d60f01b6002830352611e13565b603d60f81b60018303525b50505050508093505050505b919050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611ed28282604051806020016040528060008152506121c7565b5050565b505050565b505050565b6000611f018473ffffffffffffffffffffffffffffffffffffffff16612222565b1561205a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611f2a611346565b8786866040518563ffffffff1660e01b8152600401611f4c9493929190613e12565b6020604051808303816000875af1925050508015611f8857506040513d601f19601f82011682018060405250810190611f859190613e73565b60015b61200a573d8060008114611fb8576040519150601f19603f3d011682016040523d82523d6000602084013e611fbd565b606091505b506000815103612002576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff990613ae8565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061205f565b600190505b949350505050565b6060600082036120ae576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506121c2565b600082905060005b600082146120e05780806120c9906137fe565b915050600a826120d99190612ea4565b91506120b6565b60008167ffffffffffffffff8111156120fc576120fb61277e565b5b6040519080825280601f01601f19166020018201604052801561212e5781602001600182028036833780820191505090505b5090505b600085146121bb5760018261214791906136f6565b9150600a856121569190613ea0565b6030612162919061396a565b60f81b81838151811061217857612177613ed1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856121b49190612ea4565b9450612132565b8093505050505b919050565b6121d18383612245565b6121de6000848484611ee0565b61221d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221490613ae8565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036122b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ab90613f4c565b60405180910390fd5b6122bd81611a7a565b156122fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f490613fb8565b60405180910390fd5b61230960008383611ed6565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612359919061396a565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461241a60008383611edb565b5050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61246781612432565b811461247257600080fd5b50565b6000813590506124848161245e565b92915050565b6000602082840312156124a05761249f612428565b5b60006124ae84828501612475565b91505092915050565b60008115159050919050565b6124cc816124b7565b82525050565b60006020820190506124e760008301846124c3565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561252757808201518184015260208101905061250c565b60008484015250505050565b6000601f19601f8301169050919050565b600061254f826124ed565b61255981856124f8565b9350612569818560208601612509565b61257281612533565b840191505092915050565b600060208201905081810360008301526125978184612544565b905092915050565b6000819050919050565b6125b28161259f565b81146125bd57600080fd5b50565b6000813590506125cf816125a9565b92915050565b6000602082840312156125eb576125ea612428565b5b60006125f9848285016125c0565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061262d82612602565b9050919050565b61263d81612622565b82525050565b60006020820190506126586000830184612634565b92915050565b61266781612622565b811461267257600080fd5b50565b6000813590506126848161265e565b92915050565b600080604083850312156126a1576126a0612428565b5b60006126af85828601612675565b92505060206126c0858286016125c0565b9150509250929050565b6126d38161259f565b82525050565b60006020820190506126ee60008301846126ca565b92915050565b60006020828403121561270a57612709612428565b5b600061271884828501612675565b91505092915050565b60008060006060848603121561273a57612739612428565b5b600061274886828701612675565b935050602061275986828701612675565b925050604061276a868287016125c0565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6127b682612533565b810181811067ffffffffffffffff821117156127d5576127d461277e565b5b80604052505050565b60006127e861241e565b90506127f482826127ad565b919050565b600067ffffffffffffffff8211156128145761281361277e565b5b61281d82612533565b9050602081019050919050565b82818337600083830152505050565b600061284c612847846127f9565b6127de565b90508281526020810184848401111561286857612867612779565b5b61287384828561282a565b509392505050565b600082601f8301126128905761288f612774565b5b81356128a0848260208601612839565b91505092915050565b6000602082840312156128bf576128be612428565b5b600082013567ffffffffffffffff8111156128dd576128dc61242d565b5b6128e98482850161287b565b91505092915050565b6128fb816124b7565b811461290657600080fd5b50565b600081359050612918816128f2565b92915050565b6000806040838503121561293557612934612428565b5b600061294385828601612675565b925050602061295485828601612909565b9150509250929050565b6000819050919050565b600061298361297e61297984612602565b61295e565b612602565b9050919050565b600061299582612968565b9050919050565b60006129a78261298a565b9050919050565b6129b78161299c565b82525050565b60006020820190506129d260008301846129ae565b92915050565b60006129e38261298a565b9050919050565b6129f3816129d8565b82525050565b6000602082019050612a0e60008301846129ea565b92915050565b600067ffffffffffffffff821115612a2f57612a2e61277e565b5b612a3882612533565b9050602081019050919050565b6000612a58612a5384612a14565b6127de565b905082815260208101848484011115612a7457612a73612779565b5b612a7f84828561282a565b509392505050565b600082601f830112612a9c57612a9b612774565b5b8135612aac848260208601612a45565b91505092915050565b60008060008060808587031215612acf57612ace612428565b5b6000612add87828801612675565b9450506020612aee87828801612675565b9350506040612aff878288016125c0565b925050606085013567ffffffffffffffff811115612b2057612b1f61242d565b5b612b2c87828801612a87565b91505092959194509250565b60006040820190508181036000830152612b528185612544565b9050612b6160208301846126ca565b9392505050565b60008060408385031215612b7f57612b7e612428565b5b6000612b8d85828601612675565b9250506020612b9e85828601612675565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612bef57607f821691505b602082108103612c0257612c01612ba8565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000612c646021836124f8565b9150612c6f82612c08565b604082019050919050565b60006020820190508181036000830152612c9381612c57565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000612cf6603e836124f8565b9150612d0182612c9a565b604082019050919050565b60006020820190508181036000830152612d2581612ce9565b9050919050565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b6000612d626008836124f8565b9150612d6d82612d2c565b602082019050919050565b60006020820190508181036000830152612d9181612d55565b9050919050565b7f4d7573742073656e6420746865206d696e742070726963650000000000000000600082015250565b6000612dce6018836124f8565b9150612dd982612d98565b602082019050919050565b60006020820190508181036000830152612dfd81612dc1565b9050919050565b600081519050612e13816125a9565b92915050565b600060208284031215612e2f57612e2e612428565b5b6000612e3d84828501612e04565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612eaf8261259f565b9150612eba8361259f565b925082612eca57612ec9612e46565b5b828204905092915050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000612f31602e836124f8565b9150612f3c82612ed5565b604082019050919050565b60006020820190508181036000830152612f6081612f24565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000612f9d6018836124f8565b9150612fa882612f67565b602082019050919050565b60006020820190508181036000830152612fcc81612f90565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b600061302f6029836124f8565b915061303a82612fd3565b604082019050919050565b6000602082019050818103600083015261305e81613022565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026130c77fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261308a565b6130d1868361308a565b95508019841693508086168417925050509392505050565b60006131046130ff6130fa8461259f565b61295e565b61259f565b9050919050565b6000819050919050565b61311e836130e9565b61313261312a8261310b565b848454613097565b825550505050565b600090565b61314761313a565b613152818484613115565b505050565b5b818110156131765761316b60008261313f565b600181019050613158565b5050565b601f8211156131bb5761318c81613065565b6131958461307a565b810160208510156131a4578190505b6131b86131b08561307a565b830182613157565b50505b505050565b600082821c905092915050565b60006131de600019846008026131c0565b1980831691505092915050565b60006131f783836131cd565b9150826002028217905092915050565b613210826124ed565b67ffffffffffffffff8111156132295761322861277e565b5b6132338254612bd7565b61323e82828561317a565b600060209050601f831160018114613271576000841561325f578287015190505b61326985826131eb565b8655506132d1565b601f19841661327f86613065565b60005b828110156132a757848901518255600182019150602085019450602081019050613282565b868310156132c457848901516132c0601f8916826131cd565b8355505b6001600288020188555050505b505050505050565b7f50726f7669646572546f6b656e2e746f6b656e5552493a206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006133356029836124f8565b9150613340826132d9565b604082019050919050565b6000602082019050818103600083015261336481613328565b9050919050565b600081905092915050565b7f7b226e616d65223a220000000000000000000000000000000000000000000000600082015250565b60006133ac60098361336b565b91506133b782613376565b600982019050919050565b60006133cd826124ed565b6133d7818561336b565b93506133e7818560208601612509565b80840191505092915050565b7f222c226465736372697074696f6e223a22000000000000000000000000000000600082015250565b600061342960118361336b565b9150613434826133f3565b601182019050919050565b6000815461344c81612bd7565b613456818661336b565b945060018216600081146134715760018114613486576134b9565b60ff19831686528115158202860193506134b9565b61348f85613065565b60005b838110156134b157815481890152600182019150602081019050613492565b838801955050505b50505092915050565b7f222c2261747472696275746573223a5b00000000000000000000000000000000600082015250565b60006134f860108361336b565b9150613503826134c2565b601082019050919050565b600081519050919050565b600081905092915050565b600061352f8261350e565b6135398185613519565b9350613549818560208601612509565b80840191505092915050565b7f5d2c22696d616765223a22646174613a696d6167652f7376672b786d6c3b626160008201527f736536342c000000000000000000000000000000000000000000000000000000602082015250565b60006135b160258361336b565b91506135bc82613555565b602582019050919050565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b60006135fd60028361336b565b9150613608826135c7565b600282019050919050565b600061361e8261339f565b915061362a82876133c2565b91506136358261341c565b9150613641828661343f565b915061364c826134eb565b91506136588285613524565b9150613663826135a4565b915061366f82846133c2565b915061367a826135f0565b915081905095945050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b60006136be601d8361336b565b91506136c982613688565b601d82019050919050565b60006136df826136b1565b91506136eb82846133c2565b915081905092915050565b60006137018261259f565b915061370c8361259f565b925082820390508181111561372457613723612e75565b5b92915050565b6000815190506137398161265e565b92915050565b60006020828403121561375557613754612428565b5b60006137638482850161372a565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006137c86026836124f8565b91506137d38261376c565b604082019050919050565b600060208201905081810360008301526137f7816137bb565b9050919050565b60006138098261259f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361383b5761383a612e75565b5b600182019050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006138a26025836124f8565b91506138ad82613846565b604082019050919050565b600060208201905081810360008301526138d181613895565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006139346024836124f8565b915061393f826138d8565b604082019050919050565b6000602082019050818103600083015261396381613927565b9050919050565b60006139758261259f565b91506139808361259f565b925082820190508082111561399857613997612e75565b5b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006139d46020836124f8565b91506139df8261399e565b602082019050919050565b60006020820190508181036000830152613a03816139c7565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613a406019836124f8565b9150613a4b82613a0a565b602082019050919050565b60006020820190508181036000830152613a6f81613a33565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613ad26032836124f8565b9150613add82613a76565b604082019050919050565b60006020820190508181036000830152613b0181613ac5565b9050919050565b6000613b1b613b16846127f9565b6127de565b905082815260208101848484011115613b3757613b36612779565b5b613b42848285612509565b509392505050565b600082601f830112613b5f57613b5e612774565b5b8151613b6f848260208601613b08565b91505092915050565b60008060408385031215613b8f57613b8e612428565b5b600083015167ffffffffffffffff811115613bad57613bac61242d565b5b613bb985828601613b4a565b925050602083015167ffffffffffffffff811115613bda57613bd961242d565b5b613be685828601613b4a565b9150509250929050565b7f3c2f646566733e0a3c75736520687265663d2223000000000000000000000000600082015250565b6000613c2660148361336b565b9150613c3182613bf0565b601482019050919050565b7f22202f3e0a3c2f7376673e0a0000000000000000000000000000000000000000600082015250565b6000613c72600c8361336b565b9150613c7d82613c3c565b600c82019050919050565b6000613c9482866133c2565b9150613ca082856133c2565b9150613cab82613c19565b9150613cb782846133c2565b9150613cc282613c65565b9150819050949350505050565b7f426974636f696e20000000000000000000000000000000000000000000000000600082015250565b6000613d0560088361336b565b9150613d1082613ccf565b600882019050919050565b6000613d2682613cf8565b9150613d3282846133c2565b915081905092915050565b600060208284031215613d5357613d52612428565b5b600082015167ffffffffffffffff811115613d7157613d7061242d565b5b613d7d84828501613b4a565b91505092915050565b6000613d918261259f565b9150613d9c8361259f565b9250828202613daa8161259f565b91508282048414831517613dc157613dc0612e75565b5b5092915050565b600082825260208201905092915050565b6000613de48261350e565b613dee8185613dc8565b9350613dfe818560208601612509565b613e0781612533565b840191505092915050565b6000608082019050613e276000830187612634565b613e346020830186612634565b613e4160408301856126ca565b8181036060830152613e538184613dd9565b905095945050505050565b600081519050613e6d8161245e565b92915050565b600060208284031215613e8957613e88612428565b5b6000613e9784828501613e5e565b91505092915050565b6000613eab8261259f565b9150613eb68361259f565b925082613ec657613ec5612e46565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000613f366020836124f8565b9150613f4182613f00565b602082019050919050565b60006020820190508181036000830152613f6581613f29565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000613fa2601c836124f8565b9150613fad82613f6c565b602082019050919050565b60006020820190508181036000830152613fd181613f95565b905091905056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f3c7376672076696577426f783d2230203020313032342031303234222020786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f737667223e0a3c646566733e0aa26469706673582212206e4ec9d7d1fc598f3303995cfb24d78590c5bc6624f3851906f5fbdbe849f72764736f6c634300081100335468697320697320612070617274206f662046756c6c79204f6e2d636861696e2047656e65726174697665204172742070726f6a656374202868747470733a2f2f66756c6c796f6e636861696e2e78797a2f292e20416c6c20696d61676573206172652064796d6963616c6c792067656e657261746564206f6e2074686520626c6f636b636861696e2e0000000000000000000000006ef6ca41e5eae230bf481ffe99fa231cd8e1d3d8000000000000000000000000dfbf32a5d04aa5cd148415477591109b63b2bfb5000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1

Deployed Bytecode

0x6080604052600436106101c25760003560e01c806375794a3c116100f7578063a370f7d711610095578063cc44ab4111610064578063cc44ab4114610637578063e985e9c514610675578063f2fde38b146106b2578063f4a0a528146106db576101c2565b8063a370f7d71461057b578063b50cbd9f146105a6578063b88d4fde146105d1578063c87b56dd146105fa576101c2565b806395d89b41116100d157806395d89b41146104d3578063996517cf146104fe5780639e6a1d7d14610529578063a22cb46514610552576101c2565b806375794a3c146104545780638da5cb5b1461047f57806390c3f38f146104aa576101c2565b806323b872dd116101645780636817c76c1161013e5780636817c76c146103aa57806370a08231146103d5578063715018a6146104125780637284e41614610429576101c2565b806323b872dd1461031b57806342842e0e146103445780636352211e1461036d576101c2565b8063095ea7b3116101a0578063095ea7b31461026c5780631249c58b146102955780631346d8ea146102b357806318160ddd146102f0576101c2565b806301ffc9a7146101c757806306fdde0314610204578063081812fc1461022f575b600080fd5b3480156101d357600080fd5b506101ee60048036038101906101e9919061248a565b610704565b6040516101fb91906124d2565b60405180910390f35b34801561021057600080fd5b506102196107e6565b604051610226919061257d565b60405180910390f35b34801561023b57600080fd5b50610256600480360381019061025191906125d5565b610878565b6040516102639190612643565b60405180910390f35b34801561027857600080fd5b50610293600480360381019061028e919061268a565b6108be565b005b61029d6109d5565b6040516102aa91906126d9565b60405180910390f35b3480156102bf57600080fd5b506102da60048036038101906102d591906126f4565b610b01565b6040516102e791906126d9565b60405180910390f35b3480156102fc57600080fd5b50610305610bda565b60405161031291906126d9565b60405180910390f35b34801561032757600080fd5b50610342600480360381019061033d9190612721565b610be4565b005b34801561035057600080fd5b5061036b60048036038101906103669190612721565b610c44565b005b34801561037957600080fd5b50610394600480360381019061038f91906125d5565b610c64565b6040516103a19190612643565b60405180910390f35b3480156103b657600080fd5b506103bf610d15565b6040516103cc91906126d9565b60405180910390f35b3480156103e157600080fd5b506103fc60048036038101906103f791906126f4565b610d1b565b60405161040991906126d9565b60405180910390f35b34801561041e57600080fd5b50610427610dd2565b005b34801561043557600080fd5b5061043e610de6565b60405161044b919061257d565b60405180910390f35b34801561046057600080fd5b50610469610e74565b60405161047691906126d9565b60405180910390f35b34801561048b57600080fd5b50610494610e7a565b6040516104a19190612643565b60405180910390f35b3480156104b657600080fd5b506104d160048036038101906104cc91906128a9565b610ea3565b005b3480156104df57600080fd5b506104e8610ebe565b6040516104f5919061257d565b60405180910390f35b34801561050a57600080fd5b50610513610f50565b60405161052091906126d9565b60405180910390f35b34801561053557600080fd5b50610550600480360381019061054b91906125d5565b610f56565b005b34801561055e57600080fd5b506105796004803603810190610574919061291e565b610f68565b005b34801561058757600080fd5b50610590610f7e565b60405161059d91906129bd565b60405180910390f35b3480156105b257600080fd5b506105bb610fa2565b6040516105c891906129f9565b60405180910390f35b3480156105dd57600080fd5b506105f860048036038101906105f39190612ab5565b610fc6565b005b34801561060657600080fd5b50610621600480360381019061061c91906125d5565b611028565b60405161062e919061257d565b60405180910390f35b34801561064357600080fd5b5061065e600480360381019061065991906125d5565b6110ed565b60405161066c929190612b38565b60405180910390f35b34801561068157600080fd5b5061069c60048036038101906106979190612b68565b611112565b6040516106a991906124d2565b60405180910390f35b3480156106be57600080fd5b506106d960048036038101906106d491906126f4565b6111fc565b005b3480156106e757600080fd5b5061070260048036038101906106fd91906125d5565b61127f565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107cf57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107df57506107de82611291565b5b9050919050565b6060600180546107f590612bd7565b80601f016020809104026020016040519081016040528092919081815260200182805461082190612bd7565b801561086e5780601f106108435761010080835404028352916020019161086e565b820191906000526020600020905b81548152906001019060200180831161085157829003601f168201915b5050505050905090565b6000610883826112fb565b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108c982610c64565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610939576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093090612c7a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610958611346565b73ffffffffffffffffffffffffffffffffffffffff161480610987575061098681610981611346565b611112565b5b6109c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bd90612d0c565b60405180910390fd5b6109d0838361134e565b505050565b60006103e860075410610a1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1490612d78565b60405180910390fd5b610a2633610b01565b341015610a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5f90612de4565b60405180910390fd5b610a70611407565b90507f000000000000000000000000dfbf32a5d04aa5cd148415477591109b63b2bfb573ffffffffffffffffffffffffffffffffffffffff166389ee68bf34836040518363ffffffff1660e01b8152600401610acc91906126d9565b6000604051808303818588803b158015610ae557600080fd5b505af1158015610af9573d6000803e3d6000fd5b505050505090565b60006001610b0e83610d1b565b108015610bb4575060007f0000000000000000000000006ef6ca41e5eae230bf481ffe99fa231cd8e1d3d873ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610b719190612643565b602060405180830381865afa158015610b8e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb29190612e19565b115b15610bcf576002600954610bc89190612ea4565b9050610bd5565b60095490505b919050565b6000600754905090565b610bf5610bef611346565b82611475565b610c34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2b90612f47565b60405180910390fd5b610c3f83838361150a565b505050565b610c5f83838360405180602001604052806000815250610fc6565b505050565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610d0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0390612fb3565b60405180910390fd5b80915050919050565b60095481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8290613045565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610dda611770565b610de460006117ee565b565b60088054610df390612bd7565b80601f0160208091040260200160405190810160405280929190818152602001828054610e1f90612bd7565b8015610e6c5780601f10610e4157610100808354040283529160200191610e6c565b820191906000526020600020905b815481529060010190602001808311610e4f57829003601f168201915b505050505081565b60075481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610eab611770565b8060089081610eba9190613207565b5050565b606060028054610ecd90612bd7565b80601f0160208091040260200160405190810160405280929190818152602001828054610ef990612bd7565b8015610f465780601f10610f1b57610100808354040283529160200191610f46565b820191906000526020600020905b815481529060010190602001808311610f2957829003601f168201915b5050505050905090565b600a5481565b610f5e611770565b80600a8190555050565b610f7a610f73611346565b83836118b2565b5050565b7f000000000000000000000000dfbf32a5d04aa5cd148415477591109b63b2bfb581565b7f000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c181565b610fd7610fd1611346565b83611475565b611016576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100d90612f47565b60405180910390fd5b61102284848484611a1e565b50505050565b606061103382611a7a565b611072576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110699061334b565b60405180910390fd5b600061107d83611ae6565b90506110c661108b84611bd3565b600861109686611c04565b61109f85611cac565b6040516020016110b29493929190613613565b604051602081830303815290604052611cac565b6040516020016110d691906136d4565b604051602081830303815290604052915050919050565b606060005a90506110fd83611028565b91505a8161110b91906136f6565b9050915091565b60008173ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c173ffffffffffffffffffffffffffffffffffffffff1663c4552791856040518263ffffffff1660e01b81526004016111849190612643565b602060405180830381865afa1580156111a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111c5919061373f565b73ffffffffffffffffffffffffffffffffffffffff16036111e957600190506111f6565b6111f38383611e24565b90505b92915050565b611204611770565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611273576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126a906137de565b60405180910390fd5b61127c816117ee565b50565b611287611770565b8060098190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61130481611a7a565b611343576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133a90612fb3565b60405180910390fd5b50565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166113c183610c64565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000600a546007541061144f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144690612d78565b60405180910390fd5b60076000815480929190611462906137fe565b9190505590506114723382611eb8565b90565b60008061148183610c64565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806114c357506114c28185611112565b5b8061150157508373ffffffffffffffffffffffffffffffffffffffff166114e984610878565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661152a82610c64565b73ffffffffffffffffffffffffffffffffffffffff1614611580576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611577906138b8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036115ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e69061394a565b60405180910390fd5b6115fa838383611ed6565b61160560008261134e565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461165591906136f6565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116ac919061396a565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461176b838383611edb565b505050565b611778611346565b73ffffffffffffffffffffffffffffffffffffffff16611796610e7a565b73ffffffffffffffffffffffffffffffffffffffff16146117ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e3906139ea565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611920576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191790613a56565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a1191906124d2565b60405180910390a3505050565b611a2984848461150a565b611a3584848484611ee0565b611a74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6b90613ae8565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60606000807f000000000000000000000000dfbf32a5d04aa5cd148415477591109b63b2bfb573ffffffffffffffffffffffffffffffffffffffff1663e3f24f02856040518263ffffffff1660e01b8152600401611b4491906126d9565b600060405180830381865afa158015611b61573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611b8a9190613b78565b91509150604051806080016040528060498152602001614019604991398282604051602001611bbb93929190613c88565b60405160208183030381529060405292505050919050565b6060611bde82612067565b604051602001611bee9190613d1b565b6040516020818303038152906040529050919050565b60607f000000000000000000000000dfbf32a5d04aa5cd148415477591109b63b2bfb573ffffffffffffffffffffffffffffffffffffffff166379b92f27836040518263ffffffff1660e01b8152600401611c5f91906126d9565b600060405180830381865afa158015611c7c573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611ca59190613d3d565b9050919050565b60606000825103611cce57604051806020016040528060008152509050611e1f565b6000604051806060016040528060408152602001613fd96040913990506000600360028551611cfd919061396a565b611d079190612ea4565b6004611d139190613d86565b90506000602082611d24919061396a565b67ffffffffffffffff811115611d3d57611d3c61277e565b5b6040519080825280601f01601f191660200182016040528015611d6f5781602001600182028036833780820191505090505b509050818152600183018586518101602084015b81831015611dde576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825360018201915050611d83565b600389510660018114611df85760028114611e0857611e13565b613d3d60f01b6002830352611e13565b603d60f81b60018303525b50505050508093505050505b919050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611ed28282604051806020016040528060008152506121c7565b5050565b505050565b505050565b6000611f018473ffffffffffffffffffffffffffffffffffffffff16612222565b1561205a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611f2a611346565b8786866040518563ffffffff1660e01b8152600401611f4c9493929190613e12565b6020604051808303816000875af1925050508015611f8857506040513d601f19601f82011682018060405250810190611f859190613e73565b60015b61200a573d8060008114611fb8576040519150601f19603f3d011682016040523d82523d6000602084013e611fbd565b606091505b506000815103612002576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff990613ae8565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061205f565b600190505b949350505050565b6060600082036120ae576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506121c2565b600082905060005b600082146120e05780806120c9906137fe565b915050600a826120d99190612ea4565b91506120b6565b60008167ffffffffffffffff8111156120fc576120fb61277e565b5b6040519080825280601f01601f19166020018201604052801561212e5781602001600182028036833780820191505090505b5090505b600085146121bb5760018261214791906136f6565b9150600a856121569190613ea0565b6030612162919061396a565b60f81b81838151811061217857612177613ed1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856121b49190612ea4565b9450612132565b8093505050505b919050565b6121d18383612245565b6121de6000848484611ee0565b61221d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221490613ae8565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036122b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ab90613f4c565b60405180910390fd5b6122bd81611a7a565b156122fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f490613fb8565b60405180910390fd5b61230960008383611ed6565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612359919061396a565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461241a60008383611edb565b5050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61246781612432565b811461247257600080fd5b50565b6000813590506124848161245e565b92915050565b6000602082840312156124a05761249f612428565b5b60006124ae84828501612475565b91505092915050565b60008115159050919050565b6124cc816124b7565b82525050565b60006020820190506124e760008301846124c3565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561252757808201518184015260208101905061250c565b60008484015250505050565b6000601f19601f8301169050919050565b600061254f826124ed565b61255981856124f8565b9350612569818560208601612509565b61257281612533565b840191505092915050565b600060208201905081810360008301526125978184612544565b905092915050565b6000819050919050565b6125b28161259f565b81146125bd57600080fd5b50565b6000813590506125cf816125a9565b92915050565b6000602082840312156125eb576125ea612428565b5b60006125f9848285016125c0565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061262d82612602565b9050919050565b61263d81612622565b82525050565b60006020820190506126586000830184612634565b92915050565b61266781612622565b811461267257600080fd5b50565b6000813590506126848161265e565b92915050565b600080604083850312156126a1576126a0612428565b5b60006126af85828601612675565b92505060206126c0858286016125c0565b9150509250929050565b6126d38161259f565b82525050565b60006020820190506126ee60008301846126ca565b92915050565b60006020828403121561270a57612709612428565b5b600061271884828501612675565b91505092915050565b60008060006060848603121561273a57612739612428565b5b600061274886828701612675565b935050602061275986828701612675565b925050604061276a868287016125c0565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6127b682612533565b810181811067ffffffffffffffff821117156127d5576127d461277e565b5b80604052505050565b60006127e861241e565b90506127f482826127ad565b919050565b600067ffffffffffffffff8211156128145761281361277e565b5b61281d82612533565b9050602081019050919050565b82818337600083830152505050565b600061284c612847846127f9565b6127de565b90508281526020810184848401111561286857612867612779565b5b61287384828561282a565b509392505050565b600082601f8301126128905761288f612774565b5b81356128a0848260208601612839565b91505092915050565b6000602082840312156128bf576128be612428565b5b600082013567ffffffffffffffff8111156128dd576128dc61242d565b5b6128e98482850161287b565b91505092915050565b6128fb816124b7565b811461290657600080fd5b50565b600081359050612918816128f2565b92915050565b6000806040838503121561293557612934612428565b5b600061294385828601612675565b925050602061295485828601612909565b9150509250929050565b6000819050919050565b600061298361297e61297984612602565b61295e565b612602565b9050919050565b600061299582612968565b9050919050565b60006129a78261298a565b9050919050565b6129b78161299c565b82525050565b60006020820190506129d260008301846129ae565b92915050565b60006129e38261298a565b9050919050565b6129f3816129d8565b82525050565b6000602082019050612a0e60008301846129ea565b92915050565b600067ffffffffffffffff821115612a2f57612a2e61277e565b5b612a3882612533565b9050602081019050919050565b6000612a58612a5384612a14565b6127de565b905082815260208101848484011115612a7457612a73612779565b5b612a7f84828561282a565b509392505050565b600082601f830112612a9c57612a9b612774565b5b8135612aac848260208601612a45565b91505092915050565b60008060008060808587031215612acf57612ace612428565b5b6000612add87828801612675565b9450506020612aee87828801612675565b9350506040612aff878288016125c0565b925050606085013567ffffffffffffffff811115612b2057612b1f61242d565b5b612b2c87828801612a87565b91505092959194509250565b60006040820190508181036000830152612b528185612544565b9050612b6160208301846126ca565b9392505050565b60008060408385031215612b7f57612b7e612428565b5b6000612b8d85828601612675565b9250506020612b9e85828601612675565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612bef57607f821691505b602082108103612c0257612c01612ba8565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000612c646021836124f8565b9150612c6f82612c08565b604082019050919050565b60006020820190508181036000830152612c9381612c57565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000612cf6603e836124f8565b9150612d0182612c9a565b604082019050919050565b60006020820190508181036000830152612d2581612ce9565b9050919050565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b6000612d626008836124f8565b9150612d6d82612d2c565b602082019050919050565b60006020820190508181036000830152612d9181612d55565b9050919050565b7f4d7573742073656e6420746865206d696e742070726963650000000000000000600082015250565b6000612dce6018836124f8565b9150612dd982612d98565b602082019050919050565b60006020820190508181036000830152612dfd81612dc1565b9050919050565b600081519050612e13816125a9565b92915050565b600060208284031215612e2f57612e2e612428565b5b6000612e3d84828501612e04565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612eaf8261259f565b9150612eba8361259f565b925082612eca57612ec9612e46565b5b828204905092915050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000612f31602e836124f8565b9150612f3c82612ed5565b604082019050919050565b60006020820190508181036000830152612f6081612f24565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000612f9d6018836124f8565b9150612fa882612f67565b602082019050919050565b60006020820190508181036000830152612fcc81612f90565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b600061302f6029836124f8565b915061303a82612fd3565b604082019050919050565b6000602082019050818103600083015261305e81613022565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026130c77fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261308a565b6130d1868361308a565b95508019841693508086168417925050509392505050565b60006131046130ff6130fa8461259f565b61295e565b61259f565b9050919050565b6000819050919050565b61311e836130e9565b61313261312a8261310b565b848454613097565b825550505050565b600090565b61314761313a565b613152818484613115565b505050565b5b818110156131765761316b60008261313f565b600181019050613158565b5050565b601f8211156131bb5761318c81613065565b6131958461307a565b810160208510156131a4578190505b6131b86131b08561307a565b830182613157565b50505b505050565b600082821c905092915050565b60006131de600019846008026131c0565b1980831691505092915050565b60006131f783836131cd565b9150826002028217905092915050565b613210826124ed565b67ffffffffffffffff8111156132295761322861277e565b5b6132338254612bd7565b61323e82828561317a565b600060209050601f831160018114613271576000841561325f578287015190505b61326985826131eb565b8655506132d1565b601f19841661327f86613065565b60005b828110156132a757848901518255600182019150602085019450602081019050613282565b868310156132c457848901516132c0601f8916826131cd565b8355505b6001600288020188555050505b505050505050565b7f50726f7669646572546f6b656e2e746f6b656e5552493a206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006133356029836124f8565b9150613340826132d9565b604082019050919050565b6000602082019050818103600083015261336481613328565b9050919050565b600081905092915050565b7f7b226e616d65223a220000000000000000000000000000000000000000000000600082015250565b60006133ac60098361336b565b91506133b782613376565b600982019050919050565b60006133cd826124ed565b6133d7818561336b565b93506133e7818560208601612509565b80840191505092915050565b7f222c226465736372697074696f6e223a22000000000000000000000000000000600082015250565b600061342960118361336b565b9150613434826133f3565b601182019050919050565b6000815461344c81612bd7565b613456818661336b565b945060018216600081146134715760018114613486576134b9565b60ff19831686528115158202860193506134b9565b61348f85613065565b60005b838110156134b157815481890152600182019150602081019050613492565b838801955050505b50505092915050565b7f222c2261747472696275746573223a5b00000000000000000000000000000000600082015250565b60006134f860108361336b565b9150613503826134c2565b601082019050919050565b600081519050919050565b600081905092915050565b600061352f8261350e565b6135398185613519565b9350613549818560208601612509565b80840191505092915050565b7f5d2c22696d616765223a22646174613a696d6167652f7376672b786d6c3b626160008201527f736536342c000000000000000000000000000000000000000000000000000000602082015250565b60006135b160258361336b565b91506135bc82613555565b602582019050919050565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b60006135fd60028361336b565b9150613608826135c7565b600282019050919050565b600061361e8261339f565b915061362a82876133c2565b91506136358261341c565b9150613641828661343f565b915061364c826134eb565b91506136588285613524565b9150613663826135a4565b915061366f82846133c2565b915061367a826135f0565b915081905095945050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b60006136be601d8361336b565b91506136c982613688565b601d82019050919050565b60006136df826136b1565b91506136eb82846133c2565b915081905092915050565b60006137018261259f565b915061370c8361259f565b925082820390508181111561372457613723612e75565b5b92915050565b6000815190506137398161265e565b92915050565b60006020828403121561375557613754612428565b5b60006137638482850161372a565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006137c86026836124f8565b91506137d38261376c565b604082019050919050565b600060208201905081810360008301526137f7816137bb565b9050919050565b60006138098261259f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361383b5761383a612e75565b5b600182019050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006138a26025836124f8565b91506138ad82613846565b604082019050919050565b600060208201905081810360008301526138d181613895565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006139346024836124f8565b915061393f826138d8565b604082019050919050565b6000602082019050818103600083015261396381613927565b9050919050565b60006139758261259f565b91506139808361259f565b925082820190508082111561399857613997612e75565b5b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006139d46020836124f8565b91506139df8261399e565b602082019050919050565b60006020820190508181036000830152613a03816139c7565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613a406019836124f8565b9150613a4b82613a0a565b602082019050919050565b60006020820190508181036000830152613a6f81613a33565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613ad26032836124f8565b9150613add82613a76565b604082019050919050565b60006020820190508181036000830152613b0181613ac5565b9050919050565b6000613b1b613b16846127f9565b6127de565b905082815260208101848484011115613b3757613b36612779565b5b613b42848285612509565b509392505050565b600082601f830112613b5f57613b5e612774565b5b8151613b6f848260208601613b08565b91505092915050565b60008060408385031215613b8f57613b8e612428565b5b600083015167ffffffffffffffff811115613bad57613bac61242d565b5b613bb985828601613b4a565b925050602083015167ffffffffffffffff811115613bda57613bd961242d565b5b613be685828601613b4a565b9150509250929050565b7f3c2f646566733e0a3c75736520687265663d2223000000000000000000000000600082015250565b6000613c2660148361336b565b9150613c3182613bf0565b601482019050919050565b7f22202f3e0a3c2f7376673e0a0000000000000000000000000000000000000000600082015250565b6000613c72600c8361336b565b9150613c7d82613c3c565b600c82019050919050565b6000613c9482866133c2565b9150613ca082856133c2565b9150613cab82613c19565b9150613cb782846133c2565b9150613cc282613c65565b9150819050949350505050565b7f426974636f696e20000000000000000000000000000000000000000000000000600082015250565b6000613d0560088361336b565b9150613d1082613ccf565b600882019050919050565b6000613d2682613cf8565b9150613d3282846133c2565b915081905092915050565b600060208284031215613d5357613d52612428565b5b600082015167ffffffffffffffff811115613d7157613d7061242d565b5b613d7d84828501613b4a565b91505092915050565b6000613d918261259f565b9150613d9c8361259f565b9250828202613daa8161259f565b91508282048414831517613dc157613dc0612e75565b5b5092915050565b600082825260208201905092915050565b6000613de48261350e565b613dee8185613dc8565b9350613dfe818560208601612509565b613e0781612533565b840191505092915050565b6000608082019050613e276000830187612634565b613e346020830186612634565b613e4160408301856126ca565b8181036060830152613e538184613dd9565b905095945050505050565b600081519050613e6d8161245e565b92915050565b600060208284031215613e8957613e88612428565b5b6000613e9784828501613e5e565b91505092915050565b6000613eab8261259f565b9150613eb68361259f565b925082613ec657613ec5612e46565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000613f366020836124f8565b9150613f4182613f00565b602082019050919050565b60006020820190508181036000830152613f6581613f29565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000613fa2601c836124f8565b9150613fad82613f6c565b602082019050919050565b60006020820190508181036000830152613fd181613f95565b905091905056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f3c7376672076696577426f783d2230203020313032342031303234222020786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f737667223e0a3c646566733e0aa26469706673582212206e4ec9d7d1fc598f3303995cfb24d78590c5bc6624f3851906f5fbdbe849f72764736f6c63430008110033

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

0000000000000000000000006ef6ca41e5eae230bf481ffe99fa231cd8e1d3d8000000000000000000000000dfbf32a5d04aa5cd148415477591109b63b2bfb5000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1

-----Decoded View---------------
Arg [0] : _tokenGate (address): 0x6ef6ca41e5EAe230bf481fFe99Fa231CD8E1d3d8
Arg [1] : _assetProvider (address): 0xdfbf32A5d04aa5CD148415477591109B63b2bfB5
Arg [2] : _proxyRegistry (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000006ef6ca41e5eae230bf481ffe99fa231cd8e1d3d8
Arg [1] : 000000000000000000000000dfbf32a5d04aa5cd148415477591109b63b2bfb5
Arg [2] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.