Overview
TokenID
16
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
mosqETHtos
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity >=0.8.9 <0.9.0; import "https://github.com/chiru-labs/ERC721A/blob/v4.0.0/contracts/ERC721A.sol"; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.6.0/contracts/access/Ownable.sol"; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.6.0/contracts/security/ReentrancyGuard.sol"; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.6.0/contracts/utils/Strings.sol"; contract mosqETHtos is ERC721A, Ownable, ReentrancyGuard { using Strings for uint256; string public uriPrefix = ''; string public uriSuffix = '.json'; string public hiddenMetadataUri; uint256 public cost = 0.004 ether; uint256 public maxSupply = 1000; uint256 public maxMintAmount = 5; uint256 public maxFreeMintAmount = 0; bool public revealed = false; bool public paused = true; constructor( string memory _tokenName, string memory _tokenSymbol, string memory _hiddenMetadataUri ) ERC721A(_tokenName, _tokenSymbol) { setHiddenMetadataUri(_hiddenMetadataUri); } modifier mintCompliance(uint256 _mintAmount) { require(!paused, "The contract is paused!"); require(totalSupply() + _mintAmount <= maxSupply, "Max supply exceeded!"); require( _mintAmount > 0 && numberMinted(msg.sender) + _mintAmount <= maxMintAmount, "Invalid mint amount!" ); _; } modifier mintPriceCompliance(uint256 _mintAmount) { uint256 costToSubtract = 0; if (numberMinted(msg.sender) < maxFreeMintAmount) { uint256 freeMintsLeft = maxFreeMintAmount - numberMinted(msg.sender); costToSubtract = cost * freeMintsLeft; } require(msg.value >= cost * _mintAmount - costToSubtract, "Insufficient funds!"); _; } function mint(uint256 _mintAmount) public payable mintCompliance(_mintAmount) mintPriceCompliance(_mintAmount) { _safeMint(_msgSender(), _mintAmount); } function mintForAddress(uint256 _mintAmount, address _receiver) public onlyOwner { require(totalSupply() + _mintAmount <= maxSupply, "Max supply exceeded!"); _safeMint(_receiver, _mintAmount); } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), "ERC721Metadata: URI query for nonexistent token"); if (revealed == false) { return hiddenMetadataUri; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), uriSuffix)) : ''; } function setCost(uint256 _cost) public onlyOwner { cost = _cost; } function setMaxMintAmount(uint256 _maxMintAmount) public onlyOwner { maxMintAmount = _maxMintAmount; } function setMaxFreeMintAmount(uint256 _maxFreeMintAmount) public onlyOwner { maxFreeMintAmount = _maxFreeMintAmount; } function setRevealed(bool _state) public onlyOwner { revealed = _state; } function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner { hiddenMetadataUri = _hiddenMetadataUri; } function setUriPrefix(string memory _uriPrefix) public onlyOwner { uriPrefix = _uriPrefix; } function setUriSuffix(string memory _uriSuffix) public onlyOwner { uriSuffix = _uriSuffix; } function setPaused(bool _state) public onlyOwner { paused = _state; } function withdraw() public onlyOwner nonReentrant { uint256 artistPayment = address(this).balance * 100 / 100; (bool artistSuccess, ) = payable(0xfbfD4B9FdA03166d41BbE3e5aFb89A8dae79A8fE).call{value: artistPayment}(''); require(artistSuccess); (bool devSuccess, ) = payable(owner()).call{value: address(this).balance}(''); require(devSuccess); } function numberMinted(address owner) public view returns (uint256) { return _numberMinted(owner); } function _baseURI() internal view virtual override returns (string memory) { return uriPrefix; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) 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 // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) 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 making 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 // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev 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 { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Mask of an entry in packed address data. uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225; // The tokenId of the next token to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See `_packedOwnershipOf` implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // 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; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see `_totalMinted`. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to `_startTokenId()` unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes of the XOR of // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165 // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)` return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> BITPOS_AUX); } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; assembly { // Cast aux without masking. auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & BITMASK_BURNED == 0) { // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP); ownership.burned = packed & BITMASK_BURNED != 0; } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @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) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @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 Casts the address to uint256 without masking. */ function _addressToUint256(address value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev Casts the boolean to uint256 without branching. */ function _boolToUint256(bool value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = address(uint160(_packedOwnershipOf(tokenId))); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), 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 { _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 { _transfer(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @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`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (to.code.length != 0) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex < end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) private { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_NEXT_INITIALIZED; // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); if (approvalCheck) { bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _addressToUint256(from) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_BURNED | BITMASK_NEXT_INITIALIZED; // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * 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, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function _toString(uint256 value) internal pure returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * The caller cannot approve to the current owner. */ error ApprovalToCurrentOwner(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // 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); // ============================== // IERC721 // ============================== /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must 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 Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================== // IERC721Metadata // ============================== /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_tokenName","type":"string"},{"internalType":"string","name":"_tokenSymbol","type":"string"},{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreeMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","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":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxFreeMintAmount","type":"uint256"}],"name":"setMaxFreeMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmount","type":"uint256"}],"name":"setMaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","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":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405260405180602001604052806000815250600a90816200002491906200058f565b506040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600b90816200006b91906200058f565b50660e35fa931a0000600d556103e8600e556005600f5560006010556000601160006101000a81548160ff0219169083151502179055506001601160016101000a81548160ff021916908315150217905550348015620000ca57600080fd5b506040516200454d3803806200454d8339818101604052810190620000f09190620007da565b828281600290816200010391906200058f565b5080600390816200011591906200058f565b50620001266200017060201b60201c565b60008190555050506200014e620001426200017960201b60201c565b6200018160201b60201c565b600160098190555062000167816200024760201b60201c565b50505062000916565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002576200017960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200027d620002eb60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620002d6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002cd90620008f4565b60405180910390fd5b80600c9081620002e791906200058f565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200039757607f821691505b602082108103620003ad57620003ac6200034f565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620004177fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620003d8565b620004238683620003d8565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620004706200046a62000464846200043b565b62000445565b6200043b565b9050919050565b6000819050919050565b6200048c836200044f565b620004a46200049b8262000477565b848454620003e5565b825550505050565b600090565b620004bb620004ac565b620004c881848462000481565b505050565b5b81811015620004f057620004e4600082620004b1565b600181019050620004ce565b5050565b601f8211156200053f576200050981620003b3565b6200051484620003c8565b8101602085101562000524578190505b6200053c6200053385620003c8565b830182620004cd565b50505b505050565b600082821c905092915050565b6000620005646000198460080262000544565b1980831691505092915050565b60006200057f838362000551565b9150826002028217905092915050565b6200059a8262000315565b67ffffffffffffffff811115620005b657620005b562000320565b5b620005c282546200037e565b620005cf828285620004f4565b600060209050601f831160018114620006075760008415620005f2578287015190505b620005fe858262000571565b8655506200066e565b601f1984166200061786620003b3565b60005b8281101562000641578489015182556001820191506020850194506020810190506200061a565b868310156200066157848901516200065d601f89168262000551565b8355505b6001600288020188555050505b505050505050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b620006b08262000694565b810181811067ffffffffffffffff82111715620006d257620006d162000320565b5b80604052505050565b6000620006e762000676565b9050620006f58282620006a5565b919050565b600067ffffffffffffffff82111562000718576200071762000320565b5b620007238262000694565b9050602081019050919050565b60005b838110156200075057808201518184015260208101905062000733565b60008484015250505050565b6000620007736200076d84620006fa565b620006db565b9050828152602081018484840111156200079257620007916200068f565b5b6200079f84828562000730565b509392505050565b600082601f830112620007bf57620007be6200068a565b5b8151620007d18482602086016200075c565b91505092915050565b600080600060608486031215620007f657620007f562000680565b5b600084015167ffffffffffffffff81111562000817576200081662000685565b5b6200082586828701620007a7565b935050602084015167ffffffffffffffff81111562000849576200084862000685565b5b6200085786828701620007a7565b925050604084015167ffffffffffffffff8111156200087b576200087a62000685565b5b6200088986828701620007a7565b9150509250925092565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000620008dc60208362000893565b9150620008e982620008a4565b602082019050919050565b600060208201905081810360008301526200090f81620008cd565b9050919050565b613c2780620009266000396000f3fe6080604052600436106102255760003560e01c806362b99ad411610123578063a22cb465116100ab578063dc33e6811161006f578063dc33e681146107c0578063e0a80853146107fd578063e985e9c514610826578063efbd73f414610863578063f2fde38b1461088c57610225565b8063a22cb465146106db578063a45ba8e714610704578063b88d4fde1461072f578063c87b56dd14610758578063d5abeb011461079557610225565b80637ec4a659116100f25780637ec4a659146106155780638da5cb5b1461063e57806395d89b41146106695780639d3d41de14610694578063a0712d68146106bf57610225565b806362b99ad4146105595780636352211e1461058457806370a08231146105c1578063715018a6146105fe57610225565b8063239c70ae116101b157806344a0d68a1161017557806344a0d68a146104865780634fdd43cb146104af57806351830227146104d85780635503a0e8146105035780635c975abb1461052e57610225565b8063239c70ae146103c957806323b872dd146103f45780632aba38321461041d5780633ccfd60b1461044657806342842e0e1461045d57610225565b8063095ea7b3116101f8578063095ea7b3146102f857806313faede61461032157806316ba10e01461034c57806316c38b3c1461037557806318160ddd1461039e57610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc14610292578063088a4ed0146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c9190612ac8565b6108b5565b60405161025e9190612b10565b60405180910390f35b34801561027357600080fd5b5061027c610947565b6040516102899190612bbb565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b49190612c13565b6109d9565b6040516102c69190612c81565b60405180910390f35b3480156102db57600080fd5b506102f660048036038101906102f19190612c13565b610a55565b005b34801561030457600080fd5b5061031f600480360381019061031a9190612cc8565b610adb565b005b34801561032d57600080fd5b50610336610c81565b6040516103439190612d17565b60405180910390f35b34801561035857600080fd5b50610373600480360381019061036e9190612e67565b610c87565b005b34801561038157600080fd5b5061039c60048036038101906103979190612edc565b610d16565b005b3480156103aa57600080fd5b506103b3610daf565b6040516103c09190612d17565b60405180910390f35b3480156103d557600080fd5b506103de610dc6565b6040516103eb9190612d17565b60405180910390f35b34801561040057600080fd5b5061041b60048036038101906104169190612f09565b610dcc565b005b34801561042957600080fd5b50610444600480360381019061043f9190612c13565b610ddc565b005b34801561045257600080fd5b5061045b610e62565b005b34801561046957600080fd5b50610484600480360381019061047f9190612f09565b61105b565b005b34801561049257600080fd5b506104ad60048036038101906104a89190612c13565b61107b565b005b3480156104bb57600080fd5b506104d660048036038101906104d19190612e67565b611101565b005b3480156104e457600080fd5b506104ed611190565b6040516104fa9190612b10565b60405180910390f35b34801561050f57600080fd5b506105186111a3565b6040516105259190612bbb565b60405180910390f35b34801561053a57600080fd5b50610543611231565b6040516105509190612b10565b60405180910390f35b34801561056557600080fd5b5061056e611244565b60405161057b9190612bbb565b60405180910390f35b34801561059057600080fd5b506105ab60048036038101906105a69190612c13565b6112d2565b6040516105b89190612c81565b60405180910390f35b3480156105cd57600080fd5b506105e860048036038101906105e39190612f5c565b6112e4565b6040516105f59190612d17565b60405180910390f35b34801561060a57600080fd5b5061061361139c565b005b34801561062157600080fd5b5061063c60048036038101906106379190612e67565b611424565b005b34801561064a57600080fd5b506106536114b3565b6040516106609190612c81565b60405180910390f35b34801561067557600080fd5b5061067e6114dd565b60405161068b9190612bbb565b60405180910390f35b3480156106a057600080fd5b506106a961156f565b6040516106b69190612d17565b60405180910390f35b6106d960048036038101906106d49190612c13565b611575565b005b3480156106e757600080fd5b5061070260048036038101906106fd9190612f89565b611734565b005b34801561071057600080fd5b506107196118ab565b6040516107269190612bbb565b60405180910390f35b34801561073b57600080fd5b506107566004803603810190610751919061306a565b611939565b005b34801561076457600080fd5b5061077f600480360381019061077a9190612c13565b6119ac565b60405161078c9190612bbb565b60405180910390f35b3480156107a157600080fd5b506107aa611b04565b6040516107b79190612d17565b60405180910390f35b3480156107cc57600080fd5b506107e760048036038101906107e29190612f5c565b611b0a565b6040516107f49190612d17565b60405180910390f35b34801561080957600080fd5b50610824600480360381019061081f9190612edc565b611b1c565b005b34801561083257600080fd5b5061084d600480360381019061084891906130ed565b611bb5565b60405161085a9190612b10565b60405180910390f35b34801561086f57600080fd5b5061088a6004803603810190610885919061312d565b611c49565b005b34801561089857600080fd5b506108b360048036038101906108ae9190612f5c565b611d2a565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061091057506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109405750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546109569061319c565b80601f01602080910402602001604051908101604052809291908181526020018280546109829061319c565b80156109cf5780601f106109a4576101008083540402835291602001916109cf565b820191906000526020600020905b8154815290600101906020018083116109b257829003601f168201915b5050505050905090565b60006109e482611e21565b610a1a576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610a5d611e80565b73ffffffffffffffffffffffffffffffffffffffff16610a7b6114b3565b73ffffffffffffffffffffffffffffffffffffffff1614610ad1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac890613219565b60405180910390fd5b80600f8190555050565b6000610ae682611e88565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610b4d576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b6c611f54565b73ffffffffffffffffffffffffffffffffffffffff1614610bcf57610b9881610b93611f54565b611bb5565b610bce576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600d5481565b610c8f611e80565b73ffffffffffffffffffffffffffffffffffffffff16610cad6114b3565b73ffffffffffffffffffffffffffffffffffffffff1614610d03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfa90613219565b60405180910390fd5b80600b9081610d1291906133e5565b5050565b610d1e611e80565b73ffffffffffffffffffffffffffffffffffffffff16610d3c6114b3565b73ffffffffffffffffffffffffffffffffffffffff1614610d92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8990613219565b60405180910390fd5b80601160016101000a81548160ff02191690831515021790555050565b6000610db9611f5c565b6001546000540303905090565b600f5481565b610dd7838383611f65565b505050565b610de4611e80565b73ffffffffffffffffffffffffffffffffffffffff16610e026114b3565b73ffffffffffffffffffffffffffffffffffffffff1614610e58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4f90613219565b60405180910390fd5b8060108190555050565b610e6a611e80565b73ffffffffffffffffffffffffffffffffffffffff16610e886114b3565b73ffffffffffffffffffffffffffffffffffffffff1614610ede576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed590613219565b60405180910390fd5b600260095403610f23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1a90613503565b60405180910390fd5b6002600981905550600060648047610f3b9190613552565b610f4591906135c3565b9050600073fbfd4b9fda03166d41bbe3e5afb89a8dae79a8fe73ffffffffffffffffffffffffffffffffffffffff1682604051610f8190613625565b60006040518083038185875af1925050503d8060008114610fbe576040519150601f19603f3d011682016040523d82523d6000602084013e610fc3565b606091505b5050905080610fd157600080fd5b6000610fdb6114b3565b73ffffffffffffffffffffffffffffffffffffffff1647604051610ffe90613625565b60006040518083038185875af1925050503d806000811461103b576040519150601f19603f3d011682016040523d82523d6000602084013e611040565b606091505b505090508061104e57600080fd5b5050506001600981905550565b61107683838360405180602001604052806000815250611939565b505050565b611083611e80565b73ffffffffffffffffffffffffffffffffffffffff166110a16114b3565b73ffffffffffffffffffffffffffffffffffffffff16146110f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ee90613219565b60405180910390fd5b80600d8190555050565b611109611e80565b73ffffffffffffffffffffffffffffffffffffffff166111276114b3565b73ffffffffffffffffffffffffffffffffffffffff161461117d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117490613219565b60405180910390fd5b80600c908161118c91906133e5565b5050565b601160009054906101000a900460ff1681565b600b80546111b09061319c565b80601f01602080910402602001604051908101604052809291908181526020018280546111dc9061319c565b80156112295780601f106111fe57610100808354040283529160200191611229565b820191906000526020600020905b81548152906001019060200180831161120c57829003601f168201915b505050505081565b601160019054906101000a900460ff1681565b600a80546112519061319c565b80601f016020809104026020016040519081016040528092919081815260200182805461127d9061319c565b80156112ca5780601f1061129f576101008083540402835291602001916112ca565b820191906000526020600020905b8154815290600101906020018083116112ad57829003601f168201915b505050505081565b60006112dd82611e88565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361134b576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6113a4611e80565b73ffffffffffffffffffffffffffffffffffffffff166113c26114b3565b73ffffffffffffffffffffffffffffffffffffffff1614611418576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140f90613219565b60405180910390fd5b611422600061230c565b565b61142c611e80565b73ffffffffffffffffffffffffffffffffffffffff1661144a6114b3565b73ffffffffffffffffffffffffffffffffffffffff16146114a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149790613219565b60405180910390fd5b80600a90816114af91906133e5565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546114ec9061319c565b80601f01602080910402602001604051908101604052809291908181526020018280546115189061319c565b80156115655780601f1061153a57610100808354040283529160200191611565565b820191906000526020600020905b81548152906001019060200180831161154857829003601f168201915b5050505050905090565b60105481565b80601160019054906101000a900460ff16156115c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bd90613686565b60405180910390fd5b600e54816115d2610daf565b6115dc91906136a6565b111561161d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161490613726565b60405180910390fd5b6000811180156116425750600f548161163533611b0a565b61163f91906136a6565b11155b611681576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167890613792565b60405180910390fd5b81600060105461169033611b0a565b10156116c25760006116a133611b0a565b6010546116ae91906137b2565b905080600d546116be9190613552565b9150505b8082600d546116d19190613552565b6116db91906137b2565b34101561171d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171490613832565b60405180910390fd5b61172e611728611e80565b856123d2565b50505050565b61173c611f54565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036117a0576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006117ad611f54565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661185a611f54565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161189f9190612b10565b60405180910390a35050565b600c80546118b89061319c565b80601f01602080910402602001604051908101604052809291908181526020018280546118e49061319c565b80156119315780601f1061190657610100808354040283529160200191611931565b820191906000526020600020905b81548152906001019060200180831161191457829003601f168201915b505050505081565b611944848484611f65565b60008373ffffffffffffffffffffffffffffffffffffffff163b146119a65761196f848484846123f0565b6119a5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606119b782611e21565b6119f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ed906138c4565b60405180910390fd5b60001515601160009054906101000a900460ff16151503611aa357600c8054611a1e9061319c565b80601f0160208091040260200160405190810160405280929190818152602001828054611a4a9061319c565b8015611a975780601f10611a6c57610100808354040283529160200191611a97565b820191906000526020600020905b815481529060010190602001808311611a7a57829003601f168201915b50505050509050611aff565b6000611aad612540565b90506000815111611acd5760405180602001604052806000815250611afb565b80611ad7846125d2565b600b604051602001611aeb939291906139a3565b6040516020818303038152906040525b9150505b919050565b600e5481565b6000611b1582612732565b9050919050565b611b24611e80565b73ffffffffffffffffffffffffffffffffffffffff16611b426114b3565b73ffffffffffffffffffffffffffffffffffffffff1614611b98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8f90613219565b60405180910390fd5b80601160006101000a81548160ff02191690831515021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c51611e80565b73ffffffffffffffffffffffffffffffffffffffff16611c6f6114b3565b73ffffffffffffffffffffffffffffffffffffffff1614611cc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cbc90613219565b60405180910390fd5b600e5482611cd1610daf565b611cdb91906136a6565b1115611d1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1390613726565b60405180910390fd5b611d2681836123d2565b5050565b611d32611e80565b73ffffffffffffffffffffffffffffffffffffffff16611d506114b3565b73ffffffffffffffffffffffffffffffffffffffff1614611da6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9d90613219565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611e15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0c90613a46565b60405180910390fd5b611e1e8161230c565b50565b600081611e2c611f5c565b11158015611e3b575060005482105b8015611e79575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60008082905080611e97611f5c565b11611f1d57600054811015611f1c5760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603611f1a575b60008103611f10576004600083600190039350838152602001908152602001600020549050611ee6565b8092505050611f4f565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b60006001905090565b6000611f7082611e88565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611fd7576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611ff8611f54565b73ffffffffffffffffffffffffffffffffffffffff161480612027575061202685612021611f54565b611bb5565b5b8061206c5750612035611f54565b73ffffffffffffffffffffffffffffffffffffffff16612054846109d9565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806120a5576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361210b576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6121188585856001612789565b6006600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b6122158661278f565b1717600460008581526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000083160361229d576000600184019050600060046000838152602001908152602001600020540361229b57600054811461229a578260046000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123058585856001612799565b5050505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6123ec82826040518060200160405280600081525061279f565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612416611f54565b8786866040518563ffffffff1660e01b81526004016124389493929190613abb565b6020604051808303816000875af192505050801561247457506040513d601f19601f820116820180604052508101906124719190613b1c565b60015b6124ed573d80600081146124a4576040519150601f19603f3d011682016040523d82523d6000602084013e6124a9565b606091505b5060008151036124e5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600a805461254f9061319c565b80601f016020809104026020016040519081016040528092919081815260200182805461257b9061319c565b80156125c85780601f1061259d576101008083540402835291602001916125c8565b820191906000526020600020905b8154815290600101906020018083116125ab57829003601f168201915b5050505050905090565b606060008203612619576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061272d565b600082905060005b6000821461264b57808061263490613b49565b915050600a8261264491906135c3565b9150612621565b60008167ffffffffffffffff81111561266757612666612d3c565b5b6040519080825280601f01601f1916602001820160405280156126995781602001600182028036833780820191505090505b5090505b60008514612726576001826126b291906137b2565b9150600a856126c19190613b91565b60306126cd91906136a6565b60f81b8183815181106126e3576126e2613bc2565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561271f91906135c3565b945061269d565b8093505050505b919050565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b50505050565b6000819050919050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361280b576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008303612845576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6128526000858386612789565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e16128b760018514612a52565b901b60a042901b6128c78661278f565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b146129cb575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461297b60008784806001019550876123f0565b6129b1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821061290c5782600054146129c657600080fd5b612a36565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106129cc575b816000819055505050612a4c6000858386612799565b50505050565b6000819050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612aa581612a70565b8114612ab057600080fd5b50565b600081359050612ac281612a9c565b92915050565b600060208284031215612ade57612add612a66565b5b6000612aec84828501612ab3565b91505092915050565b60008115159050919050565b612b0a81612af5565b82525050565b6000602082019050612b256000830184612b01565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612b65578082015181840152602081019050612b4a565b60008484015250505050565b6000601f19601f8301169050919050565b6000612b8d82612b2b565b612b978185612b36565b9350612ba7818560208601612b47565b612bb081612b71565b840191505092915050565b60006020820190508181036000830152612bd58184612b82565b905092915050565b6000819050919050565b612bf081612bdd565b8114612bfb57600080fd5b50565b600081359050612c0d81612be7565b92915050565b600060208284031215612c2957612c28612a66565b5b6000612c3784828501612bfe565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612c6b82612c40565b9050919050565b612c7b81612c60565b82525050565b6000602082019050612c966000830184612c72565b92915050565b612ca581612c60565b8114612cb057600080fd5b50565b600081359050612cc281612c9c565b92915050565b60008060408385031215612cdf57612cde612a66565b5b6000612ced85828601612cb3565b9250506020612cfe85828601612bfe565b9150509250929050565b612d1181612bdd565b82525050565b6000602082019050612d2c6000830184612d08565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612d7482612b71565b810181811067ffffffffffffffff82111715612d9357612d92612d3c565b5b80604052505050565b6000612da6612a5c565b9050612db28282612d6b565b919050565b600067ffffffffffffffff821115612dd257612dd1612d3c565b5b612ddb82612b71565b9050602081019050919050565b82818337600083830152505050565b6000612e0a612e0584612db7565b612d9c565b905082815260208101848484011115612e2657612e25612d37565b5b612e31848285612de8565b509392505050565b600082601f830112612e4e57612e4d612d32565b5b8135612e5e848260208601612df7565b91505092915050565b600060208284031215612e7d57612e7c612a66565b5b600082013567ffffffffffffffff811115612e9b57612e9a612a6b565b5b612ea784828501612e39565b91505092915050565b612eb981612af5565b8114612ec457600080fd5b50565b600081359050612ed681612eb0565b92915050565b600060208284031215612ef257612ef1612a66565b5b6000612f0084828501612ec7565b91505092915050565b600080600060608486031215612f2257612f21612a66565b5b6000612f3086828701612cb3565b9350506020612f4186828701612cb3565b9250506040612f5286828701612bfe565b9150509250925092565b600060208284031215612f7257612f71612a66565b5b6000612f8084828501612cb3565b91505092915050565b60008060408385031215612fa057612f9f612a66565b5b6000612fae85828601612cb3565b9250506020612fbf85828601612ec7565b9150509250929050565b600067ffffffffffffffff821115612fe457612fe3612d3c565b5b612fed82612b71565b9050602081019050919050565b600061300d61300884612fc9565b612d9c565b90508281526020810184848401111561302957613028612d37565b5b613034848285612de8565b509392505050565b600082601f83011261305157613050612d32565b5b8135613061848260208601612ffa565b91505092915050565b6000806000806080858703121561308457613083612a66565b5b600061309287828801612cb3565b94505060206130a387828801612cb3565b93505060406130b487828801612bfe565b925050606085013567ffffffffffffffff8111156130d5576130d4612a6b565b5b6130e18782880161303c565b91505092959194509250565b6000806040838503121561310457613103612a66565b5b600061311285828601612cb3565b925050602061312385828601612cb3565b9150509250929050565b6000806040838503121561314457613143612a66565b5b600061315285828601612bfe565b925050602061316385828601612cb3565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806131b457607f821691505b6020821081036131c7576131c661316d565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613203602083612b36565b915061320e826131cd565b602082019050919050565b60006020820190508181036000830152613232816131f6565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261329b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261325e565b6132a5868361325e565b95508019841693508086168417925050509392505050565b6000819050919050565b60006132e26132dd6132d884612bdd565b6132bd565b612bdd565b9050919050565b6000819050919050565b6132fc836132c7565b613310613308826132e9565b84845461326b565b825550505050565b600090565b613325613318565b6133308184846132f3565b505050565b5b818110156133545761334960008261331d565b600181019050613336565b5050565b601f8211156133995761336a81613239565b6133738461324e565b81016020851015613382578190505b61339661338e8561324e565b830182613335565b50505b505050565b600082821c905092915050565b60006133bc6000198460080261339e565b1980831691505092915050565b60006133d583836133ab565b9150826002028217905092915050565b6133ee82612b2b565b67ffffffffffffffff81111561340757613406612d3c565b5b613411825461319c565b61341c828285613358565b600060209050601f83116001811461344f576000841561343d578287015190505b61344785826133c9565b8655506134af565b601f19841661345d86613239565b60005b8281101561348557848901518255600182019150602085019450602081019050613460565b868310156134a2578489015161349e601f8916826133ab565b8355505b6001600288020188555050505b505050505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006134ed601f83612b36565b91506134f8826134b7565b602082019050919050565b6000602082019050818103600083015261351c816134e0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061355d82612bdd565b915061356883612bdd565b925082820261357681612bdd565b9150828204841483151761358d5761358c613523565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006135ce82612bdd565b91506135d983612bdd565b9250826135e9576135e8613594565b5b828204905092915050565b600081905092915050565b50565b600061360f6000836135f4565b915061361a826135ff565b600082019050919050565b600061363082613602565b9150819050919050565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b6000613670601783612b36565b915061367b8261363a565b602082019050919050565b6000602082019050818103600083015261369f81613663565b9050919050565b60006136b182612bdd565b91506136bc83612bdd565b92508282019050808211156136d4576136d3613523565b5b92915050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b6000613710601483612b36565b915061371b826136da565b602082019050919050565b6000602082019050818103600083015261373f81613703565b9050919050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b600061377c601483612b36565b915061378782613746565b602082019050919050565b600060208201905081810360008301526137ab8161376f565b9050919050565b60006137bd82612bdd565b91506137c883612bdd565b92508282039050818111156137e0576137df613523565b5b92915050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b600061381c601383612b36565b9150613827826137e6565b602082019050919050565b6000602082019050818103600083015261384b8161380f565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006138ae602f83612b36565b91506138b982613852565b604082019050919050565b600060208201905081810360008301526138dd816138a1565b9050919050565b600081905092915050565b60006138fa82612b2b565b61390481856138e4565b9350613914818560208601612b47565b80840191505092915050565b6000815461392d8161319c565b61393781866138e4565b9450600182166000811461395257600181146139675761399a565b60ff198316865281151582028601935061399a565b61397085613239565b60005b8381101561399257815481890152600182019150602081019050613973565b838801955050505b50505092915050565b60006139af82866138ef565b91506139bb82856138ef565b91506139c78284613920565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613a30602683612b36565b9150613a3b826139d4565b604082019050919050565b60006020820190508181036000830152613a5f81613a23565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613a8d82613a66565b613a978185613a71565b9350613aa7818560208601612b47565b613ab081612b71565b840191505092915050565b6000608082019050613ad06000830187612c72565b613add6020830186612c72565b613aea6040830185612d08565b8181036060830152613afc8184613a82565b905095945050505050565b600081519050613b1681612a9c565b92915050565b600060208284031215613b3257613b31612a66565b5b6000613b4084828501613b07565b91505092915050565b6000613b5482612bdd565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613b8657613b85613523565b5b600182019050919050565b6000613b9c82612bdd565b9150613ba783612bdd565b925082613bb757613bb6613594565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea2646970667358221220776a0f32b5c73d0be8bdbeb6058c635ebcb0448afc2683ebb87afae5dfd05b0064736f6c63430008110033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000a6d6f7371455448746f730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034d4554000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000046970667300000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102255760003560e01c806362b99ad411610123578063a22cb465116100ab578063dc33e6811161006f578063dc33e681146107c0578063e0a80853146107fd578063e985e9c514610826578063efbd73f414610863578063f2fde38b1461088c57610225565b8063a22cb465146106db578063a45ba8e714610704578063b88d4fde1461072f578063c87b56dd14610758578063d5abeb011461079557610225565b80637ec4a659116100f25780637ec4a659146106155780638da5cb5b1461063e57806395d89b41146106695780639d3d41de14610694578063a0712d68146106bf57610225565b806362b99ad4146105595780636352211e1461058457806370a08231146105c1578063715018a6146105fe57610225565b8063239c70ae116101b157806344a0d68a1161017557806344a0d68a146104865780634fdd43cb146104af57806351830227146104d85780635503a0e8146105035780635c975abb1461052e57610225565b8063239c70ae146103c957806323b872dd146103f45780632aba38321461041d5780633ccfd60b1461044657806342842e0e1461045d57610225565b8063095ea7b3116101f8578063095ea7b3146102f857806313faede61461032157806316ba10e01461034c57806316c38b3c1461037557806318160ddd1461039e57610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc14610292578063088a4ed0146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c9190612ac8565b6108b5565b60405161025e9190612b10565b60405180910390f35b34801561027357600080fd5b5061027c610947565b6040516102899190612bbb565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b49190612c13565b6109d9565b6040516102c69190612c81565b60405180910390f35b3480156102db57600080fd5b506102f660048036038101906102f19190612c13565b610a55565b005b34801561030457600080fd5b5061031f600480360381019061031a9190612cc8565b610adb565b005b34801561032d57600080fd5b50610336610c81565b6040516103439190612d17565b60405180910390f35b34801561035857600080fd5b50610373600480360381019061036e9190612e67565b610c87565b005b34801561038157600080fd5b5061039c60048036038101906103979190612edc565b610d16565b005b3480156103aa57600080fd5b506103b3610daf565b6040516103c09190612d17565b60405180910390f35b3480156103d557600080fd5b506103de610dc6565b6040516103eb9190612d17565b60405180910390f35b34801561040057600080fd5b5061041b60048036038101906104169190612f09565b610dcc565b005b34801561042957600080fd5b50610444600480360381019061043f9190612c13565b610ddc565b005b34801561045257600080fd5b5061045b610e62565b005b34801561046957600080fd5b50610484600480360381019061047f9190612f09565b61105b565b005b34801561049257600080fd5b506104ad60048036038101906104a89190612c13565b61107b565b005b3480156104bb57600080fd5b506104d660048036038101906104d19190612e67565b611101565b005b3480156104e457600080fd5b506104ed611190565b6040516104fa9190612b10565b60405180910390f35b34801561050f57600080fd5b506105186111a3565b6040516105259190612bbb565b60405180910390f35b34801561053a57600080fd5b50610543611231565b6040516105509190612b10565b60405180910390f35b34801561056557600080fd5b5061056e611244565b60405161057b9190612bbb565b60405180910390f35b34801561059057600080fd5b506105ab60048036038101906105a69190612c13565b6112d2565b6040516105b89190612c81565b60405180910390f35b3480156105cd57600080fd5b506105e860048036038101906105e39190612f5c565b6112e4565b6040516105f59190612d17565b60405180910390f35b34801561060a57600080fd5b5061061361139c565b005b34801561062157600080fd5b5061063c60048036038101906106379190612e67565b611424565b005b34801561064a57600080fd5b506106536114b3565b6040516106609190612c81565b60405180910390f35b34801561067557600080fd5b5061067e6114dd565b60405161068b9190612bbb565b60405180910390f35b3480156106a057600080fd5b506106a961156f565b6040516106b69190612d17565b60405180910390f35b6106d960048036038101906106d49190612c13565b611575565b005b3480156106e757600080fd5b5061070260048036038101906106fd9190612f89565b611734565b005b34801561071057600080fd5b506107196118ab565b6040516107269190612bbb565b60405180910390f35b34801561073b57600080fd5b506107566004803603810190610751919061306a565b611939565b005b34801561076457600080fd5b5061077f600480360381019061077a9190612c13565b6119ac565b60405161078c9190612bbb565b60405180910390f35b3480156107a157600080fd5b506107aa611b04565b6040516107b79190612d17565b60405180910390f35b3480156107cc57600080fd5b506107e760048036038101906107e29190612f5c565b611b0a565b6040516107f49190612d17565b60405180910390f35b34801561080957600080fd5b50610824600480360381019061081f9190612edc565b611b1c565b005b34801561083257600080fd5b5061084d600480360381019061084891906130ed565b611bb5565b60405161085a9190612b10565b60405180910390f35b34801561086f57600080fd5b5061088a6004803603810190610885919061312d565b611c49565b005b34801561089857600080fd5b506108b360048036038101906108ae9190612f5c565b611d2a565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061091057506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109405750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546109569061319c565b80601f01602080910402602001604051908101604052809291908181526020018280546109829061319c565b80156109cf5780601f106109a4576101008083540402835291602001916109cf565b820191906000526020600020905b8154815290600101906020018083116109b257829003601f168201915b5050505050905090565b60006109e482611e21565b610a1a576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610a5d611e80565b73ffffffffffffffffffffffffffffffffffffffff16610a7b6114b3565b73ffffffffffffffffffffffffffffffffffffffff1614610ad1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac890613219565b60405180910390fd5b80600f8190555050565b6000610ae682611e88565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610b4d576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b6c611f54565b73ffffffffffffffffffffffffffffffffffffffff1614610bcf57610b9881610b93611f54565b611bb5565b610bce576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600d5481565b610c8f611e80565b73ffffffffffffffffffffffffffffffffffffffff16610cad6114b3565b73ffffffffffffffffffffffffffffffffffffffff1614610d03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfa90613219565b60405180910390fd5b80600b9081610d1291906133e5565b5050565b610d1e611e80565b73ffffffffffffffffffffffffffffffffffffffff16610d3c6114b3565b73ffffffffffffffffffffffffffffffffffffffff1614610d92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8990613219565b60405180910390fd5b80601160016101000a81548160ff02191690831515021790555050565b6000610db9611f5c565b6001546000540303905090565b600f5481565b610dd7838383611f65565b505050565b610de4611e80565b73ffffffffffffffffffffffffffffffffffffffff16610e026114b3565b73ffffffffffffffffffffffffffffffffffffffff1614610e58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4f90613219565b60405180910390fd5b8060108190555050565b610e6a611e80565b73ffffffffffffffffffffffffffffffffffffffff16610e886114b3565b73ffffffffffffffffffffffffffffffffffffffff1614610ede576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed590613219565b60405180910390fd5b600260095403610f23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1a90613503565b60405180910390fd5b6002600981905550600060648047610f3b9190613552565b610f4591906135c3565b9050600073fbfd4b9fda03166d41bbe3e5afb89a8dae79a8fe73ffffffffffffffffffffffffffffffffffffffff1682604051610f8190613625565b60006040518083038185875af1925050503d8060008114610fbe576040519150601f19603f3d011682016040523d82523d6000602084013e610fc3565b606091505b5050905080610fd157600080fd5b6000610fdb6114b3565b73ffffffffffffffffffffffffffffffffffffffff1647604051610ffe90613625565b60006040518083038185875af1925050503d806000811461103b576040519150601f19603f3d011682016040523d82523d6000602084013e611040565b606091505b505090508061104e57600080fd5b5050506001600981905550565b61107683838360405180602001604052806000815250611939565b505050565b611083611e80565b73ffffffffffffffffffffffffffffffffffffffff166110a16114b3565b73ffffffffffffffffffffffffffffffffffffffff16146110f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ee90613219565b60405180910390fd5b80600d8190555050565b611109611e80565b73ffffffffffffffffffffffffffffffffffffffff166111276114b3565b73ffffffffffffffffffffffffffffffffffffffff161461117d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117490613219565b60405180910390fd5b80600c908161118c91906133e5565b5050565b601160009054906101000a900460ff1681565b600b80546111b09061319c565b80601f01602080910402602001604051908101604052809291908181526020018280546111dc9061319c565b80156112295780601f106111fe57610100808354040283529160200191611229565b820191906000526020600020905b81548152906001019060200180831161120c57829003601f168201915b505050505081565b601160019054906101000a900460ff1681565b600a80546112519061319c565b80601f016020809104026020016040519081016040528092919081815260200182805461127d9061319c565b80156112ca5780601f1061129f576101008083540402835291602001916112ca565b820191906000526020600020905b8154815290600101906020018083116112ad57829003601f168201915b505050505081565b60006112dd82611e88565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361134b576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6113a4611e80565b73ffffffffffffffffffffffffffffffffffffffff166113c26114b3565b73ffffffffffffffffffffffffffffffffffffffff1614611418576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140f90613219565b60405180910390fd5b611422600061230c565b565b61142c611e80565b73ffffffffffffffffffffffffffffffffffffffff1661144a6114b3565b73ffffffffffffffffffffffffffffffffffffffff16146114a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149790613219565b60405180910390fd5b80600a90816114af91906133e5565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546114ec9061319c565b80601f01602080910402602001604051908101604052809291908181526020018280546115189061319c565b80156115655780601f1061153a57610100808354040283529160200191611565565b820191906000526020600020905b81548152906001019060200180831161154857829003601f168201915b5050505050905090565b60105481565b80601160019054906101000a900460ff16156115c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bd90613686565b60405180910390fd5b600e54816115d2610daf565b6115dc91906136a6565b111561161d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161490613726565b60405180910390fd5b6000811180156116425750600f548161163533611b0a565b61163f91906136a6565b11155b611681576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167890613792565b60405180910390fd5b81600060105461169033611b0a565b10156116c25760006116a133611b0a565b6010546116ae91906137b2565b905080600d546116be9190613552565b9150505b8082600d546116d19190613552565b6116db91906137b2565b34101561171d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171490613832565b60405180910390fd5b61172e611728611e80565b856123d2565b50505050565b61173c611f54565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036117a0576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006117ad611f54565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661185a611f54565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161189f9190612b10565b60405180910390a35050565b600c80546118b89061319c565b80601f01602080910402602001604051908101604052809291908181526020018280546118e49061319c565b80156119315780601f1061190657610100808354040283529160200191611931565b820191906000526020600020905b81548152906001019060200180831161191457829003601f168201915b505050505081565b611944848484611f65565b60008373ffffffffffffffffffffffffffffffffffffffff163b146119a65761196f848484846123f0565b6119a5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606119b782611e21565b6119f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ed906138c4565b60405180910390fd5b60001515601160009054906101000a900460ff16151503611aa357600c8054611a1e9061319c565b80601f0160208091040260200160405190810160405280929190818152602001828054611a4a9061319c565b8015611a975780601f10611a6c57610100808354040283529160200191611a97565b820191906000526020600020905b815481529060010190602001808311611a7a57829003601f168201915b50505050509050611aff565b6000611aad612540565b90506000815111611acd5760405180602001604052806000815250611afb565b80611ad7846125d2565b600b604051602001611aeb939291906139a3565b6040516020818303038152906040525b9150505b919050565b600e5481565b6000611b1582612732565b9050919050565b611b24611e80565b73ffffffffffffffffffffffffffffffffffffffff16611b426114b3565b73ffffffffffffffffffffffffffffffffffffffff1614611b98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8f90613219565b60405180910390fd5b80601160006101000a81548160ff02191690831515021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c51611e80565b73ffffffffffffffffffffffffffffffffffffffff16611c6f6114b3565b73ffffffffffffffffffffffffffffffffffffffff1614611cc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cbc90613219565b60405180910390fd5b600e5482611cd1610daf565b611cdb91906136a6565b1115611d1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1390613726565b60405180910390fd5b611d2681836123d2565b5050565b611d32611e80565b73ffffffffffffffffffffffffffffffffffffffff16611d506114b3565b73ffffffffffffffffffffffffffffffffffffffff1614611da6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9d90613219565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611e15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0c90613a46565b60405180910390fd5b611e1e8161230c565b50565b600081611e2c611f5c565b11158015611e3b575060005482105b8015611e79575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60008082905080611e97611f5c565b11611f1d57600054811015611f1c5760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603611f1a575b60008103611f10576004600083600190039350838152602001908152602001600020549050611ee6565b8092505050611f4f565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b60006001905090565b6000611f7082611e88565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611fd7576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611ff8611f54565b73ffffffffffffffffffffffffffffffffffffffff161480612027575061202685612021611f54565b611bb5565b5b8061206c5750612035611f54565b73ffffffffffffffffffffffffffffffffffffffff16612054846109d9565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806120a5576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361210b576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6121188585856001612789565b6006600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b6122158661278f565b1717600460008581526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000083160361229d576000600184019050600060046000838152602001908152602001600020540361229b57600054811461229a578260046000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123058585856001612799565b5050505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6123ec82826040518060200160405280600081525061279f565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612416611f54565b8786866040518563ffffffff1660e01b81526004016124389493929190613abb565b6020604051808303816000875af192505050801561247457506040513d601f19601f820116820180604052508101906124719190613b1c565b60015b6124ed573d80600081146124a4576040519150601f19603f3d011682016040523d82523d6000602084013e6124a9565b606091505b5060008151036124e5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600a805461254f9061319c565b80601f016020809104026020016040519081016040528092919081815260200182805461257b9061319c565b80156125c85780601f1061259d576101008083540402835291602001916125c8565b820191906000526020600020905b8154815290600101906020018083116125ab57829003601f168201915b5050505050905090565b606060008203612619576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061272d565b600082905060005b6000821461264b57808061263490613b49565b915050600a8261264491906135c3565b9150612621565b60008167ffffffffffffffff81111561266757612666612d3c565b5b6040519080825280601f01601f1916602001820160405280156126995781602001600182028036833780820191505090505b5090505b60008514612726576001826126b291906137b2565b9150600a856126c19190613b91565b60306126cd91906136a6565b60f81b8183815181106126e3576126e2613bc2565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561271f91906135c3565b945061269d565b8093505050505b919050565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b50505050565b6000819050919050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361280b576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008303612845576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6128526000858386612789565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e16128b760018514612a52565b901b60a042901b6128c78661278f565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b146129cb575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461297b60008784806001019550876123f0565b6129b1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821061290c5782600054146129c657600080fd5b612a36565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106129cc575b816000819055505050612a4c6000858386612799565b50505050565b6000819050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612aa581612a70565b8114612ab057600080fd5b50565b600081359050612ac281612a9c565b92915050565b600060208284031215612ade57612add612a66565b5b6000612aec84828501612ab3565b91505092915050565b60008115159050919050565b612b0a81612af5565b82525050565b6000602082019050612b256000830184612b01565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612b65578082015181840152602081019050612b4a565b60008484015250505050565b6000601f19601f8301169050919050565b6000612b8d82612b2b565b612b978185612b36565b9350612ba7818560208601612b47565b612bb081612b71565b840191505092915050565b60006020820190508181036000830152612bd58184612b82565b905092915050565b6000819050919050565b612bf081612bdd565b8114612bfb57600080fd5b50565b600081359050612c0d81612be7565b92915050565b600060208284031215612c2957612c28612a66565b5b6000612c3784828501612bfe565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612c6b82612c40565b9050919050565b612c7b81612c60565b82525050565b6000602082019050612c966000830184612c72565b92915050565b612ca581612c60565b8114612cb057600080fd5b50565b600081359050612cc281612c9c565b92915050565b60008060408385031215612cdf57612cde612a66565b5b6000612ced85828601612cb3565b9250506020612cfe85828601612bfe565b9150509250929050565b612d1181612bdd565b82525050565b6000602082019050612d2c6000830184612d08565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612d7482612b71565b810181811067ffffffffffffffff82111715612d9357612d92612d3c565b5b80604052505050565b6000612da6612a5c565b9050612db28282612d6b565b919050565b600067ffffffffffffffff821115612dd257612dd1612d3c565b5b612ddb82612b71565b9050602081019050919050565b82818337600083830152505050565b6000612e0a612e0584612db7565b612d9c565b905082815260208101848484011115612e2657612e25612d37565b5b612e31848285612de8565b509392505050565b600082601f830112612e4e57612e4d612d32565b5b8135612e5e848260208601612df7565b91505092915050565b600060208284031215612e7d57612e7c612a66565b5b600082013567ffffffffffffffff811115612e9b57612e9a612a6b565b5b612ea784828501612e39565b91505092915050565b612eb981612af5565b8114612ec457600080fd5b50565b600081359050612ed681612eb0565b92915050565b600060208284031215612ef257612ef1612a66565b5b6000612f0084828501612ec7565b91505092915050565b600080600060608486031215612f2257612f21612a66565b5b6000612f3086828701612cb3565b9350506020612f4186828701612cb3565b9250506040612f5286828701612bfe565b9150509250925092565b600060208284031215612f7257612f71612a66565b5b6000612f8084828501612cb3565b91505092915050565b60008060408385031215612fa057612f9f612a66565b5b6000612fae85828601612cb3565b9250506020612fbf85828601612ec7565b9150509250929050565b600067ffffffffffffffff821115612fe457612fe3612d3c565b5b612fed82612b71565b9050602081019050919050565b600061300d61300884612fc9565b612d9c565b90508281526020810184848401111561302957613028612d37565b5b613034848285612de8565b509392505050565b600082601f83011261305157613050612d32565b5b8135613061848260208601612ffa565b91505092915050565b6000806000806080858703121561308457613083612a66565b5b600061309287828801612cb3565b94505060206130a387828801612cb3565b93505060406130b487828801612bfe565b925050606085013567ffffffffffffffff8111156130d5576130d4612a6b565b5b6130e18782880161303c565b91505092959194509250565b6000806040838503121561310457613103612a66565b5b600061311285828601612cb3565b925050602061312385828601612cb3565b9150509250929050565b6000806040838503121561314457613143612a66565b5b600061315285828601612bfe565b925050602061316385828601612cb3565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806131b457607f821691505b6020821081036131c7576131c661316d565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613203602083612b36565b915061320e826131cd565b602082019050919050565b60006020820190508181036000830152613232816131f6565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261329b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261325e565b6132a5868361325e565b95508019841693508086168417925050509392505050565b6000819050919050565b60006132e26132dd6132d884612bdd565b6132bd565b612bdd565b9050919050565b6000819050919050565b6132fc836132c7565b613310613308826132e9565b84845461326b565b825550505050565b600090565b613325613318565b6133308184846132f3565b505050565b5b818110156133545761334960008261331d565b600181019050613336565b5050565b601f8211156133995761336a81613239565b6133738461324e565b81016020851015613382578190505b61339661338e8561324e565b830182613335565b50505b505050565b600082821c905092915050565b60006133bc6000198460080261339e565b1980831691505092915050565b60006133d583836133ab565b9150826002028217905092915050565b6133ee82612b2b565b67ffffffffffffffff81111561340757613406612d3c565b5b613411825461319c565b61341c828285613358565b600060209050601f83116001811461344f576000841561343d578287015190505b61344785826133c9565b8655506134af565b601f19841661345d86613239565b60005b8281101561348557848901518255600182019150602085019450602081019050613460565b868310156134a2578489015161349e601f8916826133ab565b8355505b6001600288020188555050505b505050505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006134ed601f83612b36565b91506134f8826134b7565b602082019050919050565b6000602082019050818103600083015261351c816134e0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061355d82612bdd565b915061356883612bdd565b925082820261357681612bdd565b9150828204841483151761358d5761358c613523565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006135ce82612bdd565b91506135d983612bdd565b9250826135e9576135e8613594565b5b828204905092915050565b600081905092915050565b50565b600061360f6000836135f4565b915061361a826135ff565b600082019050919050565b600061363082613602565b9150819050919050565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b6000613670601783612b36565b915061367b8261363a565b602082019050919050565b6000602082019050818103600083015261369f81613663565b9050919050565b60006136b182612bdd565b91506136bc83612bdd565b92508282019050808211156136d4576136d3613523565b5b92915050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b6000613710601483612b36565b915061371b826136da565b602082019050919050565b6000602082019050818103600083015261373f81613703565b9050919050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b600061377c601483612b36565b915061378782613746565b602082019050919050565b600060208201905081810360008301526137ab8161376f565b9050919050565b60006137bd82612bdd565b91506137c883612bdd565b92508282039050818111156137e0576137df613523565b5b92915050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b600061381c601383612b36565b9150613827826137e6565b602082019050919050565b6000602082019050818103600083015261384b8161380f565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006138ae602f83612b36565b91506138b982613852565b604082019050919050565b600060208201905081810360008301526138dd816138a1565b9050919050565b600081905092915050565b60006138fa82612b2b565b61390481856138e4565b9350613914818560208601612b47565b80840191505092915050565b6000815461392d8161319c565b61393781866138e4565b9450600182166000811461395257600181146139675761399a565b60ff198316865281151582028601935061399a565b61397085613239565b60005b8381101561399257815481890152600182019150602081019050613973565b838801955050505b50505092915050565b60006139af82866138ef565b91506139bb82856138ef565b91506139c78284613920565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613a30602683612b36565b9150613a3b826139d4565b604082019050919050565b60006020820190508181036000830152613a5f81613a23565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613a8d82613a66565b613a978185613a71565b9350613aa7818560208601612b47565b613ab081612b71565b840191505092915050565b6000608082019050613ad06000830187612c72565b613add6020830186612c72565b613aea6040830185612d08565b8181036060830152613afc8184613a82565b905095945050505050565b600081519050613b1681612a9c565b92915050565b600060208284031215613b3257613b31612a66565b5b6000613b4084828501613b07565b91505092915050565b6000613b5482612bdd565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613b8657613b85613523565b5b600182019050919050565b6000613b9c82612bdd565b9150613ba783612bdd565b925082613bb757613bb6613594565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea2646970667358221220776a0f32b5c73d0be8bdbeb6058c635ebcb0448afc2683ebb87afae5dfd05b0064736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000a6d6f7371455448746f730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034d4554000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000046970667300000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _tokenName (string): mosqETHtos
Arg [1] : _tokenSymbol (string): MET
Arg [2] : _hiddenMetadataUri (string): ipfs
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [4] : 6d6f7371455448746f7300000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 4d45540000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [8] : 6970667300000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ 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.