ERC-721
Overview
Max Total Supply
600 DOTNOUNS
Holders
333
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 DOTNOUNSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DotNounsToken
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /* * Created by Satoshi Nakajima (@snakajima) */ pragma solidity ^0.8.6; import "@openzeppelin/contracts/utils/Strings.sol"; import './libs/ProviderToken3.sol'; import "./interfaces/ITokenGate.sol"; contract DotNounsToken is ProviderToken3 { using Strings for uint256; ITokenGate public immutable tokenGate; address immutable public designer; constructor( ITokenGate _tokenGate, IAssetProvider _assetProvider, address _designer ) ProviderToken3(_assetProvider, "Dot Nouns", "DOTNOUNS") { tokenGate = _tokenGate; designer = _designer; description = "This is a part of Fully On-chain Generative Art project (https://fullyonchain.xyz/). All images are dymically generated on the blockchain."; mintPrice = 1e16; //0.01 ether, updatable } function tokenName(uint256 _tokenId) internal pure override returns(string memory) { return string(abi.encodePacked('Dot Nouns ', _tokenId.toString())); } function mint() public override virtual payable returns(uint256 tokenId) { require(nextTokenId < 2500, "Sold out"); // hard limit, regardless of updatable "mintLimit" require(msg.value >= mintPriceFor(msg.sender), 'Must send the mint price'); require(balanceOf(msg.sender) < 3, "Too many tokens"); // Special case for Nouns 245 if (nextTokenId == 245) { tokenId = nextTokenId++; _safeMint(owner(), tokenId); } tokenId = super.mint(); uint royalty = msg.value / 5; // 20% to the designer address payable payableTo = payable(designer); payableTo.transfer(royalty); assetProvider.processPayout{value:msg.value - royalty}(tokenId); // 100% distribution to the asset provider } function mintLimit() public view override returns(uint256) { return assetProvider.totalSupply(); } function mintPriceFor(address _wallet) public override view virtual returns(uint256) { if (balanceOf(_wallet) == 1) { return mintPrice * 2; // x2 for second } else if (balanceOf(_wallet) == 2) { return mintPrice * 4; // x4 for third } if (tokenGate.balanceOf(_wallet) > 0) { return mintPrice / 2; // 50% off } return mintPrice; } function _processRoyalty(uint _salesPrice, uint _tokenId) internal override returns(uint256 royalty) { royalty = _salesPrice * 50 / 1000; // 5.0% assetProvider.processPayout{value:royalty}(_tokenId); } }
// SPDX-License-Identifier: MIT /** * This is a part of an effort to create a decentralized autonomous marketplace for digital assets, * which allows artists and developers to sell their arts and generative arts. * * Please see "https://fullyonchain.xyz/" for details. * * Created by Satoshi Nakajima (@snakajima) */ pragma solidity ^0.8.6; // import { Ownable } from '@openzeppelin/contracts/access/Ownable.sol'; // import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "../packages/ERC721P2P/ERC721P2P.sol"; import { Base64 } from 'base64-sol/base64.sol'; import "@openzeppelin/contracts/utils/Strings.sol"; import "assetprovider.sol/IAssetProvider.sol"; /** * ProviderToken is an abstract implentation of ERC721, which is built on top of an asset provider. * The specified asset provider is responsible in providing images for NFTs in SVG format, * which turns them into fully on-chain NFTs. * * When implementing the mint method, and it should call processPayout method of the asset provider like this: * * provider.processPayout{value:msg.value}(assetId) * */ abstract contract ProviderToken3 is ERC721P2P { using Strings for uint256; using Strings for uint16; uint public nextTokenId; // To be specified by the concrete contract string public description; uint public mintPrice; uint internal _mintLimit; // with a virtual getter IAssetProvider public immutable assetProvider; constructor( IAssetProvider _assetProvider, string memory _title, string memory _shortTitle ) ERC721(_title, _shortTitle) { assetProvider = _assetProvider; } function setDescription(string memory _description) external onlyOwner { description = _description; } function setMintPrice(uint256 _price) external onlyOwner { mintPrice = _price; } function setMintLimit(uint256 _limit) external onlyOwner { _mintLimit = _limit; } function mintLimit() public view virtual returns(uint256) { return _mintLimit; } string constant SVGHeader = '<svg viewBox="0 0 1024 1024' '" xmlns="http://www.w3.org/2000/svg">\n' '<defs>\n'; /* * A function of IAssetStoreToken interface. * It generates SVG with the specified style, using the given "SVG Part". */ function generateSVG(uint256 _assetId) internal view returns (string memory) { // Constants of non-value type not yet implemented by Solidity (string memory svgPart, string memory tag) = assetProvider.generateSVGPart(_assetId); return string(abi.encodePacked( SVGHeader, svgPart, '</defs>\n' '<use href="#', tag, '" />\n' '</svg>\n')); } /** * @notice A distinct Uniform Resource Identifier (URI) for a given asset. * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 _tokenId) public view override returns (string memory) { require(_exists(_tokenId), 'ProviderToken.tokenURI: nonexistent token'); bytes memory image = bytes(generateSVG(_tokenId)); return string( abi.encodePacked( 'data:application/json;base64,', Base64.encode( bytes( abi.encodePacked( '{"name":"', tokenName(_tokenId), '","description":"', description, '","attributes":[', generateTraits(_tokenId), '],"image":"data:image/svg+xml;base64,', Base64.encode(image), '"}') ) ) ) ); } function tokenName(uint256 _tokenId) internal view virtual returns(string memory) { return _tokenId.toString(); } /** * For non-free minting, * 1. Override this method * 2. Check for the required payment, by calling mintPriceFor() * 3. Call the processPayout method of the asset provider with appropriate value */ function mint() public virtual payable returns(uint256 tokenId) { require(nextTokenId < mintLimit(), "Sold out"); tokenId = nextTokenId++; _safeMint(msg.sender, tokenId); } /** * The concreate contract may override to offer custom pricing, * such as token-gated discount. */ function mintPriceFor(address) public virtual view returns(uint256) { return mintPrice; } function totalSupply() public view returns (uint256) { return nextTokenId; } function generateTraits(uint256 _tokenId) internal view returns (bytes memory traits) { traits = bytes(assetProvider.generateTraits(_tokenId)); } function debugTokenURI(uint256 _tokenId) public view returns (string memory uri, uint256 gas) { gas = gasleft(); uri = tokenURI(_tokenId); gas -= gasleft(); } }
// SPDX-License-Identifier: MIT /* * Created by Satoshi Nakajima (@snakajima) */ pragma solidity ^0.8.6; interface ITokenGate { // Intentially same as ERC721's balanceOf function balanceOf(address _wallet) external view returns (uint256 balance); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0; /// @title Base64 /// @author Brecht Devos - <[email protected]> /// @notice Provides functions for encoding/decoding base64 library Base64 { string internal constant TABLE_ENCODE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; bytes internal constant TABLE_DECODE = hex"0000000000000000000000000000000000000000000000000000000000000000" hex"00000000000000000000003e0000003f3435363738393a3b3c3d000000000000" hex"00000102030405060708090a0b0c0d0e0f101112131415161718190000000000" hex"001a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132330000000000"; function encode(bytes memory data) internal pure returns (string memory) { if (data.length == 0) return ''; // load the table into memory string memory table = TABLE_ENCODE; // multiply by 4/3 rounded up uint256 encodedLen = 4 * ((data.length + 2) / 3); // add some extra buffer at the end required for the writing string memory result = new string(encodedLen + 32); assembly { // set the actual output length mstore(result, encodedLen) // prepare the lookup table let tablePtr := add(table, 1) // input ptr let dataPtr := data let endPtr := add(dataPtr, mload(data)) // result ptr, jump over length let resultPtr := add(result, 32) // run over the input, 3 bytes at a time for {} lt(dataPtr, endPtr) {} { // read 3 bytes dataPtr := add(dataPtr, 3) let input := mload(dataPtr) // write 4 characters mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F)))) resultPtr := add(resultPtr, 1) mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F)))) resultPtr := add(resultPtr, 1) mstore8(resultPtr, mload(add(tablePtr, and(shr( 6, input), 0x3F)))) resultPtr := add(resultPtr, 1) mstore8(resultPtr, mload(add(tablePtr, and( input, 0x3F)))) resultPtr := add(resultPtr, 1) } // padding with '=' switch mod(mload(data), 3) case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) } case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) } } return result; } function decode(string memory _data) internal pure returns (bytes memory) { bytes memory data = bytes(_data); if (data.length == 0) return new bytes(0); require(data.length % 4 == 0, "invalid base64 decoder input"); // load the table into memory bytes memory table = TABLE_DECODE; // every 4 characters represent 3 bytes uint256 decodedLen = (data.length / 4) * 3; // add some extra buffer at the end required for the writing bytes memory result = new bytes(decodedLen + 32); assembly { // padding with '=' let lastBytes := mload(add(data, mload(data))) if eq(and(lastBytes, 0xFF), 0x3d) { decodedLen := sub(decodedLen, 1) if eq(and(lastBytes, 0xFFFF), 0x3d3d) { decodedLen := sub(decodedLen, 1) } } // set the actual output length mstore(result, decodedLen) // prepare the lookup table let tablePtr := add(table, 1) // input ptr let dataPtr := data let endPtr := add(dataPtr, mload(data)) // result ptr, jump over length let resultPtr := add(result, 32) // run over the input, 4 characters at a time for {} lt(dataPtr, endPtr) {} { // read 4 characters dataPtr := add(dataPtr, 4) let input := mload(dataPtr) // write 3 bytes let output := add( add( shl(18, and(mload(add(tablePtr, and(shr(24, input), 0xFF))), 0xFF)), shl(12, and(mload(add(tablePtr, and(shr(16, input), 0xFF))), 0xFF))), add( shl( 6, and(mload(add(tablePtr, and(shr( 8, input), 0xFF))), 0xFF)), and(mload(add(tablePtr, and( input , 0xFF))), 0xFF) ) ) mstore(resultPtr, shl(232, output)) resultPtr := add(resultPtr, 3) } } return result; } }
// SPDX-License-Identifier: MIT /** * This is a part of an effort to create a decentralized autonomous marketplace for digital assets, * which allows artists and developers to sell their arts and generative arts. * * Please see "https://fullyonchain.xyz/" for details. * * Created by Satoshi Nakajima (@snakajima) */ pragma solidity ^0.8.6; /** * IAssetProvider is the interface each asset provider implements. * We assume there are three types of asset providers. * 1. Static asset provider, which has a collection of assets (either in the storage or the code) and returns them. * 2. Generative provider, which dynamically (but deterministically from the seed) generates assets. * 3. Data visualizer, which generates assets based on various data on the blockchain. * * Note: Asset providers MUST implements IERC165 (supportsInterface method) as well. */ interface IAssetProvider { struct ProviderInfo { string key; // short and unique identifier of this provider (e.g., "asset") string name; // human readable display name (e.g., "Asset Store") IAssetProvider provider; } function getProviderInfo() external view returns(ProviderInfo memory); /** * This function returns SVGPart and the tag. The SVGPart consists of one or more SVG elements. * The tag specifies the identifier of the SVG element to be displayed (using <use> tag). * The tag is the combination of the provider key and assetId (e.e., "asset123") */ function generateSVGPart(uint256 _assetId) external view returns(string memory svgPart, string memory tag); /** * This is an optional function, which returns various traits of the image for ERC721 token. * Format: {"trait_type":"TRAIL_TYPE","value":"VALUE"},{...} */ function generateTraits(uint256 _assetId) external view returns (string memory); /** * This function returns the number of assets available from this provider. * If the total supply is 100, assetIds of available assets are 0,1,...99. * The generative providers may returns 0, which indicates the provider dynamically but * deterministically generates assets using the given assetId as the random seed. */ function totalSupply() external view returns(uint256); /** * Returns the onwer. The registration update is possible only if both contracts have the same owner. */ function getOwner() external view returns (address); /** * This function processes the royalty payment from the decentralized autonomous marketplace. */ function processPayout(uint256 _assetId) external payable; event Payout(string providerKey, uint256 assetId, address payable to, uint256 amount); } interface IAssetProviderEx is IAssetProvider { function generateSVGDocument(uint256 _assetId) external view returns(string memory document); }
// SPDX-License-Identifier: MIT /** * This is a part of an effort to update ERC271 so that the sales transaction * becomes decentralized and trustless, which makes it possible to enforce * royalities without relying on marketplaces. * * Please see "https://hackmd.io/@snakajima/BJqG3fkSo" for details. * * Created by Satoshi Nakajima (@snakajima) */ pragma solidity ^0.8.6; import "./IERC721P2P.sol"; import { Ownable } from '@openzeppelin/contracts/access/Ownable.sol'; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "./opensea/DefaultOperatorFilterer.sol"; // From https://github.com/ProjectOpenSea/operator-filter-registry/blob/main/src/example/ExampleERC721.sol abstract contract ERC721WithOperatorFilter is ERC721, DefaultOperatorFilterer { function setApprovalForAll(address operator, bool approved) public override virtual onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public override virtual onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom(address from, address to, uint256 tokenId) public override virtual onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public override virtual onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public override virtual onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } } abstract contract ERC721P2P is IERC721P2P, ERC721WithOperatorFilter, Ownable { mapping (uint256 => uint256) prices; function setPriceOf(uint256 _tokenId, uint256 _price) public override { require(ownerOf(_tokenId) == msg.sender, "Only the onwer can set the price"); prices[_tokenId] = _price; } function getPriceOf(uint256 _tokenId) external view override returns(uint256) { return prices[_tokenId]; } function purchase(uint256 _tokenId, address _buyer, address _facilitator) external payable override { uint256 price = prices[_tokenId]; require(price > 0, "Token is not on sale"); require(msg.value >= price, "Not enough fund"); uint256 comission = _processSalesCommission(msg.value, _facilitator); uint256 royalty = _processRoyalty(msg.value, _tokenId); address tokenOwner = ownerOf(_tokenId); address payable payableTo = payable(tokenOwner); payableTo.transfer(msg.value - comission - royalty); _transfer(tokenOwner, _buyer, _tokenId); prices[_tokenId] = 0; // not on sale any more } // 2.5% to the facilitator (marketplace) function _processSalesCommission(uint _salesPrice, address _facilitator) internal virtual returns(uint256 comission) { if (_facilitator != address(0)) { comission = _salesPrice * 25 / 1000; // 2.5% address payable payableTo = payable(_facilitator); payableTo.transfer(comission); } } // Subclass needs to override to pay royalties to creator(s) here function _processRoyalty(uint _salesPrice, uint _tokenId) internal virtual returns(uint256 royalty) { /* royalty = _salesPrice * 50 / 1000; // 5.0% address payable payableTo = payable(address(_creator)); payableTo.transfer(royalty); */ } function acceptOffer(uint256 _tokenId, IERC721Marketplace _dealer, uint256 _price) external override { setPriceOf(_tokenId, _price); _dealer.acceptOffer(this, _tokenId, _price); } /** * If you want to completely disable all the transfers via marketplaces, * override _isApprovedOrOwner like this. * function _isApprovedOrOwner(address spender, uint256 tokenId) internal view override returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner); // only owner can transfer it } */ }
// SPDX-License-Identifier: MIT /** * This is a part of an effort to update ERC271 so that the sales transaction * becomes decentralized and trustless, which makes it possible to enforce * royalities without relying on marketplaces. * * Please see "https://hackmd.io/@snakajima/BJqG3fkSo" for details. * * Created by Satoshi Nakajima (@snakajima) */ pragma solidity ^0.8.6; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; interface IERC721Marketplace { // Make an offer to a specific token function makeAnOffer(IERC721P2P _contract, uint256 _tokenId, uint256 _price) external payable; // Withdraw an offer to a specific token (onlyOfferMaker) function withdrawAnOffer(IERC721P2P _contract, uint256 _tokenId) external; // Get the current offer to the specifiedToken function getTheBestOffer(IERC721P2P _contract, uint256 _tokenId) external view returns(uint256, address); // It will call the purchase method of _contract with the specified amount of payment. function acceptOffer(IERC721P2P _contract, uint256 _tokenId, uint256 _price) external; } interface IERC721P2P is IERC721 { // Set the price of the specified token (onlyTokenOwner) function setPriceOf(uint256 _tokenId, uint256 _price) external; // Get the current price of the specified token function getPriceOf(uint256 _tokenId) external view returns(uint256); // It will transfer the token and distribute the money, including royalties function purchase(uint256 _tokenId, address _buyer, address _facilitator) external payable; // It sets the price and calls the acceptOffer method of _dealer (onlyTokenOwner) function acceptOffer(uint256 _tokenId, IERC721Marketplace _dealer, uint256 _price) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {OperatorFilterer} from "./OperatorFilterer.sol"; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol"; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. */ abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from == msg.sender) { _; return; } if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), msg.sender)) { revert OperatorNotAllowed(msg.sender); } } _; } modifier onlyAllowedOperatorApproval(address operator) virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } _; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function unregister(address addr) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract ITokenGate","name":"_tokenGate","type":"address"},{"internalType":"contract IAssetProvider","name":"_assetProvider","type":"address"},{"internalType":"address","name":"_designer","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"contract IERC721Marketplace","name":"_dealer","type":"address"},{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"acceptOffer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"assetProvider","outputs":[{"internalType":"contract IAssetProvider","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"debugTokenURI","outputs":[{"internalType":"string","name":"uri","type":"string"},{"internalType":"uint256","name":"gas","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"description","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"designer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getPriceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"mintPriceFor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address","name":"_buyer","type":"address"},{"internalType":"address","name":"_facilitator","type":"address"}],"name":"purchase","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_description","type":"string"}],"name":"setDescription","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setMintLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPriceOf","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenGate","outputs":[{"internalType":"contract ITokenGate","name":"","type":"address"}],"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"}]
Contract Creation Code
60e06040523480156200001157600080fd5b5060405162005b1138038062005b1183398181016040528101906200003791906200059d565b816040518060400160405280600981526020017f446f74204e6f756e7300000000000000000000000000000000000000000000008152506040518060400160405280600881526020017f444f544e4f554e53000000000000000000000000000000000000000000000000815250733cc6cdda760b79bafa08df41ecfa224f810dceb6600183838160009081620000ce919062000873565b508060019081620000e0919062000873565b50505060006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115620002d85780156200019e576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b8152600401620001649291906200096b565b600060405180830381600087803b1580156200017f57600080fd5b505af115801562000194573d6000803e3d6000fd5b50505050620002d7565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161462000258576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b81526004016200021e9291906200096b565b600060405180830381600087803b1580156200023957600080fd5b505af11580156200024e573d6000803e3d6000fd5b50505050620002d6565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b8152600401620002a1919062000998565b600060405180830381600087803b158015620002bc57600080fd5b505af1158015620002d1573d6000803e3d6000fd5b505050505b5b5b5050620002fa620002ee620003db60201b60201c565b620003e360201b60201c565b8273ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff16815250505050508273ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff16815250508073ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff16815250506040518060c00160405280608a815260200162005a87608a913960099081620003c3919062000873565b50662386f26fc10000600a81905550505050620009b5565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620004db82620004ae565b9050919050565b6000620004ef82620004ce565b9050919050565b6200050181620004e2565b81146200050d57600080fd5b50565b6000815190506200052181620004f6565b92915050565b60006200053482620004ce565b9050919050565b620005468162000527565b81146200055257600080fd5b50565b60008151905062000566816200053b565b92915050565b6200057781620004ce565b81146200058357600080fd5b50565b60008151905062000597816200056c565b92915050565b600080600060608486031215620005b957620005b8620004a9565b5b6000620005c98682870162000510565b9350506020620005dc8682870162000555565b9250506040620005ef8682870162000586565b9150509250925092565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200067b57607f821691505b60208210810362000691576200069062000633565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620006fb7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620006bc565b620007078683620006bc565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620007546200074e62000748846200071f565b62000729565b6200071f565b9050919050565b6000819050919050565b620007708362000733565b620007886200077f826200075b565b848454620006c9565b825550505050565b600090565b6200079f62000790565b620007ac81848462000765565b505050565b5b81811015620007d457620007c860008262000795565b600181019050620007b2565b5050565b601f8211156200082357620007ed8162000697565b620007f884620006ac565b8101602085101562000808578190505b620008206200081785620006ac565b830182620007b1565b50505b505050565b600082821c905092915050565b6000620008486000198460080262000828565b1980831691505092915050565b600062000863838362000835565b9150826002028217905092915050565b6200087e82620005f9565b67ffffffffffffffff8111156200089a576200089962000604565b5b620008a6825462000662565b620008b3828285620007d8565b600060209050601f831160018114620008eb5760008415620008d6578287015190505b620008e2858262000855565b86555062000952565b601f198416620008fb8662000697565b60005b828110156200092557848901518255600182019150602085019450602081019050620008fe565b8683101562000945578489015162000941601f89168262000835565b8355505b6001600288020188555050505b505050505050565b6200096581620004ce565b82525050565b60006040820190506200098260008301856200095a565b6200099160208301846200095a565b9392505050565b6000602082019050620009af60008301846200095a565b92915050565b60805160a05160c05161507162000a1660003960008181610c3d01526117a8015260008181610d930152611267015260008181610ca7015281816115f8015281816117cc01528181611f85015281816124ca01526125e501526150716000f3fe6080604052600436106102045760003560e01c806375794a3c11610118578063a370f7d7116100a0578063cc44ab411161006f578063cc44ab4114610751578063e985e9c51461078f578063f2fde38b146107cc578063f4a0a528146107f5578063fba49e4f1461081e57610204565b8063a370f7d714610683578063b54b4fb9146106ae578063b88d4fde146106eb578063c87b56dd1461071457610204565b806395d89b41116100e757806395d89b41146105b0578063996517cf146105db5780639e6a1d7d14610606578063a22cb4651461062f578063a2bde8761461065857610204565b806375794a3c146105085780638da5cb5b1461053357806390c3f38f1461055e5780639589d7b91461058757610204565b80633b7f8f151161019b5780636352211e1161016a5780636352211e146104215780636817c76c1461045e57806370a0823114610489578063715018a6146104c65780637284e416146104dd57610204565b80633b7f8f151461038657806341f43434146103a257806342842e0e146103cd57806350008e4a146103f657610204565b80631249c58b116101d75780631249c58b146102d75780631346d8ea146102f557806318160ddd1461033257806323b872dd1461035d57610204565b806301ffc9a71461020957806306fdde0314610246578063081812fc14610271578063095ea7b3146102ae575b600080fd5b34801561021557600080fd5b50610230600480360381019061022b91906130d3565b610847565b60405161023d919061311b565b60405180910390f35b34801561025257600080fd5b5061025b610929565b60405161026891906131c6565b60405180910390f35b34801561027d57600080fd5b506102986004803603810190610293919061321e565b6109bb565b6040516102a5919061328c565b60405180910390f35b3480156102ba57600080fd5b506102d560048036038101906102d091906132d3565b610a01565b005b6102df610b0b565b6040516102ec9190613322565b60405180910390f35b34801561030157600080fd5b5061031c6004803603810190610317919061333d565b610d41565b6040516103299190613322565b60405180910390f35b34801561033e57600080fd5b50610347610e52565b6040516103549190613322565b60405180910390f35b34801561036957600080fd5b50610384600480360381019061037f919061336a565b610e5c565b005b6103a0600480360381019061039b91906133bd565b610fac565b005b3480156103ae57600080fd5b506103b7611103565b6040516103c4919061346f565b60405180910390f35b3480156103d957600080fd5b506103f460048036038101906103ef919061336a565b611115565b005b34801561040257600080fd5b5061040b611265565b60405161041891906134ab565b60405180910390f35b34801561042d57600080fd5b506104486004803603810190610443919061321e565b611289565b604051610455919061328c565b60405180910390f35b34801561046a57600080fd5b5061047361133a565b6040516104809190613322565b60405180910390f35b34801561049557600080fd5b506104b060048036038101906104ab919061333d565b611340565b6040516104bd9190613322565b60405180910390f35b3480156104d257600080fd5b506104db6113f7565b005b3480156104e957600080fd5b506104f261140b565b6040516104ff91906131c6565b60405180910390f35b34801561051457600080fd5b5061051d611499565b60405161052a9190613322565b60405180910390f35b34801561053f57600080fd5b5061054861149f565b604051610555919061328c565b60405180910390f35b34801561056a57600080fd5b50610585600480360381019061058091906135fb565b6114c9565b005b34801561059357600080fd5b506105ae60048036038101906105a99190613682565b6114e4565b005b3480156105bc57600080fd5b506105c5611562565b6040516105d291906131c6565b60405180910390f35b3480156105e757600080fd5b506105f06115f4565b6040516105fd9190613322565b60405180910390f35b34801561061257600080fd5b5061062d6004803603810190610628919061321e565b61168a565b005b34801561063b57600080fd5b5061065660048036038101906106519190613701565b61169c565b005b34801561066457600080fd5b5061066d6117a6565b60405161067a919061328c565b60405180910390f35b34801561068f57600080fd5b506106986117ca565b6040516106a59190613762565b60405180910390f35b3480156106ba57600080fd5b506106d560048036038101906106d0919061321e565b6117ee565b6040516106e29190613322565b60405180910390f35b3480156106f757600080fd5b50610712600480360381019061070d919061381e565b61180b565b005b34801561072057600080fd5b5061073b6004803603810190610736919061321e565b61195e565b60405161074891906131c6565b60405180910390f35b34801561075d57600080fd5b506107786004803603810190610773919061321e565b611a23565b6040516107869291906138a1565b60405180910390f35b34801561079b57600080fd5b506107b660048036038101906107b191906138d1565b611a48565b6040516107c3919061311b565b60405180910390f35b3480156107d857600080fd5b506107f360048036038101906107ee919061333d565b611adc565b005b34801561080157600080fd5b5061081c6004803603810190610817919061321e565b611b5f565b005b34801561082a57600080fd5b5061084560048036038101906108409190613911565b611b71565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061091257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610922575061092182611c03565b5b9050919050565b60606000805461093890613980565b80601f016020809104026020016040519081016040528092919081815260200182805461096490613980565b80156109b15780601f10610986576101008083540402835291602001916109b1565b820191906000526020600020905b81548152906001019060200180831161099457829003601f168201915b5050505050905090565b60006109c682611c6d565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b8160006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115610afc576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401610a799291906139b1565b602060405180830381865afa158015610a96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aba91906139ef565b610afb57806040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401610af2919061328c565b60405180910390fd5b5b610b068383611cb8565b505050565b60006109c460085410610b53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4a90613a68565b60405180910390fd5b610b5c33610d41565b341015610b9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9590613ad4565b60405180910390fd5b6003610ba933611340565b10610be9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be090613b40565b60405180910390fd5b60f560085403610c1e5760086000815480929190610c0690613b8f565b919050559050610c1d610c1761149f565b82611dcf565b5b610c26611ded565b90506000600534610c379190613c06565b905060007f000000000000000000000000000000000000000000000000000000000000000090508073ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015610ca4573d6000803e3d6000fd5b507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166389ee68bf8334610ced9190613c37565b856040518363ffffffff1660e01b8152600401610d0a9190613322565b6000604051808303818588803b158015610d2357600080fd5b505af1158015610d37573d6000803e3d6000fd5b5050505050505090565b60006001610d4e83611340565b03610d69576002600a54610d629190613c6b565b9050610e4d565b6002610d7483611340565b03610d8f576004600a54610d889190613c6b565b9050610e4d565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610dea919061328c565b602060405180830381865afa158015610e07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2b9190613cc2565b1115610e47576002600a54610e409190613c06565b9050610e4d565b600a5490505b919050565b6000600854905090565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115610f9a573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ece57610ec9848484611e60565b610fa6565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610f179291906139b1565b602060405180830381865afa158015610f34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5891906139ef565b610f9957336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401610f90919061328c565b60405180910390fd5b5b610fa5848484611e60565b5b50505050565b60006007600085815260200190815260200160002054905060008111611007576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffe90613d3b565b60405180910390fd5b8034101561104a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104190613da7565b60405180910390fd5b60006110563484611ec0565b905060006110643487611f65565b9050600061107187611289565b905060008190508073ffffffffffffffffffffffffffffffffffffffff166108fc84863461109f9190613c37565b6110a99190613c37565b9081150290604051600060405180830381858888f193505050501580156110d4573d6000803e3d6000fd5b506110e082888a612015565b6000600760008a8152602001908152602001600020819055505050505050505050565b6daaeb6d7670e522a718067333cd4e81565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611253573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036111875761118284848461227b565b61125f565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016111d09291906139b1565b602060405180830381865afa1580156111ed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121191906139ef565b61125257336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611249919061328c565b60405180910390fd5b5b61125e84848461227b565b5b50505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611331576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132890613e13565b60405180910390fd5b80915050919050565b600a5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036113b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a790613ea5565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6113ff61229b565b6114096000612319565b565b6009805461141890613980565b80601f016020809104026020016040519081016040528092919081815260200182805461144490613980565b80156114915780601f1061146657610100808354040283529160200191611491565b820191906000526020600020905b81548152906001019060200180831161147457829003601f168201915b505050505081565b60085481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6114d161229b565b80600990816114e09190614067565b5050565b6114ee8382611b71565b8173ffffffffffffffffffffffffffffffffffffffff16633c6fc8173085846040518463ffffffff1660e01b815260040161152b9392919061415a565b600060405180830381600087803b15801561154557600080fd5b505af1158015611559573d6000803e3d6000fd5b50505050505050565b60606001805461157190613980565b80601f016020809104026020016040519081016040528092919081815260200182805461159d90613980565b80156115ea5780601f106115bf576101008083540402835291602001916115ea565b820191906000526020600020905b8154815290600101906020018083116115cd57829003601f168201915b5050505050905090565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611661573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116859190613cc2565b905090565b61169261229b565b80600b8190555050565b8160006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611797576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b81526004016117149291906139b1565b602060405180830381865afa158015611731573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061175591906139ef565b61179657806040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161178d919061328c565b60405180910390fd5b5b6117a183836123df565b505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b600060076000838152602001908152602001600020549050919050565b8360006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b111561194a573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361187e57611879858585856123f5565b611957565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016118c79291906139b1565b602060405180830381865afa1580156118e4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061190891906139ef565b61194957336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611940919061328c565b60405180910390fd5b5b611956858585856123f5565b5b5050505050565b606061196982612457565b6119a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199f90614203565b60405180910390fd5b60006119b3836124c3565b90506119fc6119c1846125b0565b60096119cc866125e1565b6119d585612689565b6040516020016119e894939291906144cb565b604051602081830303815290604052612689565b604051602001611a0c919061458c565b604051602081830303815290604052915050919050565b606060005a9050611a338361195e565b91505a81611a419190613c37565b9050915091565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611ae461229b565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611b53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4a90614620565b60405180910390fd5b611b5c81612319565b50565b611b6761229b565b80600a8190555050565b3373ffffffffffffffffffffffffffffffffffffffff16611b9183611289565b73ffffffffffffffffffffffffffffffffffffffff1614611be7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bde9061468c565b60405180910390fd5b8060076000848152602001908152602001600020819055505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611c7681612457565b611cb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cac90613e13565b60405180910390fd5b50565b6000611cc382611289565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611d33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2a9061471e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16611d52612801565b73ffffffffffffffffffffffffffffffffffffffff161480611d815750611d8081611d7b612801565b611a48565b5b611dc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db7906147b0565b60405180910390fd5b611dca8383612809565b505050565b611de98282604051806020016040528060008152506128c2565b5050565b6000611df76115f4565b60085410611e3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3190613a68565b60405180910390fd5b60086000815480929190611e4d90613b8f565b919050559050611e5d3382611dcf565b90565b611e71611e6b612801565b8261291d565b611eb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea790614842565b60405180910390fd5b611ebb838383612015565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611f5f576103e8601984611f059190613c6b565b611f0f9190613c06565b905060008290508073ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015611f5c573d6000803e3d6000fd5b50505b92915050565b60006103e8603284611f779190613c6b565b611f819190613c06565b90507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166389ee68bf82846040518363ffffffff1660e01b8152600401611fdd9190613322565b6000604051808303818588803b158015611ff657600080fd5b505af115801561200a573d6000803e3d6000fd5b505050505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661203582611289565b73ffffffffffffffffffffffffffffffffffffffff161461208b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612082906148d4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036120fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f190614966565b60405180910390fd5b6121058383836129b2565b612110600082612809565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121609190613c37565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121b79190614986565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46122768383836129b7565b505050565b6122968383836040518060200160405280600081525061180b565b505050565b6122a3612801565b73ffffffffffffffffffffffffffffffffffffffff166122c161149f565b73ffffffffffffffffffffffffffffffffffffffff1614612317576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230e90614a06565b60405180910390fd5b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6123f16123ea612801565b83836129bc565b5050565b612406612400612801565b8361291d565b612445576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243c90614842565b60405180910390fd5b61245184848484612b28565b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60606000807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663e3f24f02856040518263ffffffff1660e01b81526004016125219190613322565b600060405180830381865afa15801561253e573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906125679190614a96565b91509150604051806080016040528060498152602001614ff360499139828260405160200161259893929190614ba6565b60405160208183030381529060405292505050919050565b60606125bb82612b84565b6040516020016125cb9190614c39565b6040516020818303038152906040529050919050565b60607f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166379b92f27836040518263ffffffff1660e01b815260040161263c9190613322565b600060405180830381865afa158015612659573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906126829190614c5b565b9050919050565b606060008251036126ab576040518060200160405280600081525090506127fc565b6000604051806060016040528060408152602001614fb360409139905060006003600285516126da9190614986565b6126e49190613c06565b60046126f09190613c6b565b905060006020826127019190614986565b67ffffffffffffffff81111561271a576127196134d0565b5b6040519080825280601f01601f19166020018201604052801561274c5781602001600182028036833780820191505090505b509050818152600183018586518101602084015b818310156127bb576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825360018201915050612760565b6003895106600181146127d557600281146127e5576127f0565b613d3d60f01b60028303526127f0565b603d60f81b60018303525b50505050508093505050505b919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661287c83611289565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6128cc8383612ce4565b6128d96000848484612ebd565b612918576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290f90614d16565b60405180910390fd5b505050565b60008061292983611289565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061296b575061296a8185611a48565b5b806129a957508373ffffffffffffffffffffffffffffffffffffffff16612991846109bb565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b505050565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612a2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2190614d82565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612b1b919061311b565b60405180910390a3505050565b612b33848484612015565b612b3f84848484612ebd565b612b7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7590614d16565b60405180910390fd5b50505050565b606060008203612bcb576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612cdf565b600082905060005b60008214612bfd578080612be690613b8f565b915050600a82612bf69190613c06565b9150612bd3565b60008167ffffffffffffffff811115612c1957612c186134d0565b5b6040519080825280601f01601f191660200182016040528015612c4b5781602001600182028036833780820191505090505b5090505b60008514612cd857600182612c649190613c37565b9150600a85612c739190614da2565b6030612c7f9190614986565b60f81b818381518110612c9557612c94614dd3565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612cd19190613c06565b9450612c4f565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612d53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d4a90614e4e565b60405180910390fd5b612d5c81612457565b15612d9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d9390614eba565b60405180910390fd5b612da8600083836129b2565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612df89190614986565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612eb9600083836129b7565b5050565b6000612ede8473ffffffffffffffffffffffffffffffffffffffff16613044565b15613037578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f07612801565b8786866040518563ffffffff1660e01b8152600401612f299493929190614f24565b6020604051808303816000875af1925050508015612f6557506040513d601f19601f82011682018060405250810190612f629190614f85565b60015b612fe7573d8060008114612f95576040519150601f19603f3d011682016040523d82523d6000602084013e612f9a565b606091505b506000815103612fdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fd690614d16565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061303c565b600190505b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6130b08161307b565b81146130bb57600080fd5b50565b6000813590506130cd816130a7565b92915050565b6000602082840312156130e9576130e8613071565b5b60006130f7848285016130be565b91505092915050565b60008115159050919050565b61311581613100565b82525050565b6000602082019050613130600083018461310c565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613170578082015181840152602081019050613155565b60008484015250505050565b6000601f19601f8301169050919050565b600061319882613136565b6131a28185613141565b93506131b2818560208601613152565b6131bb8161317c565b840191505092915050565b600060208201905081810360008301526131e0818461318d565b905092915050565b6000819050919050565b6131fb816131e8565b811461320657600080fd5b50565b600081359050613218816131f2565b92915050565b60006020828403121561323457613233613071565b5b600061324284828501613209565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006132768261324b565b9050919050565b6132868161326b565b82525050565b60006020820190506132a1600083018461327d565b92915050565b6132b08161326b565b81146132bb57600080fd5b50565b6000813590506132cd816132a7565b92915050565b600080604083850312156132ea576132e9613071565b5b60006132f8858286016132be565b925050602061330985828601613209565b9150509250929050565b61331c816131e8565b82525050565b60006020820190506133376000830184613313565b92915050565b60006020828403121561335357613352613071565b5b6000613361848285016132be565b91505092915050565b60008060006060848603121561338357613382613071565b5b6000613391868287016132be565b93505060206133a2868287016132be565b92505060406133b386828701613209565b9150509250925092565b6000806000606084860312156133d6576133d5613071565b5b60006133e486828701613209565b93505060206133f5868287016132be565b9250506040613406868287016132be565b9150509250925092565b6000819050919050565b600061343561343061342b8461324b565b613410565b61324b565b9050919050565b60006134478261341a565b9050919050565b60006134598261343c565b9050919050565b6134698161344e565b82525050565b60006020820190506134846000830184613460565b92915050565b60006134958261343c565b9050919050565b6134a58161348a565b82525050565b60006020820190506134c0600083018461349c565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6135088261317c565b810181811067ffffffffffffffff82111715613527576135266134d0565b5b80604052505050565b600061353a613067565b905061354682826134ff565b919050565b600067ffffffffffffffff821115613566576135656134d0565b5b61356f8261317c565b9050602081019050919050565b82818337600083830152505050565b600061359e6135998461354b565b613530565b9050828152602081018484840111156135ba576135b96134cb565b5b6135c584828561357c565b509392505050565b600082601f8301126135e2576135e16134c6565b5b81356135f284826020860161358b565b91505092915050565b60006020828403121561361157613610613071565b5b600082013567ffffffffffffffff81111561362f5761362e613076565b5b61363b848285016135cd565b91505092915050565b600061364f8261326b565b9050919050565b61365f81613644565b811461366a57600080fd5b50565b60008135905061367c81613656565b92915050565b60008060006060848603121561369b5761369a613071565b5b60006136a986828701613209565b93505060206136ba8682870161366d565b92505060406136cb86828701613209565b9150509250925092565b6136de81613100565b81146136e957600080fd5b50565b6000813590506136fb816136d5565b92915050565b6000806040838503121561371857613717613071565b5b6000613726858286016132be565b9250506020613737858286016136ec565b9150509250929050565b600061374c8261343c565b9050919050565b61375c81613741565b82525050565b60006020820190506137776000830184613753565b92915050565b600067ffffffffffffffff821115613798576137976134d0565b5b6137a18261317c565b9050602081019050919050565b60006137c16137bc8461377d565b613530565b9050828152602081018484840111156137dd576137dc6134cb565b5b6137e884828561357c565b509392505050565b600082601f830112613805576138046134c6565b5b81356138158482602086016137ae565b91505092915050565b6000806000806080858703121561383857613837613071565b5b6000613846878288016132be565b9450506020613857878288016132be565b935050604061386887828801613209565b925050606085013567ffffffffffffffff81111561388957613888613076565b5b613895878288016137f0565b91505092959194509250565b600060408201905081810360008301526138bb818561318d565b90506138ca6020830184613313565b9392505050565b600080604083850312156138e8576138e7613071565b5b60006138f6858286016132be565b9250506020613907858286016132be565b9150509250929050565b6000806040838503121561392857613927613071565b5b600061393685828601613209565b925050602061394785828601613209565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061399857607f821691505b6020821081036139ab576139aa613951565b5b50919050565b60006040820190506139c6600083018561327d565b6139d3602083018461327d565b9392505050565b6000815190506139e9816136d5565b92915050565b600060208284031215613a0557613a04613071565b5b6000613a13848285016139da565b91505092915050565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b6000613a52600883613141565b9150613a5d82613a1c565b602082019050919050565b60006020820190508181036000830152613a8181613a45565b9050919050565b7f4d7573742073656e6420746865206d696e742070726963650000000000000000600082015250565b6000613abe601883613141565b9150613ac982613a88565b602082019050919050565b60006020820190508181036000830152613aed81613ab1565b9050919050565b7f546f6f206d616e7920746f6b656e730000000000000000000000000000000000600082015250565b6000613b2a600f83613141565b9150613b3582613af4565b602082019050919050565b60006020820190508181036000830152613b5981613b1d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613b9a826131e8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613bcc57613bcb613b60565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613c11826131e8565b9150613c1c836131e8565b925082613c2c57613c2b613bd7565b5b828204905092915050565b6000613c42826131e8565b9150613c4d836131e8565b9250828203905081811115613c6557613c64613b60565b5b92915050565b6000613c76826131e8565b9150613c81836131e8565b9250828202613c8f816131e8565b91508282048414831517613ca657613ca5613b60565b5b5092915050565b600081519050613cbc816131f2565b92915050565b600060208284031215613cd857613cd7613071565b5b6000613ce684828501613cad565b91505092915050565b7f546f6b656e206973206e6f74206f6e2073616c65000000000000000000000000600082015250565b6000613d25601483613141565b9150613d3082613cef565b602082019050919050565b60006020820190508181036000830152613d5481613d18565b9050919050565b7f4e6f7420656e6f7567682066756e640000000000000000000000000000000000600082015250565b6000613d91600f83613141565b9150613d9c82613d5b565b602082019050919050565b60006020820190508181036000830152613dc081613d84565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000613dfd601883613141565b9150613e0882613dc7565b602082019050919050565b60006020820190508181036000830152613e2c81613df0565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613e8f602983613141565b9150613e9a82613e33565b604082019050919050565b60006020820190508181036000830152613ebe81613e82565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613f277fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613eea565b613f318683613eea565b95508019841693508086168417925050509392505050565b6000613f64613f5f613f5a846131e8565b613410565b6131e8565b9050919050565b6000819050919050565b613f7e83613f49565b613f92613f8a82613f6b565b848454613ef7565b825550505050565b600090565b613fa7613f9a565b613fb2818484613f75565b505050565b5b81811015613fd657613fcb600082613f9f565b600181019050613fb8565b5050565b601f82111561401b57613fec81613ec5565b613ff584613eda565b81016020851015614004578190505b61401861401085613eda565b830182613fb7565b50505b505050565b600082821c905092915050565b600061403e60001984600802614020565b1980831691505092915050565b6000614057838361402d565b9150826002028217905092915050565b61407082613136565b67ffffffffffffffff811115614089576140886134d0565b5b6140938254613980565b61409e828285613fda565b600060209050601f8311600181146140d157600084156140bf578287015190505b6140c9858261404b565b865550614131565b601f1984166140df86613ec5565b60005b82811015614107578489015182556001820191506020850194506020810190506140e2565b868310156141245784890151614120601f89168261402d565b8355505b6001600288020188555050505b505050505050565b60006141448261343c565b9050919050565b61415481614139565b82525050565b600060608201905061416f600083018661414b565b61417c6020830185613313565b6141896040830184613313565b949350505050565b7f50726f7669646572546f6b656e2e746f6b656e5552493a206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006141ed602983613141565b91506141f882614191565b604082019050919050565b6000602082019050818103600083015261421c816141e0565b9050919050565b600081905092915050565b7f7b226e616d65223a220000000000000000000000000000000000000000000000600082015250565b6000614264600983614223565b915061426f8261422e565b600982019050919050565b600061428582613136565b61428f8185614223565b935061429f818560208601613152565b80840191505092915050565b7f222c226465736372697074696f6e223a22000000000000000000000000000000600082015250565b60006142e1601183614223565b91506142ec826142ab565b601182019050919050565b6000815461430481613980565b61430e8186614223565b94506001821660008114614329576001811461433e57614371565b60ff1983168652811515820286019350614371565b61434785613ec5565b60005b838110156143695781548189015260018201915060208101905061434a565b838801955050505b50505092915050565b7f222c2261747472696275746573223a5b00000000000000000000000000000000600082015250565b60006143b0601083614223565b91506143bb8261437a565b601082019050919050565b600081519050919050565b600081905092915050565b60006143e7826143c6565b6143f181856143d1565b9350614401818560208601613152565b80840191505092915050565b7f5d2c22696d616765223a22646174613a696d6167652f7376672b786d6c3b626160008201527f736536342c000000000000000000000000000000000000000000000000000000602082015250565b6000614469602583614223565b91506144748261440d565b602582019050919050565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b60006144b5600283614223565b91506144c08261447f565b600282019050919050565b60006144d682614257565b91506144e2828761427a565b91506144ed826142d4565b91506144f982866142f7565b9150614504826143a3565b915061451082856143dc565b915061451b8261445c565b9150614527828461427a565b9150614532826144a8565b915081905095945050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b6000614576601d83614223565b915061458182614540565b601d82019050919050565b600061459782614569565b91506145a3828461427a565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061460a602683613141565b9150614615826145ae565b604082019050919050565b60006020820190508181036000830152614639816145fd565b9050919050565b7f4f6e6c7920746865206f6e7765722063616e2073657420746865207072696365600082015250565b6000614676602083613141565b915061468182614640565b602082019050919050565b600060208201905081810360008301526146a581614669565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614708602183613141565b9150614713826146ac565b604082019050919050565b60006020820190508181036000830152614737816146fb565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b600061479a603e83613141565b91506147a58261473e565b604082019050919050565b600060208201905081810360008301526147c98161478d565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b600061482c602e83613141565b9150614837826147d0565b604082019050919050565b6000602082019050818103600083015261485b8161481f565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006148be602583613141565b91506148c982614862565b604082019050919050565b600060208201905081810360008301526148ed816148b1565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614950602483613141565b915061495b826148f4565b604082019050919050565b6000602082019050818103600083015261497f81614943565b9050919050565b6000614991826131e8565b915061499c836131e8565b92508282019050808211156149b4576149b3613b60565b5b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006149f0602083613141565b91506149fb826149ba565b602082019050919050565b60006020820190508181036000830152614a1f816149e3565b9050919050565b6000614a39614a348461354b565b613530565b905082815260208101848484011115614a5557614a546134cb565b5b614a60848285613152565b509392505050565b600082601f830112614a7d57614a7c6134c6565b5b8151614a8d848260208601614a26565b91505092915050565b60008060408385031215614aad57614aac613071565b5b600083015167ffffffffffffffff811115614acb57614aca613076565b5b614ad785828601614a68565b925050602083015167ffffffffffffffff811115614af857614af7613076565b5b614b0485828601614a68565b9150509250929050565b7f3c2f646566733e0a3c75736520687265663d2223000000000000000000000000600082015250565b6000614b44601483614223565b9150614b4f82614b0e565b601482019050919050565b7f22202f3e0a3c2f7376673e0a0000000000000000000000000000000000000000600082015250565b6000614b90600c83614223565b9150614b9b82614b5a565b600c82019050919050565b6000614bb2828661427a565b9150614bbe828561427a565b9150614bc982614b37565b9150614bd5828461427a565b9150614be082614b83565b9150819050949350505050565b7f446f74204e6f756e732000000000000000000000000000000000000000000000600082015250565b6000614c23600a83614223565b9150614c2e82614bed565b600a82019050919050565b6000614c4482614c16565b9150614c50828461427a565b915081905092915050565b600060208284031215614c7157614c70613071565b5b600082015167ffffffffffffffff811115614c8f57614c8e613076565b5b614c9b84828501614a68565b91505092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614d00603283613141565b9150614d0b82614ca4565b604082019050919050565b60006020820190508181036000830152614d2f81614cf3565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614d6c601983613141565b9150614d7782614d36565b602082019050919050565b60006020820190508181036000830152614d9b81614d5f565b9050919050565b6000614dad826131e8565b9150614db8836131e8565b925082614dc857614dc7613bd7565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614e38602083613141565b9150614e4382614e02565b602082019050919050565b60006020820190508181036000830152614e6781614e2b565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614ea4601c83613141565b9150614eaf82614e6e565b602082019050919050565b60006020820190508181036000830152614ed381614e97565b9050919050565b600082825260208201905092915050565b6000614ef6826143c6565b614f008185614eda565b9350614f10818560208601613152565b614f198161317c565b840191505092915050565b6000608082019050614f39600083018761327d565b614f46602083018661327d565b614f536040830185613313565b8181036060830152614f658184614eeb565b905095945050505050565b600081519050614f7f816130a7565b92915050565b600060208284031215614f9b57614f9a613071565b5b6000614fa984828501614f70565b9150509291505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f3c7376672076696577426f783d2230203020313032342031303234222020786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f737667223e0a3c646566733e0aa2646970667358221220593bc19239ec62d27a6497ef0c94344bc091bc8624f9e437697549ab2e8a13da64736f6c634300081100335468697320697320612070617274206f662046756c6c79204f6e2d636861696e2047656e65726174697665204172742070726f6a656374202868747470733a2f2f66756c6c796f6e636861696e2e78797a2f292e20416c6c20696d61676573206172652064796d6963616c6c792067656e657261746564206f6e2074686520626c6f636b636861696e2e0000000000000000000000005c8d7748bf07709d3adc3f74fa0255f9f358c8b1000000000000000000000000932e948e0435d412696fc7d7c95645fb09ff03d100000000000000000000000014aea32f6e6dcaecfa1bc62776b2e279db09255d
Deployed Bytecode
0x6080604052600436106102045760003560e01c806375794a3c11610118578063a370f7d7116100a0578063cc44ab411161006f578063cc44ab4114610751578063e985e9c51461078f578063f2fde38b146107cc578063f4a0a528146107f5578063fba49e4f1461081e57610204565b8063a370f7d714610683578063b54b4fb9146106ae578063b88d4fde146106eb578063c87b56dd1461071457610204565b806395d89b41116100e757806395d89b41146105b0578063996517cf146105db5780639e6a1d7d14610606578063a22cb4651461062f578063a2bde8761461065857610204565b806375794a3c146105085780638da5cb5b1461053357806390c3f38f1461055e5780639589d7b91461058757610204565b80633b7f8f151161019b5780636352211e1161016a5780636352211e146104215780636817c76c1461045e57806370a0823114610489578063715018a6146104c65780637284e416146104dd57610204565b80633b7f8f151461038657806341f43434146103a257806342842e0e146103cd57806350008e4a146103f657610204565b80631249c58b116101d75780631249c58b146102d75780631346d8ea146102f557806318160ddd1461033257806323b872dd1461035d57610204565b806301ffc9a71461020957806306fdde0314610246578063081812fc14610271578063095ea7b3146102ae575b600080fd5b34801561021557600080fd5b50610230600480360381019061022b91906130d3565b610847565b60405161023d919061311b565b60405180910390f35b34801561025257600080fd5b5061025b610929565b60405161026891906131c6565b60405180910390f35b34801561027d57600080fd5b506102986004803603810190610293919061321e565b6109bb565b6040516102a5919061328c565b60405180910390f35b3480156102ba57600080fd5b506102d560048036038101906102d091906132d3565b610a01565b005b6102df610b0b565b6040516102ec9190613322565b60405180910390f35b34801561030157600080fd5b5061031c6004803603810190610317919061333d565b610d41565b6040516103299190613322565b60405180910390f35b34801561033e57600080fd5b50610347610e52565b6040516103549190613322565b60405180910390f35b34801561036957600080fd5b50610384600480360381019061037f919061336a565b610e5c565b005b6103a0600480360381019061039b91906133bd565b610fac565b005b3480156103ae57600080fd5b506103b7611103565b6040516103c4919061346f565b60405180910390f35b3480156103d957600080fd5b506103f460048036038101906103ef919061336a565b611115565b005b34801561040257600080fd5b5061040b611265565b60405161041891906134ab565b60405180910390f35b34801561042d57600080fd5b506104486004803603810190610443919061321e565b611289565b604051610455919061328c565b60405180910390f35b34801561046a57600080fd5b5061047361133a565b6040516104809190613322565b60405180910390f35b34801561049557600080fd5b506104b060048036038101906104ab919061333d565b611340565b6040516104bd9190613322565b60405180910390f35b3480156104d257600080fd5b506104db6113f7565b005b3480156104e957600080fd5b506104f261140b565b6040516104ff91906131c6565b60405180910390f35b34801561051457600080fd5b5061051d611499565b60405161052a9190613322565b60405180910390f35b34801561053f57600080fd5b5061054861149f565b604051610555919061328c565b60405180910390f35b34801561056a57600080fd5b50610585600480360381019061058091906135fb565b6114c9565b005b34801561059357600080fd5b506105ae60048036038101906105a99190613682565b6114e4565b005b3480156105bc57600080fd5b506105c5611562565b6040516105d291906131c6565b60405180910390f35b3480156105e757600080fd5b506105f06115f4565b6040516105fd9190613322565b60405180910390f35b34801561061257600080fd5b5061062d6004803603810190610628919061321e565b61168a565b005b34801561063b57600080fd5b5061065660048036038101906106519190613701565b61169c565b005b34801561066457600080fd5b5061066d6117a6565b60405161067a919061328c565b60405180910390f35b34801561068f57600080fd5b506106986117ca565b6040516106a59190613762565b60405180910390f35b3480156106ba57600080fd5b506106d560048036038101906106d0919061321e565b6117ee565b6040516106e29190613322565b60405180910390f35b3480156106f757600080fd5b50610712600480360381019061070d919061381e565b61180b565b005b34801561072057600080fd5b5061073b6004803603810190610736919061321e565b61195e565b60405161074891906131c6565b60405180910390f35b34801561075d57600080fd5b506107786004803603810190610773919061321e565b611a23565b6040516107869291906138a1565b60405180910390f35b34801561079b57600080fd5b506107b660048036038101906107b191906138d1565b611a48565b6040516107c3919061311b565b60405180910390f35b3480156107d857600080fd5b506107f360048036038101906107ee919061333d565b611adc565b005b34801561080157600080fd5b5061081c6004803603810190610817919061321e565b611b5f565b005b34801561082a57600080fd5b5061084560048036038101906108409190613911565b611b71565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061091257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610922575061092182611c03565b5b9050919050565b60606000805461093890613980565b80601f016020809104026020016040519081016040528092919081815260200182805461096490613980565b80156109b15780601f10610986576101008083540402835291602001916109b1565b820191906000526020600020905b81548152906001019060200180831161099457829003601f168201915b5050505050905090565b60006109c682611c6d565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b8160006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115610afc576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401610a799291906139b1565b602060405180830381865afa158015610a96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aba91906139ef565b610afb57806040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401610af2919061328c565b60405180910390fd5b5b610b068383611cb8565b505050565b60006109c460085410610b53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4a90613a68565b60405180910390fd5b610b5c33610d41565b341015610b9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9590613ad4565b60405180910390fd5b6003610ba933611340565b10610be9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be090613b40565b60405180910390fd5b60f560085403610c1e5760086000815480929190610c0690613b8f565b919050559050610c1d610c1761149f565b82611dcf565b5b610c26611ded565b90506000600534610c379190613c06565b905060007f00000000000000000000000014aea32f6e6dcaecfa1bc62776b2e279db09255d90508073ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015610ca4573d6000803e3d6000fd5b507f000000000000000000000000932e948e0435d412696fc7d7c95645fb09ff03d173ffffffffffffffffffffffffffffffffffffffff166389ee68bf8334610ced9190613c37565b856040518363ffffffff1660e01b8152600401610d0a9190613322565b6000604051808303818588803b158015610d2357600080fd5b505af1158015610d37573d6000803e3d6000fd5b5050505050505090565b60006001610d4e83611340565b03610d69576002600a54610d629190613c6b565b9050610e4d565b6002610d7483611340565b03610d8f576004600a54610d889190613c6b565b9050610e4d565b60007f0000000000000000000000005c8d7748bf07709d3adc3f74fa0255f9f358c8b173ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610dea919061328c565b602060405180830381865afa158015610e07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2b9190613cc2565b1115610e47576002600a54610e409190613c06565b9050610e4d565b600a5490505b919050565b6000600854905090565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115610f9a573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ece57610ec9848484611e60565b610fa6565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610f179291906139b1565b602060405180830381865afa158015610f34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5891906139ef565b610f9957336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401610f90919061328c565b60405180910390fd5b5b610fa5848484611e60565b5b50505050565b60006007600085815260200190815260200160002054905060008111611007576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffe90613d3b565b60405180910390fd5b8034101561104a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104190613da7565b60405180910390fd5b60006110563484611ec0565b905060006110643487611f65565b9050600061107187611289565b905060008190508073ffffffffffffffffffffffffffffffffffffffff166108fc84863461109f9190613c37565b6110a99190613c37565b9081150290604051600060405180830381858888f193505050501580156110d4573d6000803e3d6000fd5b506110e082888a612015565b6000600760008a8152602001908152602001600020819055505050505050505050565b6daaeb6d7670e522a718067333cd4e81565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611253573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036111875761118284848461227b565b61125f565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016111d09291906139b1565b602060405180830381865afa1580156111ed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061121191906139ef565b61125257336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611249919061328c565b60405180910390fd5b5b61125e84848461227b565b5b50505050565b7f0000000000000000000000005c8d7748bf07709d3adc3f74fa0255f9f358c8b181565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611331576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132890613e13565b60405180910390fd5b80915050919050565b600a5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036113b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a790613ea5565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6113ff61229b565b6114096000612319565b565b6009805461141890613980565b80601f016020809104026020016040519081016040528092919081815260200182805461144490613980565b80156114915780601f1061146657610100808354040283529160200191611491565b820191906000526020600020905b81548152906001019060200180831161147457829003601f168201915b505050505081565b60085481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6114d161229b565b80600990816114e09190614067565b5050565b6114ee8382611b71565b8173ffffffffffffffffffffffffffffffffffffffff16633c6fc8173085846040518463ffffffff1660e01b815260040161152b9392919061415a565b600060405180830381600087803b15801561154557600080fd5b505af1158015611559573d6000803e3d6000fd5b50505050505050565b60606001805461157190613980565b80601f016020809104026020016040519081016040528092919081815260200182805461159d90613980565b80156115ea5780601f106115bf576101008083540402835291602001916115ea565b820191906000526020600020905b8154815290600101906020018083116115cd57829003601f168201915b5050505050905090565b60007f000000000000000000000000932e948e0435d412696fc7d7c95645fb09ff03d173ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611661573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116859190613cc2565b905090565b61169261229b565b80600b8190555050565b8160006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611797576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b81526004016117149291906139b1565b602060405180830381865afa158015611731573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061175591906139ef565b61179657806040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161178d919061328c565b60405180910390fd5b5b6117a183836123df565b505050565b7f00000000000000000000000014aea32f6e6dcaecfa1bc62776b2e279db09255d81565b7f000000000000000000000000932e948e0435d412696fc7d7c95645fb09ff03d181565b600060076000838152602001908152602001600020549050919050565b8360006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b111561194a573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361187e57611879858585856123f5565b611957565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016118c79291906139b1565b602060405180830381865afa1580156118e4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061190891906139ef565b61194957336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611940919061328c565b60405180910390fd5b5b611956858585856123f5565b5b5050505050565b606061196982612457565b6119a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199f90614203565b60405180910390fd5b60006119b3836124c3565b90506119fc6119c1846125b0565b60096119cc866125e1565b6119d585612689565b6040516020016119e894939291906144cb565b604051602081830303815290604052612689565b604051602001611a0c919061458c565b604051602081830303815290604052915050919050565b606060005a9050611a338361195e565b91505a81611a419190613c37565b9050915091565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611ae461229b565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611b53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4a90614620565b60405180910390fd5b611b5c81612319565b50565b611b6761229b565b80600a8190555050565b3373ffffffffffffffffffffffffffffffffffffffff16611b9183611289565b73ffffffffffffffffffffffffffffffffffffffff1614611be7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bde9061468c565b60405180910390fd5b8060076000848152602001908152602001600020819055505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611c7681612457565b611cb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cac90613e13565b60405180910390fd5b50565b6000611cc382611289565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611d33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2a9061471e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16611d52612801565b73ffffffffffffffffffffffffffffffffffffffff161480611d815750611d8081611d7b612801565b611a48565b5b611dc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db7906147b0565b60405180910390fd5b611dca8383612809565b505050565b611de98282604051806020016040528060008152506128c2565b5050565b6000611df76115f4565b60085410611e3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3190613a68565b60405180910390fd5b60086000815480929190611e4d90613b8f565b919050559050611e5d3382611dcf565b90565b611e71611e6b612801565b8261291d565b611eb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea790614842565b60405180910390fd5b611ebb838383612015565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611f5f576103e8601984611f059190613c6b565b611f0f9190613c06565b905060008290508073ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015611f5c573d6000803e3d6000fd5b50505b92915050565b60006103e8603284611f779190613c6b565b611f819190613c06565b90507f000000000000000000000000932e948e0435d412696fc7d7c95645fb09ff03d173ffffffffffffffffffffffffffffffffffffffff166389ee68bf82846040518363ffffffff1660e01b8152600401611fdd9190613322565b6000604051808303818588803b158015611ff657600080fd5b505af115801561200a573d6000803e3d6000fd5b505050505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661203582611289565b73ffffffffffffffffffffffffffffffffffffffff161461208b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612082906148d4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036120fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f190614966565b60405180910390fd5b6121058383836129b2565b612110600082612809565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121609190613c37565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121b79190614986565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46122768383836129b7565b505050565b6122968383836040518060200160405280600081525061180b565b505050565b6122a3612801565b73ffffffffffffffffffffffffffffffffffffffff166122c161149f565b73ffffffffffffffffffffffffffffffffffffffff1614612317576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230e90614a06565b60405180910390fd5b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6123f16123ea612801565b83836129bc565b5050565b612406612400612801565b8361291d565b612445576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243c90614842565b60405180910390fd5b61245184848484612b28565b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60606000807f000000000000000000000000932e948e0435d412696fc7d7c95645fb09ff03d173ffffffffffffffffffffffffffffffffffffffff1663e3f24f02856040518263ffffffff1660e01b81526004016125219190613322565b600060405180830381865afa15801561253e573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906125679190614a96565b91509150604051806080016040528060498152602001614ff360499139828260405160200161259893929190614ba6565b60405160208183030381529060405292505050919050565b60606125bb82612b84565b6040516020016125cb9190614c39565b6040516020818303038152906040529050919050565b60607f000000000000000000000000932e948e0435d412696fc7d7c95645fb09ff03d173ffffffffffffffffffffffffffffffffffffffff166379b92f27836040518263ffffffff1660e01b815260040161263c9190613322565b600060405180830381865afa158015612659573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906126829190614c5b565b9050919050565b606060008251036126ab576040518060200160405280600081525090506127fc565b6000604051806060016040528060408152602001614fb360409139905060006003600285516126da9190614986565b6126e49190613c06565b60046126f09190613c6b565b905060006020826127019190614986565b67ffffffffffffffff81111561271a576127196134d0565b5b6040519080825280601f01601f19166020018201604052801561274c5781602001600182028036833780820191505090505b509050818152600183018586518101602084015b818310156127bb576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825360018201915050612760565b6003895106600181146127d557600281146127e5576127f0565b613d3d60f01b60028303526127f0565b603d60f81b60018303525b50505050508093505050505b919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661287c83611289565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6128cc8383612ce4565b6128d96000848484612ebd565b612918576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290f90614d16565b60405180910390fd5b505050565b60008061292983611289565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061296b575061296a8185611a48565b5b806129a957508373ffffffffffffffffffffffffffffffffffffffff16612991846109bb565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b505050565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612a2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2190614d82565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612b1b919061311b565b60405180910390a3505050565b612b33848484612015565b612b3f84848484612ebd565b612b7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7590614d16565b60405180910390fd5b50505050565b606060008203612bcb576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612cdf565b600082905060005b60008214612bfd578080612be690613b8f565b915050600a82612bf69190613c06565b9150612bd3565b60008167ffffffffffffffff811115612c1957612c186134d0565b5b6040519080825280601f01601f191660200182016040528015612c4b5781602001600182028036833780820191505090505b5090505b60008514612cd857600182612c649190613c37565b9150600a85612c739190614da2565b6030612c7f9190614986565b60f81b818381518110612c9557612c94614dd3565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612cd19190613c06565b9450612c4f565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612d53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d4a90614e4e565b60405180910390fd5b612d5c81612457565b15612d9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d9390614eba565b60405180910390fd5b612da8600083836129b2565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612df89190614986565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612eb9600083836129b7565b5050565b6000612ede8473ffffffffffffffffffffffffffffffffffffffff16613044565b15613037578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f07612801565b8786866040518563ffffffff1660e01b8152600401612f299493929190614f24565b6020604051808303816000875af1925050508015612f6557506040513d601f19601f82011682018060405250810190612f629190614f85565b60015b612fe7573d8060008114612f95576040519150601f19603f3d011682016040523d82523d6000602084013e612f9a565b606091505b506000815103612fdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fd690614d16565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061303c565b600190505b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6130b08161307b565b81146130bb57600080fd5b50565b6000813590506130cd816130a7565b92915050565b6000602082840312156130e9576130e8613071565b5b60006130f7848285016130be565b91505092915050565b60008115159050919050565b61311581613100565b82525050565b6000602082019050613130600083018461310c565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613170578082015181840152602081019050613155565b60008484015250505050565b6000601f19601f8301169050919050565b600061319882613136565b6131a28185613141565b93506131b2818560208601613152565b6131bb8161317c565b840191505092915050565b600060208201905081810360008301526131e0818461318d565b905092915050565b6000819050919050565b6131fb816131e8565b811461320657600080fd5b50565b600081359050613218816131f2565b92915050565b60006020828403121561323457613233613071565b5b600061324284828501613209565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006132768261324b565b9050919050565b6132868161326b565b82525050565b60006020820190506132a1600083018461327d565b92915050565b6132b08161326b565b81146132bb57600080fd5b50565b6000813590506132cd816132a7565b92915050565b600080604083850312156132ea576132e9613071565b5b60006132f8858286016132be565b925050602061330985828601613209565b9150509250929050565b61331c816131e8565b82525050565b60006020820190506133376000830184613313565b92915050565b60006020828403121561335357613352613071565b5b6000613361848285016132be565b91505092915050565b60008060006060848603121561338357613382613071565b5b6000613391868287016132be565b93505060206133a2868287016132be565b92505060406133b386828701613209565b9150509250925092565b6000806000606084860312156133d6576133d5613071565b5b60006133e486828701613209565b93505060206133f5868287016132be565b9250506040613406868287016132be565b9150509250925092565b6000819050919050565b600061343561343061342b8461324b565b613410565b61324b565b9050919050565b60006134478261341a565b9050919050565b60006134598261343c565b9050919050565b6134698161344e565b82525050565b60006020820190506134846000830184613460565b92915050565b60006134958261343c565b9050919050565b6134a58161348a565b82525050565b60006020820190506134c0600083018461349c565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6135088261317c565b810181811067ffffffffffffffff82111715613527576135266134d0565b5b80604052505050565b600061353a613067565b905061354682826134ff565b919050565b600067ffffffffffffffff821115613566576135656134d0565b5b61356f8261317c565b9050602081019050919050565b82818337600083830152505050565b600061359e6135998461354b565b613530565b9050828152602081018484840111156135ba576135b96134cb565b5b6135c584828561357c565b509392505050565b600082601f8301126135e2576135e16134c6565b5b81356135f284826020860161358b565b91505092915050565b60006020828403121561361157613610613071565b5b600082013567ffffffffffffffff81111561362f5761362e613076565b5b61363b848285016135cd565b91505092915050565b600061364f8261326b565b9050919050565b61365f81613644565b811461366a57600080fd5b50565b60008135905061367c81613656565b92915050565b60008060006060848603121561369b5761369a613071565b5b60006136a986828701613209565b93505060206136ba8682870161366d565b92505060406136cb86828701613209565b9150509250925092565b6136de81613100565b81146136e957600080fd5b50565b6000813590506136fb816136d5565b92915050565b6000806040838503121561371857613717613071565b5b6000613726858286016132be565b9250506020613737858286016136ec565b9150509250929050565b600061374c8261343c565b9050919050565b61375c81613741565b82525050565b60006020820190506137776000830184613753565b92915050565b600067ffffffffffffffff821115613798576137976134d0565b5b6137a18261317c565b9050602081019050919050565b60006137c16137bc8461377d565b613530565b9050828152602081018484840111156137dd576137dc6134cb565b5b6137e884828561357c565b509392505050565b600082601f830112613805576138046134c6565b5b81356138158482602086016137ae565b91505092915050565b6000806000806080858703121561383857613837613071565b5b6000613846878288016132be565b9450506020613857878288016132be565b935050604061386887828801613209565b925050606085013567ffffffffffffffff81111561388957613888613076565b5b613895878288016137f0565b91505092959194509250565b600060408201905081810360008301526138bb818561318d565b90506138ca6020830184613313565b9392505050565b600080604083850312156138e8576138e7613071565b5b60006138f6858286016132be565b9250506020613907858286016132be565b9150509250929050565b6000806040838503121561392857613927613071565b5b600061393685828601613209565b925050602061394785828601613209565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061399857607f821691505b6020821081036139ab576139aa613951565b5b50919050565b60006040820190506139c6600083018561327d565b6139d3602083018461327d565b9392505050565b6000815190506139e9816136d5565b92915050565b600060208284031215613a0557613a04613071565b5b6000613a13848285016139da565b91505092915050565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b6000613a52600883613141565b9150613a5d82613a1c565b602082019050919050565b60006020820190508181036000830152613a8181613a45565b9050919050565b7f4d7573742073656e6420746865206d696e742070726963650000000000000000600082015250565b6000613abe601883613141565b9150613ac982613a88565b602082019050919050565b60006020820190508181036000830152613aed81613ab1565b9050919050565b7f546f6f206d616e7920746f6b656e730000000000000000000000000000000000600082015250565b6000613b2a600f83613141565b9150613b3582613af4565b602082019050919050565b60006020820190508181036000830152613b5981613b1d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613b9a826131e8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613bcc57613bcb613b60565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613c11826131e8565b9150613c1c836131e8565b925082613c2c57613c2b613bd7565b5b828204905092915050565b6000613c42826131e8565b9150613c4d836131e8565b9250828203905081811115613c6557613c64613b60565b5b92915050565b6000613c76826131e8565b9150613c81836131e8565b9250828202613c8f816131e8565b91508282048414831517613ca657613ca5613b60565b5b5092915050565b600081519050613cbc816131f2565b92915050565b600060208284031215613cd857613cd7613071565b5b6000613ce684828501613cad565b91505092915050565b7f546f6b656e206973206e6f74206f6e2073616c65000000000000000000000000600082015250565b6000613d25601483613141565b9150613d3082613cef565b602082019050919050565b60006020820190508181036000830152613d5481613d18565b9050919050565b7f4e6f7420656e6f7567682066756e640000000000000000000000000000000000600082015250565b6000613d91600f83613141565b9150613d9c82613d5b565b602082019050919050565b60006020820190508181036000830152613dc081613d84565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000613dfd601883613141565b9150613e0882613dc7565b602082019050919050565b60006020820190508181036000830152613e2c81613df0565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613e8f602983613141565b9150613e9a82613e33565b604082019050919050565b60006020820190508181036000830152613ebe81613e82565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613f277fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613eea565b613f318683613eea565b95508019841693508086168417925050509392505050565b6000613f64613f5f613f5a846131e8565b613410565b6131e8565b9050919050565b6000819050919050565b613f7e83613f49565b613f92613f8a82613f6b565b848454613ef7565b825550505050565b600090565b613fa7613f9a565b613fb2818484613f75565b505050565b5b81811015613fd657613fcb600082613f9f565b600181019050613fb8565b5050565b601f82111561401b57613fec81613ec5565b613ff584613eda565b81016020851015614004578190505b61401861401085613eda565b830182613fb7565b50505b505050565b600082821c905092915050565b600061403e60001984600802614020565b1980831691505092915050565b6000614057838361402d565b9150826002028217905092915050565b61407082613136565b67ffffffffffffffff811115614089576140886134d0565b5b6140938254613980565b61409e828285613fda565b600060209050601f8311600181146140d157600084156140bf578287015190505b6140c9858261404b565b865550614131565b601f1984166140df86613ec5565b60005b82811015614107578489015182556001820191506020850194506020810190506140e2565b868310156141245784890151614120601f89168261402d565b8355505b6001600288020188555050505b505050505050565b60006141448261343c565b9050919050565b61415481614139565b82525050565b600060608201905061416f600083018661414b565b61417c6020830185613313565b6141896040830184613313565b949350505050565b7f50726f7669646572546f6b656e2e746f6b656e5552493a206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006141ed602983613141565b91506141f882614191565b604082019050919050565b6000602082019050818103600083015261421c816141e0565b9050919050565b600081905092915050565b7f7b226e616d65223a220000000000000000000000000000000000000000000000600082015250565b6000614264600983614223565b915061426f8261422e565b600982019050919050565b600061428582613136565b61428f8185614223565b935061429f818560208601613152565b80840191505092915050565b7f222c226465736372697074696f6e223a22000000000000000000000000000000600082015250565b60006142e1601183614223565b91506142ec826142ab565b601182019050919050565b6000815461430481613980565b61430e8186614223565b94506001821660008114614329576001811461433e57614371565b60ff1983168652811515820286019350614371565b61434785613ec5565b60005b838110156143695781548189015260018201915060208101905061434a565b838801955050505b50505092915050565b7f222c2261747472696275746573223a5b00000000000000000000000000000000600082015250565b60006143b0601083614223565b91506143bb8261437a565b601082019050919050565b600081519050919050565b600081905092915050565b60006143e7826143c6565b6143f181856143d1565b9350614401818560208601613152565b80840191505092915050565b7f5d2c22696d616765223a22646174613a696d6167652f7376672b786d6c3b626160008201527f736536342c000000000000000000000000000000000000000000000000000000602082015250565b6000614469602583614223565b91506144748261440d565b602582019050919050565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b60006144b5600283614223565b91506144c08261447f565b600282019050919050565b60006144d682614257565b91506144e2828761427a565b91506144ed826142d4565b91506144f982866142f7565b9150614504826143a3565b915061451082856143dc565b915061451b8261445c565b9150614527828461427a565b9150614532826144a8565b915081905095945050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b6000614576601d83614223565b915061458182614540565b601d82019050919050565b600061459782614569565b91506145a3828461427a565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061460a602683613141565b9150614615826145ae565b604082019050919050565b60006020820190508181036000830152614639816145fd565b9050919050565b7f4f6e6c7920746865206f6e7765722063616e2073657420746865207072696365600082015250565b6000614676602083613141565b915061468182614640565b602082019050919050565b600060208201905081810360008301526146a581614669565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614708602183613141565b9150614713826146ac565b604082019050919050565b60006020820190508181036000830152614737816146fb565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b600061479a603e83613141565b91506147a58261473e565b604082019050919050565b600060208201905081810360008301526147c98161478d565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b600061482c602e83613141565b9150614837826147d0565b604082019050919050565b6000602082019050818103600083015261485b8161481f565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006148be602583613141565b91506148c982614862565b604082019050919050565b600060208201905081810360008301526148ed816148b1565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614950602483613141565b915061495b826148f4565b604082019050919050565b6000602082019050818103600083015261497f81614943565b9050919050565b6000614991826131e8565b915061499c836131e8565b92508282019050808211156149b4576149b3613b60565b5b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006149f0602083613141565b91506149fb826149ba565b602082019050919050565b60006020820190508181036000830152614a1f816149e3565b9050919050565b6000614a39614a348461354b565b613530565b905082815260208101848484011115614a5557614a546134cb565b5b614a60848285613152565b509392505050565b600082601f830112614a7d57614a7c6134c6565b5b8151614a8d848260208601614a26565b91505092915050565b60008060408385031215614aad57614aac613071565b5b600083015167ffffffffffffffff811115614acb57614aca613076565b5b614ad785828601614a68565b925050602083015167ffffffffffffffff811115614af857614af7613076565b5b614b0485828601614a68565b9150509250929050565b7f3c2f646566733e0a3c75736520687265663d2223000000000000000000000000600082015250565b6000614b44601483614223565b9150614b4f82614b0e565b601482019050919050565b7f22202f3e0a3c2f7376673e0a0000000000000000000000000000000000000000600082015250565b6000614b90600c83614223565b9150614b9b82614b5a565b600c82019050919050565b6000614bb2828661427a565b9150614bbe828561427a565b9150614bc982614b37565b9150614bd5828461427a565b9150614be082614b83565b9150819050949350505050565b7f446f74204e6f756e732000000000000000000000000000000000000000000000600082015250565b6000614c23600a83614223565b9150614c2e82614bed565b600a82019050919050565b6000614c4482614c16565b9150614c50828461427a565b915081905092915050565b600060208284031215614c7157614c70613071565b5b600082015167ffffffffffffffff811115614c8f57614c8e613076565b5b614c9b84828501614a68565b91505092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614d00603283613141565b9150614d0b82614ca4565b604082019050919050565b60006020820190508181036000830152614d2f81614cf3565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614d6c601983613141565b9150614d7782614d36565b602082019050919050565b60006020820190508181036000830152614d9b81614d5f565b9050919050565b6000614dad826131e8565b9150614db8836131e8565b925082614dc857614dc7613bd7565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614e38602083613141565b9150614e4382614e02565b602082019050919050565b60006020820190508181036000830152614e6781614e2b565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614ea4601c83613141565b9150614eaf82614e6e565b602082019050919050565b60006020820190508181036000830152614ed381614e97565b9050919050565b600082825260208201905092915050565b6000614ef6826143c6565b614f008185614eda565b9350614f10818560208601613152565b614f198161317c565b840191505092915050565b6000608082019050614f39600083018761327d565b614f46602083018661327d565b614f536040830185613313565b8181036060830152614f658184614eeb565b905095945050505050565b600081519050614f7f816130a7565b92915050565b600060208284031215614f9b57614f9a613071565b5b6000614fa984828501614f70565b9150509291505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f3c7376672076696577426f783d2230203020313032342031303234222020786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f737667223e0a3c646566733e0aa2646970667358221220593bc19239ec62d27a6497ef0c94344bc091bc8624f9e437697549ab2e8a13da64736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000005c8d7748bf07709d3adc3f74fa0255f9f358c8b1000000000000000000000000932e948e0435d412696fc7d7c95645fb09ff03d100000000000000000000000014aea32f6e6dcaecfa1bc62776b2e279db09255d
-----Decoded View---------------
Arg [0] : _tokenGate (address): 0x5C8d7748bF07709D3adC3f74fa0255F9f358C8b1
Arg [1] : _assetProvider (address): 0x932e948E0435D412696fc7D7c95645Fb09Ff03d1
Arg [2] : _designer (address): 0x14Aea32f6E6dCAecFA1BC62776b2e279Db09255d
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000005c8d7748bf07709d3adc3f74fa0255f9f358c8b1
Arg [1] : 000000000000000000000000932e948e0435d412696fc7d7c95645fb09ff03d1
Arg [2] : 00000000000000000000000014aea32f6e6dcaecfa1bc62776b2e279db09255d
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.