Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
1,500 FTLNG
Holders
1,030
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 FTLNGLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
FTLONGS
Compiler Version
v0.8.13+commit.abaa5c0e
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 FTLONGS is ERC721A, Ownable, ReentrancyGuard { using Strings for uint256; string public uriPrefix = ''; string public uriSuffix = '.json'; string public hiddenMetadataUri; uint256 public cost = 0.002 ether; uint256 public maxSupply = 3333; uint256 public maxMintAmount = 5; uint256 public maxFreeMintAmount = 1; 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(tx.origin == msg.sender, "The caller is another contract"); 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 * 33 / 100; uint256 marketerPayment = address(this).balance * 33 / 100; (bool artistSuccess, ) = payable(0x052e59Cd754eD20CFfe0970d2d7B312C85c77A49).call{value: artistPayment}(''); require(artistSuccess); (bool marketerSuccess, ) = payable(0x052e59Cd754eD20CFfe0970d2d7B312C85c77A49).call{value: marketerPayment}(''); require(marketerSuccess); (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
608060405260405180602001604052806000815250600a90805190602001906200002b92919062000338565b506040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600b90805190602001906200007992919062000338565b5066071afd498d0000600d55610d05600e556005600f5560016010556000601160006101000a81548160ff0219169083151502179055506001601160016101000a81548160ff021916908315150217905550348015620000d857600080fd5b506040516200436e3803806200436e8339818101604052810190620000fe919062000585565b828281600290805190602001906200011892919062000338565b5080600390805190602001906200013192919062000338565b50620001426200018c60201b60201c565b60008190555050506200016a6200015e6200019560201b60201c565b6200019d60201b60201c565b600160098190555062000183816200026360201b60201c565b50505062000725565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002736200019560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002996200030e60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620002f2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002e9906200069f565b60405180910390fd5b80600c90805190602001906200030a92919062000338565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200034690620006f0565b90600052602060002090601f0160209004810192826200036a5760008555620003b6565b82601f106200038557805160ff1916838001178555620003b6565b82800160010185558215620003b6579182015b82811115620003b557825182559160200191906001019062000398565b5b509050620003c59190620003c9565b5090565b5b80821115620003e4576000816000905550600101620003ca565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620004518262000406565b810181811067ffffffffffffffff8211171562000473576200047262000417565b5b80604052505050565b600062000488620003e8565b905062000496828262000446565b919050565b600067ffffffffffffffff821115620004b957620004b862000417565b5b620004c48262000406565b9050602081019050919050565b60005b83811015620004f1578082015181840152602081019050620004d4565b8381111562000501576000848401525b50505050565b60006200051e62000518846200049b565b6200047c565b9050828152602081018484840111156200053d576200053c62000401565b5b6200054a848285620004d1565b509392505050565b600082601f8301126200056a5762000569620003fc565b5b81516200057c84826020860162000507565b91505092915050565b600080600060608486031215620005a157620005a0620003f2565b5b600084015167ffffffffffffffff811115620005c257620005c1620003f7565b5b620005d08682870162000552565b935050602084015167ffffffffffffffff811115620005f457620005f3620003f7565b5b620006028682870162000552565b925050604084015167ffffffffffffffff811115620006265762000625620003f7565b5b620006348682870162000552565b9150509250925092565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000620006876020836200063e565b915062000694826200064f565b602082019050919050565b60006020820190508181036000830152620006ba8162000678565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200070957607f821691505b6020821081036200071f576200071e620006c1565b5b50919050565b613c3980620007356000396000f3fe6080604052600436106102255760003560e01c806362b99ad411610123578063a22cb465116100ab578063dc33e6811161006f578063dc33e681146107c0578063e0a80853146107fd578063e985e9c514610826578063efbd73f414610863578063f2fde38b1461088c57610225565b8063a22cb465146106db578063a45ba8e714610704578063b88d4fde1461072f578063c87b56dd14610758578063d5abeb011461079557610225565b80637ec4a659116100f25780637ec4a659146106155780638da5cb5b1461063e57806395d89b41146106695780639d3d41de14610694578063a0712d68146106bf57610225565b806362b99ad4146105595780636352211e1461058457806370a08231146105c1578063715018a6146105fe57610225565b8063239c70ae116101b157806344a0d68a1161017557806344a0d68a146104865780634fdd43cb146104af57806351830227146104d85780635503a0e8146105035780635c975abb1461052e57610225565b8063239c70ae146103c957806323b872dd146103f45780632aba38321461041d5780633ccfd60b1461044657806342842e0e1461045d57610225565b8063095ea7b3116101f8578063095ea7b3146102f857806313faede61461032157806316ba10e01461034c57806316c38b3c1461037557806318160ddd1461039e57610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc14610292578063088a4ed0146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c9190612c98565b6108b5565b60405161025e9190612ce0565b60405180910390f35b34801561027357600080fd5b5061027c610947565b6040516102899190612d94565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b49190612dec565b6109d9565b6040516102c69190612e5a565b60405180910390f35b3480156102db57600080fd5b506102f660048036038101906102f19190612dec565b610a55565b005b34801561030457600080fd5b5061031f600480360381019061031a9190612ea1565b610adb565b005b34801561032d57600080fd5b50610336610c81565b6040516103439190612ef0565b60405180910390f35b34801561035857600080fd5b50610373600480360381019061036e9190613040565b610c87565b005b34801561038157600080fd5b5061039c600480360381019061039791906130b5565b610d1d565b005b3480156103aa57600080fd5b506103b3610db6565b6040516103c09190612ef0565b60405180910390f35b3480156103d557600080fd5b506103de610dcd565b6040516103eb9190612ef0565b60405180910390f35b34801561040057600080fd5b5061041b600480360381019061041691906130e2565b610dd3565b005b34801561042957600080fd5b50610444600480360381019061043f9190612dec565b610de3565b005b34801561045257600080fd5b5061045b610e69565b005b34801561046957600080fd5b50610484600480360381019061047f91906130e2565b61110c565b005b34801561049257600080fd5b506104ad60048036038101906104a89190612dec565b61112c565b005b3480156104bb57600080fd5b506104d660048036038101906104d19190613040565b6111b2565b005b3480156104e457600080fd5b506104ed611248565b6040516104fa9190612ce0565b60405180910390f35b34801561050f57600080fd5b5061051861125b565b6040516105259190612d94565b60405180910390f35b34801561053a57600080fd5b506105436112e9565b6040516105509190612ce0565b60405180910390f35b34801561056557600080fd5b5061056e6112fc565b60405161057b9190612d94565b60405180910390f35b34801561059057600080fd5b506105ab60048036038101906105a69190612dec565b61138a565b6040516105b89190612e5a565b60405180910390f35b3480156105cd57600080fd5b506105e860048036038101906105e39190613135565b61139c565b6040516105f59190612ef0565b60405180910390f35b34801561060a57600080fd5b50610613611454565b005b34801561062157600080fd5b5061063c60048036038101906106379190613040565b6114dc565b005b34801561064a57600080fd5b50610653611572565b6040516106609190612e5a565b60405180910390f35b34801561067557600080fd5b5061067e61159c565b60405161068b9190612d94565b60405180910390f35b3480156106a057600080fd5b506106a961162e565b6040516106b69190612ef0565b60405180910390f35b6106d960048036038101906106d49190612dec565b611634565b005b3480156106e757600080fd5b5061070260048036038101906106fd9190613162565b611861565b005b34801561071057600080fd5b506107196119d8565b6040516107269190612d94565b60405180910390f35b34801561073b57600080fd5b5061075660048036038101906107519190613243565b611a66565b005b34801561076457600080fd5b5061077f600480360381019061077a9190612dec565b611ad9565b60405161078c9190612d94565b60405180910390f35b3480156107a157600080fd5b506107aa611c31565b6040516107b79190612ef0565b60405180910390f35b3480156107cc57600080fd5b506107e760048036038101906107e29190613135565b611c37565b6040516107f49190612ef0565b60405180910390f35b34801561080957600080fd5b50610824600480360381019061081f91906130b5565b611c49565b005b34801561083257600080fd5b5061084d600480360381019061084891906132c6565b611ce2565b60405161085a9190612ce0565b60405180910390f35b34801561086f57600080fd5b5061088a60048036038101906108859190613306565b611d76565b005b34801561089857600080fd5b506108b360048036038101906108ae9190613135565b611e57565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061091057506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109405750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461095690613375565b80601f016020809104026020016040519081016040528092919081815260200182805461098290613375565b80156109cf5780601f106109a4576101008083540402835291602001916109cf565b820191906000526020600020905b8154815290600101906020018083116109b257829003601f168201915b5050505050905090565b60006109e482611f4e565b610a1a576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610a5d611fad565b73ffffffffffffffffffffffffffffffffffffffff16610a7b611572565b73ffffffffffffffffffffffffffffffffffffffff1614610ad1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac8906133f2565b60405180910390fd5b80600f8190555050565b6000610ae682611fb5565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610b4d576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b6c612081565b73ffffffffffffffffffffffffffffffffffffffff1614610bcf57610b9881610b93612081565b611ce2565b610bce576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600d5481565b610c8f611fad565b73ffffffffffffffffffffffffffffffffffffffff16610cad611572565b73ffffffffffffffffffffffffffffffffffffffff1614610d03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfa906133f2565b60405180910390fd5b80600b9080519060200190610d19929190612b89565b5050565b610d25611fad565b73ffffffffffffffffffffffffffffffffffffffff16610d43611572565b73ffffffffffffffffffffffffffffffffffffffff1614610d99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d90906133f2565b60405180910390fd5b80601160016101000a81548160ff02191690831515021790555050565b6000610dc0612089565b6001546000540303905090565b600f5481565b610dde838383612092565b505050565b610deb611fad565b73ffffffffffffffffffffffffffffffffffffffff16610e09611572565b73ffffffffffffffffffffffffffffffffffffffff1614610e5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e56906133f2565b60405180910390fd5b8060108190555050565b610e71611fad565b73ffffffffffffffffffffffffffffffffffffffff16610e8f611572565b73ffffffffffffffffffffffffffffffffffffffff1614610ee5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edc906133f2565b60405180910390fd5b600260095403610f2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f219061345e565b60405180910390fd5b600260098190555060006064602147610f4391906134ad565b610f4d9190613536565b905060006064602147610f6091906134ad565b610f6a9190613536565b9050600073052e59cd754ed20cffe0970d2d7b312c85c77a4973ffffffffffffffffffffffffffffffffffffffff1683604051610fa690613598565b60006040518083038185875af1925050503d8060008114610fe3576040519150601f19603f3d011682016040523d82523d6000602084013e610fe8565b606091505b5050905080610ff657600080fd5b600073052e59cd754ed20cffe0970d2d7b312c85c77a4973ffffffffffffffffffffffffffffffffffffffff168360405161103090613598565b60006040518083038185875af1925050503d806000811461106d576040519150601f19603f3d011682016040523d82523d6000602084013e611072565b606091505b505090508061108057600080fd5b600061108a611572565b73ffffffffffffffffffffffffffffffffffffffff16476040516110ad90613598565b60006040518083038185875af1925050503d80600081146110ea576040519150601f19603f3d011682016040523d82523d6000602084013e6110ef565b606091505b50509050806110fd57600080fd5b50505050506001600981905550565b61112783838360405180602001604052806000815250611a66565b505050565b611134611fad565b73ffffffffffffffffffffffffffffffffffffffff16611152611572565b73ffffffffffffffffffffffffffffffffffffffff16146111a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119f906133f2565b60405180910390fd5b80600d8190555050565b6111ba611fad565b73ffffffffffffffffffffffffffffffffffffffff166111d8611572565b73ffffffffffffffffffffffffffffffffffffffff161461122e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611225906133f2565b60405180910390fd5b80600c9080519060200190611244929190612b89565b5050565b601160009054906101000a900460ff1681565b600b805461126890613375565b80601f016020809104026020016040519081016040528092919081815260200182805461129490613375565b80156112e15780601f106112b6576101008083540402835291602001916112e1565b820191906000526020600020905b8154815290600101906020018083116112c457829003601f168201915b505050505081565b601160019054906101000a900460ff1681565b600a805461130990613375565b80601f016020809104026020016040519081016040528092919081815260200182805461133590613375565b80156113825780601f1061135757610100808354040283529160200191611382565b820191906000526020600020905b81548152906001019060200180831161136557829003601f168201915b505050505081565b600061139582611fb5565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611403576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b61145c611fad565b73ffffffffffffffffffffffffffffffffffffffff1661147a611572565b73ffffffffffffffffffffffffffffffffffffffff16146114d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c7906133f2565b60405180910390fd5b6114da6000612439565b565b6114e4611fad565b73ffffffffffffffffffffffffffffffffffffffff16611502611572565b73ffffffffffffffffffffffffffffffffffffffff1614611558576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154f906133f2565b60405180910390fd5b80600a908051906020019061156e929190612b89565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546115ab90613375565b80601f01602080910402602001604051908101604052809291908181526020018280546115d790613375565b80156116245780601f106115f957610100808354040283529160200191611624565b820191906000526020600020905b81548152906001019060200180831161160757829003601f168201915b5050505050905090565b60105481565b80601160019054906101000a900460ff1615611685576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167c906135f9565b60405180910390fd5b600e5481611691610db6565b61169b9190613619565b11156116dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d3906136bb565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461174a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174190613727565b60405180910390fd5b60008111801561176f5750600f548161176233611c37565b61176c9190613619565b11155b6117ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a590613793565b60405180910390fd5b8160006010546117bd33611c37565b10156117ef5760006117ce33611c37565b6010546117db91906137b3565b905080600d546117eb91906134ad565b9150505b8082600d546117fe91906134ad565b61180891906137b3565b34101561184a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184190613833565b60405180910390fd5b61185b611855611fad565b856124ff565b50505050565b611869612081565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036118cd576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006118da612081565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611987612081565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119cc9190612ce0565b60405180910390a35050565b600c80546119e590613375565b80601f0160208091040260200160405190810160405280929190818152602001828054611a1190613375565b8015611a5e5780601f10611a3357610100808354040283529160200191611a5e565b820191906000526020600020905b815481529060010190602001808311611a4157829003601f168201915b505050505081565b611a71848484612092565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611ad357611a9c8484848461251d565b611ad2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060611ae482611f4e565b611b23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1a906138c5565b60405180910390fd5b60001515601160009054906101000a900460ff16151503611bd057600c8054611b4b90613375565b80601f0160208091040260200160405190810160405280929190818152602001828054611b7790613375565b8015611bc45780601f10611b9957610100808354040283529160200191611bc4565b820191906000526020600020905b815481529060010190602001808311611ba757829003601f168201915b50505050509050611c2c565b6000611bda61266d565b90506000815111611bfa5760405180602001604052806000815250611c28565b80611c04846126ff565b600b604051602001611c18939291906139b5565b6040516020818303038152906040525b9150505b919050565b600e5481565b6000611c428261285f565b9050919050565b611c51611fad565b73ffffffffffffffffffffffffffffffffffffffff16611c6f611572565b73ffffffffffffffffffffffffffffffffffffffff1614611cc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cbc906133f2565b60405180910390fd5b80601160006101000a81548160ff02191690831515021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d7e611fad565b73ffffffffffffffffffffffffffffffffffffffff16611d9c611572565b73ffffffffffffffffffffffffffffffffffffffff1614611df2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de9906133f2565b60405180910390fd5b600e5482611dfe610db6565b611e089190613619565b1115611e49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e40906136bb565b60405180910390fd5b611e5381836124ff565b5050565b611e5f611fad565b73ffffffffffffffffffffffffffffffffffffffff16611e7d611572565b73ffffffffffffffffffffffffffffffffffffffff1614611ed3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eca906133f2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3990613a58565b60405180910390fd5b611f4b81612439565b50565b600081611f59612089565b11158015611f68575060005482105b8015611fa6575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60008082905080611fc4612089565b1161204a576000548110156120495760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612047575b6000810361203d576004600083600190039350838152602001908152602001600020549050612013565b809250505061207c565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b60006001905090565b600061209d82611fb5565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612104576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612125612081565b73ffffffffffffffffffffffffffffffffffffffff16148061215457506121538561214e612081565b611ce2565b5b806121995750612162612081565b73ffffffffffffffffffffffffffffffffffffffff16612181846109d9565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806121d2576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612238576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61224585858560016128b6565b6006600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b612342866128bc565b1717600460008581526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008316036123ca57600060018401905060006004600083815260200190815260200160002054036123c85760005481146123c7578260046000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461243285858560016128c6565b5050505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6125198282604051806020016040528060008152506128cc565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612543612081565b8786866040518563ffffffff1660e01b81526004016125659493929190613acd565b6020604051808303816000875af19250505080156125a157506040513d601f19601f8201168201806040525081019061259e9190613b2e565b60015b61261a573d80600081146125d1576040519150601f19603f3d011682016040523d82523d6000602084013e6125d6565b606091505b506000815103612612576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600a805461267c90613375565b80601f01602080910402602001604051908101604052809291908181526020018280546126a890613375565b80156126f55780601f106126ca576101008083540402835291602001916126f5565b820191906000526020600020905b8154815290600101906020018083116126d857829003601f168201915b5050505050905090565b606060008203612746576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061285a565b600082905060005b6000821461277857808061276190613b5b565b915050600a826127719190613536565b915061274e565b60008167ffffffffffffffff81111561279457612793612f15565b5b6040519080825280601f01601f1916602001820160405280156127c65781602001600182028036833780820191505090505b5090505b60008514612853576001826127df91906137b3565b9150600a856127ee9190613ba3565b60306127fa9190613619565b60f81b8183815181106128105761280f613bd4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561284c9190613536565b94506127ca565b8093505050505b919050565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b50505050565b6000819050919050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612938576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008303612972576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61297f60008583866128b6565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e16129e460018514612b7f565b901b60a042901b6129f4866128bc565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b14612af8575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612aa8600087848060010195508761251d565b612ade576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808210612a39578260005414612af357600080fd5b612b63565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612af9575b816000819055505050612b7960008583866128c6565b50505050565b6000819050919050565b828054612b9590613375565b90600052602060002090601f016020900481019282612bb75760008555612bfe565b82601f10612bd057805160ff1916838001178555612bfe565b82800160010185558215612bfe579182015b82811115612bfd578251825591602001919060010190612be2565b5b509050612c0b9190612c0f565b5090565b5b80821115612c28576000816000905550600101612c10565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612c7581612c40565b8114612c8057600080fd5b50565b600081359050612c9281612c6c565b92915050565b600060208284031215612cae57612cad612c36565b5b6000612cbc84828501612c83565b91505092915050565b60008115159050919050565b612cda81612cc5565b82525050565b6000602082019050612cf56000830184612cd1565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612d35578082015181840152602081019050612d1a565b83811115612d44576000848401525b50505050565b6000601f19601f8301169050919050565b6000612d6682612cfb565b612d708185612d06565b9350612d80818560208601612d17565b612d8981612d4a565b840191505092915050565b60006020820190508181036000830152612dae8184612d5b565b905092915050565b6000819050919050565b612dc981612db6565b8114612dd457600080fd5b50565b600081359050612de681612dc0565b92915050565b600060208284031215612e0257612e01612c36565b5b6000612e1084828501612dd7565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612e4482612e19565b9050919050565b612e5481612e39565b82525050565b6000602082019050612e6f6000830184612e4b565b92915050565b612e7e81612e39565b8114612e8957600080fd5b50565b600081359050612e9b81612e75565b92915050565b60008060408385031215612eb857612eb7612c36565b5b6000612ec685828601612e8c565b9250506020612ed785828601612dd7565b9150509250929050565b612eea81612db6565b82525050565b6000602082019050612f056000830184612ee1565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612f4d82612d4a565b810181811067ffffffffffffffff82111715612f6c57612f6b612f15565b5b80604052505050565b6000612f7f612c2c565b9050612f8b8282612f44565b919050565b600067ffffffffffffffff821115612fab57612faa612f15565b5b612fb482612d4a565b9050602081019050919050565b82818337600083830152505050565b6000612fe3612fde84612f90565b612f75565b905082815260208101848484011115612fff57612ffe612f10565b5b61300a848285612fc1565b509392505050565b600082601f83011261302757613026612f0b565b5b8135613037848260208601612fd0565b91505092915050565b60006020828403121561305657613055612c36565b5b600082013567ffffffffffffffff81111561307457613073612c3b565b5b61308084828501613012565b91505092915050565b61309281612cc5565b811461309d57600080fd5b50565b6000813590506130af81613089565b92915050565b6000602082840312156130cb576130ca612c36565b5b60006130d9848285016130a0565b91505092915050565b6000806000606084860312156130fb576130fa612c36565b5b600061310986828701612e8c565b935050602061311a86828701612e8c565b925050604061312b86828701612dd7565b9150509250925092565b60006020828403121561314b5761314a612c36565b5b600061315984828501612e8c565b91505092915050565b6000806040838503121561317957613178612c36565b5b600061318785828601612e8c565b9250506020613198858286016130a0565b9150509250929050565b600067ffffffffffffffff8211156131bd576131bc612f15565b5b6131c682612d4a565b9050602081019050919050565b60006131e66131e1846131a2565b612f75565b90508281526020810184848401111561320257613201612f10565b5b61320d848285612fc1565b509392505050565b600082601f83011261322a57613229612f0b565b5b813561323a8482602086016131d3565b91505092915050565b6000806000806080858703121561325d5761325c612c36565b5b600061326b87828801612e8c565b945050602061327c87828801612e8c565b935050604061328d87828801612dd7565b925050606085013567ffffffffffffffff8111156132ae576132ad612c3b565b5b6132ba87828801613215565b91505092959194509250565b600080604083850312156132dd576132dc612c36565b5b60006132eb85828601612e8c565b92505060206132fc85828601612e8c565b9150509250929050565b6000806040838503121561331d5761331c612c36565b5b600061332b85828601612dd7565b925050602061333c85828601612e8c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061338d57607f821691505b6020821081036133a05761339f613346565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006133dc602083612d06565b91506133e7826133a6565b602082019050919050565b6000602082019050818103600083015261340b816133cf565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613448601f83612d06565b915061345382613412565b602082019050919050565b600060208201905081810360008301526134778161343b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006134b882612db6565b91506134c383612db6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156134fc576134fb61347e565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061354182612db6565b915061354c83612db6565b92508261355c5761355b613507565b5b828204905092915050565b600081905092915050565b50565b6000613582600083613567565b915061358d82613572565b600082019050919050565b60006135a382613575565b9150819050919050565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b60006135e3601783612d06565b91506135ee826135ad565b602082019050919050565b60006020820190508181036000830152613612816135d6565b9050919050565b600061362482612db6565b915061362f83612db6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156136645761366361347e565b5b828201905092915050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b60006136a5601483612d06565b91506136b08261366f565b602082019050919050565b600060208201905081810360008301526136d481613698565b9050919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b6000613711601e83612d06565b915061371c826136db565b602082019050919050565b6000602082019050818103600083015261374081613704565b9050919050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b600061377d601483612d06565b915061378882613747565b602082019050919050565b600060208201905081810360008301526137ac81613770565b9050919050565b60006137be82612db6565b91506137c983612db6565b9250828210156137dc576137db61347e565b5b828203905092915050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b600061381d601383612d06565b9150613828826137e7565b602082019050919050565b6000602082019050818103600083015261384c81613810565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006138af602f83612d06565b91506138ba82613853565b604082019050919050565b600060208201905081810360008301526138de816138a2565b9050919050565b600081905092915050565b60006138fb82612cfb565b61390581856138e5565b9350613915818560208601612d17565b80840191505092915050565b60008190508160005260206000209050919050565b6000815461394381613375565b61394d81866138e5565b945060018216600081146139685760018114613979576139ac565b60ff198316865281860193506139ac565b61398285613921565b60005b838110156139a457815481890152600182019150602081019050613985565b838801955050505b50505092915050565b60006139c182866138f0565b91506139cd82856138f0565b91506139d98284613936565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613a42602683612d06565b9150613a4d826139e6565b604082019050919050565b60006020820190508181036000830152613a7181613a35565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613a9f82613a78565b613aa98185613a83565b9350613ab9818560208601612d17565b613ac281612d4a565b840191505092915050565b6000608082019050613ae26000830187612e4b565b613aef6020830186612e4b565b613afc6040830185612ee1565b8181036060830152613b0e8184613a94565b905095945050505050565b600081519050613b2881612c6c565b92915050565b600060208284031215613b4457613b43612c36565b5b6000613b5284828501613b19565b91505092915050565b6000613b6682612db6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613b9857613b9761347e565b5b600182019050919050565b6000613bae82612db6565b9150613bb983612db6565b925082613bc957613bc8613507565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea264697066735822122061b8a68334a986c1e00f06cf476dcd12e0b7f842eec21d3ba6372c47e12f7d4b64736f6c634300080d0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000646544c4f4e470000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000546544c4e470000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000043697066733a2f2f626166796265696671766d33666b73626268716f746e6f746c6e336f71766e66786c6e36356a68656b6e786f743776656d6163637467716c32646d2f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102255760003560e01c806362b99ad411610123578063a22cb465116100ab578063dc33e6811161006f578063dc33e681146107c0578063e0a80853146107fd578063e985e9c514610826578063efbd73f414610863578063f2fde38b1461088c57610225565b8063a22cb465146106db578063a45ba8e714610704578063b88d4fde1461072f578063c87b56dd14610758578063d5abeb011461079557610225565b80637ec4a659116100f25780637ec4a659146106155780638da5cb5b1461063e57806395d89b41146106695780639d3d41de14610694578063a0712d68146106bf57610225565b806362b99ad4146105595780636352211e1461058457806370a08231146105c1578063715018a6146105fe57610225565b8063239c70ae116101b157806344a0d68a1161017557806344a0d68a146104865780634fdd43cb146104af57806351830227146104d85780635503a0e8146105035780635c975abb1461052e57610225565b8063239c70ae146103c957806323b872dd146103f45780632aba38321461041d5780633ccfd60b1461044657806342842e0e1461045d57610225565b8063095ea7b3116101f8578063095ea7b3146102f857806313faede61461032157806316ba10e01461034c57806316c38b3c1461037557806318160ddd1461039e57610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc14610292578063088a4ed0146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c9190612c98565b6108b5565b60405161025e9190612ce0565b60405180910390f35b34801561027357600080fd5b5061027c610947565b6040516102899190612d94565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b49190612dec565b6109d9565b6040516102c69190612e5a565b60405180910390f35b3480156102db57600080fd5b506102f660048036038101906102f19190612dec565b610a55565b005b34801561030457600080fd5b5061031f600480360381019061031a9190612ea1565b610adb565b005b34801561032d57600080fd5b50610336610c81565b6040516103439190612ef0565b60405180910390f35b34801561035857600080fd5b50610373600480360381019061036e9190613040565b610c87565b005b34801561038157600080fd5b5061039c600480360381019061039791906130b5565b610d1d565b005b3480156103aa57600080fd5b506103b3610db6565b6040516103c09190612ef0565b60405180910390f35b3480156103d557600080fd5b506103de610dcd565b6040516103eb9190612ef0565b60405180910390f35b34801561040057600080fd5b5061041b600480360381019061041691906130e2565b610dd3565b005b34801561042957600080fd5b50610444600480360381019061043f9190612dec565b610de3565b005b34801561045257600080fd5b5061045b610e69565b005b34801561046957600080fd5b50610484600480360381019061047f91906130e2565b61110c565b005b34801561049257600080fd5b506104ad60048036038101906104a89190612dec565b61112c565b005b3480156104bb57600080fd5b506104d660048036038101906104d19190613040565b6111b2565b005b3480156104e457600080fd5b506104ed611248565b6040516104fa9190612ce0565b60405180910390f35b34801561050f57600080fd5b5061051861125b565b6040516105259190612d94565b60405180910390f35b34801561053a57600080fd5b506105436112e9565b6040516105509190612ce0565b60405180910390f35b34801561056557600080fd5b5061056e6112fc565b60405161057b9190612d94565b60405180910390f35b34801561059057600080fd5b506105ab60048036038101906105a69190612dec565b61138a565b6040516105b89190612e5a565b60405180910390f35b3480156105cd57600080fd5b506105e860048036038101906105e39190613135565b61139c565b6040516105f59190612ef0565b60405180910390f35b34801561060a57600080fd5b50610613611454565b005b34801561062157600080fd5b5061063c60048036038101906106379190613040565b6114dc565b005b34801561064a57600080fd5b50610653611572565b6040516106609190612e5a565b60405180910390f35b34801561067557600080fd5b5061067e61159c565b60405161068b9190612d94565b60405180910390f35b3480156106a057600080fd5b506106a961162e565b6040516106b69190612ef0565b60405180910390f35b6106d960048036038101906106d49190612dec565b611634565b005b3480156106e757600080fd5b5061070260048036038101906106fd9190613162565b611861565b005b34801561071057600080fd5b506107196119d8565b6040516107269190612d94565b60405180910390f35b34801561073b57600080fd5b5061075660048036038101906107519190613243565b611a66565b005b34801561076457600080fd5b5061077f600480360381019061077a9190612dec565b611ad9565b60405161078c9190612d94565b60405180910390f35b3480156107a157600080fd5b506107aa611c31565b6040516107b79190612ef0565b60405180910390f35b3480156107cc57600080fd5b506107e760048036038101906107e29190613135565b611c37565b6040516107f49190612ef0565b60405180910390f35b34801561080957600080fd5b50610824600480360381019061081f91906130b5565b611c49565b005b34801561083257600080fd5b5061084d600480360381019061084891906132c6565b611ce2565b60405161085a9190612ce0565b60405180910390f35b34801561086f57600080fd5b5061088a60048036038101906108859190613306565b611d76565b005b34801561089857600080fd5b506108b360048036038101906108ae9190613135565b611e57565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061091057506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109405750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461095690613375565b80601f016020809104026020016040519081016040528092919081815260200182805461098290613375565b80156109cf5780601f106109a4576101008083540402835291602001916109cf565b820191906000526020600020905b8154815290600101906020018083116109b257829003601f168201915b5050505050905090565b60006109e482611f4e565b610a1a576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610a5d611fad565b73ffffffffffffffffffffffffffffffffffffffff16610a7b611572565b73ffffffffffffffffffffffffffffffffffffffff1614610ad1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac8906133f2565b60405180910390fd5b80600f8190555050565b6000610ae682611fb5565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610b4d576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b6c612081565b73ffffffffffffffffffffffffffffffffffffffff1614610bcf57610b9881610b93612081565b611ce2565b610bce576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600d5481565b610c8f611fad565b73ffffffffffffffffffffffffffffffffffffffff16610cad611572565b73ffffffffffffffffffffffffffffffffffffffff1614610d03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfa906133f2565b60405180910390fd5b80600b9080519060200190610d19929190612b89565b5050565b610d25611fad565b73ffffffffffffffffffffffffffffffffffffffff16610d43611572565b73ffffffffffffffffffffffffffffffffffffffff1614610d99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d90906133f2565b60405180910390fd5b80601160016101000a81548160ff02191690831515021790555050565b6000610dc0612089565b6001546000540303905090565b600f5481565b610dde838383612092565b505050565b610deb611fad565b73ffffffffffffffffffffffffffffffffffffffff16610e09611572565b73ffffffffffffffffffffffffffffffffffffffff1614610e5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e56906133f2565b60405180910390fd5b8060108190555050565b610e71611fad565b73ffffffffffffffffffffffffffffffffffffffff16610e8f611572565b73ffffffffffffffffffffffffffffffffffffffff1614610ee5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edc906133f2565b60405180910390fd5b600260095403610f2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f219061345e565b60405180910390fd5b600260098190555060006064602147610f4391906134ad565b610f4d9190613536565b905060006064602147610f6091906134ad565b610f6a9190613536565b9050600073052e59cd754ed20cffe0970d2d7b312c85c77a4973ffffffffffffffffffffffffffffffffffffffff1683604051610fa690613598565b60006040518083038185875af1925050503d8060008114610fe3576040519150601f19603f3d011682016040523d82523d6000602084013e610fe8565b606091505b5050905080610ff657600080fd5b600073052e59cd754ed20cffe0970d2d7b312c85c77a4973ffffffffffffffffffffffffffffffffffffffff168360405161103090613598565b60006040518083038185875af1925050503d806000811461106d576040519150601f19603f3d011682016040523d82523d6000602084013e611072565b606091505b505090508061108057600080fd5b600061108a611572565b73ffffffffffffffffffffffffffffffffffffffff16476040516110ad90613598565b60006040518083038185875af1925050503d80600081146110ea576040519150601f19603f3d011682016040523d82523d6000602084013e6110ef565b606091505b50509050806110fd57600080fd5b50505050506001600981905550565b61112783838360405180602001604052806000815250611a66565b505050565b611134611fad565b73ffffffffffffffffffffffffffffffffffffffff16611152611572565b73ffffffffffffffffffffffffffffffffffffffff16146111a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119f906133f2565b60405180910390fd5b80600d8190555050565b6111ba611fad565b73ffffffffffffffffffffffffffffffffffffffff166111d8611572565b73ffffffffffffffffffffffffffffffffffffffff161461122e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611225906133f2565b60405180910390fd5b80600c9080519060200190611244929190612b89565b5050565b601160009054906101000a900460ff1681565b600b805461126890613375565b80601f016020809104026020016040519081016040528092919081815260200182805461129490613375565b80156112e15780601f106112b6576101008083540402835291602001916112e1565b820191906000526020600020905b8154815290600101906020018083116112c457829003601f168201915b505050505081565b601160019054906101000a900460ff1681565b600a805461130990613375565b80601f016020809104026020016040519081016040528092919081815260200182805461133590613375565b80156113825780601f1061135757610100808354040283529160200191611382565b820191906000526020600020905b81548152906001019060200180831161136557829003601f168201915b505050505081565b600061139582611fb5565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611403576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b61145c611fad565b73ffffffffffffffffffffffffffffffffffffffff1661147a611572565b73ffffffffffffffffffffffffffffffffffffffff16146114d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c7906133f2565b60405180910390fd5b6114da6000612439565b565b6114e4611fad565b73ffffffffffffffffffffffffffffffffffffffff16611502611572565b73ffffffffffffffffffffffffffffffffffffffff1614611558576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154f906133f2565b60405180910390fd5b80600a908051906020019061156e929190612b89565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546115ab90613375565b80601f01602080910402602001604051908101604052809291908181526020018280546115d790613375565b80156116245780601f106115f957610100808354040283529160200191611624565b820191906000526020600020905b81548152906001019060200180831161160757829003601f168201915b5050505050905090565b60105481565b80601160019054906101000a900460ff1615611685576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167c906135f9565b60405180910390fd5b600e5481611691610db6565b61169b9190613619565b11156116dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d3906136bb565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461174a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174190613727565b60405180910390fd5b60008111801561176f5750600f548161176233611c37565b61176c9190613619565b11155b6117ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a590613793565b60405180910390fd5b8160006010546117bd33611c37565b10156117ef5760006117ce33611c37565b6010546117db91906137b3565b905080600d546117eb91906134ad565b9150505b8082600d546117fe91906134ad565b61180891906137b3565b34101561184a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184190613833565b60405180910390fd5b61185b611855611fad565b856124ff565b50505050565b611869612081565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036118cd576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006118da612081565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611987612081565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119cc9190612ce0565b60405180910390a35050565b600c80546119e590613375565b80601f0160208091040260200160405190810160405280929190818152602001828054611a1190613375565b8015611a5e5780601f10611a3357610100808354040283529160200191611a5e565b820191906000526020600020905b815481529060010190602001808311611a4157829003601f168201915b505050505081565b611a71848484612092565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611ad357611a9c8484848461251d565b611ad2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060611ae482611f4e565b611b23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1a906138c5565b60405180910390fd5b60001515601160009054906101000a900460ff16151503611bd057600c8054611b4b90613375565b80601f0160208091040260200160405190810160405280929190818152602001828054611b7790613375565b8015611bc45780601f10611b9957610100808354040283529160200191611bc4565b820191906000526020600020905b815481529060010190602001808311611ba757829003601f168201915b50505050509050611c2c565b6000611bda61266d565b90506000815111611bfa5760405180602001604052806000815250611c28565b80611c04846126ff565b600b604051602001611c18939291906139b5565b6040516020818303038152906040525b9150505b919050565b600e5481565b6000611c428261285f565b9050919050565b611c51611fad565b73ffffffffffffffffffffffffffffffffffffffff16611c6f611572565b73ffffffffffffffffffffffffffffffffffffffff1614611cc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cbc906133f2565b60405180910390fd5b80601160006101000a81548160ff02191690831515021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d7e611fad565b73ffffffffffffffffffffffffffffffffffffffff16611d9c611572565b73ffffffffffffffffffffffffffffffffffffffff1614611df2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de9906133f2565b60405180910390fd5b600e5482611dfe610db6565b611e089190613619565b1115611e49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e40906136bb565b60405180910390fd5b611e5381836124ff565b5050565b611e5f611fad565b73ffffffffffffffffffffffffffffffffffffffff16611e7d611572565b73ffffffffffffffffffffffffffffffffffffffff1614611ed3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eca906133f2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3990613a58565b60405180910390fd5b611f4b81612439565b50565b600081611f59612089565b11158015611f68575060005482105b8015611fa6575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60008082905080611fc4612089565b1161204a576000548110156120495760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612047575b6000810361203d576004600083600190039350838152602001908152602001600020549050612013565b809250505061207c565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b60006001905090565b600061209d82611fb5565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612104576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612125612081565b73ffffffffffffffffffffffffffffffffffffffff16148061215457506121538561214e612081565b611ce2565b5b806121995750612162612081565b73ffffffffffffffffffffffffffffffffffffffff16612181846109d9565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806121d2576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612238576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61224585858560016128b6565b6006600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b612342866128bc565b1717600460008581526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008316036123ca57600060018401905060006004600083815260200190815260200160002054036123c85760005481146123c7578260046000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461243285858560016128c6565b5050505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6125198282604051806020016040528060008152506128cc565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612543612081565b8786866040518563ffffffff1660e01b81526004016125659493929190613acd565b6020604051808303816000875af19250505080156125a157506040513d601f19601f8201168201806040525081019061259e9190613b2e565b60015b61261a573d80600081146125d1576040519150601f19603f3d011682016040523d82523d6000602084013e6125d6565b606091505b506000815103612612576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600a805461267c90613375565b80601f01602080910402602001604051908101604052809291908181526020018280546126a890613375565b80156126f55780601f106126ca576101008083540402835291602001916126f5565b820191906000526020600020905b8154815290600101906020018083116126d857829003601f168201915b5050505050905090565b606060008203612746576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061285a565b600082905060005b6000821461277857808061276190613b5b565b915050600a826127719190613536565b915061274e565b60008167ffffffffffffffff81111561279457612793612f15565b5b6040519080825280601f01601f1916602001820160405280156127c65781602001600182028036833780820191505090505b5090505b60008514612853576001826127df91906137b3565b9150600a856127ee9190613ba3565b60306127fa9190613619565b60f81b8183815181106128105761280f613bd4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561284c9190613536565b94506127ca565b8093505050505b919050565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b50505050565b6000819050919050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612938576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008303612972576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61297f60008583866128b6565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e16129e460018514612b7f565b901b60a042901b6129f4866128bc565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b14612af8575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612aa8600087848060010195508761251d565b612ade576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808210612a39578260005414612af357600080fd5b612b63565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612af9575b816000819055505050612b7960008583866128c6565b50505050565b6000819050919050565b828054612b9590613375565b90600052602060002090601f016020900481019282612bb75760008555612bfe565b82601f10612bd057805160ff1916838001178555612bfe565b82800160010185558215612bfe579182015b82811115612bfd578251825591602001919060010190612be2565b5b509050612c0b9190612c0f565b5090565b5b80821115612c28576000816000905550600101612c10565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612c7581612c40565b8114612c8057600080fd5b50565b600081359050612c9281612c6c565b92915050565b600060208284031215612cae57612cad612c36565b5b6000612cbc84828501612c83565b91505092915050565b60008115159050919050565b612cda81612cc5565b82525050565b6000602082019050612cf56000830184612cd1565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612d35578082015181840152602081019050612d1a565b83811115612d44576000848401525b50505050565b6000601f19601f8301169050919050565b6000612d6682612cfb565b612d708185612d06565b9350612d80818560208601612d17565b612d8981612d4a565b840191505092915050565b60006020820190508181036000830152612dae8184612d5b565b905092915050565b6000819050919050565b612dc981612db6565b8114612dd457600080fd5b50565b600081359050612de681612dc0565b92915050565b600060208284031215612e0257612e01612c36565b5b6000612e1084828501612dd7565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612e4482612e19565b9050919050565b612e5481612e39565b82525050565b6000602082019050612e6f6000830184612e4b565b92915050565b612e7e81612e39565b8114612e8957600080fd5b50565b600081359050612e9b81612e75565b92915050565b60008060408385031215612eb857612eb7612c36565b5b6000612ec685828601612e8c565b9250506020612ed785828601612dd7565b9150509250929050565b612eea81612db6565b82525050565b6000602082019050612f056000830184612ee1565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612f4d82612d4a565b810181811067ffffffffffffffff82111715612f6c57612f6b612f15565b5b80604052505050565b6000612f7f612c2c565b9050612f8b8282612f44565b919050565b600067ffffffffffffffff821115612fab57612faa612f15565b5b612fb482612d4a565b9050602081019050919050565b82818337600083830152505050565b6000612fe3612fde84612f90565b612f75565b905082815260208101848484011115612fff57612ffe612f10565b5b61300a848285612fc1565b509392505050565b600082601f83011261302757613026612f0b565b5b8135613037848260208601612fd0565b91505092915050565b60006020828403121561305657613055612c36565b5b600082013567ffffffffffffffff81111561307457613073612c3b565b5b61308084828501613012565b91505092915050565b61309281612cc5565b811461309d57600080fd5b50565b6000813590506130af81613089565b92915050565b6000602082840312156130cb576130ca612c36565b5b60006130d9848285016130a0565b91505092915050565b6000806000606084860312156130fb576130fa612c36565b5b600061310986828701612e8c565b935050602061311a86828701612e8c565b925050604061312b86828701612dd7565b9150509250925092565b60006020828403121561314b5761314a612c36565b5b600061315984828501612e8c565b91505092915050565b6000806040838503121561317957613178612c36565b5b600061318785828601612e8c565b9250506020613198858286016130a0565b9150509250929050565b600067ffffffffffffffff8211156131bd576131bc612f15565b5b6131c682612d4a565b9050602081019050919050565b60006131e66131e1846131a2565b612f75565b90508281526020810184848401111561320257613201612f10565b5b61320d848285612fc1565b509392505050565b600082601f83011261322a57613229612f0b565b5b813561323a8482602086016131d3565b91505092915050565b6000806000806080858703121561325d5761325c612c36565b5b600061326b87828801612e8c565b945050602061327c87828801612e8c565b935050604061328d87828801612dd7565b925050606085013567ffffffffffffffff8111156132ae576132ad612c3b565b5b6132ba87828801613215565b91505092959194509250565b600080604083850312156132dd576132dc612c36565b5b60006132eb85828601612e8c565b92505060206132fc85828601612e8c565b9150509250929050565b6000806040838503121561331d5761331c612c36565b5b600061332b85828601612dd7565b925050602061333c85828601612e8c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061338d57607f821691505b6020821081036133a05761339f613346565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006133dc602083612d06565b91506133e7826133a6565b602082019050919050565b6000602082019050818103600083015261340b816133cf565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613448601f83612d06565b915061345382613412565b602082019050919050565b600060208201905081810360008301526134778161343b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006134b882612db6565b91506134c383612db6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156134fc576134fb61347e565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061354182612db6565b915061354c83612db6565b92508261355c5761355b613507565b5b828204905092915050565b600081905092915050565b50565b6000613582600083613567565b915061358d82613572565b600082019050919050565b60006135a382613575565b9150819050919050565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b60006135e3601783612d06565b91506135ee826135ad565b602082019050919050565b60006020820190508181036000830152613612816135d6565b9050919050565b600061362482612db6565b915061362f83612db6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156136645761366361347e565b5b828201905092915050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b60006136a5601483612d06565b91506136b08261366f565b602082019050919050565b600060208201905081810360008301526136d481613698565b9050919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b6000613711601e83612d06565b915061371c826136db565b602082019050919050565b6000602082019050818103600083015261374081613704565b9050919050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b600061377d601483612d06565b915061378882613747565b602082019050919050565b600060208201905081810360008301526137ac81613770565b9050919050565b60006137be82612db6565b91506137c983612db6565b9250828210156137dc576137db61347e565b5b828203905092915050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b600061381d601383612d06565b9150613828826137e7565b602082019050919050565b6000602082019050818103600083015261384c81613810565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006138af602f83612d06565b91506138ba82613853565b604082019050919050565b600060208201905081810360008301526138de816138a2565b9050919050565b600081905092915050565b60006138fb82612cfb565b61390581856138e5565b9350613915818560208601612d17565b80840191505092915050565b60008190508160005260206000209050919050565b6000815461394381613375565b61394d81866138e5565b945060018216600081146139685760018114613979576139ac565b60ff198316865281860193506139ac565b61398285613921565b60005b838110156139a457815481890152600182019150602081019050613985565b838801955050505b50505092915050565b60006139c182866138f0565b91506139cd82856138f0565b91506139d98284613936565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613a42602683612d06565b9150613a4d826139e6565b604082019050919050565b60006020820190508181036000830152613a7181613a35565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613a9f82613a78565b613aa98185613a83565b9350613ab9818560208601612d17565b613ac281612d4a565b840191505092915050565b6000608082019050613ae26000830187612e4b565b613aef6020830186612e4b565b613afc6040830185612ee1565b8181036060830152613b0e8184613a94565b905095945050505050565b600081519050613b2881612c6c565b92915050565b600060208284031215613b4457613b43612c36565b5b6000613b5284828501613b19565b91505092915050565b6000613b6682612db6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613b9857613b9761347e565b5b600182019050919050565b6000613bae82612db6565b9150613bb983612db6565b925082613bc957613bc8613507565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea264697066735822122061b8a68334a986c1e00f06cf476dcd12e0b7f842eec21d3ba6372c47e12f7d4b64736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000646544c4f4e470000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000546544c4e470000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000043697066733a2f2f626166796265696671766d33666b73626268716f746e6f746c6e336f71766e66786c6e36356a68656b6e786f743776656d6163637467716c32646d2f0000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _tokenName (string): FTLONG
Arg [1] : _tokenSymbol (string): FTLNG
Arg [2] : _hiddenMetadataUri (string): ipfs://bafybeifqvm3fksbbhqotnotln3oqvnfxln65jheknxot7vemacctgql2dm/
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [4] : 46544c4f4e470000000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 46544c4e47000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [8] : 697066733a2f2f626166796265696671766d33666b73626268716f746e6f746c
Arg [9] : 6e336f71766e66786c6e36356a68656b6e786f743776656d6163637467716c32
Arg [10] : 646d2f0000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.