ERC-721
NFT
Overview
Max Total Supply
3,880 CAPTCHA
Holders
1,597
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 CAPTCHALoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Captcha
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "./BytesLib.sol"; contract Captcha is ERC721Enumerable, ReentrancyGuard, Ownable { using Strings for uint256; using BytesLib for bytes; constructor() ERC721("CAPTCHAS", "CAPTCHA") { published = false; setBaseURI("https://api.thecaptcha.art/metadata/"); setBaseCaptchaURI("https://api.thecaptcha.art/metadata/"); } struct TokenMetadata { string name; address creator; } event Published(); event Mint(uint256 indexed tokenId, string name, address indexed to); uint256 public constant PRICE = 0.05 ether; uint256 public constant MAX_SUPPLY = 10000; bool public published; string public scriptJson; bytes public solvedCaptchaBytes; mapping (uint256 => TokenMetadata) public tokenIdToMetadata; // There is a base captcha URI so that the captcha can be fetched // before the token is minted, but it is the same as the regular URI string private _uriPrefix; string private _captchaUriPrefix; // The hashes must be created outside of the contract and fed in. // Creating them within the contract would leak the solutions bytes private _captchaHashes; function publish() public onlyOwner { require(published == false, "Already Published"); published = true; emit Published(); } // hashes are added as a single bytes string to save storage costs. Every two bytes represent // the hash for the token at that respective index function setCaptchaHashes(bytes calldata hashes) external onlyOwner { _captchaHashes = hashes; } // To make it easier to read which captchas have already been solved, a single bytes // string is stored with each byte representing a boolean of whether the token has been minted or not // boolean bit packing is possible to reduce storage here but would make it more difficult to read all values at once function setSolvedCaptchas(bytes calldata solves) external onlyOwner { require(published == false, "Cannot Set After Published"); solvedCaptchaBytes = solves; } // All information needed to recreate Captcha is stored on chain. Script is Node.js that draws // using Node Canvas instead of the browser Canvas in the event of breaking API changes to the browser Canvas function setGeneratorScript(string memory script) public onlyOwner { scriptJson = script; } function setBaseURI(string memory prefix) public onlyOwner { _uriPrefix = prefix; } function setBaseCaptchaURI(string memory prefix) public onlyOwner { _captchaUriPrefix = prefix; } function _baseURI() override internal view virtual returns (string memory) { return _uriPrefix; } function _verifyCaptcha(uint256 tokenId, string memory captcha) internal view virtual returns (bool) { // prefix is only first four characters (2 bytes) for the sake of storage costs. Potential hash // collisions are not particularly important in this use case. It could easily be increased if needed bytes memory passedInHashPrefix = abi.encodePacked(keccak256(bytes(captcha))).slice(0, 2); // start offset based on token ID as index uint256 start = tokenId * 2; bytes memory correctHashPrefix = bytes.concat(_captchaHashes[start], _captchaHashes[start + 1]); return passedInHashPrefix.equal(correctHashPrefix); } function contractURI() public view returns (string memory) { return string(abi.encodePacked(_uriPrefix, "contract")); } function tokenCaptchaURI(uint256 tokenId) public view virtual returns (string memory) { string memory baseURI = _captchaUriPrefix; return string(abi.encodePacked(baseURI, tokenId.toString())); } function getSolvedCaptchas() public view virtual returns (bytes memory) { return solvedCaptchaBytes; } function withdraw() external onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } function mintCaptcha(uint256 tokenId, string memory solution) public nonReentrant payable { require(!_exists(tokenId), "Captcha Already Solved"); require(_verifyCaptcha(tokenId, solution), "Incorrect Captcha"); require(totalSupply() < MAX_SUPPLY, "Max Minted"); require(msg.value == PRICE, "Wrong Eth Amount"); require(published == true, "Not Published"); TokenMetadata memory metadata; metadata.name = solution; metadata.creator = msg.sender; _safeMint(msg.sender, tokenId); tokenIdToMetadata[tokenId] = metadata; // set this token id as solved solvedCaptchaBytes[tokenId] = hex"01"; emit Mint(tokenId, solution, msg.sender); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: Unlicense /* * @title Solidity Bytes Arrays Utils * @author Gonçalo Sá <[email protected]> * * @dev Bytes tightly packed arrays utility library for ethereum contracts written in Solidity. * The library lets you concatenate, slice and type cast bytes arrays both in memory and storage. */ pragma solidity >=0.8.0 <0.9.0; library BytesLib { function concat( bytes memory _preBytes, bytes memory _postBytes ) internal pure returns (bytes memory) { bytes memory tempBytes; assembly { // Get a location of some free memory and store it in tempBytes as // Solidity does for memory variables. tempBytes := mload(0x40) // Store the length of the first bytes array at the beginning of // the memory for tempBytes. let length := mload(_preBytes) mstore(tempBytes, length) // Maintain a memory counter for the current write location in the // temp bytes array by adding the 32 bytes for the array length to // the starting location. let mc := add(tempBytes, 0x20) // Stop copying when the memory counter reaches the length of the // first bytes array. let end := add(mc, length) for { // Initialize a copy counter to the start of the _preBytes data, // 32 bytes into its memory. let cc := add(_preBytes, 0x20) } lt(mc, end) { // Increase both counters by 32 bytes each iteration. mc := add(mc, 0x20) cc := add(cc, 0x20) } { // Write the _preBytes data into the tempBytes memory 32 bytes // at a time. mstore(mc, mload(cc)) } // Add the length of _postBytes to the current length of tempBytes // and store it as the new length in the first 32 bytes of the // tempBytes memory. length := mload(_postBytes) mstore(tempBytes, add(length, mload(tempBytes))) // Move the memory counter back from a multiple of 0x20 to the // actual end of the _preBytes data. mc := end // Stop copying when the memory counter reaches the new combined // length of the arrays. end := add(mc, length) for { let cc := add(_postBytes, 0x20) } lt(mc, end) { mc := add(mc, 0x20) cc := add(cc, 0x20) } { mstore(mc, mload(cc)) } // Update the free-memory pointer by padding our last write location // to 32 bytes: add 31 bytes to the end of tempBytes to move to the // next 32 byte block, then round down to the nearest multiple of // 32. If the sum of the length of the two arrays is zero then add // one before rounding down to leave a blank 32 bytes (the length block with 0). mstore(0x40, and( add(add(end, iszero(add(length, mload(_preBytes)))), 31), not(31) // Round down to the nearest 32 bytes. )) } return tempBytes; } function concatStorage(bytes storage _preBytes, bytes memory _postBytes) internal { assembly { // Read the first 32 bytes of _preBytes storage, which is the length // of the array. (We don't need to use the offset into the slot // because arrays use the entire slot.) let fslot := sload(_preBytes.slot) // Arrays of 31 bytes or less have an even value in their slot, // while longer arrays have an odd value. The actual length is // the slot divided by two for odd values, and the lowest order // byte divided by two for even values. // If the slot is even, bitwise and the slot with 255 and divide by // two to get the length. If the slot is odd, bitwise and the slot // with -1 and divide by two. let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2) let mlength := mload(_postBytes) let newlength := add(slength, mlength) // slength can contain both the length and contents of the array // if length < 32 bytes so let's prepare for that // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage switch add(lt(slength, 32), lt(newlength, 32)) case 2 { // Since the new array still fits in the slot, we just need to // update the contents of the slot. // uint256(bytes_storage) = uint256(bytes_storage) + uint256(bytes_memory) + new_length sstore( _preBytes.slot, // all the modifications to the slot are inside this // next block add( // we can just add to the slot contents because the // bytes we want to change are the LSBs fslot, add( mul( div( // load the bytes from memory mload(add(_postBytes, 0x20)), // zero all bytes to the right exp(0x100, sub(32, mlength)) ), // and now shift left the number of bytes to // leave space for the length in the slot exp(0x100, sub(32, newlength)) ), // increase length by the double of the memory // bytes length mul(mlength, 2) ) ) ) } case 1 { // The stored value fits in the slot, but the combined value // will exceed it. // get the keccak hash to get the contents of the array mstore(0x0, _preBytes.slot) let sc := add(keccak256(0x0, 0x20), div(slength, 32)) // save new length sstore(_preBytes.slot, add(mul(newlength, 2), 1)) // The contents of the _postBytes array start 32 bytes into // the structure. Our first read should obtain the `submod` // bytes that can fit into the unused space in the last word // of the stored array. To get this, we read 32 bytes starting // from `submod`, so the data we read overlaps with the array // contents by `submod` bytes. Masking the lowest-order // `submod` bytes allows us to add that value directly to the // stored value. let submod := sub(32, slength) let mc := add(_postBytes, submod) let end := add(_postBytes, mlength) let mask := sub(exp(0x100, submod), 1) sstore( sc, add( and( fslot, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00 ), and(mload(mc), mask) ) ) for { mc := add(mc, 0x20) sc := add(sc, 1) } lt(mc, end) { sc := add(sc, 1) mc := add(mc, 0x20) } { sstore(sc, mload(mc)) } mask := exp(0x100, sub(mc, end)) sstore(sc, mul(div(mload(mc), mask), mask)) } default { // get the keccak hash to get the contents of the array mstore(0x0, _preBytes.slot) // Start copying to the last used word of the stored array. let sc := add(keccak256(0x0, 0x20), div(slength, 32)) // save new length sstore(_preBytes.slot, add(mul(newlength, 2), 1)) // Copy over the first `submod` bytes of the new data as in // case 1 above. let slengthmod := mod(slength, 32) let mlengthmod := mod(mlength, 32) let submod := sub(32, slengthmod) let mc := add(_postBytes, submod) let end := add(_postBytes, mlength) let mask := sub(exp(0x100, submod), 1) sstore(sc, add(sload(sc), and(mload(mc), mask))) for { sc := add(sc, 1) mc := add(mc, 0x20) } lt(mc, end) { sc := add(sc, 1) mc := add(mc, 0x20) } { sstore(sc, mload(mc)) } mask := exp(0x100, sub(mc, end)) sstore(sc, mul(div(mload(mc), mask), mask)) } } } function slice( bytes memory _bytes, uint256 _start, uint256 _length ) internal pure returns (bytes memory) { require(_length + 31 >= _length, "slice_overflow"); require(_bytes.length >= _start + _length, "slice_outOfBounds"); bytes memory tempBytes; assembly { switch iszero(_length) case 0 { // Get a location of some free memory and store it in tempBytes as // Solidity does for memory variables. tempBytes := mload(0x40) // The first word of the slice result is potentially a partial // word read from the original array. To read it, we calculate // the length of that partial word and start copying that many // bytes into the array. The first word we copy will start with // data we don't care about, but the last `lengthmod` bytes will // land at the beginning of the contents of the new array. When // we're done copying, we overwrite the full first word with // the actual length of the slice. let lengthmod := and(_length, 31) // The multiplication in the next line is necessary // because when slicing multiples of 32 bytes (lengthmod == 0) // the following copy loop was copying the origin's length // and then ending prematurely not copying everything it should. let mc := add(add(tempBytes, lengthmod), mul(0x20, iszero(lengthmod))) let end := add(mc, _length) for { // The multiplication in the next line has the same exact purpose // as the one above. let cc := add(add(add(_bytes, lengthmod), mul(0x20, iszero(lengthmod))), _start) } lt(mc, end) { mc := add(mc, 0x20) cc := add(cc, 0x20) } { mstore(mc, mload(cc)) } mstore(tempBytes, _length) //update free-memory pointer //allocating the array padded to 32 bytes like the compiler does now mstore(0x40, and(add(mc, 31), not(31))) } //if we want a zero-length slice let's just return a zero-length array default { tempBytes := mload(0x40) //zero out the 32 bytes slice we are about to return //we need to do it because Solidity does not garbage collect mstore(tempBytes, 0) mstore(0x40, add(tempBytes, 0x20)) } } return tempBytes; } function toAddress(bytes memory _bytes, uint256 _start) internal pure returns (address) { require(_bytes.length >= _start + 20, "toAddress_outOfBounds"); address tempAddress; assembly { tempAddress := div(mload(add(add(_bytes, 0x20), _start)), 0x1000000000000000000000000) } return tempAddress; } function toUint8(bytes memory _bytes, uint256 _start) internal pure returns (uint8) { require(_bytes.length >= _start + 1 , "toUint8_outOfBounds"); uint8 tempUint; assembly { tempUint := mload(add(add(_bytes, 0x1), _start)) } return tempUint; } function toUint16(bytes memory _bytes, uint256 _start) internal pure returns (uint16) { require(_bytes.length >= _start + 2, "toUint16_outOfBounds"); uint16 tempUint; assembly { tempUint := mload(add(add(_bytes, 0x2), _start)) } return tempUint; } function toUint32(bytes memory _bytes, uint256 _start) internal pure returns (uint32) { require(_bytes.length >= _start + 4, "toUint32_outOfBounds"); uint32 tempUint; assembly { tempUint := mload(add(add(_bytes, 0x4), _start)) } return tempUint; } function toUint64(bytes memory _bytes, uint256 _start) internal pure returns (uint64) { require(_bytes.length >= _start + 8, "toUint64_outOfBounds"); uint64 tempUint; assembly { tempUint := mload(add(add(_bytes, 0x8), _start)) } return tempUint; } function toUint96(bytes memory _bytes, uint256 _start) internal pure returns (uint96) { require(_bytes.length >= _start + 12, "toUint96_outOfBounds"); uint96 tempUint; assembly { tempUint := mload(add(add(_bytes, 0xc), _start)) } return tempUint; } function toUint128(bytes memory _bytes, uint256 _start) internal pure returns (uint128) { require(_bytes.length >= _start + 16, "toUint128_outOfBounds"); uint128 tempUint; assembly { tempUint := mload(add(add(_bytes, 0x10), _start)) } return tempUint; } function toUint256(bytes memory _bytes, uint256 _start) internal pure returns (uint256) { require(_bytes.length >= _start + 32, "toUint256_outOfBounds"); uint256 tempUint; assembly { tempUint := mload(add(add(_bytes, 0x20), _start)) } return tempUint; } function toBytes32(bytes memory _bytes, uint256 _start) internal pure returns (bytes32) { require(_bytes.length >= _start + 32, "toBytes32_outOfBounds"); bytes32 tempBytes32; assembly { tempBytes32 := mload(add(add(_bytes, 0x20), _start)) } return tempBytes32; } function equal(bytes memory _preBytes, bytes memory _postBytes) internal pure returns (bool) { bool success = true; assembly { let length := mload(_preBytes) // if lengths don't match the arrays are not equal switch eq(length, mload(_postBytes)) case 1 { // cb is a circuit breaker in the for loop since there's // no said feature for inline assembly loops // cb = 1 - don't breaker // cb = 0 - break let cb := 1 let mc := add(_preBytes, 0x20) let end := add(mc, length) for { let cc := add(_postBytes, 0x20) // the next line is the loop condition: // while(uint256(mc < end) + cb == 2) } eq(add(lt(mc, end), cb), 2) { mc := add(mc, 0x20) cc := add(cc, 0x20) } { // if any of these checks fails then arrays are not equal if iszero(eq(mload(mc), mload(cc))) { // unsuccess: success := 0 cb := 0 } } } default { // unsuccess: success := 0 } } return success; } function equalStorage( bytes storage _preBytes, bytes memory _postBytes ) internal view returns (bool) { bool success = true; assembly { // we know _preBytes_offset is 0 let fslot := sload(_preBytes.slot) // Decode the length of the stored array like in concatStorage(). let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2) let mlength := mload(_postBytes) // if lengths don't match the arrays are not equal switch eq(slength, mlength) case 1 { // slength can contain both the length and contents of the array // if length < 32 bytes so let's prepare for that // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage if iszero(iszero(slength)) { switch lt(slength, 32) case 1 { // blank the last byte which is the length fslot := mul(div(fslot, 0x100), 0x100) if iszero(eq(fslot, mload(add(_postBytes, 0x20)))) { // unsuccess: success := 0 } } default { // cb is a circuit breaker in the for loop since there's // no said feature for inline assembly loops // cb = 1 - don't breaker // cb = 0 - break let cb := 1 // get the keccak hash to get the contents of the array mstore(0x0, _preBytes.slot) let sc := keccak256(0x0, 0x20) let mc := add(_postBytes, 0x20) let end := add(mc, mlength) // the next line is the loop condition: // while(uint256(mc < end) + cb == 2) for {} eq(add(lt(mc, end), cb), 2) { sc := add(sc, 1) mc := add(mc, 0x20) } { if iszero(eq(sload(sc), mload(mc))) { // unsuccess: success := 0 cb := 0 } } } } } default { // unsuccess: success := 0 } } return success; } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"name","type":"string"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"Mint","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":[],"name":"Published","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSolvedCaptchas","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"solution","type":"string"}],"name":"mintCaptcha","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publish","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"published","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"scriptJson","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"prefix","type":"string"}],"name":"setBaseCaptchaURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"prefix","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"hashes","type":"bytes"}],"name":"setCaptchaHashes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"script","type":"string"}],"name":"setGeneratorScript","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"solves","type":"bytes"}],"name":"setSolvedCaptchas","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"solvedCaptchaBytes","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenCaptchaURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToMetadata","outputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"address","name":"creator","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040518060400160405280600881526020017f43415054434841530000000000000000000000000000000000000000000000008152506040518060400160405280600781526020017f43415054434841000000000000000000000000000000000000000000000000008152508160009080519060200190620000969291906200039d565b508060019080519060200190620000af9291906200039d565b5050506001600a81905550620000da620000ce6200014f60201b60201c565b6200015760201b60201c565b6000600b60146101000a81548160ff0219169083151502179055506200011f604051806060016040528060248152602001620055f0602491396200021d60201b60201c565b62000149604051806060016040528060248152602001620055f060249139620002c860201b60201c565b62000535565b600033905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200022d6200014f60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002536200037360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620002ac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002a39062000474565b60405180910390fd5b80600f9080519060200190620002c49291906200039d565b5050565b620002d86200014f60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002fe6200037360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000357576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200034e9062000474565b60405180910390fd5b80601090805190602001906200036f9291906200039d565b5050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620003ab90620004a7565b90600052602060002090601f016020900481019282620003cf57600085556200041b565b82601f10620003ea57805160ff19168380011785556200041b565b828001600101855582156200041b579182015b828111156200041a578251825591602001919060010190620003fd565b5b5090506200042a91906200042e565b5090565b5b80821115620004495760008160009055506001016200042f565b5090565b60006200045c60208362000496565b915062000469826200050c565b602082019050919050565b600060208201905081810360008301526200048f816200044d565b9050919050565b600082825260208201905092915050565b60006002820490506001821680620004c057607f821691505b60208210811415620004d757620004d6620004dd565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6150ab80620005456000396000f3fe60806040526004361061020f5760003560e01c80636915bdc611610118578063a22cb465116100a0578063c87b56dd1161006f578063c87b56dd1461077d578063e8a3d485146107ba578063e94254ce146107e5578063e985e9c51461080e578063f2fde38b1461084b5761020f565b8063a22cb465146106b0578063b86d776a146106d9578063b88d4fde14610716578063bf64db1d1461073f5761020f565b80638d4d2b0c116100e75780638d4d2b0c146105d95780638d859f3e146106045780638da5cb5b1461062f57806395d89b411461065a578063999f8d21146106855761020f565b80636915bdc61461053357806370a082311461055c578063715018a61461059957806375733c2f146105b05761020f565b8063354e891f1161019b5780634f6ccce71161016a5780634f6ccce71461044b57806355c5dbcf1461048857806355f804b3146104b15780636352211e146104da57806368733aa2146105175761020f565b8063354e891f146103b557806338d96b4f146103e05780633ccfd60b1461040b57806342842e0e146104225761020f565b8063095ea7b3116101e2578063095ea7b3146102d057806318160ddd146102f957806323b872dd146103245780632f745c591461034d57806332cb6b0c1461038a5761020f565b806301ffc9a71461021457806306fdde0314610251578063075d47821461027c578063081812fc14610293575b600080fd5b34801561022057600080fd5b5061023b6004803603810190610236919061383b565b610874565b604051610248919061401c565b60405180910390f35b34801561025d57600080fd5b506102666108ee565b6040516102739190614059565b60405180910390f35b34801561028857600080fd5b50610291610980565b005b34801561029f57600080fd5b506102ba60048036038101906102b5919061392b565b610a9b565b6040516102c79190613fb5565b60405180910390f35b3480156102dc57600080fd5b506102f760048036038101906102f291906137fb565b610b20565b005b34801561030557600080fd5b5061030e610c38565b60405161031b919061442b565b60405180910390f35b34801561033057600080fd5b5061034b600480360381019061034691906136e5565b610c45565b005b34801561035957600080fd5b50610374600480360381019061036f91906137fb565b610ca5565b604051610381919061442b565b60405180910390f35b34801561039657600080fd5b5061039f610d4a565b6040516103ac919061442b565b60405180910390f35b3480156103c157600080fd5b506103ca610d50565b6040516103d79190614037565b60405180910390f35b3480156103ec57600080fd5b506103f5610de2565b6040516104029190614059565b60405180910390f35b34801561041757600080fd5b50610420610e70565b005b34801561042e57600080fd5b50610449600480360381019061044491906136e5565b610f3b565b005b34801561045757600080fd5b50610472600480360381019061046d919061392b565b610f5b565b60405161047f919061442b565b60405180910390f35b34801561049457600080fd5b506104af60048036038101906104aa91906138e2565b610fcc565b005b3480156104bd57600080fd5b506104d860048036038101906104d391906138e2565b611062565b005b3480156104e657600080fd5b5061050160048036038101906104fc919061392b565b6110f8565b60405161050e9190613fb5565b60405180910390f35b610531600480360381019061052c9190613958565b6111aa565b005b34801561053f57600080fd5b5061055a600480360381019061055591906138e2565b611533565b005b34801561056857600080fd5b50610583600480360381019061057e9190613678565b6115c9565b604051610590919061442b565b60405180910390f35b3480156105a557600080fd5b506105ae611681565b005b3480156105bc57600080fd5b506105d760048036038101906105d29190613895565b611709565b005b3480156105e557600080fd5b506105ee6117f1565b6040516105fb919061401c565b60405180910390f35b34801561061057600080fd5b50610619611804565b604051610626919061442b565b60405180910390f35b34801561063b57600080fd5b5061064461180f565b6040516106519190613fb5565b60405180910390f35b34801561066657600080fd5b5061066f611839565b60405161067c9190614059565b60405180910390f35b34801561069157600080fd5b5061069a6118cb565b6040516106a79190614037565b60405180910390f35b3480156106bc57600080fd5b506106d760048036038101906106d291906137bb565b611959565b005b3480156106e557600080fd5b5061070060048036038101906106fb919061392b565b611ada565b60405161070d9190614059565b60405180910390f35b34801561072257600080fd5b5061073d60048036038101906107389190613738565b611b9d565b005b34801561074b57600080fd5b506107666004803603810190610761919061392b565b611bff565b60405161077492919061407b565b60405180910390f35b34801561078957600080fd5b506107a4600480360381019061079f919061392b565b611ccb565b6040516107b19190614059565b60405180910390f35b3480156107c657600080fd5b506107cf611d72565b6040516107dc9190614059565b60405180910390f35b3480156107f157600080fd5b5061080c60048036038101906108079190613895565b611d9a565b005b34801561081a57600080fd5b50610835600480360381019061083091906136a5565b611e2c565b604051610842919061401c565b60405180910390f35b34801561085757600080fd5b50610872600480360381019061086d9190613678565b611ec0565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108e757506108e682611fb8565b5b9050919050565b6060600080546108fd90614726565b80601f016020809104026020016040519081016040528092919081815260200182805461092990614726565b80156109765780601f1061094b57610100808354040283529160200191610976565b820191906000526020600020905b81548152906001019060200180831161095957829003601f168201915b5050505050905090565b61098861209a565b73ffffffffffffffffffffffffffffffffffffffff166109a661180f565b73ffffffffffffffffffffffffffffffffffffffff16146109fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f3906142eb565b60405180910390fd5b60001515600b60149054906101000a900460ff16151514610a52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a49906143cb565b60405180910390fd5b6001600b60146101000a81548160ff0219169083151502179055507fa5c49e57d43a67a13cd3aba09ccf12eaa3019b35cea872059e78db9c4a70f86c60405160405180910390a1565b6000610aa6826120a2565b610ae5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adc906142cb565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b2b826110f8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b939061434b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bbb61209a565b73ffffffffffffffffffffffffffffffffffffffff161480610bea5750610be981610be461209a565b611e2c565b5b610c29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c209061420b565b60405180910390fd5b610c33838361210e565b505050565b6000600880549050905090565b610c56610c5061209a565b826121c7565b610c95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8c9061436b565b60405180910390fd5b610ca08383836122a5565b505050565b6000610cb0836115c9565b8210610cf1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce8906140eb565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61271081565b6060600d8054610d5f90614726565b80601f0160208091040260200160405190810160405280929190818152602001828054610d8b90614726565b8015610dd85780601f10610dad57610100808354040283529160200191610dd8565b820191906000526020600020905b815481529060010190602001808311610dbb57829003601f168201915b5050505050905090565b600c8054610def90614726565b80601f0160208091040260200160405190810160405280929190818152602001828054610e1b90614726565b8015610e685780601f10610e3d57610100808354040283529160200191610e68565b820191906000526020600020905b815481529060010190602001808311610e4b57829003601f168201915b505050505081565b610e7861209a565b73ffffffffffffffffffffffffffffffffffffffff16610e9661180f565b73ffffffffffffffffffffffffffffffffffffffff1614610eec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee3906142eb565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610f37573d6000803e3d6000fd5b5050565b610f5683838360405180602001604052806000815250611b9d565b505050565b6000610f65610c38565b8210610fa6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9d906143ab565b60405180910390fd5b60088281548110610fba57610fb96148d3565b5b90600052602060002001549050919050565b610fd461209a565b73ffffffffffffffffffffffffffffffffffffffff16610ff261180f565b73ffffffffffffffffffffffffffffffffffffffff1614611048576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103f906142eb565b60405180910390fd5b80600c908051906020019061105e929190613380565b5050565b61106a61209a565b73ffffffffffffffffffffffffffffffffffffffff1661108861180f565b73ffffffffffffffffffffffffffffffffffffffff16146110de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d5906142eb565b60405180910390fd5b80600f90805190602001906110f4929190613380565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111989061426b565b60405180910390fd5b80915050919050565b6002600a5414156111f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e79061440b565b60405180910390fd5b6002600a81905550611201826120a2565b15611241576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611238906140cb565b60405180910390fd5b61124b8282612501565b61128a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112819061422b565b60405180910390fd5b612710611295610c38565b106112d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112cc906141eb565b60405180910390fd5b66b1a2bc2ec50000341461131e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611315906140ab565b60405180910390fd5b60011515600b60149054906101000a900460ff16151514611374576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136b906143eb565b60405180910390fd5b61137c613406565b81816000018190525033816020019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506113c73384612666565b80600e600085815260200190815260200160002060008201518160000190805190602001906113f7929190613380565b5060208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509050507f0100000000000000000000000000000000000000000000000000000000000000600d84815461147190614726565b81106114805761147f6148d3565b5b81546001161561149f5790600052602060002090602091828204019190065b601f036101000a81548160ff021916907f0100000000000000000000000000000000000000000000000000000000000000840402179055503373ffffffffffffffffffffffffffffffffffffffff16837f983d37d8751fcfa80e95e5fe2c0f46fb7b541b280961dc7ac00aa2670e2edd878460405161151e9190614059565b60405180910390a3506001600a819055505050565b61153b61209a565b73ffffffffffffffffffffffffffffffffffffffff1661155961180f565b73ffffffffffffffffffffffffffffffffffffffff16146115af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a6906142eb565b60405180910390fd5b80601090805190602001906115c5929190613380565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561163a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116319061424b565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61168961209a565b73ffffffffffffffffffffffffffffffffffffffff166116a761180f565b73ffffffffffffffffffffffffffffffffffffffff16146116fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f4906142eb565b60405180910390fd5b6117076000612684565b565b61171161209a565b73ffffffffffffffffffffffffffffffffffffffff1661172f61180f565b73ffffffffffffffffffffffffffffffffffffffff1614611785576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177c906142eb565b60405180910390fd5b60001515600b60149054906101000a900460ff161515146117db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d29061428b565b60405180910390fd5b8181600d91906117ec929190613436565b505050565b600b60149054906101000a900460ff1681565b66b1a2bc2ec5000081565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461184890614726565b80601f016020809104026020016040519081016040528092919081815260200182805461187490614726565b80156118c15780601f10611896576101008083540402835291602001916118c1565b820191906000526020600020905b8154815290600101906020018083116118a457829003601f168201915b5050505050905090565b600d80546118d890614726565b80601f016020809104026020016040519081016040528092919081815260200182805461190490614726565b80156119515780601f1061192657610100808354040283529160200191611951565b820191906000526020600020905b81548152906001019060200180831161193457829003601f168201915b505050505081565b61196161209a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c69061418b565b60405180910390fd5b80600560006119dc61209a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a8961209a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ace919061401c565b60405180910390a35050565b6060600060108054611aeb90614726565b80601f0160208091040260200160405190810160405280929190818152602001828054611b1790614726565b8015611b645780601f10611b3957610100808354040283529160200191611b64565b820191906000526020600020905b815481529060010190602001808311611b4757829003601f168201915b5050505050905080611b758461274a565b604051602001611b86929190613f6f565b604051602081830303815290604052915050919050565b611bae611ba861209a565b836121c7565b611bed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be49061436b565b60405180910390fd5b611bf9848484846128ab565b50505050565b600e602052806000526040600020600091509050806000018054611c2290614726565b80601f0160208091040260200160405190810160405280929190818152602001828054611c4e90614726565b8015611c9b5780601f10611c7057610100808354040283529160200191611c9b565b820191906000526020600020905b815481529060010190602001808311611c7e57829003601f168201915b5050505050908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905082565b6060611cd6826120a2565b611d15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0c9061432b565b60405180910390fd5b6000611d1f612907565b90506000815111611d3f5760405180602001604052806000815250611d6a565b80611d498461274a565b604051602001611d5a929190613f6f565b6040516020818303038152906040525b915050919050565b6060600f604051602001611d869190613f93565b604051602081830303815290604052905090565b611da261209a565b73ffffffffffffffffffffffffffffffffffffffff16611dc061180f565b73ffffffffffffffffffffffffffffffffffffffff1614611e16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0d906142eb565b60405180910390fd5b818160119190611e27929190613436565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611ec861209a565b73ffffffffffffffffffffffffffffffffffffffff16611ee661180f565b73ffffffffffffffffffffffffffffffffffffffff1614611f3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f33906142eb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611fac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa39061412b565b60405180910390fd5b611fb581612684565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061208357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612093575061209282612999565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612181836110f8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006121d2826120a2565b612211576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612208906141ab565b60405180910390fd5b600061221c836110f8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061228b57508373ffffffffffffffffffffffffffffffffffffffff1661227384610a9b565b73ffffffffffffffffffffffffffffffffffffffff16145b8061229c575061229b8185611e2c565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166122c5826110f8565b73ffffffffffffffffffffffffffffffffffffffff161461231b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123129061430b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561238b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123829061416b565b60405180910390fd5b612396838383612a03565b6123a160008261210e565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123f19190614606565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124489190614525565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000806125416000600285805190602001206040516020016125239190613f54565b604051602081830303815290604052612b179092919063ffffffff16565b9050600060028561255291906145ac565b90506000601182815461256490614726565b8110612573576125726148d3565b5b8154600116156125925790600052602060002090602091828204019190065b9054901a7f01000000000000000000000000000000000000000000000000000000000000000260116001846125c79190614525565b81546125d290614726565b81106125e1576125e06148d3565b5b8154600116156126005790600052602060002090602091828204019190065b9054901a7f010000000000000000000000000000000000000000000000000000000000000002604051602001612637929190613f28565b604051602081830303815290604052905061265b8184612c3590919063ffffffff16565b935050505092915050565b612680828260405180602001604052806000815250612ca2565b5050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60606000821415612792576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506128a6565b600082905060005b600082146127c45780806127ad90614789565b915050600a826127bd919061457b565b915061279a565b60008167ffffffffffffffff8111156127e0576127df614902565b5b6040519080825280601f01601f1916602001820160405280156128125781602001600182028036833780820191505090505b5090505b6000851461289f5760018261282b9190614606565b9150600a8561283a91906147e6565b60306128469190614525565b60f81b81838151811061285c5761285b6148d3565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612898919061457b565b9450612816565b8093505050505b919050565b6128b68484846122a5565b6128c284848484612cfd565b612901576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f89061410b565b60405180910390fd5b50505050565b6060600f805461291690614726565b80601f016020809104026020016040519081016040528092919081815260200182805461294290614726565b801561298f5780601f106129645761010080835404028352916020019161298f565b820191906000526020600020905b81548152906001019060200180831161297257829003601f168201915b5050505050905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612a0e838383612e94565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612a5157612a4c81612e99565b612a90565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612a8f57612a8e8382612ee2565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ad357612ace8161304f565b612b12565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612b1157612b108282613120565b5b5b505050565b606081601f83612b279190614525565b1015612b68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5f906141cb565b60405180910390fd5b8183612b749190614525565b84511015612bb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bae9061438b565b60405180910390fd5b6060821560008114612bd85760405191506000825260208201604052612c29565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015612c165780518352602083019250602081019050612bf9565b50868552601f19601f8301166040525050505b50809150509392505050565b6000806001905083518351811460018114612c535760009250612c96565b600160208701838101602088015b600284838510011415612c91578051835114612c805760009650600093505b602083019250602081019050612c61565b505050505b50508091505092915050565b612cac838361319f565b612cb96000848484612cfd565b612cf8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cef9061410b565b60405180910390fd5b505050565b6000612d1e8473ffffffffffffffffffffffffffffffffffffffff1661336d565b15612e87578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d4761209a565b8786866040518563ffffffff1660e01b8152600401612d699493929190613fd0565b602060405180830381600087803b158015612d8357600080fd5b505af1925050508015612db457506040513d601f19601f82011682018060405250810190612db19190613868565b60015b612e37573d8060008114612de4576040519150601f19603f3d011682016040523d82523d6000602084013e612de9565b606091505b50600081511415612e2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e269061410b565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612e8c565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612eef846115c9565b612ef99190614606565b9050600060076000848152602001908152602001600020549050818114612fde576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506130639190614606565b9050600060096000848152602001908152602001600020549050600060088381548110613093576130926148d3565b5b9060005260206000200154905080600883815481106130b5576130b46148d3565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613104576131036148a4565b5b6001900381819060005260206000200160009055905550505050565b600061312b836115c9565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561320f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613206906142ab565b60405180910390fd5b613218816120a2565b15613258576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161324f9061414b565b60405180910390fd5b61326460008383612a03565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132b49190614525565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b82805461338c90614726565b90600052602060002090601f0160209004810192826133ae57600085556133f5565b82601f106133c757805160ff19168380011785556133f5565b828001600101855582156133f5579182015b828111156133f45782518255916020019190600101906133d9565b5b50905061340291906134bc565b5090565b604051806040016040528060608152602001600073ffffffffffffffffffffffffffffffffffffffff1681525090565b82805461344290614726565b90600052602060002090601f01602090048101928261346457600085556134ab565b82601f1061347d57803560ff19168380011785556134ab565b828001600101855582156134ab579182015b828111156134aa57823582559160200191906001019061348f565b5b5090506134b891906134bc565b5090565b5b808211156134d55760008160009055506001016134bd565b5090565b60006134ec6134e78461446b565b614446565b90508281526020810184848401111561350857613507614940565b5b6135138482856146e4565b509392505050565b600061352e6135298461449c565b614446565b90508281526020810184848401111561354a57613549614940565b5b6135558482856146e4565b509392505050565b60008135905061356c81615019565b92915050565b60008135905061358181615030565b92915050565b60008135905061359681615047565b92915050565b6000815190506135ab81615047565b92915050565b60008083601f8401126135c7576135c6614936565b5b8235905067ffffffffffffffff8111156135e4576135e3614931565b5b602083019150836001820283011115613600576135ff61493b565b5b9250929050565b600082601f83011261361c5761361b614936565b5b813561362c8482602086016134d9565b91505092915050565b600082601f83011261364a57613649614936565b5b813561365a84826020860161351b565b91505092915050565b6000813590506136728161505e565b92915050565b60006020828403121561368e5761368d61494a565b5b600061369c8482850161355d565b91505092915050565b600080604083850312156136bc576136bb61494a565b5b60006136ca8582860161355d565b92505060206136db8582860161355d565b9150509250929050565b6000806000606084860312156136fe576136fd61494a565b5b600061370c8682870161355d565b935050602061371d8682870161355d565b925050604061372e86828701613663565b9150509250925092565b600080600080608085870312156137525761375161494a565b5b60006137608782880161355d565b94505060206137718782880161355d565b935050604061378287828801613663565b925050606085013567ffffffffffffffff8111156137a3576137a2614945565b5b6137af87828801613607565b91505092959194509250565b600080604083850312156137d2576137d161494a565b5b60006137e08582860161355d565b92505060206137f185828601613572565b9150509250929050565b600080604083850312156138125761381161494a565b5b60006138208582860161355d565b925050602061383185828601613663565b9150509250929050565b6000602082840312156138515761385061494a565b5b600061385f84828501613587565b91505092915050565b60006020828403121561387e5761387d61494a565b5b600061388c8482850161359c565b91505092915050565b600080602083850312156138ac576138ab61494a565b5b600083013567ffffffffffffffff8111156138ca576138c9614945565b5b6138d6858286016135b1565b92509250509250929050565b6000602082840312156138f8576138f761494a565b5b600082013567ffffffffffffffff81111561391657613915614945565b5b61392284828501613635565b91505092915050565b6000602082840312156139415761394061494a565b5b600061394f84828501613663565b91505092915050565b6000806040838503121561396f5761396e61494a565b5b600061397d85828601613663565b925050602083013567ffffffffffffffff81111561399e5761399d614945565b5b6139aa85828601613635565b9150509250929050565b6139bd8161463a565b82525050565b6139cc8161464c565b82525050565b6139e36139de82614658565b6147d2565b82525050565b6139fa6139f582614684565b6147dc565b82525050565b6000613a0b826144e2565b613a1581856144f8565b9350613a258185602086016146f3565b613a2e8161494f565b840191505092915050565b6000613a44826144ed565b613a4e8185614509565b9350613a5e8185602086016146f3565b613a678161494f565b840191505092915050565b6000613a7d826144ed565b613a87818561451a565b9350613a978185602086016146f3565b80840191505092915050565b60008154613ab081614726565b613aba818661451a565b94506001821660008114613ad55760018114613ae657613b19565b60ff19831686528186019350613b19565b613aef856144cd565b60005b83811015613b1157815481890152600182019150602081019050613af2565b838801955050505b50505092915050565b6000613b2f601083614509565b9150613b3a82614960565b602082019050919050565b6000613b52601683614509565b9150613b5d82614989565b602082019050919050565b6000613b75602b83614509565b9150613b80826149b2565b604082019050919050565b6000613b98603283614509565b9150613ba382614a01565b604082019050919050565b6000613bbb602683614509565b9150613bc682614a50565b604082019050919050565b6000613bde601c83614509565b9150613be982614a9f565b602082019050919050565b6000613c01602483614509565b9150613c0c82614ac8565b604082019050919050565b6000613c24601983614509565b9150613c2f82614b17565b602082019050919050565b6000613c47602c83614509565b9150613c5282614b40565b604082019050919050565b6000613c6a600e83614509565b9150613c7582614b8f565b602082019050919050565b6000613c8d600a83614509565b9150613c9882614bb8565b602082019050919050565b6000613cb0603883614509565b9150613cbb82614be1565b604082019050919050565b6000613cd3601183614509565b9150613cde82614c30565b602082019050919050565b6000613cf6602a83614509565b9150613d0182614c59565b604082019050919050565b6000613d19602983614509565b9150613d2482614ca8565b604082019050919050565b6000613d3c60088361451a565b9150613d4782614cf7565b600882019050919050565b6000613d5f601a83614509565b9150613d6a82614d20565b602082019050919050565b6000613d82602083614509565b9150613d8d82614d49565b602082019050919050565b6000613da5602c83614509565b9150613db082614d72565b604082019050919050565b6000613dc8602083614509565b9150613dd382614dc1565b602082019050919050565b6000613deb602983614509565b9150613df682614dea565b604082019050919050565b6000613e0e602f83614509565b9150613e1982614e39565b604082019050919050565b6000613e31602183614509565b9150613e3c82614e88565b604082019050919050565b6000613e54603183614509565b9150613e5f82614ed7565b604082019050919050565b6000613e77601183614509565b9150613e8282614f26565b602082019050919050565b6000613e9a602c83614509565b9150613ea582614f4f565b604082019050919050565b6000613ebd601183614509565b9150613ec882614f9e565b602082019050919050565b6000613ee0600d83614509565b9150613eeb82614fc7565b602082019050919050565b6000613f03601f83614509565b9150613f0e82614ff0565b602082019050919050565b613f22816146da565b82525050565b6000613f3482856139d2565b600182019150613f4482846139d2565b6001820191508190509392505050565b6000613f6082846139e9565b60208201915081905092915050565b6000613f7b8285613a72565b9150613f878284613a72565b91508190509392505050565b6000613f9f8284613aa3565b9150613faa82613d2f565b915081905092915050565b6000602082019050613fca60008301846139b4565b92915050565b6000608082019050613fe560008301876139b4565b613ff260208301866139b4565b613fff6040830185613f19565b81810360608301526140118184613a00565b905095945050505050565b600060208201905061403160008301846139c3565b92915050565b600060208201905081810360008301526140518184613a00565b905092915050565b600060208201905081810360008301526140738184613a39565b905092915050565b600060408201905081810360008301526140958185613a39565b90506140a460208301846139b4565b9392505050565b600060208201905081810360008301526140c481613b22565b9050919050565b600060208201905081810360008301526140e481613b45565b9050919050565b6000602082019050818103600083015261410481613b68565b9050919050565b6000602082019050818103600083015261412481613b8b565b9050919050565b6000602082019050818103600083015261414481613bae565b9050919050565b6000602082019050818103600083015261416481613bd1565b9050919050565b6000602082019050818103600083015261418481613bf4565b9050919050565b600060208201905081810360008301526141a481613c17565b9050919050565b600060208201905081810360008301526141c481613c3a565b9050919050565b600060208201905081810360008301526141e481613c5d565b9050919050565b6000602082019050818103600083015261420481613c80565b9050919050565b6000602082019050818103600083015261422481613ca3565b9050919050565b6000602082019050818103600083015261424481613cc6565b9050919050565b6000602082019050818103600083015261426481613ce9565b9050919050565b6000602082019050818103600083015261428481613d0c565b9050919050565b600060208201905081810360008301526142a481613d52565b9050919050565b600060208201905081810360008301526142c481613d75565b9050919050565b600060208201905081810360008301526142e481613d98565b9050919050565b6000602082019050818103600083015261430481613dbb565b9050919050565b6000602082019050818103600083015261432481613dde565b9050919050565b6000602082019050818103600083015261434481613e01565b9050919050565b6000602082019050818103600083015261436481613e24565b9050919050565b6000602082019050818103600083015261438481613e47565b9050919050565b600060208201905081810360008301526143a481613e6a565b9050919050565b600060208201905081810360008301526143c481613e8d565b9050919050565b600060208201905081810360008301526143e481613eb0565b9050919050565b6000602082019050818103600083015261440481613ed3565b9050919050565b6000602082019050818103600083015261442481613ef6565b9050919050565b60006020820190506144406000830184613f19565b92915050565b6000614450614461565b905061445c8282614758565b919050565b6000604051905090565b600067ffffffffffffffff82111561448657614485614902565b5b61448f8261494f565b9050602081019050919050565b600067ffffffffffffffff8211156144b7576144b6614902565b5b6144c08261494f565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614530826146da565b915061453b836146da565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156145705761456f614817565b5b828201905092915050565b6000614586826146da565b9150614591836146da565b9250826145a1576145a0614846565b5b828204905092915050565b60006145b7826146da565b91506145c2836146da565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156145fb576145fa614817565b5b828202905092915050565b6000614611826146da565b915061461c836146da565b92508282101561462f5761462e614817565b5b828203905092915050565b6000614645826146ba565b9050919050565b60008115159050919050565b60007fff0000000000000000000000000000000000000000000000000000000000000082169050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156147115780820151818401526020810190506146f6565b83811115614720576000848401525b50505050565b6000600282049050600182168061473e57607f821691505b6020821081141561475257614751614875565b5b50919050565b6147618261494f565b810181811067ffffffffffffffff821117156147805761477f614902565b5b80604052505050565b6000614794826146da565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156147c7576147c6614817565b5b600182019050919050565b6000819050919050565b6000819050919050565b60006147f1826146da565b91506147fc836146da565b92508261480c5761480b614846565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f57726f6e672045746820416d6f756e7400000000000000000000000000000000600082015250565b7f4361707463686120416c726561647920536f6c76656400000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f736c6963655f6f766572666c6f77000000000000000000000000000000000000600082015250565b7f4d6178204d696e74656400000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f496e636f72726563742043617074636861000000000000000000000000000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f636f6e7472616374000000000000000000000000000000000000000000000000600082015250565b7f43616e6e6f7420536574204166746572205075626c6973686564000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f736c6963655f6f75744f66426f756e6473000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f416c7265616479205075626c6973686564000000000000000000000000000000600082015250565b7f4e6f74205075626c697368656400000000000000000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6150228161463a565b811461502d57600080fd5b50565b6150398161464c565b811461504457600080fd5b50565b6150508161468e565b811461505b57600080fd5b50565b615067816146da565b811461507257600080fd5b5056fea2646970667358221220ee09925d4659a5851c61f1310b7ce32ed59f3cc7e100e807bd7aa6395ddd89e664736f6c6343000807003368747470733a2f2f6170692e746865636170746368612e6172742f6d657461646174612f
Deployed Bytecode
0x60806040526004361061020f5760003560e01c80636915bdc611610118578063a22cb465116100a0578063c87b56dd1161006f578063c87b56dd1461077d578063e8a3d485146107ba578063e94254ce146107e5578063e985e9c51461080e578063f2fde38b1461084b5761020f565b8063a22cb465146106b0578063b86d776a146106d9578063b88d4fde14610716578063bf64db1d1461073f5761020f565b80638d4d2b0c116100e75780638d4d2b0c146105d95780638d859f3e146106045780638da5cb5b1461062f57806395d89b411461065a578063999f8d21146106855761020f565b80636915bdc61461053357806370a082311461055c578063715018a61461059957806375733c2f146105b05761020f565b8063354e891f1161019b5780634f6ccce71161016a5780634f6ccce71461044b57806355c5dbcf1461048857806355f804b3146104b15780636352211e146104da57806368733aa2146105175761020f565b8063354e891f146103b557806338d96b4f146103e05780633ccfd60b1461040b57806342842e0e146104225761020f565b8063095ea7b3116101e2578063095ea7b3146102d057806318160ddd146102f957806323b872dd146103245780632f745c591461034d57806332cb6b0c1461038a5761020f565b806301ffc9a71461021457806306fdde0314610251578063075d47821461027c578063081812fc14610293575b600080fd5b34801561022057600080fd5b5061023b6004803603810190610236919061383b565b610874565b604051610248919061401c565b60405180910390f35b34801561025d57600080fd5b506102666108ee565b6040516102739190614059565b60405180910390f35b34801561028857600080fd5b50610291610980565b005b34801561029f57600080fd5b506102ba60048036038101906102b5919061392b565b610a9b565b6040516102c79190613fb5565b60405180910390f35b3480156102dc57600080fd5b506102f760048036038101906102f291906137fb565b610b20565b005b34801561030557600080fd5b5061030e610c38565b60405161031b919061442b565b60405180910390f35b34801561033057600080fd5b5061034b600480360381019061034691906136e5565b610c45565b005b34801561035957600080fd5b50610374600480360381019061036f91906137fb565b610ca5565b604051610381919061442b565b60405180910390f35b34801561039657600080fd5b5061039f610d4a565b6040516103ac919061442b565b60405180910390f35b3480156103c157600080fd5b506103ca610d50565b6040516103d79190614037565b60405180910390f35b3480156103ec57600080fd5b506103f5610de2565b6040516104029190614059565b60405180910390f35b34801561041757600080fd5b50610420610e70565b005b34801561042e57600080fd5b50610449600480360381019061044491906136e5565b610f3b565b005b34801561045757600080fd5b50610472600480360381019061046d919061392b565b610f5b565b60405161047f919061442b565b60405180910390f35b34801561049457600080fd5b506104af60048036038101906104aa91906138e2565b610fcc565b005b3480156104bd57600080fd5b506104d860048036038101906104d391906138e2565b611062565b005b3480156104e657600080fd5b5061050160048036038101906104fc919061392b565b6110f8565b60405161050e9190613fb5565b60405180910390f35b610531600480360381019061052c9190613958565b6111aa565b005b34801561053f57600080fd5b5061055a600480360381019061055591906138e2565b611533565b005b34801561056857600080fd5b50610583600480360381019061057e9190613678565b6115c9565b604051610590919061442b565b60405180910390f35b3480156105a557600080fd5b506105ae611681565b005b3480156105bc57600080fd5b506105d760048036038101906105d29190613895565b611709565b005b3480156105e557600080fd5b506105ee6117f1565b6040516105fb919061401c565b60405180910390f35b34801561061057600080fd5b50610619611804565b604051610626919061442b565b60405180910390f35b34801561063b57600080fd5b5061064461180f565b6040516106519190613fb5565b60405180910390f35b34801561066657600080fd5b5061066f611839565b60405161067c9190614059565b60405180910390f35b34801561069157600080fd5b5061069a6118cb565b6040516106a79190614037565b60405180910390f35b3480156106bc57600080fd5b506106d760048036038101906106d291906137bb565b611959565b005b3480156106e557600080fd5b5061070060048036038101906106fb919061392b565b611ada565b60405161070d9190614059565b60405180910390f35b34801561072257600080fd5b5061073d60048036038101906107389190613738565b611b9d565b005b34801561074b57600080fd5b506107666004803603810190610761919061392b565b611bff565b60405161077492919061407b565b60405180910390f35b34801561078957600080fd5b506107a4600480360381019061079f919061392b565b611ccb565b6040516107b19190614059565b60405180910390f35b3480156107c657600080fd5b506107cf611d72565b6040516107dc9190614059565b60405180910390f35b3480156107f157600080fd5b5061080c60048036038101906108079190613895565b611d9a565b005b34801561081a57600080fd5b50610835600480360381019061083091906136a5565b611e2c565b604051610842919061401c565b60405180910390f35b34801561085757600080fd5b50610872600480360381019061086d9190613678565b611ec0565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108e757506108e682611fb8565b5b9050919050565b6060600080546108fd90614726565b80601f016020809104026020016040519081016040528092919081815260200182805461092990614726565b80156109765780601f1061094b57610100808354040283529160200191610976565b820191906000526020600020905b81548152906001019060200180831161095957829003601f168201915b5050505050905090565b61098861209a565b73ffffffffffffffffffffffffffffffffffffffff166109a661180f565b73ffffffffffffffffffffffffffffffffffffffff16146109fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f3906142eb565b60405180910390fd5b60001515600b60149054906101000a900460ff16151514610a52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a49906143cb565b60405180910390fd5b6001600b60146101000a81548160ff0219169083151502179055507fa5c49e57d43a67a13cd3aba09ccf12eaa3019b35cea872059e78db9c4a70f86c60405160405180910390a1565b6000610aa6826120a2565b610ae5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adc906142cb565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b2b826110f8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b939061434b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bbb61209a565b73ffffffffffffffffffffffffffffffffffffffff161480610bea5750610be981610be461209a565b611e2c565b5b610c29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c209061420b565b60405180910390fd5b610c33838361210e565b505050565b6000600880549050905090565b610c56610c5061209a565b826121c7565b610c95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8c9061436b565b60405180910390fd5b610ca08383836122a5565b505050565b6000610cb0836115c9565b8210610cf1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce8906140eb565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61271081565b6060600d8054610d5f90614726565b80601f0160208091040260200160405190810160405280929190818152602001828054610d8b90614726565b8015610dd85780601f10610dad57610100808354040283529160200191610dd8565b820191906000526020600020905b815481529060010190602001808311610dbb57829003601f168201915b5050505050905090565b600c8054610def90614726565b80601f0160208091040260200160405190810160405280929190818152602001828054610e1b90614726565b8015610e685780601f10610e3d57610100808354040283529160200191610e68565b820191906000526020600020905b815481529060010190602001808311610e4b57829003601f168201915b505050505081565b610e7861209a565b73ffffffffffffffffffffffffffffffffffffffff16610e9661180f565b73ffffffffffffffffffffffffffffffffffffffff1614610eec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee3906142eb565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610f37573d6000803e3d6000fd5b5050565b610f5683838360405180602001604052806000815250611b9d565b505050565b6000610f65610c38565b8210610fa6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9d906143ab565b60405180910390fd5b60088281548110610fba57610fb96148d3565b5b90600052602060002001549050919050565b610fd461209a565b73ffffffffffffffffffffffffffffffffffffffff16610ff261180f565b73ffffffffffffffffffffffffffffffffffffffff1614611048576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103f906142eb565b60405180910390fd5b80600c908051906020019061105e929190613380565b5050565b61106a61209a565b73ffffffffffffffffffffffffffffffffffffffff1661108861180f565b73ffffffffffffffffffffffffffffffffffffffff16146110de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d5906142eb565b60405180910390fd5b80600f90805190602001906110f4929190613380565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111989061426b565b60405180910390fd5b80915050919050565b6002600a5414156111f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e79061440b565b60405180910390fd5b6002600a81905550611201826120a2565b15611241576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611238906140cb565b60405180910390fd5b61124b8282612501565b61128a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112819061422b565b60405180910390fd5b612710611295610c38565b106112d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112cc906141eb565b60405180910390fd5b66b1a2bc2ec50000341461131e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611315906140ab565b60405180910390fd5b60011515600b60149054906101000a900460ff16151514611374576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136b906143eb565b60405180910390fd5b61137c613406565b81816000018190525033816020019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506113c73384612666565b80600e600085815260200190815260200160002060008201518160000190805190602001906113f7929190613380565b5060208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509050507f0100000000000000000000000000000000000000000000000000000000000000600d84815461147190614726565b81106114805761147f6148d3565b5b81546001161561149f5790600052602060002090602091828204019190065b601f036101000a81548160ff021916907f0100000000000000000000000000000000000000000000000000000000000000840402179055503373ffffffffffffffffffffffffffffffffffffffff16837f983d37d8751fcfa80e95e5fe2c0f46fb7b541b280961dc7ac00aa2670e2edd878460405161151e9190614059565b60405180910390a3506001600a819055505050565b61153b61209a565b73ffffffffffffffffffffffffffffffffffffffff1661155961180f565b73ffffffffffffffffffffffffffffffffffffffff16146115af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a6906142eb565b60405180910390fd5b80601090805190602001906115c5929190613380565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561163a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116319061424b565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61168961209a565b73ffffffffffffffffffffffffffffffffffffffff166116a761180f565b73ffffffffffffffffffffffffffffffffffffffff16146116fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f4906142eb565b60405180910390fd5b6117076000612684565b565b61171161209a565b73ffffffffffffffffffffffffffffffffffffffff1661172f61180f565b73ffffffffffffffffffffffffffffffffffffffff1614611785576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177c906142eb565b60405180910390fd5b60001515600b60149054906101000a900460ff161515146117db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d29061428b565b60405180910390fd5b8181600d91906117ec929190613436565b505050565b600b60149054906101000a900460ff1681565b66b1a2bc2ec5000081565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461184890614726565b80601f016020809104026020016040519081016040528092919081815260200182805461187490614726565b80156118c15780601f10611896576101008083540402835291602001916118c1565b820191906000526020600020905b8154815290600101906020018083116118a457829003601f168201915b5050505050905090565b600d80546118d890614726565b80601f016020809104026020016040519081016040528092919081815260200182805461190490614726565b80156119515780601f1061192657610100808354040283529160200191611951565b820191906000526020600020905b81548152906001019060200180831161193457829003601f168201915b505050505081565b61196161209a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c69061418b565b60405180910390fd5b80600560006119dc61209a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a8961209a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ace919061401c565b60405180910390a35050565b6060600060108054611aeb90614726565b80601f0160208091040260200160405190810160405280929190818152602001828054611b1790614726565b8015611b645780601f10611b3957610100808354040283529160200191611b64565b820191906000526020600020905b815481529060010190602001808311611b4757829003601f168201915b5050505050905080611b758461274a565b604051602001611b86929190613f6f565b604051602081830303815290604052915050919050565b611bae611ba861209a565b836121c7565b611bed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be49061436b565b60405180910390fd5b611bf9848484846128ab565b50505050565b600e602052806000526040600020600091509050806000018054611c2290614726565b80601f0160208091040260200160405190810160405280929190818152602001828054611c4e90614726565b8015611c9b5780601f10611c7057610100808354040283529160200191611c9b565b820191906000526020600020905b815481529060010190602001808311611c7e57829003601f168201915b5050505050908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905082565b6060611cd6826120a2565b611d15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0c9061432b565b60405180910390fd5b6000611d1f612907565b90506000815111611d3f5760405180602001604052806000815250611d6a565b80611d498461274a565b604051602001611d5a929190613f6f565b6040516020818303038152906040525b915050919050565b6060600f604051602001611d869190613f93565b604051602081830303815290604052905090565b611da261209a565b73ffffffffffffffffffffffffffffffffffffffff16611dc061180f565b73ffffffffffffffffffffffffffffffffffffffff1614611e16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0d906142eb565b60405180910390fd5b818160119190611e27929190613436565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611ec861209a565b73ffffffffffffffffffffffffffffffffffffffff16611ee661180f565b73ffffffffffffffffffffffffffffffffffffffff1614611f3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f33906142eb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611fac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa39061412b565b60405180910390fd5b611fb581612684565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061208357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612093575061209282612999565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612181836110f8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006121d2826120a2565b612211576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612208906141ab565b60405180910390fd5b600061221c836110f8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061228b57508373ffffffffffffffffffffffffffffffffffffffff1661227384610a9b565b73ffffffffffffffffffffffffffffffffffffffff16145b8061229c575061229b8185611e2c565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166122c5826110f8565b73ffffffffffffffffffffffffffffffffffffffff161461231b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123129061430b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561238b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123829061416b565b60405180910390fd5b612396838383612a03565b6123a160008261210e565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123f19190614606565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124489190614525565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000806125416000600285805190602001206040516020016125239190613f54565b604051602081830303815290604052612b179092919063ffffffff16565b9050600060028561255291906145ac565b90506000601182815461256490614726565b8110612573576125726148d3565b5b8154600116156125925790600052602060002090602091828204019190065b9054901a7f01000000000000000000000000000000000000000000000000000000000000000260116001846125c79190614525565b81546125d290614726565b81106125e1576125e06148d3565b5b8154600116156126005790600052602060002090602091828204019190065b9054901a7f010000000000000000000000000000000000000000000000000000000000000002604051602001612637929190613f28565b604051602081830303815290604052905061265b8184612c3590919063ffffffff16565b935050505092915050565b612680828260405180602001604052806000815250612ca2565b5050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60606000821415612792576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506128a6565b600082905060005b600082146127c45780806127ad90614789565b915050600a826127bd919061457b565b915061279a565b60008167ffffffffffffffff8111156127e0576127df614902565b5b6040519080825280601f01601f1916602001820160405280156128125781602001600182028036833780820191505090505b5090505b6000851461289f5760018261282b9190614606565b9150600a8561283a91906147e6565b60306128469190614525565b60f81b81838151811061285c5761285b6148d3565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612898919061457b565b9450612816565b8093505050505b919050565b6128b68484846122a5565b6128c284848484612cfd565b612901576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f89061410b565b60405180910390fd5b50505050565b6060600f805461291690614726565b80601f016020809104026020016040519081016040528092919081815260200182805461294290614726565b801561298f5780601f106129645761010080835404028352916020019161298f565b820191906000526020600020905b81548152906001019060200180831161297257829003601f168201915b5050505050905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612a0e838383612e94565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612a5157612a4c81612e99565b612a90565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612a8f57612a8e8382612ee2565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ad357612ace8161304f565b612b12565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612b1157612b108282613120565b5b5b505050565b606081601f83612b279190614525565b1015612b68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5f906141cb565b60405180910390fd5b8183612b749190614525565b84511015612bb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bae9061438b565b60405180910390fd5b6060821560008114612bd85760405191506000825260208201604052612c29565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015612c165780518352602083019250602081019050612bf9565b50868552601f19601f8301166040525050505b50809150509392505050565b6000806001905083518351811460018114612c535760009250612c96565b600160208701838101602088015b600284838510011415612c91578051835114612c805760009650600093505b602083019250602081019050612c61565b505050505b50508091505092915050565b612cac838361319f565b612cb96000848484612cfd565b612cf8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cef9061410b565b60405180910390fd5b505050565b6000612d1e8473ffffffffffffffffffffffffffffffffffffffff1661336d565b15612e87578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d4761209a565b8786866040518563ffffffff1660e01b8152600401612d699493929190613fd0565b602060405180830381600087803b158015612d8357600080fd5b505af1925050508015612db457506040513d601f19601f82011682018060405250810190612db19190613868565b60015b612e37573d8060008114612de4576040519150601f19603f3d011682016040523d82523d6000602084013e612de9565b606091505b50600081511415612e2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e269061410b565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612e8c565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612eef846115c9565b612ef99190614606565b9050600060076000848152602001908152602001600020549050818114612fde576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506130639190614606565b9050600060096000848152602001908152602001600020549050600060088381548110613093576130926148d3565b5b9060005260206000200154905080600883815481106130b5576130b46148d3565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613104576131036148a4565b5b6001900381819060005260206000200160009055905550505050565b600061312b836115c9565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561320f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613206906142ab565b60405180910390fd5b613218816120a2565b15613258576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161324f9061414b565b60405180910390fd5b61326460008383612a03565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132b49190614525565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b82805461338c90614726565b90600052602060002090601f0160209004810192826133ae57600085556133f5565b82601f106133c757805160ff19168380011785556133f5565b828001600101855582156133f5579182015b828111156133f45782518255916020019190600101906133d9565b5b50905061340291906134bc565b5090565b604051806040016040528060608152602001600073ffffffffffffffffffffffffffffffffffffffff1681525090565b82805461344290614726565b90600052602060002090601f01602090048101928261346457600085556134ab565b82601f1061347d57803560ff19168380011785556134ab565b828001600101855582156134ab579182015b828111156134aa57823582559160200191906001019061348f565b5b5090506134b891906134bc565b5090565b5b808211156134d55760008160009055506001016134bd565b5090565b60006134ec6134e78461446b565b614446565b90508281526020810184848401111561350857613507614940565b5b6135138482856146e4565b509392505050565b600061352e6135298461449c565b614446565b90508281526020810184848401111561354a57613549614940565b5b6135558482856146e4565b509392505050565b60008135905061356c81615019565b92915050565b60008135905061358181615030565b92915050565b60008135905061359681615047565b92915050565b6000815190506135ab81615047565b92915050565b60008083601f8401126135c7576135c6614936565b5b8235905067ffffffffffffffff8111156135e4576135e3614931565b5b602083019150836001820283011115613600576135ff61493b565b5b9250929050565b600082601f83011261361c5761361b614936565b5b813561362c8482602086016134d9565b91505092915050565b600082601f83011261364a57613649614936565b5b813561365a84826020860161351b565b91505092915050565b6000813590506136728161505e565b92915050565b60006020828403121561368e5761368d61494a565b5b600061369c8482850161355d565b91505092915050565b600080604083850312156136bc576136bb61494a565b5b60006136ca8582860161355d565b92505060206136db8582860161355d565b9150509250929050565b6000806000606084860312156136fe576136fd61494a565b5b600061370c8682870161355d565b935050602061371d8682870161355d565b925050604061372e86828701613663565b9150509250925092565b600080600080608085870312156137525761375161494a565b5b60006137608782880161355d565b94505060206137718782880161355d565b935050604061378287828801613663565b925050606085013567ffffffffffffffff8111156137a3576137a2614945565b5b6137af87828801613607565b91505092959194509250565b600080604083850312156137d2576137d161494a565b5b60006137e08582860161355d565b92505060206137f185828601613572565b9150509250929050565b600080604083850312156138125761381161494a565b5b60006138208582860161355d565b925050602061383185828601613663565b9150509250929050565b6000602082840312156138515761385061494a565b5b600061385f84828501613587565b91505092915050565b60006020828403121561387e5761387d61494a565b5b600061388c8482850161359c565b91505092915050565b600080602083850312156138ac576138ab61494a565b5b600083013567ffffffffffffffff8111156138ca576138c9614945565b5b6138d6858286016135b1565b92509250509250929050565b6000602082840312156138f8576138f761494a565b5b600082013567ffffffffffffffff81111561391657613915614945565b5b61392284828501613635565b91505092915050565b6000602082840312156139415761394061494a565b5b600061394f84828501613663565b91505092915050565b6000806040838503121561396f5761396e61494a565b5b600061397d85828601613663565b925050602083013567ffffffffffffffff81111561399e5761399d614945565b5b6139aa85828601613635565b9150509250929050565b6139bd8161463a565b82525050565b6139cc8161464c565b82525050565b6139e36139de82614658565b6147d2565b82525050565b6139fa6139f582614684565b6147dc565b82525050565b6000613a0b826144e2565b613a1581856144f8565b9350613a258185602086016146f3565b613a2e8161494f565b840191505092915050565b6000613a44826144ed565b613a4e8185614509565b9350613a5e8185602086016146f3565b613a678161494f565b840191505092915050565b6000613a7d826144ed565b613a87818561451a565b9350613a978185602086016146f3565b80840191505092915050565b60008154613ab081614726565b613aba818661451a565b94506001821660008114613ad55760018114613ae657613b19565b60ff19831686528186019350613b19565b613aef856144cd565b60005b83811015613b1157815481890152600182019150602081019050613af2565b838801955050505b50505092915050565b6000613b2f601083614509565b9150613b3a82614960565b602082019050919050565b6000613b52601683614509565b9150613b5d82614989565b602082019050919050565b6000613b75602b83614509565b9150613b80826149b2565b604082019050919050565b6000613b98603283614509565b9150613ba382614a01565b604082019050919050565b6000613bbb602683614509565b9150613bc682614a50565b604082019050919050565b6000613bde601c83614509565b9150613be982614a9f565b602082019050919050565b6000613c01602483614509565b9150613c0c82614ac8565b604082019050919050565b6000613c24601983614509565b9150613c2f82614b17565b602082019050919050565b6000613c47602c83614509565b9150613c5282614b40565b604082019050919050565b6000613c6a600e83614509565b9150613c7582614b8f565b602082019050919050565b6000613c8d600a83614509565b9150613c9882614bb8565b602082019050919050565b6000613cb0603883614509565b9150613cbb82614be1565b604082019050919050565b6000613cd3601183614509565b9150613cde82614c30565b602082019050919050565b6000613cf6602a83614509565b9150613d0182614c59565b604082019050919050565b6000613d19602983614509565b9150613d2482614ca8565b604082019050919050565b6000613d3c60088361451a565b9150613d4782614cf7565b600882019050919050565b6000613d5f601a83614509565b9150613d6a82614d20565b602082019050919050565b6000613d82602083614509565b9150613d8d82614d49565b602082019050919050565b6000613da5602c83614509565b9150613db082614d72565b604082019050919050565b6000613dc8602083614509565b9150613dd382614dc1565b602082019050919050565b6000613deb602983614509565b9150613df682614dea565b604082019050919050565b6000613e0e602f83614509565b9150613e1982614e39565b604082019050919050565b6000613e31602183614509565b9150613e3c82614e88565b604082019050919050565b6000613e54603183614509565b9150613e5f82614ed7565b604082019050919050565b6000613e77601183614509565b9150613e8282614f26565b602082019050919050565b6000613e9a602c83614509565b9150613ea582614f4f565b604082019050919050565b6000613ebd601183614509565b9150613ec882614f9e565b602082019050919050565b6000613ee0600d83614509565b9150613eeb82614fc7565b602082019050919050565b6000613f03601f83614509565b9150613f0e82614ff0565b602082019050919050565b613f22816146da565b82525050565b6000613f3482856139d2565b600182019150613f4482846139d2565b6001820191508190509392505050565b6000613f6082846139e9565b60208201915081905092915050565b6000613f7b8285613a72565b9150613f878284613a72565b91508190509392505050565b6000613f9f8284613aa3565b9150613faa82613d2f565b915081905092915050565b6000602082019050613fca60008301846139b4565b92915050565b6000608082019050613fe560008301876139b4565b613ff260208301866139b4565b613fff6040830185613f19565b81810360608301526140118184613a00565b905095945050505050565b600060208201905061403160008301846139c3565b92915050565b600060208201905081810360008301526140518184613a00565b905092915050565b600060208201905081810360008301526140738184613a39565b905092915050565b600060408201905081810360008301526140958185613a39565b90506140a460208301846139b4565b9392505050565b600060208201905081810360008301526140c481613b22565b9050919050565b600060208201905081810360008301526140e481613b45565b9050919050565b6000602082019050818103600083015261410481613b68565b9050919050565b6000602082019050818103600083015261412481613b8b565b9050919050565b6000602082019050818103600083015261414481613bae565b9050919050565b6000602082019050818103600083015261416481613bd1565b9050919050565b6000602082019050818103600083015261418481613bf4565b9050919050565b600060208201905081810360008301526141a481613c17565b9050919050565b600060208201905081810360008301526141c481613c3a565b9050919050565b600060208201905081810360008301526141e481613c5d565b9050919050565b6000602082019050818103600083015261420481613c80565b9050919050565b6000602082019050818103600083015261422481613ca3565b9050919050565b6000602082019050818103600083015261424481613cc6565b9050919050565b6000602082019050818103600083015261426481613ce9565b9050919050565b6000602082019050818103600083015261428481613d0c565b9050919050565b600060208201905081810360008301526142a481613d52565b9050919050565b600060208201905081810360008301526142c481613d75565b9050919050565b600060208201905081810360008301526142e481613d98565b9050919050565b6000602082019050818103600083015261430481613dbb565b9050919050565b6000602082019050818103600083015261432481613dde565b9050919050565b6000602082019050818103600083015261434481613e01565b9050919050565b6000602082019050818103600083015261436481613e24565b9050919050565b6000602082019050818103600083015261438481613e47565b9050919050565b600060208201905081810360008301526143a481613e6a565b9050919050565b600060208201905081810360008301526143c481613e8d565b9050919050565b600060208201905081810360008301526143e481613eb0565b9050919050565b6000602082019050818103600083015261440481613ed3565b9050919050565b6000602082019050818103600083015261442481613ef6565b9050919050565b60006020820190506144406000830184613f19565b92915050565b6000614450614461565b905061445c8282614758565b919050565b6000604051905090565b600067ffffffffffffffff82111561448657614485614902565b5b61448f8261494f565b9050602081019050919050565b600067ffffffffffffffff8211156144b7576144b6614902565b5b6144c08261494f565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614530826146da565b915061453b836146da565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156145705761456f614817565b5b828201905092915050565b6000614586826146da565b9150614591836146da565b9250826145a1576145a0614846565b5b828204905092915050565b60006145b7826146da565b91506145c2836146da565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156145fb576145fa614817565b5b828202905092915050565b6000614611826146da565b915061461c836146da565b92508282101561462f5761462e614817565b5b828203905092915050565b6000614645826146ba565b9050919050565b60008115159050919050565b60007fff0000000000000000000000000000000000000000000000000000000000000082169050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156147115780820151818401526020810190506146f6565b83811115614720576000848401525b50505050565b6000600282049050600182168061473e57607f821691505b6020821081141561475257614751614875565b5b50919050565b6147618261494f565b810181811067ffffffffffffffff821117156147805761477f614902565b5b80604052505050565b6000614794826146da565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156147c7576147c6614817565b5b600182019050919050565b6000819050919050565b6000819050919050565b60006147f1826146da565b91506147fc836146da565b92508261480c5761480b614846565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f57726f6e672045746820416d6f756e7400000000000000000000000000000000600082015250565b7f4361707463686120416c726561647920536f6c76656400000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f736c6963655f6f766572666c6f77000000000000000000000000000000000000600082015250565b7f4d6178204d696e74656400000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f496e636f72726563742043617074636861000000000000000000000000000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f636f6e7472616374000000000000000000000000000000000000000000000000600082015250565b7f43616e6e6f7420536574204166746572205075626c6973686564000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f736c6963655f6f75744f66426f756e6473000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f416c7265616479205075626c6973686564000000000000000000000000000000600082015250565b7f4e6f74205075626c697368656400000000000000000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6150228161463a565b811461502d57600080fd5b50565b6150398161464c565b811461504457600080fd5b50565b6150508161468e565b811461505b57600080fd5b50565b615067816146da565b811461507257600080fd5b5056fea2646970667358221220ee09925d4659a5851c61f1310b7ce32ed59f3cc7e100e807bd7aa6395ddd89e664736f6c63430008070033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.