ERC-721
Overview
Max Total Supply
2,555 MTSCPS
Holders
1,297
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 MTSCPSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Metascapes
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 10000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "../MetaverseBaseNFT.sol"; // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMN+ohNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMy:`.mMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMy. `/hMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMm: `dMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMm: -yNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMy` :mMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMNo` -yMMMMMMMMMMMMMMMMMMMMMMMMMMm: `sNMNyNMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMms` -hMMMMMMMMMMMMMMMMMMMMMMNo` -dMMM/ oMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMd: `+mMMMMMMMMMMMMMMMMMMMh- /NMMMy :MMMMMMMMMMMM // MMMMMMMMMMMMMMMdosNMMMNy- .yMMMMMMMMMMMMMMMMm/` `sMMMMs` .MMMMMMMMMMMM // MMMMMMMMMMMMMMd` -hMMMMNh: /mMMMMMMMMMMMMNs. -hMMMMh `MMMMMMMMMMMM // MMMMMMMMMMMMMM/ `/mMMMMNy- .dMMMMMMMMMMd- :hNMMMMh. `MMMMMMMMMMMM // MMMMMMMMMMMMMM` -NMMMMMNo` `yMMMMMMMMs` :hMMMMMd+` `MMMMMMMMMMMM // MMMMMMMMMMMMMm `..mMMMMMMMm/ `yMMMMMN/ .yMMMMMm:` `. .MMMMMMMMMMMM // MMMMMMMMMMMMMm `dNmMMMMMMMMMN: `oMMMN: `+NMMMMMN: dm+ .MMMMMMMMMMMM // MMMMMMMMMMMMMN oMMMMM+omMMMMMN/ /mN: .hMMMMMMN/ /MMy .MMMMMMMMMMMM // MMMMMMMMMMMMMM dMMMMM: `+mMMMMMy` .: +mMMMMMMd- /NMMy `MMMMMMMMMMMM // MMMMMMMMMMMMMM` NMMMMMy .yMMMMMh.-:-yMMMMMMNs` -yMMMM+ `MMMMMMMMMMMM // MMMMMMMMMMMMMM` NMMMMMM+ `yMMMMMNNMMMMMMMMm/ `+NMMMMM- `MMMMMMMMMMMM // MMMMMMMMMMMMMM` NMMMMMMM+ `hMMMMMMMMMMMMMy. `yMMMMMMN `NMMMMMMMMMMM // MMMMMMMMMMMMMM. MMMMMMMMMo` `/mMMMMMMMMMm+ .dMMMMMMMN` `NMMMMMMMMMMM // MMMMMMMMMMMMMM- -MMMMMMMMMMy` .hMMMMMMMy. -dMMMMMMMMM- `MMMMMMMMMMMM // MMMMMMMMMMMMMM/ yMMMMMMMMMMMd` `sMMMMN/ `+NMMMMMMMMMM: `MMMMMMMMMMMM // MMMMMMMMMMMMMMs `NMMMMMMMMMMMMd. sMMm- omMMMMMMMMMMMM- .MMMMMMMMMMMM // MMMMMMMMMMMMMMm`+MMMMMMMMMMMMMMN: /o- `sMMMMMMMMMMMMMM- :MMMMMMMMMMMM // MMMMMMMMMMMMMMMmMMMMMMMMMMMMMMMMMs` ` :dMMMMMMMMMMMMMMM/ +MMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMd//yds/hMMMMMMMMMMMMMMMMMd-`hMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM // MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM contract Metascapes is MetaverseBaseNFT { address immutable SLOIKA_TEAM = 0x720d71822E5A128EA015323e9c2Da40DDABe8e08; address immutable BUILDSHIP_TEAM = 0x704C043CeB93bD6cBE570C6A2708c3E1C0310587; address immutable AI_TEAM = 0x3F547A321EE5869DeE7B035A89aB24CfF4633181; address immutable METASCAPES_TEAM = 0xD7096C2E4281a7429D94ee21B53E7F0011D59FA3; constructor() MetaverseBaseNFT( 0.33 ether, 3333, // total supply 33, // reserved supply 1, // max mint per transaction 750, // royalty fee "ipfs://QmZaubUmk5Qm3Veb2EzoYS7ZEL9B995WRPCmUiG9RqSpsE/", "Metascapes", "MTSCPS" ) { setRoyaltyReceiver(METASCAPES_TEAM); } function withdraw() public override onlyOwner { uint256 balance = address(this).balance; // Sloika multi-sig // 0x720d71822E5A128EA015323e9c2Da40DDABe8e08 // 3.75% // Buildship multi-sig // 0x704C043CeB93bD6cBE570C6A2708c3E1C0310587 // 3.75% // AI team // 0x3F547A321EE5869DeE7B035A89aB24CfF4633181 // 5% // Metascape team // 0xD7096C2E4281a7429D94ee21B53E7F0011D59FA3 // 87.5% Address.sendValue(payable(METASCAPES_TEAM), balance * 8750 / 10000); Address.sendValue(payable(SLOIKA_TEAM), balance * 375 / 10000); Address.sendValue(payable(BUILDSHIP_TEAM), balance * 375 / 10000); Address.sendValue(payable(AI_TEAM), balance * 500 / 10000); } function withdrawToken(IERC20 token) public override onlyOwner { uint256 balance = token.balanceOf(address(this)); SafeERC20.safeTransfer(token, msg.sender, balance); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; interface INFTExtension is IERC165 { } interface INFTURIExtension is INFTExtension { function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; // These contract definitions are used to create a reference to the OpenSea // ProxyRegistry contract by using the registry's address (see isApprovedForAll). interface OwnableDelegateProxy { } interface ProxyRegistry { function proxies(address) external view returns (OwnableDelegateProxy); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; interface IAvatarNFT { function DEVELOPER() external pure returns (string memory _url); function DEVELOPER_ADDRESS() external pure returns (address payable _dev); // ------ View functions ------ function saleStarted() external view returns (bool); function isExtensionAllowed(address extension) external view returns (bool); /** Extra information stored for each tokenId. Optional, provided on mint */ function data(uint256 tokenId) external view returns (bytes32); // ------ Mint functions ------ /** Mint from NFTExtension contract. Optionally provide data parameter. */ function mintExternal(uint256 tokenId, address to, bytes32 data) external payable; // ------ Admin functions ------ function addExtension(address extension) external; function revokeExtension(address extension) external; function withdraw() external; } interface IMetaverseNFT is IAvatarNFT { // ------ View functions ------ /** Recommended royalty for tokenId sale. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); function totalSupply() external view returns (uint256); // ------ Admin functions ------ function setRoyaltyReceiver(address receiver) external; function setRoyaltyFee(uint256 fee) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165Checker.sol"; import "@openzeppelin/contracts/interfaces/IERC2981.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "./factory/extensions/INFTExtension.sol"; import "./factory/IMetaverseNFT.sol"; import "./factory/OpenseaProxy.sol"; // Want to launch your own collection ? Check out https://buildship.dev. // // zAAAAA#QQQQQ= // yN8NNN@@@@@@L // jgggggQ@@@@@| // ~;!!!!|ccccc~ // ,~__~~>||L||_ // ,~__~~>|||||_ // ,~__~~>|||||_ // ``````````````````````',,,,,~;;;;;,`````````````````````` // .'..................''''''''.....''''.................''. // `'''..'''....''''''.....''''''..''''''''....'''''''....''. // `'''',,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,'.'. // `.'''!^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^~'...` // `..''!^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^~''..` // ```````...''~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~:''..``````` // ..'..........''...'''...'...''''..''..''''...'...'''...''.............''` // .''..........''.........'.........''.........'.........''.............''` // .''..';^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^~'....` // .''..,aqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqv'....` // .''..,aqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqc'..''` // .''..,|77777777777777777777777777777777777777777777777777777777777^'..''` // .''..'.''.'''.....'''''.....''.'''....''.'''.....'''''.....''.''''....''` // .''..''...'''..............................................''''...''..''` // ``````....''',,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,''...'``````` // `...'':_______________________________________________,'...'` // ....'':_______________________________________________,'....` // .'...':__~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~___,'....` // .'...':__~~~!^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^;~~___,'...'` // `.'..'':___~~!^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^;~___~,'...'. // `,,,,,,,,:~~~~~~;!!!!!r=================|iiiiiiiiiiiiiiiii|>>>>>=^^^^^^;;;;;;;;: // `>LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLSUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU? // ~LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLSUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUw: // .t555555555yyyyy55555yyyyy555555yyyyy55Dgggggggggggggggggggggggggggggggggggggz // vNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ@QQQ! // ,KNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQP` // |6666666666666666666666666666666666668QQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ8; // `>LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLZUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU6L // ,LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLSUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUj. // !LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLS6UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUX; // .*LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLSUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU7` // _LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLSUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUa' // ^LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLSUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUX! // `+LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLSUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU> // '*LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLS6UUUUUUUUUUUUUUUUUUUUUUUUUUUUUz` // ,|LLLLLLLLLLLLLLLLLLLLLLLLLLLLLSUUUUUUUUUUUUUUUUUUUUUUUUUUUUUj' // ~LLLLLLLLLLLLLLLLLLLLLLLLLLLLLSU6UUUUUUUUUUUUUUUUUUUUUUUUUUX: contract MetaverseBaseNFT is ERC721, ReentrancyGuard, Ownable, IMetaverseNFT // implements IERC2981 { using Address for address; using SafeERC20 for IERC20; using Counters for Counters.Counter; Counters.Counter private _tokenIdCounter; uint256 public constant SALE_STARTS_AT_INFINITY = 2**256 - 1; uint256 public constant DEVELOPER_FEE = 500; // of 10,000 = 5% uint256 public startTimestamp = SALE_STARTS_AT_INFINITY; uint256 public reserved; uint256 public maxSupply; uint256 public maxPerMint; uint256 public price; uint256 public royaltyFee; address public royaltyReceiver; address public uriExtension = address(0x0); bool public isFrozen; bool private isOpenSeaProxyActive = true; /** * @dev Additional data for each token that needs to be stored and accessed on-chain */ mapping (uint256 => bytes32) public data; /** * @dev List of connected extensions */ INFTExtension[] public extensions; string public PROVENANCE_HASH = ""; string private CONTRACT_URI = ""; string private BASE_URI; event ExtensionAdded(address indexed extensionAddress); event ExtensionRevoked(address indexed extensionAddress); event ExtensionURIAdded(address indexed extensionAddress); constructor( uint256 _price, uint256 _maxSupply, uint256 _nReserved, uint256 _maxPerMint, uint256 _royaltyFee, string memory _uri, string memory _name, string memory _symbol ) ERC721(_name, _symbol) { price = _price; reserved = _nReserved; maxPerMint = _maxPerMint; maxSupply = _maxSupply; royaltyFee = _royaltyFee; royaltyReceiver = address(this); // Need help with uploading metadata? Try https://buildship.dev BASE_URI = _uri; } function _baseURI() internal view override returns (string memory) { return BASE_URI; } function contractURI() public view returns (string memory uri) { uri = bytes(CONTRACT_URI).length > 0 ? CONTRACT_URI : _baseURI(); } function tokenURI(uint256 tokenId) public view override returns (string memory) { if (uriExtension != address(0)) { string memory uri = INFTURIExtension(uriExtension).tokenURI(tokenId); if (bytes(uri).length > 0) { return uri; } } return super.tokenURI(tokenId); } function totalSupply() public view returns (uint256) { // Only works like this for sequential mint tokens return _tokenIdCounter.current(); } // ----- Admin functions ----- function setBaseURI(string calldata uri) public onlyOwner { BASE_URI = uri; } // Contract-level metadata for Opensea function setContractURI(string calldata uri) public onlyOwner { CONTRACT_URI = uri; } function setPrice(uint256 _price) public onlyOwner { price = _price; } // Freeze forever, irreversible function freeze() public onlyOwner { isFrozen = true; } function isExtensionAllowed(address _extension) public view returns (bool) { for (uint index = 0; index < extensions.length; index++) { if (address(extensions[index]) == _extension) { return true; } } return false; } // Extensions are allowed to mint function addExtension(address _extension) public onlyOwner { require(_extension != address(this), "Cannot add self as extension"); require(!isExtensionAllowed(_extension), "Extension already added"); extensions.push(INFTExtension(_extension)); emit ExtensionAdded(_extension); } function revokeExtension(address _extension) public onlyOwner { uint256 index = 0; for (; index < extensions.length; index++) { if (extensions[index] == INFTExtension(_extension)) { break; } } extensions[index] = extensions[extensions.length - 1]; extensions.pop(); emit ExtensionRevoked(_extension); } function setExtensionTokenURI(address extension) public onlyOwner { require(extension != address(this), "Cannot add self as extension"); require(extension == address(0x0) || ERC165Checker.supportsInterface(extension, type(INFTURIExtension).interfaceId), "Not conforms to extension"); uriExtension = extension; emit ExtensionURIAdded(extension); } // function to disable gasless listings for security in case // opensea ever shuts down or is compromised // from CryptoCoven https://etherscan.io/address/0x5180db8f5c931aae63c74266b211f580155ecac8#code function setIsOpenSeaProxyActive(bool _isOpenSeaProxyActive) public onlyOwner { isOpenSeaProxyActive = _isOpenSeaProxyActive; } // ---- Minting ---- function _mintConsecutive(uint256 nTokens, address to, bytes32 extraData) internal { require(_tokenIdCounter.current() + nTokens + reserved <= maxSupply, "Not enough Tokens left."); for (uint256 i; i < nTokens; i++) { uint256 tokenId = _tokenIdCounter.current(); _tokenIdCounter.increment(); _safeMint(to, tokenId); data[tokenId] = extraData; } } // ---- Mint control ---- modifier whenSaleStarted() { require(saleStarted(), "Sale not started"); _; } modifier whenNotFrozen() { require(!isFrozen, "Minting is frozen"); _; } modifier onlyExtension() { require(isExtensionAllowed(msg.sender), "Extension should be added to contract before minting"); _; } // ---- Mint public ---- // Contract can sell tokens function mint(uint256 nTokens) external payable nonReentrant whenSaleStarted { require(nTokens <= maxPerMint, "You cannot mint more than MAX_TOKENS_PER_MINT tokens at once!"); require(nTokens * price <= msg.value, "Inconsistent amount sent!"); _mintConsecutive(nTokens, msg.sender, 0x0); } // Owner can claim free tokens function claim(uint256 nTokens, address to) external nonReentrant onlyOwner { require(nTokens <= reserved, "That would exceed the max reserved."); reserved = reserved - nTokens; _mintConsecutive(nTokens, to, 0x0); } // ---- Mint via extension function mintExternal(uint256 nTokens, address to, bytes32 extraData) external payable onlyExtension nonReentrant { _mintConsecutive(nTokens, to, extraData); } // ---- Sale control ---- function updateStartTimestamp(uint256 _startTimestamp) public onlyOwner whenNotFrozen { startTimestamp = _startTimestamp; } function startSale() public onlyOwner whenNotFrozen { startTimestamp = block.timestamp; } function stopSale() public onlyOwner { startTimestamp = SALE_STARTS_AT_INFINITY; } function saleStarted() public view returns (bool) { return block.timestamp >= startTimestamp; } // ---- Offchain Info ---- // This should be set before sales open. function setProvenanceHash(string memory provenanceHash) public onlyOwner { PROVENANCE_HASH = provenanceHash; } function setRoyaltyFee(uint256 _royaltyFee) public onlyOwner { royaltyFee = _royaltyFee; } function setRoyaltyReceiver(address _receiver) public onlyOwner { royaltyReceiver = _receiver; } function royaltyInfo(uint256, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount) { // We use the same contract to split royalties: 5% of royalty goes to the developer receiver = royaltyReceiver; royaltyAmount = salePrice * royaltyFee / 10000; } // ---- Allow royalty deposits from Opensea ----- receive() external payable {} // ---- Withdraw ----- function withdraw() public virtual onlyOwner { uint256 balance = address(this).balance; uint256 amount = balance * (10000 - DEVELOPER_FEE) / 10000; address payable dev = DEVELOPER_ADDRESS(); Address.sendValue(payable(msg.sender), amount); Address.sendValue(dev, balance - amount); } function withdrawToken(IERC20 token) public virtual onlyOwner { uint256 balance = token.balanceOf(address(this)); uint256 amount = balance * (10000 - DEVELOPER_FEE) / 10000; address payable dev = DEVELOPER_ADDRESS(); token.safeTransfer(payable(msg.sender), amount); token.safeTransfer(dev, balance - amount); } function DEVELOPER() public pure returns (string memory _url) { _url = "https://buildship.dev"; } function DEVELOPER_ADDRESS() public pure returns (address payable _dev) { _dev = payable(0x704C043CeB93bD6cBE570C6A2708c3E1C0310587); } // -------- ERC721 overrides -------- function supportsInterface(bytes4 interfaceId) public view override returns (bool) { return interfaceId == type(IERC2981).interfaceId || interfaceId == type(IMetaverseNFT).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Override isApprovedForAll to allowlist user's OpenSea proxy accounts to enable gas-less listings. * Taken from CryptoCoven: https://etherscan.io/address/0x5180db8f5c931aae63c74266b211f580155ecac8#code */ function isApprovedForAll(address owner, address operator) public view override returns (bool) { // Get a reference to OpenSea's proxy registry contract by instantiating // the contract using the already existing address. ProxyRegistry proxyRegistry = ProxyRegistry(0xa5409ec958C83C3f309868babACA7c86DCB077c1); if (isOpenSeaProxyActive && address(proxyRegistry.proxies(owner)) == operator) { return true; } return super.isApprovedForAll(owner, operator); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Library used to query support of an interface declared via {IERC165}. * * Note that these functions return the actual result of the query: they do not * `revert` if an interface is not supported. It is up to the caller to decide * what to do in these cases. */ library ERC165Checker { // As per the EIP-165 spec, no interface should ever match 0xffffffff bytes4 private constant _INTERFACE_ID_INVALID = 0xffffffff; /** * @dev Returns true if `account` supports the {IERC165} interface, */ function supportsERC165(address account) internal view returns (bool) { // Any contract that implements ERC165 must explicitly indicate support of // InterfaceId_ERC165 and explicitly indicate non-support of InterfaceId_Invalid return _supportsERC165Interface(account, type(IERC165).interfaceId) && !_supportsERC165Interface(account, _INTERFACE_ID_INVALID); } /** * @dev Returns true if `account` supports the interface defined by * `interfaceId`. Support for {IERC165} itself is queried automatically. * * See {IERC165-supportsInterface}. */ function supportsInterface(address account, bytes4 interfaceId) internal view returns (bool) { // query support of both ERC165 as per the spec and support of _interfaceId return supportsERC165(account) && _supportsERC165Interface(account, interfaceId); } /** * @dev Returns a boolean array where each value corresponds to the * interfaces passed in and whether they're supported or not. This allows * you to batch check interfaces for a contract where your expectation * is that some interfaces may not be supported. * * See {IERC165-supportsInterface}. * * _Available since v3.4._ */ function getSupportedInterfaces(address account, bytes4[] memory interfaceIds) internal view returns (bool[] memory) { // an array of booleans corresponding to interfaceIds and whether they're supported or not bool[] memory interfaceIdsSupported = new bool[](interfaceIds.length); // query support of ERC165 itself if (supportsERC165(account)) { // query support of each interface in interfaceIds for (uint256 i = 0; i < interfaceIds.length; i++) { interfaceIdsSupported[i] = _supportsERC165Interface(account, interfaceIds[i]); } } return interfaceIdsSupported; } /** * @dev Returns true if `account` supports all the interfaces defined in * `interfaceIds`. Support for {IERC165} itself is queried automatically. * * Batch-querying can lead to gas savings by skipping repeated checks for * {IERC165} support. * * See {IERC165-supportsInterface}. */ function supportsAllInterfaces(address account, bytes4[] memory interfaceIds) internal view returns (bool) { // query support of ERC165 itself if (!supportsERC165(account)) { return false; } // query support of each interface in _interfaceIds for (uint256 i = 0; i < interfaceIds.length; i++) { if (!_supportsERC165Interface(account, interfaceIds[i])) { return false; } } // all interfaces supported return true; } /** * @notice Query if a contract implements an interface, does not check ERC165 support * @param account The address of the contract to query for support of an interface * @param interfaceId The interface identifier, as specified in ERC-165 * @return true if the contract at account indicates support of the interface with * identifier interfaceId, false otherwise * @dev Assumes that account contains a contract that supports ERC165, otherwise * the behavior of this method is undefined. This precondition can be checked * with {supportsERC165}. * Interface identification is specified in ERC-165. */ function _supportsERC165Interface(address account, bytes4 interfaceId) private view returns (bool) { bytes memory encodedParams = abi.encodeWithSelector(IERC165.supportsInterface.selector, interfaceId); (bool success, bytes memory result) = account.staticcall{gas: 30000}(encodedParams); if (result.length < 32) return false; return success && abi.decode(result, (bool)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC20.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard */ interface IERC2981 is IERC165 { /** * @dev Called with the sale price to determine how much royalty is owed and to whom. * @param tokenId - the NFT asset queried for royalty information * @param salePrice - the sale price of the NFT asset specified by `tokenId` * @return receiver - address of who should be sent the royalty payment * @return royaltyAmount - the royalty payment amount for `salePrice` */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol";
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 10000 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"extensionAddress","type":"address"}],"name":"ExtensionAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"extensionAddress","type":"address"}],"name":"ExtensionRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"extensionAddress","type":"address"}],"name":"ExtensionURIAdded","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":"DEVELOPER","outputs":[{"internalType":"string","name":"_url","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"DEVELOPER_ADDRESS","outputs":[{"internalType":"address payable","name":"_dev","type":"address"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"DEVELOPER_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PROVENANCE_HASH","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SALE_STARTS_AT_INFINITY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_extension","type":"address"}],"name":"addExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nTokens","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"uri","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"data","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"extensions","outputs":[{"internalType":"contract INFTExtension","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeze","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_extension","type":"address"}],"name":"isExtensionAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isFrozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"nTokens","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"bytes32","name":"extraData","type":"bytes32"}],"name":"mintExternal","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_extension","type":"address"}],"name":"revokeExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royaltyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"extension","type":"address"}],"name":"setExtensionTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isOpenSeaProxyActive","type":"bool"}],"name":"setIsOpenSeaProxyActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_royaltyFee","type":"uint256"}],"name":"setRoyaltyFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"}],"name":"setRoyaltyReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stopSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startTimestamp","type":"uint256"}],"name":"updateStartTimestamp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriExtension","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60001960095560108054600161ff0160a01b031916600160a81b179055610120604081905260006101008190526200003a91601391620002a9565b506040805160208101918290526000908190526200005b91601491620002a9565b5073720d71822e5a128ea015323e9c2da40ddabe8e0860805273704c043ceb93bd6cbe570c6a2708c3e1c031058760a052733f547a321ee5869dee7b035a89ab24cff463318160c05273d7096c2e4281a7429d94ee21b53e7f0011d59fa360e052348015620000c957600080fd5b50670494654067e10000610d05602160016102ee6040518060600160405280603681526020016200455860369139604080518082018252600a8152694d65746173636170657360b01b6020808301918252835180850190945260068452654d545343505360d01b908401528151919291839183916200014b91600091620002a9565b50805162000161906001906020840190620002a9565b50506001600655506200017433620001d6565b600d889055600a869055600c859055600b879055600e849055600f80546001600160a01b031916301790558251620001b4906015906020860190620002a9565b505050505050505050620001d060e0516200022860201b60201c565b6200038c565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6007546001600160a01b03163314620002875760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b828054620002b7906200034f565b90600052602060002090601f016020900481019282620002db576000855562000326565b82601f10620002f657805160ff191683800117855562000326565b8280016001018555821562000326579182015b828111156200032657825182559160200191906001019062000309565b506200033492915062000338565b5090565b5b8082111562000334576000815560010162000339565b600181811c908216806200036457607f821691505b602082108114156200038657634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e051614192620003c660003960006110ba015260006111620152600061112f015260006110fc01526141926000f3fe60806040526004361061036f5760003560e01c80638dc251e3116101c6578063d56b7546116100f7578063e6fd48bc11610095578063f0ba84401161006f578063f0ba8440146109f4578063f2fde38b14610a21578063fe60d12c14610a41578063ff1b655614610a5757600080fd5b8063e6fd48bc146109a9578063e8a3d485146109bf578063e985e9c5146109d457600080fd5b8063ddd5e1b2116100d1578063ddd5e1b214610934578063e36b0b3714610954578063e43082f714610969578063e67151ae1461098957600080fd5b8063d56b7546146108e8578063d5abeb01146108fe578063db85d59c1461091457600080fd5b8063a0712d6811610164578063b66a0e5d1161013e578063b66a0e5d1461087d578063b88d4fde14610892578063b8997a97146108b2578063c87b56dd146108c857600080fd5b8063a0712d681461082a578063a22cb4651461083d578063a769310a1461085d57600080fd5b806395d89b41116101a057806395d89b41146107ab5780639eb88b2c146107c05780639fbc8713146107f4578063a035b1fe1461081457600080fd5b80638dc251e31461074b57806391b7f5ed1461076b578063938e3d7b1461078b57600080fd5b8063454e66c8116102a05780636352211e1161023e57806370a082311161021857806370a08231146106d8578063715018a6146106f8578063894760691461070d5780638da5cb5b1461072d57600080fd5b80636352211e1461067857806363c5c599146106985780636b853314146106b857600080fd5b806352ee46961161027a57806352ee46961461060b57806355f804b31461062b5780635c474f9e1461064b57806362a5af3b1461066357600080fd5b8063454e66c8146105bb5780634690521b146105e2578063507e094f146105f557600080fd5b806323b872dd1161030d5780633c934ab3116102e75780633c934ab3146105205780633ccfd60b146105665780633e4086e51461057b57806342842e0e1461059b57600080fd5b806323b872dd1461048f5780632a55205a146104af57806333eeb147146104ee57600080fd5b8063095ea7b311610349578063095ea7b31461040a578063109695231461042c578063170ff3e11461044c57806318160ddd1461046c57600080fd5b806301ffc9a71461037b57806306fdde03146103b0578063081812fc146103d257600080fd5b3661037657005b600080fd5b34801561038757600080fd5b5061039b610396366004613980565b610a6c565b60405190151581526020015b60405180910390f35b3480156103bc57600080fd5b506103c5610b14565b6040516103a79190613a13565b3480156103de57600080fd5b506103f26103ed366004613a26565b610ba6565b6040516001600160a01b0390911681526020016103a7565b34801561041657600080fd5b5061042a610425366004613a54565b610c51565b005b34801561043857600080fd5b5061042a610447366004613b82565b610d83565b34801561045857600080fd5b5061042a610467366004613bcb565b610df4565b34801561047857600080fd5b50610481610f8d565b6040519081526020016103a7565b34801561049b57600080fd5b5061042a6104aa366004613be8565b610f9d565b3480156104bb57600080fd5b506104cf6104ca366004613c29565b611024565b604080516001600160a01b0390931683526020830191909152016103a7565b3480156104fa57600080fd5b5060105461039b9074010000000000000000000000000000000000000000900460ff1681565b34801561052c57600080fd5b5060408051808201909152601581527f68747470733a2f2f6275696c64736869702e646576000000000000000000000060208201526103c5565b34801561057257600080fd5b5061042a61105a565b34801561058757600080fd5b5061042a610596366004613a26565b611193565b3480156105a757600080fd5b5061042a6105b6366004613be8565b6111f2565b3480156105c757600080fd5b5073704c043ceb93bd6cbe570c6a2708c3e1c03105876103f2565b61042a6105f0366004613c4b565b61120d565b34801561060157600080fd5b50610481600c5481565b34801561061757600080fd5b506010546103f2906001600160a01b031681565b34801561063757600080fd5b5061042a610646366004613c72565b6112f5565b34801561065757600080fd5b5060095442101561039b565b34801561066f57600080fd5b5061042a61135b565b34801561068457600080fd5b506103f2610693366004613a26565b6113f6565b3480156106a457600080fd5b5061039b6106b3366004613bcb565b611481565b3480156106c457600080fd5b5061042a6106d3366004613bcb565b6114eb565b3480156106e457600080fd5b506104816106f3366004613bcb565b611687565b34801561070457600080fd5b5061042a611721565b34801561071957600080fd5b5061042a610728366004613bcb565b611787565b34801561073957600080fd5b506007546001600160a01b03166103f2565b34801561075757600080fd5b5061042a610766366004613bcb565b611881565b34801561077757600080fd5b5061042a610786366004613a26565b611915565b34801561079757600080fd5b5061042a6107a6366004613c72565b611974565b3480156107b757600080fd5b506103c56119da565b3480156107cc57600080fd5b506104817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81565b34801561080057600080fd5b50600f546103f2906001600160a01b031681565b34801561082057600080fd5b50610481600d5481565b61042a610838366004613a26565b6119e9565b34801561084957600080fd5b5061042a610858366004613cf2565b611b7c565b34801561086957600080fd5b5061042a610878366004613bcb565b611c5f565b34801561088957600080fd5b5061042a611e30565b34801561089e57600080fd5b5061042a6108ad366004613d2b565b611efb565b3480156108be57600080fd5b50610481600e5481565b3480156108d457600080fd5b506103c56108e3366004613a26565b611f89565b3480156108f457600080fd5b506104816101f481565b34801561090a57600080fd5b50610481600b5481565b34801561092057600080fd5b506103f261092f366004613a26565b612070565b34801561094057600080fd5b5061042a61094f366004613dab565b61209a565b34801561096057600080fd5b5061042a6121ea565b34801561097557600080fd5b5061042a610984366004613dd0565b61226a565b34801561099557600080fd5b5061042a6109a4366004613a26565b61230f565b3480156109b557600080fd5b5061048160095481565b3480156109cb57600080fd5b506103c56123d9565b3480156109e057600080fd5b5061039b6109ef366004613ded565b612406565b348015610a0057600080fd5b50610481610a0f366004613a26565b60116020526000908152604090205481565b348015610a2d57600080fd5b5061042a610a3c366004613bcb565b612528565b348015610a4d57600080fd5b50610481600a5481565b348015610a6357600080fd5b506103c5612607565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f2a55205a000000000000000000000000000000000000000000000000000000001480610aff57507fffffffff0000000000000000000000000000000000000000000000000000000082167f81c1fa8100000000000000000000000000000000000000000000000000000000145b80610b0e5750610b0e82612695565b92915050565b606060008054610b2390613e1b565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4f90613e1b565b8015610b9c5780601f10610b7157610100808354040283529160200191610b9c565b820191906000526020600020905b815481529060010190602001808311610b7f57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610c355760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610c5c826113f6565b9050806001600160a01b0316836001600160a01b03161415610ce65760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610c2c565b336001600160a01b0382161480610d025750610d028133612406565b610d745760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610c2c565b610d7e8383612778565b505050565b6007546001600160a01b03163314610ddd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2c565b8051610df0906013906020840190613827565b5050565b6007546001600160a01b03163314610e4e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2c565b6001600160a01b038116301415610ea75760405162461bcd60e51b815260206004820152601c60248201527f43616e6e6f74206164642073656c6620617320657874656e73696f6e000000006044820152606401610c2c565b610eb081611481565b15610efd5760405162461bcd60e51b815260206004820152601760248201527f457874656e73696f6e20616c72656164792061646465640000000000000000006044820152606401610c2c565b6012805460018101825560009182527fbb8a6a4669ba250d26cd7a459eca9d215f8307e33aebe50379bc5a3617ec34440180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03841690811790915560405190917f99c6112dbaef85e57ac8ca86dd23e3c785162b58a6e810e5d5e7455b568d66b191a250565b6000610f9860085490565b905090565b610fa733826127fe565b6110195760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610c2c565b610d7e8383836128de565b600f54600e546001600160a01b0390911690600090612710906110479085613e9e565b6110519190613f0a565b90509250929050565b6007546001600160a01b031633146110b45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2c565b476110f77f00000000000000000000000000000000000000000000000000000000000000006127106110e88461222e613e9e565b6110f29190613f0a565b612ac3565b61112a7f00000000000000000000000000000000000000000000000000000000000000006127106110e884610177613e9e565b61115d7f00000000000000000000000000000000000000000000000000000000000000006127106110e884610177613e9e565b6111907f00000000000000000000000000000000000000000000000000000000000000006127106110e8846101f4613e9e565b50565b6007546001600160a01b031633146111ed5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2c565b600e55565b610d7e83838360405180602001604052806000815250611efb565b61121633611481565b6112885760405162461bcd60e51b815260206004820152603460248201527f457874656e73696f6e2073686f756c6420626520616464656420746f20636f6e60448201527f7472616374206265666f7265206d696e74696e670000000000000000000000006064820152608401610c2c565b600260065414156112db5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c2c565b60026006556112eb838383612bdc565b5050600160065550565b6007546001600160a01b0316331461134f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2c565b610d7e601583836138ab565b6007546001600160a01b031633146113b55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2c565b601080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055565b6000818152600260205260408120546001600160a01b031680610b0e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610c2c565b6000805b6012548110156114e257826001600160a01b0316601282815481106114ac576114ac613f1e565b6000918252602090912001546001600160a01b031614156114d05750600192915050565b806114da81613f4d565b915050611485565b50600092915050565b6007546001600160a01b031633146115455760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2c565b6001600160a01b03811630141561159e5760405162461bcd60e51b815260206004820152601c60248201527f43616e6e6f74206164642073656c6620617320657874656e73696f6e000000006044820152606401610c2c565b6001600160a01b03811615806115d957506115d9817fc87b56dd00000000000000000000000000000000000000000000000000000000612ca1565b6116255760405162461bcd60e51b815260206004820152601960248201527f4e6f7420636f6e666f726d7320746f20657874656e73696f6e000000000000006044820152606401610c2c565b601080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383169081179091556040517f92597a601f19fe4d50f14ea76d7ba45d21bad7992f7e1709c605642b190de09290600090a250565b60006001600160a01b0382166117055760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610c2c565b506001600160a01b031660009081526003602052604090205490565b6007546001600160a01b0316331461177b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2c565b6117856000612cc4565b565b6007546001600160a01b031633146117e15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2c565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000906001600160a01b038316906370a082319060240160206040518083038186803b15801561183c57600080fd5b505afa158015611850573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118749190613f86565b9050610df0823383612d2e565b6007546001600160a01b031633146118db5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2c565b600f80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6007546001600160a01b0316331461196f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2c565b600d55565b6007546001600160a01b031633146119ce5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2c565b610d7e601483836138ab565b606060018054610b2390613e1b565b60026006541415611a3c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c2c565b6002600655600954421015611a935760405162461bcd60e51b815260206004820152601060248201527f53616c65206e6f742073746172746564000000000000000000000000000000006044820152606401610c2c565b600c54811115611b0b5760405162461bcd60e51b815260206004820152603d60248201527f596f752063616e6e6f74206d696e74206d6f7265207468616e204d41585f544f60448201527f4b454e535f5045525f4d494e5420746f6b656e73206174206f6e6365210000006064820152608401610c2c565b34600d5482611b1a9190613e9e565b1115611b685760405162461bcd60e51b815260206004820152601960248201527f496e636f6e73697374656e7420616d6f756e742073656e7421000000000000006044820152606401610c2c565b611b7481336000612bdc565b506001600655565b6001600160a01b038216331415611bd55760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610c2c565b3360008181526005602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6007546001600160a01b03163314611cb95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2c565b60005b601254811015611d1557816001600160a01b031660128281548110611ce357611ce3613f1e565b6000918252602090912001546001600160a01b03161415611d0357611d15565b80611d0d81613f4d565b915050611cbc565b60128054611d2590600190613f9f565b81548110611d3557611d35613f1e565b600091825260209091200154601280546001600160a01b039092169183908110611d6157611d61613f1e565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055506012805480611da057611da0613fb6565b60008281526020812082017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690559091019091556040516001600160a01b038416917fe056b30f86b962fc88925cb7559e4364707cab11d2c52e090e6c0db62eb9113591a25050565b6007546001600160a01b03163314611e8a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2c565b60105474010000000000000000000000000000000000000000900460ff1615611ef55760405162461bcd60e51b815260206004820152601160248201527f4d696e74696e672069732066726f7a656e0000000000000000000000000000006044820152606401610c2c565b42600955565b611f0533836127fe565b611f775760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610c2c565b611f8384848484612dae565b50505050565b6010546060906001600160a01b031615612067576010546040517fc87b56dd000000000000000000000000000000000000000000000000000000008152600481018490526000916001600160a01b03169063c87b56dd9060240160006040518083038186803b158015611ffb57600080fd5b505afa15801561200f573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526120559190810190613fe5565b8051909150156120655792915050565b505b610b0e82612e37565b6012818154811061208057600080fd5b6000918252602090912001546001600160a01b0316905081565b600260065414156120ed5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c2c565b60026006556007546001600160a01b0316331461214c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2c565b600a548211156121c45760405162461bcd60e51b815260206004820152602360248201527f5468617420776f756c642065786365656420746865206d61782072657365727660448201527f65642e00000000000000000000000000000000000000000000000000000000006064820152608401610c2c565b81600a546121d29190613f9f565b600a556121e182826000612bdc565b50506001600655565b6007546001600160a01b031633146122445760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2c565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600955565b6007546001600160a01b031633146122c45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2c565b601080549115157501000000000000000000000000000000000000000000027fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff909216919091179055565b6007546001600160a01b031633146123695760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2c565b60105474010000000000000000000000000000000000000000900460ff16156123d45760405162461bcd60e51b815260206004820152601160248201527f4d696e74696e672069732066726f7a656e0000000000000000000000000000006044820152606401610c2c565b600955565b60606000601480546123ea90613e1b565b9050116123f957610f98612f1f565b60148054610b2390613e1b565b60105460009073a5409ec958c83c3f309868babaca7c86dcb077c1907501000000000000000000000000000000000000000000900460ff1680156124e757506040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b038581166004830152808516919083169063c45527919060240160206040518083038186803b1580156124a457600080fd5b505afa1580156124b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124dc919061405c565b6001600160a01b0316145b156124f6576001915050610b0e565b6001600160a01b0380851660009081526005602090815260408083209387168352929052205460ff165b949350505050565b6007546001600160a01b031633146125825760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2c565b6001600160a01b0381166125fe5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610c2c565b61119081612cc4565b6013805461261490613e1b565b80601f016020809104026020016040519081016040528092919081815260200182805461264090613e1b565b801561268d5780601f106126625761010080835404028352916020019161268d565b820191906000526020600020905b81548152906001019060200180831161267057829003601f168201915b505050505081565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061272857507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610b0e57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610b0e565b600081815260046020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03841690811790915581906127c5826113f6565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166128885760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610c2c565b6000612893836113f6565b9050806001600160a01b0316846001600160a01b031614806128ce5750836001600160a01b03166128c384610ba6565b6001600160a01b0316145b8061252057506125208185612406565b826001600160a01b03166128f1826113f6565b6001600160a01b03161461296d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610c2c565b6001600160a01b0382166129e85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610c2c565b6129f3600082612778565b6001600160a01b0383166000908152600360205260408120805460019290612a1c908490613f9f565b90915550506001600160a01b0382166000908152600360205260408120805460019290612a4a908490614079565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b80471015612b135760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610c2c565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612b60576040519150601f19603f3d011682016040523d82523d6000602084013e612b65565b606091505b5050905080610d7e5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610c2c565b600b54600a5484612bec60085490565b612bf69190614079565b612c009190614079565b1115612c4e5760405162461bcd60e51b815260206004820152601760248201527f4e6f7420656e6f75676820546f6b656e73206c6566742e0000000000000000006044820152606401610c2c565b60005b83811015611f83576000612c6460085490565b9050612c74600880546001019055565b612c7e8482612f2e565b600090815260116020526040902082905580612c9981613f4d565b915050612c51565b6000612cac83612f48565b8015612cbd5750612cbd8383612fac565b9392505050565b600780546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610d7e9084906130db565b612db98484846128de565b612dc5848484846131c0565b611f835760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610c2c565b6000818152600260205260409020546060906001600160a01b0316612ec45760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610c2c565b6000612ece612f1f565b90506000815111612eee5760405180602001604052806000815250612cbd565b80612ef88461338b565b604051602001612f09929190614091565b6040516020818303038152906040529392505050565b606060158054610b2390613e1b565b610df08282604051806020016040528060008152506134bd565b6000612f74827f01ffc9a700000000000000000000000000000000000000000000000000000000612fac565b8015610b0e5750612fa5827fffffffff00000000000000000000000000000000000000000000000000000000612fac565b1592915050565b604080517fffffffff00000000000000000000000000000000000000000000000000000000831660248083019190915282518083039091018152604490910182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a700000000000000000000000000000000000000000000000000000000179052905160009190829081906001600160a01b03871690617530906130599086906140c0565b6000604051808303818686fa925050503d8060008114613095576040519150601f19603f3d011682016040523d82523d6000602084013e61309a565b606091505b50915091506020815110156130b55760009350505050610b0e565b8180156130d15750808060200190518101906130d191906140dc565b9695505050505050565b6000613130826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166135469092919063ffffffff16565b805190915015610d7e578080602001905181019061314e91906140dc565b610d7e5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610c2c565b60006001600160a01b0384163b15613380576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a029061321d9033908990889088906004016140f9565b602060405180830381600087803b15801561323757600080fd5b505af1925050508015613285575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526132829181019061412b565b60015b613335573d8080156132b3576040519150601f19603f3d011682016040523d82523d6000602084013e6132b8565b606091505b50805161332d5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610c2c565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050612520565b506001949350505050565b6060816133cb57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156133f557806133df81613f4d565b91506133ee9050600a83613f0a565b91506133cf565b60008167ffffffffffffffff81111561341057613410613a80565b6040519080825280601f01601f19166020018201604052801561343a576020820181803683370190505b5090505b84156125205761344f600183613f9f565b915061345c600a86614148565b613467906030614079565b60f81b81838151811061347c5761347c613f1e565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506134b6600a86613f0a565b945061343e565b6134c78383613555565b6134d460008484846131c0565b610d7e5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610c2c565b606061252084846000856136af565b6001600160a01b0382166135ab5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610c2c565b6000818152600260205260409020546001600160a01b0316156136105760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610c2c565b6001600160a01b0382166000908152600360205260408120805460019290613639908490614079565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060824710156137275760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610c2c565b843b6137755760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610c2c565b600080866001600160a01b0316858760405161379191906140c0565b60006040518083038185875af1925050503d80600081146137ce576040519150601f19603f3d011682016040523d82523d6000602084013e6137d3565b606091505b50915091506137e38282866137ee565b979650505050505050565b606083156137fd575081612cbd565b82511561380d5782518084602001fd5b8160405162461bcd60e51b8152600401610c2c9190613a13565b82805461383390613e1b565b90600052602060002090601f016020900481019282613855576000855561389b565b82601f1061386e57805160ff191683800117855561389b565b8280016001018555821561389b579182015b8281111561389b578251825591602001919060010190613880565b506138a792915061393d565b5090565b8280546138b790613e1b565b90600052602060002090601f0160209004810192826138d9576000855561389b565b82601f10613910578280017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0082351617855561389b565b8280016001018555821561389b579182015b8281111561389b578235825591602001919060010190613922565b5b808211156138a7576000815560010161393e565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461119057600080fd5b60006020828403121561399257600080fd5b8135612cbd81613952565b60005b838110156139b85781810151838201526020016139a0565b83811115611f835750506000910152565b600081518084526139e181602086016020860161399d565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000612cbd60208301846139c9565b600060208284031215613a3857600080fd5b5035919050565b6001600160a01b038116811461119057600080fd5b60008060408385031215613a6757600080fd5b8235613a7281613a3f565b946020939093013593505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715613af657613af6613a80565b604052919050565b600067ffffffffffffffff821115613b1857613b18613a80565b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b6000613b57613b5284613afe565b613aaf565b9050828152838383011115613b6b57600080fd5b828260208301376000602084830101529392505050565b600060208284031215613b9457600080fd5b813567ffffffffffffffff811115613bab57600080fd5b8201601f81018413613bbc57600080fd5b61252084823560208401613b44565b600060208284031215613bdd57600080fd5b8135612cbd81613a3f565b600080600060608486031215613bfd57600080fd5b8335613c0881613a3f565b92506020840135613c1881613a3f565b929592945050506040919091013590565b60008060408385031215613c3c57600080fd5b50508035926020909101359150565b600080600060608486031215613c6057600080fd5b833592506020840135613c1881613a3f565b60008060208385031215613c8557600080fd5b823567ffffffffffffffff80821115613c9d57600080fd5b818501915085601f830112613cb157600080fd5b813581811115613cc057600080fd5b866020828501011115613cd257600080fd5b60209290920196919550909350505050565b801515811461119057600080fd5b60008060408385031215613d0557600080fd5b8235613d1081613a3f565b91506020830135613d2081613ce4565b809150509250929050565b60008060008060808587031215613d4157600080fd5b8435613d4c81613a3f565b93506020850135613d5c81613a3f565b925060408501359150606085013567ffffffffffffffff811115613d7f57600080fd5b8501601f81018713613d9057600080fd5b613d9f87823560208401613b44565b91505092959194509250565b60008060408385031215613dbe57600080fd5b823591506020830135613d2081613a3f565b600060208284031215613de257600080fd5b8135612cbd81613ce4565b60008060408385031215613e0057600080fd5b8235613e0b81613a3f565b91506020830135613d2081613a3f565b600181811c90821680613e2f57607f821691505b60208210811415613e69577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613ed657613ed6613e6f565b500290565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082613f1957613f19613edb565b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613f7f57613f7f613e6f565b5060010190565b600060208284031215613f9857600080fd5b5051919050565b600082821015613fb157613fb1613e6f565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600060208284031215613ff757600080fd5b815167ffffffffffffffff81111561400e57600080fd5b8201601f8101841361401f57600080fd5b805161402d613b5282613afe565b81815285602083850101111561404257600080fd5b61405382602083016020860161399d565b95945050505050565b60006020828403121561406e57600080fd5b8151612cbd81613a3f565b6000821982111561408c5761408c613e6f565b500190565b600083516140a381846020880161399d565b8351908301906140b781836020880161399d565b01949350505050565b600082516140d281846020870161399d565b9190910192915050565b6000602082840312156140ee57600080fd5b8151612cbd81613ce4565b60006001600160a01b038087168352808616602084015250836040830152608060608301526130d160808301846139c9565b60006020828403121561413d57600080fd5b8151612cbd81613952565b60008261415757614157613edb565b50069056fea2646970667358221220ca66b5b2e98222b96f7392c7e63a002c37b97c7c862b50d197be95cdb0482c1664736f6c63430008090033697066733a2f2f516d5a617562556d6b35516d3356656232457a6f5953375a454c3942393935575250436d556947395271537073452f
Deployed Bytecode
0x60806040526004361061036f5760003560e01c80638dc251e3116101c6578063d56b7546116100f7578063e6fd48bc11610095578063f0ba84401161006f578063f0ba8440146109f4578063f2fde38b14610a21578063fe60d12c14610a41578063ff1b655614610a5757600080fd5b8063e6fd48bc146109a9578063e8a3d485146109bf578063e985e9c5146109d457600080fd5b8063ddd5e1b2116100d1578063ddd5e1b214610934578063e36b0b3714610954578063e43082f714610969578063e67151ae1461098957600080fd5b8063d56b7546146108e8578063d5abeb01146108fe578063db85d59c1461091457600080fd5b8063a0712d6811610164578063b66a0e5d1161013e578063b66a0e5d1461087d578063b88d4fde14610892578063b8997a97146108b2578063c87b56dd146108c857600080fd5b8063a0712d681461082a578063a22cb4651461083d578063a769310a1461085d57600080fd5b806395d89b41116101a057806395d89b41146107ab5780639eb88b2c146107c05780639fbc8713146107f4578063a035b1fe1461081457600080fd5b80638dc251e31461074b57806391b7f5ed1461076b578063938e3d7b1461078b57600080fd5b8063454e66c8116102a05780636352211e1161023e57806370a082311161021857806370a08231146106d8578063715018a6146106f8578063894760691461070d5780638da5cb5b1461072d57600080fd5b80636352211e1461067857806363c5c599146106985780636b853314146106b857600080fd5b806352ee46961161027a57806352ee46961461060b57806355f804b31461062b5780635c474f9e1461064b57806362a5af3b1461066357600080fd5b8063454e66c8146105bb5780634690521b146105e2578063507e094f146105f557600080fd5b806323b872dd1161030d5780633c934ab3116102e75780633c934ab3146105205780633ccfd60b146105665780633e4086e51461057b57806342842e0e1461059b57600080fd5b806323b872dd1461048f5780632a55205a146104af57806333eeb147146104ee57600080fd5b8063095ea7b311610349578063095ea7b31461040a578063109695231461042c578063170ff3e11461044c57806318160ddd1461046c57600080fd5b806301ffc9a71461037b57806306fdde03146103b0578063081812fc146103d257600080fd5b3661037657005b600080fd5b34801561038757600080fd5b5061039b610396366004613980565b610a6c565b60405190151581526020015b60405180910390f35b3480156103bc57600080fd5b506103c5610b14565b6040516103a79190613a13565b3480156103de57600080fd5b506103f26103ed366004613a26565b610ba6565b6040516001600160a01b0390911681526020016103a7565b34801561041657600080fd5b5061042a610425366004613a54565b610c51565b005b34801561043857600080fd5b5061042a610447366004613b82565b610d83565b34801561045857600080fd5b5061042a610467366004613bcb565b610df4565b34801561047857600080fd5b50610481610f8d565b6040519081526020016103a7565b34801561049b57600080fd5b5061042a6104aa366004613be8565b610f9d565b3480156104bb57600080fd5b506104cf6104ca366004613c29565b611024565b604080516001600160a01b0390931683526020830191909152016103a7565b3480156104fa57600080fd5b5060105461039b9074010000000000000000000000000000000000000000900460ff1681565b34801561052c57600080fd5b5060408051808201909152601581527f68747470733a2f2f6275696c64736869702e646576000000000000000000000060208201526103c5565b34801561057257600080fd5b5061042a61105a565b34801561058757600080fd5b5061042a610596366004613a26565b611193565b3480156105a757600080fd5b5061042a6105b6366004613be8565b6111f2565b3480156105c757600080fd5b5073704c043ceb93bd6cbe570c6a2708c3e1c03105876103f2565b61042a6105f0366004613c4b565b61120d565b34801561060157600080fd5b50610481600c5481565b34801561061757600080fd5b506010546103f2906001600160a01b031681565b34801561063757600080fd5b5061042a610646366004613c72565b6112f5565b34801561065757600080fd5b5060095442101561039b565b34801561066f57600080fd5b5061042a61135b565b34801561068457600080fd5b506103f2610693366004613a26565b6113f6565b3480156106a457600080fd5b5061039b6106b3366004613bcb565b611481565b3480156106c457600080fd5b5061042a6106d3366004613bcb565b6114eb565b3480156106e457600080fd5b506104816106f3366004613bcb565b611687565b34801561070457600080fd5b5061042a611721565b34801561071957600080fd5b5061042a610728366004613bcb565b611787565b34801561073957600080fd5b506007546001600160a01b03166103f2565b34801561075757600080fd5b5061042a610766366004613bcb565b611881565b34801561077757600080fd5b5061042a610786366004613a26565b611915565b34801561079757600080fd5b5061042a6107a6366004613c72565b611974565b3480156107b757600080fd5b506103c56119da565b3480156107cc57600080fd5b506104817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81565b34801561080057600080fd5b50600f546103f2906001600160a01b031681565b34801561082057600080fd5b50610481600d5481565b61042a610838366004613a26565b6119e9565b34801561084957600080fd5b5061042a610858366004613cf2565b611b7c565b34801561086957600080fd5b5061042a610878366004613bcb565b611c5f565b34801561088957600080fd5b5061042a611e30565b34801561089e57600080fd5b5061042a6108ad366004613d2b565b611efb565b3480156108be57600080fd5b50610481600e5481565b3480156108d457600080fd5b506103c56108e3366004613a26565b611f89565b3480156108f457600080fd5b506104816101f481565b34801561090a57600080fd5b50610481600b5481565b34801561092057600080fd5b506103f261092f366004613a26565b612070565b34801561094057600080fd5b5061042a61094f366004613dab565b61209a565b34801561096057600080fd5b5061042a6121ea565b34801561097557600080fd5b5061042a610984366004613dd0565b61226a565b34801561099557600080fd5b5061042a6109a4366004613a26565b61230f565b3480156109b557600080fd5b5061048160095481565b3480156109cb57600080fd5b506103c56123d9565b3480156109e057600080fd5b5061039b6109ef366004613ded565b612406565b348015610a0057600080fd5b50610481610a0f366004613a26565b60116020526000908152604090205481565b348015610a2d57600080fd5b5061042a610a3c366004613bcb565b612528565b348015610a4d57600080fd5b50610481600a5481565b348015610a6357600080fd5b506103c5612607565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f2a55205a000000000000000000000000000000000000000000000000000000001480610aff57507fffffffff0000000000000000000000000000000000000000000000000000000082167f81c1fa8100000000000000000000000000000000000000000000000000000000145b80610b0e5750610b0e82612695565b92915050565b606060008054610b2390613e1b565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4f90613e1b565b8015610b9c5780601f10610b7157610100808354040283529160200191610b9c565b820191906000526020600020905b815481529060010190602001808311610b7f57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610c355760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610c5c826113f6565b9050806001600160a01b0316836001600160a01b03161415610ce65760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610c2c565b336001600160a01b0382161480610d025750610d028133612406565b610d745760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610c2c565b610d7e8383612778565b505050565b6007546001600160a01b03163314610ddd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2c565b8051610df0906013906020840190613827565b5050565b6007546001600160a01b03163314610e4e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2c565b6001600160a01b038116301415610ea75760405162461bcd60e51b815260206004820152601c60248201527f43616e6e6f74206164642073656c6620617320657874656e73696f6e000000006044820152606401610c2c565b610eb081611481565b15610efd5760405162461bcd60e51b815260206004820152601760248201527f457874656e73696f6e20616c72656164792061646465640000000000000000006044820152606401610c2c565b6012805460018101825560009182527fbb8a6a4669ba250d26cd7a459eca9d215f8307e33aebe50379bc5a3617ec34440180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03841690811790915560405190917f99c6112dbaef85e57ac8ca86dd23e3c785162b58a6e810e5d5e7455b568d66b191a250565b6000610f9860085490565b905090565b610fa733826127fe565b6110195760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610c2c565b610d7e8383836128de565b600f54600e546001600160a01b0390911690600090612710906110479085613e9e565b6110519190613f0a565b90509250929050565b6007546001600160a01b031633146110b45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2c565b476110f77f000000000000000000000000d7096c2e4281a7429d94ee21b53e7f0011d59fa36127106110e88461222e613e9e565b6110f29190613f0a565b612ac3565b61112a7f000000000000000000000000720d71822e5a128ea015323e9c2da40ddabe8e086127106110e884610177613e9e565b61115d7f000000000000000000000000704c043ceb93bd6cbe570c6a2708c3e1c03105876127106110e884610177613e9e565b6111907f0000000000000000000000003f547a321ee5869dee7b035a89ab24cff46331816127106110e8846101f4613e9e565b50565b6007546001600160a01b031633146111ed5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2c565b600e55565b610d7e83838360405180602001604052806000815250611efb565b61121633611481565b6112885760405162461bcd60e51b815260206004820152603460248201527f457874656e73696f6e2073686f756c6420626520616464656420746f20636f6e60448201527f7472616374206265666f7265206d696e74696e670000000000000000000000006064820152608401610c2c565b600260065414156112db5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c2c565b60026006556112eb838383612bdc565b5050600160065550565b6007546001600160a01b0316331461134f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2c565b610d7e601583836138ab565b6007546001600160a01b031633146113b55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2c565b601080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055565b6000818152600260205260408120546001600160a01b031680610b0e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610c2c565b6000805b6012548110156114e257826001600160a01b0316601282815481106114ac576114ac613f1e565b6000918252602090912001546001600160a01b031614156114d05750600192915050565b806114da81613f4d565b915050611485565b50600092915050565b6007546001600160a01b031633146115455760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2c565b6001600160a01b03811630141561159e5760405162461bcd60e51b815260206004820152601c60248201527f43616e6e6f74206164642073656c6620617320657874656e73696f6e000000006044820152606401610c2c565b6001600160a01b03811615806115d957506115d9817fc87b56dd00000000000000000000000000000000000000000000000000000000612ca1565b6116255760405162461bcd60e51b815260206004820152601960248201527f4e6f7420636f6e666f726d7320746f20657874656e73696f6e000000000000006044820152606401610c2c565b601080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383169081179091556040517f92597a601f19fe4d50f14ea76d7ba45d21bad7992f7e1709c605642b190de09290600090a250565b60006001600160a01b0382166117055760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610c2c565b506001600160a01b031660009081526003602052604090205490565b6007546001600160a01b0316331461177b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2c565b6117856000612cc4565b565b6007546001600160a01b031633146117e15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2c565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000906001600160a01b038316906370a082319060240160206040518083038186803b15801561183c57600080fd5b505afa158015611850573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118749190613f86565b9050610df0823383612d2e565b6007546001600160a01b031633146118db5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2c565b600f80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6007546001600160a01b0316331461196f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2c565b600d55565b6007546001600160a01b031633146119ce5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2c565b610d7e601483836138ab565b606060018054610b2390613e1b565b60026006541415611a3c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c2c565b6002600655600954421015611a935760405162461bcd60e51b815260206004820152601060248201527f53616c65206e6f742073746172746564000000000000000000000000000000006044820152606401610c2c565b600c54811115611b0b5760405162461bcd60e51b815260206004820152603d60248201527f596f752063616e6e6f74206d696e74206d6f7265207468616e204d41585f544f60448201527f4b454e535f5045525f4d494e5420746f6b656e73206174206f6e6365210000006064820152608401610c2c565b34600d5482611b1a9190613e9e565b1115611b685760405162461bcd60e51b815260206004820152601960248201527f496e636f6e73697374656e7420616d6f756e742073656e7421000000000000006044820152606401610c2c565b611b7481336000612bdc565b506001600655565b6001600160a01b038216331415611bd55760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610c2c565b3360008181526005602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6007546001600160a01b03163314611cb95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2c565b60005b601254811015611d1557816001600160a01b031660128281548110611ce357611ce3613f1e565b6000918252602090912001546001600160a01b03161415611d0357611d15565b80611d0d81613f4d565b915050611cbc565b60128054611d2590600190613f9f565b81548110611d3557611d35613f1e565b600091825260209091200154601280546001600160a01b039092169183908110611d6157611d61613f1e565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055506012805480611da057611da0613fb6565b60008281526020812082017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690559091019091556040516001600160a01b038416917fe056b30f86b962fc88925cb7559e4364707cab11d2c52e090e6c0db62eb9113591a25050565b6007546001600160a01b03163314611e8a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2c565b60105474010000000000000000000000000000000000000000900460ff1615611ef55760405162461bcd60e51b815260206004820152601160248201527f4d696e74696e672069732066726f7a656e0000000000000000000000000000006044820152606401610c2c565b42600955565b611f0533836127fe565b611f775760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610c2c565b611f8384848484612dae565b50505050565b6010546060906001600160a01b031615612067576010546040517fc87b56dd000000000000000000000000000000000000000000000000000000008152600481018490526000916001600160a01b03169063c87b56dd9060240160006040518083038186803b158015611ffb57600080fd5b505afa15801561200f573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526120559190810190613fe5565b8051909150156120655792915050565b505b610b0e82612e37565b6012818154811061208057600080fd5b6000918252602090912001546001600160a01b0316905081565b600260065414156120ed5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c2c565b60026006556007546001600160a01b0316331461214c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2c565b600a548211156121c45760405162461bcd60e51b815260206004820152602360248201527f5468617420776f756c642065786365656420746865206d61782072657365727660448201527f65642e00000000000000000000000000000000000000000000000000000000006064820152608401610c2c565b81600a546121d29190613f9f565b600a556121e182826000612bdc565b50506001600655565b6007546001600160a01b031633146122445760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2c565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600955565b6007546001600160a01b031633146122c45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2c565b601080549115157501000000000000000000000000000000000000000000027fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff909216919091179055565b6007546001600160a01b031633146123695760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2c565b60105474010000000000000000000000000000000000000000900460ff16156123d45760405162461bcd60e51b815260206004820152601160248201527f4d696e74696e672069732066726f7a656e0000000000000000000000000000006044820152606401610c2c565b600955565b60606000601480546123ea90613e1b565b9050116123f957610f98612f1f565b60148054610b2390613e1b565b60105460009073a5409ec958c83c3f309868babaca7c86dcb077c1907501000000000000000000000000000000000000000000900460ff1680156124e757506040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b038581166004830152808516919083169063c45527919060240160206040518083038186803b1580156124a457600080fd5b505afa1580156124b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124dc919061405c565b6001600160a01b0316145b156124f6576001915050610b0e565b6001600160a01b0380851660009081526005602090815260408083209387168352929052205460ff165b949350505050565b6007546001600160a01b031633146125825760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c2c565b6001600160a01b0381166125fe5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610c2c565b61119081612cc4565b6013805461261490613e1b565b80601f016020809104026020016040519081016040528092919081815260200182805461264090613e1b565b801561268d5780601f106126625761010080835404028352916020019161268d565b820191906000526020600020905b81548152906001019060200180831161267057829003601f168201915b505050505081565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061272857507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610b0e57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610b0e565b600081815260046020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03841690811790915581906127c5826113f6565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166128885760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610c2c565b6000612893836113f6565b9050806001600160a01b0316846001600160a01b031614806128ce5750836001600160a01b03166128c384610ba6565b6001600160a01b0316145b8061252057506125208185612406565b826001600160a01b03166128f1826113f6565b6001600160a01b03161461296d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610c2c565b6001600160a01b0382166129e85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610c2c565b6129f3600082612778565b6001600160a01b0383166000908152600360205260408120805460019290612a1c908490613f9f565b90915550506001600160a01b0382166000908152600360205260408120805460019290612a4a908490614079565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b80471015612b135760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610c2c565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612b60576040519150601f19603f3d011682016040523d82523d6000602084013e612b65565b606091505b5050905080610d7e5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610c2c565b600b54600a5484612bec60085490565b612bf69190614079565b612c009190614079565b1115612c4e5760405162461bcd60e51b815260206004820152601760248201527f4e6f7420656e6f75676820546f6b656e73206c6566742e0000000000000000006044820152606401610c2c565b60005b83811015611f83576000612c6460085490565b9050612c74600880546001019055565b612c7e8482612f2e565b600090815260116020526040902082905580612c9981613f4d565b915050612c51565b6000612cac83612f48565b8015612cbd5750612cbd8383612fac565b9392505050565b600780546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610d7e9084906130db565b612db98484846128de565b612dc5848484846131c0565b611f835760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610c2c565b6000818152600260205260409020546060906001600160a01b0316612ec45760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610c2c565b6000612ece612f1f565b90506000815111612eee5760405180602001604052806000815250612cbd565b80612ef88461338b565b604051602001612f09929190614091565b6040516020818303038152906040529392505050565b606060158054610b2390613e1b565b610df08282604051806020016040528060008152506134bd565b6000612f74827f01ffc9a700000000000000000000000000000000000000000000000000000000612fac565b8015610b0e5750612fa5827fffffffff00000000000000000000000000000000000000000000000000000000612fac565b1592915050565b604080517fffffffff00000000000000000000000000000000000000000000000000000000831660248083019190915282518083039091018152604490910182526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f01ffc9a700000000000000000000000000000000000000000000000000000000179052905160009190829081906001600160a01b03871690617530906130599086906140c0565b6000604051808303818686fa925050503d8060008114613095576040519150601f19603f3d011682016040523d82523d6000602084013e61309a565b606091505b50915091506020815110156130b55760009350505050610b0e565b8180156130d15750808060200190518101906130d191906140dc565b9695505050505050565b6000613130826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166135469092919063ffffffff16565b805190915015610d7e578080602001905181019061314e91906140dc565b610d7e5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610c2c565b60006001600160a01b0384163b15613380576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a029061321d9033908990889088906004016140f9565b602060405180830381600087803b15801561323757600080fd5b505af1925050508015613285575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526132829181019061412b565b60015b613335573d8080156132b3576040519150601f19603f3d011682016040523d82523d6000602084013e6132b8565b606091505b50805161332d5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610c2c565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050612520565b506001949350505050565b6060816133cb57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156133f557806133df81613f4d565b91506133ee9050600a83613f0a565b91506133cf565b60008167ffffffffffffffff81111561341057613410613a80565b6040519080825280601f01601f19166020018201604052801561343a576020820181803683370190505b5090505b84156125205761344f600183613f9f565b915061345c600a86614148565b613467906030614079565b60f81b81838151811061347c5761347c613f1e565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506134b6600a86613f0a565b945061343e565b6134c78383613555565b6134d460008484846131c0565b610d7e5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610c2c565b606061252084846000856136af565b6001600160a01b0382166135ab5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610c2c565b6000818152600260205260409020546001600160a01b0316156136105760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610c2c565b6001600160a01b0382166000908152600360205260408120805460019290613639908490614079565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060824710156137275760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610c2c565b843b6137755760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610c2c565b600080866001600160a01b0316858760405161379191906140c0565b60006040518083038185875af1925050503d80600081146137ce576040519150601f19603f3d011682016040523d82523d6000602084013e6137d3565b606091505b50915091506137e38282866137ee565b979650505050505050565b606083156137fd575081612cbd565b82511561380d5782518084602001fd5b8160405162461bcd60e51b8152600401610c2c9190613a13565b82805461383390613e1b565b90600052602060002090601f016020900481019282613855576000855561389b565b82601f1061386e57805160ff191683800117855561389b565b8280016001018555821561389b579182015b8281111561389b578251825591602001919060010190613880565b506138a792915061393d565b5090565b8280546138b790613e1b565b90600052602060002090601f0160209004810192826138d9576000855561389b565b82601f10613910578280017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0082351617855561389b565b8280016001018555821561389b579182015b8281111561389b578235825591602001919060010190613922565b5b808211156138a7576000815560010161393e565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461119057600080fd5b60006020828403121561399257600080fd5b8135612cbd81613952565b60005b838110156139b85781810151838201526020016139a0565b83811115611f835750506000910152565b600081518084526139e181602086016020860161399d565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000612cbd60208301846139c9565b600060208284031215613a3857600080fd5b5035919050565b6001600160a01b038116811461119057600080fd5b60008060408385031215613a6757600080fd5b8235613a7281613a3f565b946020939093013593505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715613af657613af6613a80565b604052919050565b600067ffffffffffffffff821115613b1857613b18613a80565b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b6000613b57613b5284613afe565b613aaf565b9050828152838383011115613b6b57600080fd5b828260208301376000602084830101529392505050565b600060208284031215613b9457600080fd5b813567ffffffffffffffff811115613bab57600080fd5b8201601f81018413613bbc57600080fd5b61252084823560208401613b44565b600060208284031215613bdd57600080fd5b8135612cbd81613a3f565b600080600060608486031215613bfd57600080fd5b8335613c0881613a3f565b92506020840135613c1881613a3f565b929592945050506040919091013590565b60008060408385031215613c3c57600080fd5b50508035926020909101359150565b600080600060608486031215613c6057600080fd5b833592506020840135613c1881613a3f565b60008060208385031215613c8557600080fd5b823567ffffffffffffffff80821115613c9d57600080fd5b818501915085601f830112613cb157600080fd5b813581811115613cc057600080fd5b866020828501011115613cd257600080fd5b60209290920196919550909350505050565b801515811461119057600080fd5b60008060408385031215613d0557600080fd5b8235613d1081613a3f565b91506020830135613d2081613ce4565b809150509250929050565b60008060008060808587031215613d4157600080fd5b8435613d4c81613a3f565b93506020850135613d5c81613a3f565b925060408501359150606085013567ffffffffffffffff811115613d7f57600080fd5b8501601f81018713613d9057600080fd5b613d9f87823560208401613b44565b91505092959194509250565b60008060408385031215613dbe57600080fd5b823591506020830135613d2081613a3f565b600060208284031215613de257600080fd5b8135612cbd81613ce4565b60008060408385031215613e0057600080fd5b8235613e0b81613a3f565b91506020830135613d2081613a3f565b600181811c90821680613e2f57607f821691505b60208210811415613e69577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613ed657613ed6613e6f565b500290565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082613f1957613f19613edb565b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613f7f57613f7f613e6f565b5060010190565b600060208284031215613f9857600080fd5b5051919050565b600082821015613fb157613fb1613e6f565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600060208284031215613ff757600080fd5b815167ffffffffffffffff81111561400e57600080fd5b8201601f8101841361401f57600080fd5b805161402d613b5282613afe565b81815285602083850101111561404257600080fd5b61405382602083016020860161399d565b95945050505050565b60006020828403121561406e57600080fd5b8151612cbd81613a3f565b6000821982111561408c5761408c613e6f565b500190565b600083516140a381846020880161399d565b8351908301906140b781836020880161399d565b01949350505050565b600082516140d281846020870161399d565b9190910192915050565b6000602082840312156140ee57600080fd5b8151612cbd81613ce4565b60006001600160a01b038087168352808616602084015250836040830152608060608301526130d160808301846139c9565b60006020828403121561413d57600080fd5b8151612cbd81613952565b60008261415757614157613edb565b50069056fea2646970667358221220ca66b5b2e98222b96f7392c7e63a002c37b97c7c862b50d197be95cdb0482c1664736f6c63430008090033
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.