ERC-721
Overview
Max Total Supply
1,069 OuterSpacerGenesisPass
Holders
263
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 OuterSpacerGenesisPassLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
OuterSpacerGenesisPass
Compiler Version
v0.8.15+commit.e14f2714
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; import 'erc721a/contracts/ERC721A.sol'; import 'erc721a/contracts/extensions/ERC721ABurnable.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/security/ReentrancyGuard.sol'; contract OuterSpacerGenesisPass is ERC721A, ERC721ABurnable, Ownable, ReentrancyGuard { uint public immutable maxSupply = 1069; string public baseURI = 'https://asset.laserspaceman.xyz/metadata/'; uint public mintLimit = 5; uint public cost = 0.01 ether; // 0.01 mapping(address => uint[]) public mintTokenIdsMap; constructor() ERC721A('OuterSpacerGenesisPass', 'OuterSpacerGenesisPass') { } function updateBaseURI(string memory baseURI_) public onlyOwner { baseURI = baseURI_; } function updateMintLimit(uint mintLimit_) public onlyOwner { mintLimit = mintLimit_; } function updateCost(uint cost_) public onlyOwner { cost = cost_; } function getMintTokenIds(address msgSender) public view returns (uint[] memory _tokenIds) { _tokenIds = mintTokenIdsMap[msgSender]; } function mint(uint quantity) external payable { address msgSender = _msgSender(); uint expectedCost = quantity * cost; require(quantity > 0, 'Invalid quantity'); require(tx.origin == msgSender, 'Only EOA'); require(msg.value >= expectedCost, 'Insufficient funds'); require(mintTokenIdsMap[msgSender].length + quantity <= mintLimit, 'Max mints per wallet met'); _doMint(msgSender, quantity); for (uint i = 0; i < quantity; i++) { mintTokenIdsMap[msgSender].push(totalSupply() - quantity + i); } } function airdrop(address[] memory mintAddresses, uint[] memory mintCounts) public onlyOwner { for (uint i = 0; i < mintAddresses.length; i++) { _doMint(mintAddresses[i], mintCounts[i]); } } function _doMint(address to, uint quantity) private { require(totalSupply() + quantity <= maxSupply, 'Max supply exceeded'); require(to != address(0), 'Cannot have a non-address as reserve.'); _safeMint(to, quantity); } function withdraw() public onlyOwner nonReentrant { (bool os,) = payable(owner()).call{value : address(this).balance}(''); require(os); } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } }
// 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.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721ABurnable.sol'; import '../ERC721A.sol'; /** * @title ERC721A Burnable Token * @dev ERC721A Token that can be irreversibly burned (destroyed). */ abstract contract ERC721ABurnable is ERC721A, IERC721ABurnable { /** * @dev Burns `tokenId`. See {ERC721A-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual override { _burn(tokenId, true); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.1.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 bit position of `extraData` in packed ownership. uint256 private constant BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with `_mintERC2309`. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to `_mintERC2309` // is required to cause an overflow, which is unrealistic. uint256 private constant MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // 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` // - [232..255] `extraData` 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 auxiliary 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 auxiliary 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; // Cast `aux` with assembly to avoid redundant masking. assembly { 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; ownership.extraData = uint24(packed >> BITPOS_EXTRA_DATA); } /** * 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 Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, BITMASK_ADDRESS) // `owner | (block.timestamp << BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @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, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << BITPOS_NEXT_INITIALIZED`. result := shl(BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ownerOf(tokenId); 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-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 { transferFrom(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. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @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 for each mint. */ 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` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _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] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 tokenId = startTokenId; uint256 end = startTokenId + quantity; do { emit Transfer(address(0), to, tokenId++); } while (tokenId < end); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _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] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { // Compute the slot. mstore(0x00, tokenId) mstore(0x20, tokenApprovalsPtr.slot) approvedAddressSlot := keccak256(0x00, 0x40) // Load the slot's value from storage. approvedAddress := sload(approvedAddressSlot) } } /** * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`. */ function _isOwnerOrApproved( address approvedAddress, address from, address msgSender ) private pure returns (bool result) { assembly { // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from := and(from, BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, BITMASK_ADDRESS) // `msgSender == from || msgSender == approvedAddress`. result := or(eq(msgSender, from), eq(msgSender, approvedAddress)) } } /** * @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 transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // 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] = _packOwnershipData( to, BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // 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)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // 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] = _packOwnershipData( from, (BITMASK_BURNED | BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // 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 Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << BITPOS_EXTRA_DATA; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * 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 _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @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.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import '../IERC721A.sol'; /** * @dev Interface of an ERC721ABurnable compliant contract. */ interface IERC721ABurnable is IERC721A { /** * @dev Burns `tokenId`. See {ERC721A-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) external; }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.1.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(); /** * 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(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); 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; // Arbitrary data similar to `startTimestamp` that can be set through `_extraData`. uint24 extraData; } /** * @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); // ============================== // IERC2309 // ============================== /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`, * as defined in the ERC2309 standard. See `_mintERC2309` for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
// 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":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","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":"mintAddresses","type":"address[]"},{"internalType":"uint256[]","name":"mintCounts","type":"uint256[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"msgSender","type":"address"}],"name":"getMintTokenIds","outputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"mintTokenIdsMap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"updateBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"cost_","type":"uint256"}],"name":"updateCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintLimit_","type":"uint256"}],"name":"updateMintLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a060405261042d60809081525060405180606001604052806029815260200162003f7060299139600a908162000037919062000479565b506005600b55662386f26fc10000600c553480156200005557600080fd5b506040518060400160405280601681526020017f4f7574657253706163657247656e6573697350617373000000000000000000008152506040518060400160405280601681526020017f4f7574657253706163657247656e6573697350617373000000000000000000008152508160029081620000d3919062000479565b508060039081620000e5919062000479565b50620000f66200012c60201b60201c565b60008190555050506200011e620001126200013160201b60201c565b6200013960201b60201c565b600160098190555062000560565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200028157607f821691505b60208210810362000297576200029662000239565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620003017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620002c2565b6200030d8683620002c2565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006200035a620003546200034e8462000325565b6200032f565b62000325565b9050919050565b6000819050919050565b620003768362000339565b6200038e620003858262000361565b848454620002cf565b825550505050565b600090565b620003a562000396565b620003b28184846200036b565b505050565b5b81811015620003da57620003ce6000826200039b565b600181019050620003b8565b5050565b601f8211156200042957620003f3816200029d565b620003fe84620002b2565b810160208510156200040e578190505b620004266200041d85620002b2565b830182620003b7565b50505b505050565b600082821c905092915050565b60006200044e600019846008026200042e565b1980831691505092915050565b60006200046983836200043b565b9150826002028217905092915050565b6200048482620001ff565b67ffffffffffffffff811115620004a0576200049f6200020a565b5b620004ac825462000268565b620004b9828285620003de565b600060209050601f831160018114620004f15760008415620004dc578287015190505b620004e885826200045b565b86555062000558565b601f19841662000501866200029d565b60005b828110156200052b5784890151825560018201915060208501945060208101905062000504565b868310156200054b578489015162000547601f8916826200043b565b8355505b6001600288020188555050505b505050505050565b6080516139ed62000583600039600081816118fa0152611f8601526139ed6000f3fe6080604052600436106101cd5760003560e01c806370a08231116100f7578063a22cb46511610095578063d5abeb0111610064578063d5abeb0114610665578063e01d55c514610690578063e985e9c5146106b9578063f2fde38b146106f6576101cd565b8063a22cb46514610599578063b74003d4146105c2578063b88d4fde146105ff578063c87b56dd14610628576101cd565b8063931688cb116100d1578063931688cb146104fe57806395d89b4114610527578063996517cf14610552578063a0712d681461057d576101cd565b806370a082311461047f578063715018a6146104bc5780638da5cb5b146104d3576101cd565b806323c5a0881161016f5780635683ffd61161013e5780635683ffd6146103b15780636352211e146103ee578063672434821461042b5780636c0360eb14610454576101cd565b806323c5a0881461031f5780633ccfd60b1461034857806342842e0e1461035f57806342966c6814610388576101cd565b8063095ea7b3116101ab578063095ea7b31461027757806313faede6146102a057806318160ddd146102cb57806323b872dd146102f6576101cd565b806301ffc9a7146101d257806306fdde031461020f578063081812fc1461023a575b600080fd5b3480156101de57600080fd5b506101f960048036038101906101f4919061268a565b61071f565b60405161020691906126d2565b60405180910390f35b34801561021b57600080fd5b506102246107b1565b6040516102319190612786565b60405180910390f35b34801561024657600080fd5b50610261600480360381019061025c91906127de565b610843565b60405161026e919061284c565b60405180910390f35b34801561028357600080fd5b5061029e60048036038101906102999190612893565b6108bf565b005b3480156102ac57600080fd5b506102b5610a00565b6040516102c291906128e2565b60405180910390f35b3480156102d757600080fd5b506102e0610a06565b6040516102ed91906128e2565b60405180910390f35b34801561030257600080fd5b5061031d600480360381019061031891906128fd565b610a1d565b005b34801561032b57600080fd5b50610346600480360381019061034191906127de565b610d3f565b005b34801561035457600080fd5b5061035d610dc5565b005b34801561036b57600080fd5b50610386600480360381019061038191906128fd565b610f16565b005b34801561039457600080fd5b506103af60048036038101906103aa91906127de565b610f36565b005b3480156103bd57600080fd5b506103d860048036038101906103d39190612893565b610f44565b6040516103e591906128e2565b60405180910390f35b3480156103fa57600080fd5b50610415600480360381019061041091906127de565b610f75565b604051610422919061284c565b60405180910390f35b34801561043757600080fd5b50610452600480360381019061044d9190612b5b565b610f87565b005b34801561046057600080fd5b50610469611065565b6040516104769190612786565b60405180910390f35b34801561048b57600080fd5b506104a660048036038101906104a19190612bd3565b6110f3565b6040516104b391906128e2565b60405180910390f35b3480156104c857600080fd5b506104d16111ab565b005b3480156104df57600080fd5b506104e8611233565b6040516104f5919061284c565b60405180910390f35b34801561050a57600080fd5b5061052560048036038101906105209190612cb5565b61125d565b005b34801561053357600080fd5b5061053c6112ec565b6040516105499190612786565b60405180910390f35b34801561055e57600080fd5b5061056761137e565b60405161057491906128e2565b60405180910390f35b610597600480360381019061059291906127de565b611384565b005b3480156105a557600080fd5b506105c060048036038101906105bb9190612d2a565b6115d9565b005b3480156105ce57600080fd5b506105e960048036038101906105e49190612bd3565b611750565b6040516105f69190612e28565b60405180910390f35b34801561060b57600080fd5b5061062660048036038101906106219190612eeb565b6117e7565b005b34801561063457600080fd5b5061064f600480360381019061064a91906127de565b61185a565b60405161065c9190612786565b60405180910390f35b34801561067157600080fd5b5061067a6118f8565b60405161068791906128e2565b60405180910390f35b34801561069c57600080fd5b506106b760048036038101906106b291906127de565b61191c565b005b3480156106c557600080fd5b506106e060048036038101906106db9190612f6e565b6119a2565b6040516106ed91906126d2565b60405180910390f35b34801561070257600080fd5b5061071d60048036038101906107189190612bd3565b611a36565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061077a57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107aa5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546107c090612fdd565b80601f01602080910402602001604051908101604052809291908181526020018280546107ec90612fdd565b80156108395780601f1061080e57610100808354040283529160200191610839565b820191906000526020600020905b81548152906001019060200180831161081c57829003601f168201915b5050505050905090565b600061084e82611b2d565b610884576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108ca82610f75565b90508073ffffffffffffffffffffffffffffffffffffffff166108eb611b8c565b73ffffffffffffffffffffffffffffffffffffffff161461094e5761091781610912611b8c565b6119a2565b61094d576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600c5481565b6000610a10611b94565b6001546000540303905090565b6000610a2882611b99565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a8f576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610a9b84611c65565b91509150610ab18187610aac611b8c565b611c87565b610afd57610ac686610ac1611b8c565b6119a2565b610afc576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610b63576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b708686866001611ccb565b8015610b7b57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610c4985610c25888887611cd1565b7c020000000000000000000000000000000000000000000000000000000017611cf9565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610ccf5760006001850190506000600460008381526020019081526020016000205403610ccd576000548114610ccc578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610d378686866001611d24565b505050505050565b610d47611d2a565b73ffffffffffffffffffffffffffffffffffffffff16610d65611233565b73ffffffffffffffffffffffffffffffffffffffff1614610dbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db29061305a565b60405180910390fd5b80600c8190555050565b610dcd611d2a565b73ffffffffffffffffffffffffffffffffffffffff16610deb611233565b73ffffffffffffffffffffffffffffffffffffffff1614610e41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e389061305a565b60405180910390fd5b600260095403610e86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7d906130c6565b60405180910390fd5b60026009819055506000610e98611233565b73ffffffffffffffffffffffffffffffffffffffff1647604051610ebb90613117565b60006040518083038185875af1925050503d8060008114610ef8576040519150601f19603f3d011682016040523d82523d6000602084013e610efd565b606091505b5050905080610f0b57600080fd5b506001600981905550565b610f31838383604051806020016040528060008152506117e7565b505050565b610f41816001611d32565b50565b600d6020528160005260406000208181548110610f6057600080fd5b90600052602060002001600091509150505481565b6000610f8082611b99565b9050919050565b610f8f611d2a565b73ffffffffffffffffffffffffffffffffffffffff16610fad611233565b73ffffffffffffffffffffffffffffffffffffffff1614611003576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffa9061305a565b60405180910390fd5b60005b82518110156110605761104d8382815181106110255761102461312c565b5b60200260200101518383815181106110405761103f61312c565b5b6020026020010151611f84565b80806110589061318a565b915050611006565b505050565b600a805461107290612fdd565b80601f016020809104026020016040519081016040528092919081815260200182805461109e90612fdd565b80156110eb5780601f106110c0576101008083540402835291602001916110eb565b820191906000526020600020905b8154815290600101906020018083116110ce57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361115a576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6111b3611d2a565b73ffffffffffffffffffffffffffffffffffffffff166111d1611233565b73ffffffffffffffffffffffffffffffffffffffff1614611227576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121e9061305a565b60405180910390fd5b6112316000612076565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611265611d2a565b73ffffffffffffffffffffffffffffffffffffffff16611283611233565b73ffffffffffffffffffffffffffffffffffffffff16146112d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d09061305a565b60405180910390fd5b80600a90816112e8919061337e565b5050565b6060600380546112fb90612fdd565b80601f016020809104026020016040519081016040528092919081815260200182805461132790612fdd565b80156113745780601f1061134957610100808354040283529160200191611374565b820191906000526020600020905b81548152906001019060200180831161135757829003601f168201915b5050505050905090565b600b5481565b600061138e611d2a565b90506000600c54836113a09190613450565b9050600083116113e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113dc906134f6565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611453576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144a90613562565b60405180910390fd5b80341015611496576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148d906135ce565b60405180910390fd5b600b5483600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506114e791906135ee565b1115611528576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151f90613690565b60405180910390fd5b6115328284611f84565b60005b838110156115d357600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208185611586610a06565b61159091906136b0565b61159a91906135ee565b908060018154018082558091505060019003906000526020600020016000909190919091505580806115cb9061318a565b915050611535565b50505050565b6115e1611b8c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611645576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611652611b8c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166116ff611b8c565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161174491906126d2565b60405180910390a35050565b6060600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054806020026020016040519081016040528092919081815260200182805480156117db57602002820191906000526020600020905b8154815260200190600101908083116117c7575b50505050509050919050565b6117f2848484610a1d565b60008373ffffffffffffffffffffffffffffffffffffffff163b146118545761181d8484848461213c565b611853576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b606061186582611b2d565b61189b576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006118a561228c565b905060008151036118c557604051806020016040528060008152506118f0565b806118cf8461231e565b6040516020016118e0929190613720565b6040516020818303038152906040525b915050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b611924611d2a565b73ffffffffffffffffffffffffffffffffffffffff16611942611233565b73ffffffffffffffffffffffffffffffffffffffff1614611998576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198f9061305a565b60405180910390fd5b80600b8190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611a3e611d2a565b73ffffffffffffffffffffffffffffffffffffffff16611a5c611233565b73ffffffffffffffffffffffffffffffffffffffff1614611ab2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa99061305a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611b21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b18906137b6565b60405180910390fd5b611b2a81612076565b50565b600081611b38611b94565b11158015611b47575060005482105b8015611b85575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b60008082905080611ba8611b94565b11611c2e57600054811015611c2d5760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603611c2b575b60008103611c21576004600083600190039350838152602001908152602001600020549050611bf7565b8092505050611c60565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611ce8868684612378565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600033905090565b6000611d3d83611b99565b90506000819050600080611d5086611c65565b915091508415611db957611d6c8184611d67611b8c565b611c87565b611db857611d8183611d7c611b8c565b6119a2565b611db7576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b611dc7836000886001611ccb565b8015611dd257600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611e7a83611e3785600088611cd1565b7c02000000000000000000000000000000000000000000000000000000007c01000000000000000000000000000000000000000000000000000000001717611cf9565b600460008881526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000851603611f005760006001870190506000600460008381526020019081526020016000205403611efe576000548114611efd578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611f6a836000886001611d24565b600160008154809291906001019190505550505050505050565b7f000000000000000000000000000000000000000000000000000000000000000081611fae610a06565b611fb891906135ee565b1115611ff9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff090613822565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612068576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205f906138b4565b60405180910390fd5b6120728282612381565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612162611b8c565b8786866040518563ffffffff1660e01b81526004016121849493929190613929565b6020604051808303816000875af19250505080156121c057506040513d601f19601f820116820180604052508101906121bd919061398a565b60015b612239573d80600081146121f0576040519150601f19603f3d011682016040523d82523d6000602084013e6121f5565b606091505b506000815103612231576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600a805461229b90612fdd565b80601f01602080910402602001604051908101604052809291908181526020018280546122c790612fdd565b80156123145780601f106122e957610100808354040283529160200191612314565b820191906000526020600020905b8154815290600101906020018083116122f757829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b801561236457600183039250600a81066030018353600a81049050612344565b508181036020830392508083525050919050565b60009392505050565b61239b82826040518060200160405280600081525061239f565b5050565b6123a9838361243c565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461243757600080549050600083820390505b6123e9600086838060010194508661213c565b61241f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106123d657816000541461243457600080fd5b50505b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036124a8576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082036124e2576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6124ef6000848385611ccb565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612566836125576000866000611cd1565b6125608561260e565b17611cf9565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821061258a578060008190555050506126096000848385611d24565b505050565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61266781612632565b811461267257600080fd5b50565b6000813590506126848161265e565b92915050565b6000602082840312156126a05761269f612628565b5b60006126ae84828501612675565b91505092915050565b60008115159050919050565b6126cc816126b7565b82525050565b60006020820190506126e760008301846126c3565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561272757808201518184015260208101905061270c565b83811115612736576000848401525b50505050565b6000601f19601f8301169050919050565b6000612758826126ed565b61276281856126f8565b9350612772818560208601612709565b61277b8161273c565b840191505092915050565b600060208201905081810360008301526127a0818461274d565b905092915050565b6000819050919050565b6127bb816127a8565b81146127c657600080fd5b50565b6000813590506127d8816127b2565b92915050565b6000602082840312156127f4576127f3612628565b5b6000612802848285016127c9565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006128368261280b565b9050919050565b6128468161282b565b82525050565b6000602082019050612861600083018461283d565b92915050565b6128708161282b565b811461287b57600080fd5b50565b60008135905061288d81612867565b92915050565b600080604083850312156128aa576128a9612628565b5b60006128b88582860161287e565b92505060206128c9858286016127c9565b9150509250929050565b6128dc816127a8565b82525050565b60006020820190506128f760008301846128d3565b92915050565b60008060006060848603121561291657612915612628565b5b60006129248682870161287e565b93505060206129358682870161287e565b9250506040612946868287016127c9565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61298d8261273c565b810181811067ffffffffffffffff821117156129ac576129ab612955565b5b80604052505050565b60006129bf61261e565b90506129cb8282612984565b919050565b600067ffffffffffffffff8211156129eb576129ea612955565b5b602082029050602081019050919050565b600080fd5b6000612a14612a0f846129d0565b6129b5565b90508083825260208201905060208402830185811115612a3757612a366129fc565b5b835b81811015612a605780612a4c888261287e565b845260208401935050602081019050612a39565b5050509392505050565b600082601f830112612a7f57612a7e612950565b5b8135612a8f848260208601612a01565b91505092915050565b600067ffffffffffffffff821115612ab357612ab2612955565b5b602082029050602081019050919050565b6000612ad7612ad284612a98565b6129b5565b90508083825260208201905060208402830185811115612afa57612af96129fc565b5b835b81811015612b235780612b0f88826127c9565b845260208401935050602081019050612afc565b5050509392505050565b600082601f830112612b4257612b41612950565b5b8135612b52848260208601612ac4565b91505092915050565b60008060408385031215612b7257612b71612628565b5b600083013567ffffffffffffffff811115612b9057612b8f61262d565b5b612b9c85828601612a6a565b925050602083013567ffffffffffffffff811115612bbd57612bbc61262d565b5b612bc985828601612b2d565b9150509250929050565b600060208284031215612be957612be8612628565b5b6000612bf78482850161287e565b91505092915050565b600080fd5b600067ffffffffffffffff821115612c2057612c1f612955565b5b612c298261273c565b9050602081019050919050565b82818337600083830152505050565b6000612c58612c5384612c05565b6129b5565b905082815260208101848484011115612c7457612c73612c00565b5b612c7f848285612c36565b509392505050565b600082601f830112612c9c57612c9b612950565b5b8135612cac848260208601612c45565b91505092915050565b600060208284031215612ccb57612cca612628565b5b600082013567ffffffffffffffff811115612ce957612ce861262d565b5b612cf584828501612c87565b91505092915050565b612d07816126b7565b8114612d1257600080fd5b50565b600081359050612d2481612cfe565b92915050565b60008060408385031215612d4157612d40612628565b5b6000612d4f8582860161287e565b9250506020612d6085828601612d15565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612d9f816127a8565b82525050565b6000612db18383612d96565b60208301905092915050565b6000602082019050919050565b6000612dd582612d6a565b612ddf8185612d75565b9350612dea83612d86565b8060005b83811015612e1b578151612e028882612da5565b9750612e0d83612dbd565b925050600181019050612dee565b5085935050505092915050565b60006020820190508181036000830152612e428184612dca565b905092915050565b600067ffffffffffffffff821115612e6557612e64612955565b5b612e6e8261273c565b9050602081019050919050565b6000612e8e612e8984612e4a565b6129b5565b905082815260208101848484011115612eaa57612ea9612c00565b5b612eb5848285612c36565b509392505050565b600082601f830112612ed257612ed1612950565b5b8135612ee2848260208601612e7b565b91505092915050565b60008060008060808587031215612f0557612f04612628565b5b6000612f138782880161287e565b9450506020612f248782880161287e565b9350506040612f35878288016127c9565b925050606085013567ffffffffffffffff811115612f5657612f5561262d565b5b612f6287828801612ebd565b91505092959194509250565b60008060408385031215612f8557612f84612628565b5b6000612f938582860161287e565b9250506020612fa48582860161287e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612ff557607f821691505b60208210810361300857613007612fae565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006130446020836126f8565b915061304f8261300e565b602082019050919050565b6000602082019050818103600083015261307381613037565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006130b0601f836126f8565b91506130bb8261307a565b602082019050919050565b600060208201905081810360008301526130df816130a3565b9050919050565b600081905092915050565b50565b60006131016000836130e6565b915061310c826130f1565b600082019050919050565b6000613122826130f4565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613195826127a8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036131c7576131c661315b565b5b600182019050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026132347fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826131f7565b61323e86836131f7565b95508019841693508086168417925050509392505050565b6000819050919050565b600061327b613276613271846127a8565b613256565b6127a8565b9050919050565b6000819050919050565b61329583613260565b6132a96132a182613282565b848454613204565b825550505050565b600090565b6132be6132b1565b6132c981848461328c565b505050565b5b818110156132ed576132e26000826132b6565b6001810190506132cf565b5050565b601f82111561333257613303816131d2565b61330c846131e7565b8101602085101561331b578190505b61332f613327856131e7565b8301826132ce565b50505b505050565b600082821c905092915050565b600061335560001984600802613337565b1980831691505092915050565b600061336e8383613344565b9150826002028217905092915050565b613387826126ed565b67ffffffffffffffff8111156133a05761339f612955565b5b6133aa8254612fdd565b6133b58282856132f1565b600060209050601f8311600181146133e857600084156133d6578287015190505b6133e08582613362565b865550613448565b601f1984166133f6866131d2565b60005b8281101561341e578489015182556001820191506020850194506020810190506133f9565b8683101561343b5784890151613437601f891682613344565b8355505b6001600288020188555050505b505050505050565b600061345b826127a8565b9150613466836127a8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561349f5761349e61315b565b5b828202905092915050565b7f496e76616c6964207175616e7469747900000000000000000000000000000000600082015250565b60006134e06010836126f8565b91506134eb826134aa565b602082019050919050565b6000602082019050818103600083015261350f816134d3565b9050919050565b7f4f6e6c7920454f41000000000000000000000000000000000000000000000000600082015250565b600061354c6008836126f8565b915061355782613516565b602082019050919050565b6000602082019050818103600083015261357b8161353f565b9050919050565b7f496e73756666696369656e742066756e64730000000000000000000000000000600082015250565b60006135b86012836126f8565b91506135c382613582565b602082019050919050565b600060208201905081810360008301526135e7816135ab565b9050919050565b60006135f9826127a8565b9150613604836127a8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156136395761363861315b565b5b828201905092915050565b7f4d6178206d696e7473207065722077616c6c6574206d65740000000000000000600082015250565b600061367a6018836126f8565b915061368582613644565b602082019050919050565b600060208201905081810360008301526136a98161366d565b9050919050565b60006136bb826127a8565b91506136c6836127a8565b9250828210156136d9576136d861315b565b5b828203905092915050565b600081905092915050565b60006136fa826126ed565b61370481856136e4565b9350613714818560208601612709565b80840191505092915050565b600061372c82856136ef565b915061373882846136ef565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006137a06026836126f8565b91506137ab82613744565b604082019050919050565b600060208201905081810360008301526137cf81613793565b9050919050565b7f4d617820737570706c7920657863656564656400000000000000000000000000600082015250565b600061380c6013836126f8565b9150613817826137d6565b602082019050919050565b6000602082019050818103600083015261383b816137ff565b9050919050565b7f43616e6e6f7420686176652061206e6f6e2d616464726573732061732072657360008201527f657276652e000000000000000000000000000000000000000000000000000000602082015250565b600061389e6025836126f8565b91506138a982613842565b604082019050919050565b600060208201905081810360008301526138cd81613891565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006138fb826138d4565b61390581856138df565b9350613915818560208601612709565b61391e8161273c565b840191505092915050565b600060808201905061393e600083018761283d565b61394b602083018661283d565b61395860408301856128d3565b818103606083015261396a81846138f0565b905095945050505050565b6000815190506139848161265e565b92915050565b6000602082840312156139a05761399f612628565b5b60006139ae84828501613975565b9150509291505056fea264697066735822122029fa955dfa3ad46331af36fd36d007d8ae92fa9cb0749ffb54f36fbfb62cda5c64736f6c634300080f003368747470733a2f2f61737365742e6c6173657273706163656d616e2e78797a2f6d657461646174612f
Deployed Bytecode
0x6080604052600436106101cd5760003560e01c806370a08231116100f7578063a22cb46511610095578063d5abeb0111610064578063d5abeb0114610665578063e01d55c514610690578063e985e9c5146106b9578063f2fde38b146106f6576101cd565b8063a22cb46514610599578063b74003d4146105c2578063b88d4fde146105ff578063c87b56dd14610628576101cd565b8063931688cb116100d1578063931688cb146104fe57806395d89b4114610527578063996517cf14610552578063a0712d681461057d576101cd565b806370a082311461047f578063715018a6146104bc5780638da5cb5b146104d3576101cd565b806323c5a0881161016f5780635683ffd61161013e5780635683ffd6146103b15780636352211e146103ee578063672434821461042b5780636c0360eb14610454576101cd565b806323c5a0881461031f5780633ccfd60b1461034857806342842e0e1461035f57806342966c6814610388576101cd565b8063095ea7b3116101ab578063095ea7b31461027757806313faede6146102a057806318160ddd146102cb57806323b872dd146102f6576101cd565b806301ffc9a7146101d257806306fdde031461020f578063081812fc1461023a575b600080fd5b3480156101de57600080fd5b506101f960048036038101906101f4919061268a565b61071f565b60405161020691906126d2565b60405180910390f35b34801561021b57600080fd5b506102246107b1565b6040516102319190612786565b60405180910390f35b34801561024657600080fd5b50610261600480360381019061025c91906127de565b610843565b60405161026e919061284c565b60405180910390f35b34801561028357600080fd5b5061029e60048036038101906102999190612893565b6108bf565b005b3480156102ac57600080fd5b506102b5610a00565b6040516102c291906128e2565b60405180910390f35b3480156102d757600080fd5b506102e0610a06565b6040516102ed91906128e2565b60405180910390f35b34801561030257600080fd5b5061031d600480360381019061031891906128fd565b610a1d565b005b34801561032b57600080fd5b50610346600480360381019061034191906127de565b610d3f565b005b34801561035457600080fd5b5061035d610dc5565b005b34801561036b57600080fd5b50610386600480360381019061038191906128fd565b610f16565b005b34801561039457600080fd5b506103af60048036038101906103aa91906127de565b610f36565b005b3480156103bd57600080fd5b506103d860048036038101906103d39190612893565b610f44565b6040516103e591906128e2565b60405180910390f35b3480156103fa57600080fd5b50610415600480360381019061041091906127de565b610f75565b604051610422919061284c565b60405180910390f35b34801561043757600080fd5b50610452600480360381019061044d9190612b5b565b610f87565b005b34801561046057600080fd5b50610469611065565b6040516104769190612786565b60405180910390f35b34801561048b57600080fd5b506104a660048036038101906104a19190612bd3565b6110f3565b6040516104b391906128e2565b60405180910390f35b3480156104c857600080fd5b506104d16111ab565b005b3480156104df57600080fd5b506104e8611233565b6040516104f5919061284c565b60405180910390f35b34801561050a57600080fd5b5061052560048036038101906105209190612cb5565b61125d565b005b34801561053357600080fd5b5061053c6112ec565b6040516105499190612786565b60405180910390f35b34801561055e57600080fd5b5061056761137e565b60405161057491906128e2565b60405180910390f35b610597600480360381019061059291906127de565b611384565b005b3480156105a557600080fd5b506105c060048036038101906105bb9190612d2a565b6115d9565b005b3480156105ce57600080fd5b506105e960048036038101906105e49190612bd3565b611750565b6040516105f69190612e28565b60405180910390f35b34801561060b57600080fd5b5061062660048036038101906106219190612eeb565b6117e7565b005b34801561063457600080fd5b5061064f600480360381019061064a91906127de565b61185a565b60405161065c9190612786565b60405180910390f35b34801561067157600080fd5b5061067a6118f8565b60405161068791906128e2565b60405180910390f35b34801561069c57600080fd5b506106b760048036038101906106b291906127de565b61191c565b005b3480156106c557600080fd5b506106e060048036038101906106db9190612f6e565b6119a2565b6040516106ed91906126d2565b60405180910390f35b34801561070257600080fd5b5061071d60048036038101906107189190612bd3565b611a36565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061077a57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107aa5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546107c090612fdd565b80601f01602080910402602001604051908101604052809291908181526020018280546107ec90612fdd565b80156108395780601f1061080e57610100808354040283529160200191610839565b820191906000526020600020905b81548152906001019060200180831161081c57829003601f168201915b5050505050905090565b600061084e82611b2d565b610884576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108ca82610f75565b90508073ffffffffffffffffffffffffffffffffffffffff166108eb611b8c565b73ffffffffffffffffffffffffffffffffffffffff161461094e5761091781610912611b8c565b6119a2565b61094d576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600c5481565b6000610a10611b94565b6001546000540303905090565b6000610a2882611b99565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a8f576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610a9b84611c65565b91509150610ab18187610aac611b8c565b611c87565b610afd57610ac686610ac1611b8c565b6119a2565b610afc576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610b63576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b708686866001611ccb565b8015610b7b57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610c4985610c25888887611cd1565b7c020000000000000000000000000000000000000000000000000000000017611cf9565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610ccf5760006001850190506000600460008381526020019081526020016000205403610ccd576000548114610ccc578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610d378686866001611d24565b505050505050565b610d47611d2a565b73ffffffffffffffffffffffffffffffffffffffff16610d65611233565b73ffffffffffffffffffffffffffffffffffffffff1614610dbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db29061305a565b60405180910390fd5b80600c8190555050565b610dcd611d2a565b73ffffffffffffffffffffffffffffffffffffffff16610deb611233565b73ffffffffffffffffffffffffffffffffffffffff1614610e41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e389061305a565b60405180910390fd5b600260095403610e86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7d906130c6565b60405180910390fd5b60026009819055506000610e98611233565b73ffffffffffffffffffffffffffffffffffffffff1647604051610ebb90613117565b60006040518083038185875af1925050503d8060008114610ef8576040519150601f19603f3d011682016040523d82523d6000602084013e610efd565b606091505b5050905080610f0b57600080fd5b506001600981905550565b610f31838383604051806020016040528060008152506117e7565b505050565b610f41816001611d32565b50565b600d6020528160005260406000208181548110610f6057600080fd5b90600052602060002001600091509150505481565b6000610f8082611b99565b9050919050565b610f8f611d2a565b73ffffffffffffffffffffffffffffffffffffffff16610fad611233565b73ffffffffffffffffffffffffffffffffffffffff1614611003576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffa9061305a565b60405180910390fd5b60005b82518110156110605761104d8382815181106110255761102461312c565b5b60200260200101518383815181106110405761103f61312c565b5b6020026020010151611f84565b80806110589061318a565b915050611006565b505050565b600a805461107290612fdd565b80601f016020809104026020016040519081016040528092919081815260200182805461109e90612fdd565b80156110eb5780601f106110c0576101008083540402835291602001916110eb565b820191906000526020600020905b8154815290600101906020018083116110ce57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361115a576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6111b3611d2a565b73ffffffffffffffffffffffffffffffffffffffff166111d1611233565b73ffffffffffffffffffffffffffffffffffffffff1614611227576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121e9061305a565b60405180910390fd5b6112316000612076565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611265611d2a565b73ffffffffffffffffffffffffffffffffffffffff16611283611233565b73ffffffffffffffffffffffffffffffffffffffff16146112d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d09061305a565b60405180910390fd5b80600a90816112e8919061337e565b5050565b6060600380546112fb90612fdd565b80601f016020809104026020016040519081016040528092919081815260200182805461132790612fdd565b80156113745780601f1061134957610100808354040283529160200191611374565b820191906000526020600020905b81548152906001019060200180831161135757829003601f168201915b5050505050905090565b600b5481565b600061138e611d2a565b90506000600c54836113a09190613450565b9050600083116113e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113dc906134f6565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611453576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144a90613562565b60405180910390fd5b80341015611496576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148d906135ce565b60405180910390fd5b600b5483600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506114e791906135ee565b1115611528576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151f90613690565b60405180910390fd5b6115328284611f84565b60005b838110156115d357600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208185611586610a06565b61159091906136b0565b61159a91906135ee565b908060018154018082558091505060019003906000526020600020016000909190919091505580806115cb9061318a565b915050611535565b50505050565b6115e1611b8c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611645576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611652611b8c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166116ff611b8c565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161174491906126d2565b60405180910390a35050565b6060600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054806020026020016040519081016040528092919081815260200182805480156117db57602002820191906000526020600020905b8154815260200190600101908083116117c7575b50505050509050919050565b6117f2848484610a1d565b60008373ffffffffffffffffffffffffffffffffffffffff163b146118545761181d8484848461213c565b611853576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b606061186582611b2d565b61189b576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006118a561228c565b905060008151036118c557604051806020016040528060008152506118f0565b806118cf8461231e565b6040516020016118e0929190613720565b6040516020818303038152906040525b915050919050565b7f000000000000000000000000000000000000000000000000000000000000042d81565b611924611d2a565b73ffffffffffffffffffffffffffffffffffffffff16611942611233565b73ffffffffffffffffffffffffffffffffffffffff1614611998576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198f9061305a565b60405180910390fd5b80600b8190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611a3e611d2a565b73ffffffffffffffffffffffffffffffffffffffff16611a5c611233565b73ffffffffffffffffffffffffffffffffffffffff1614611ab2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa99061305a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611b21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b18906137b6565b60405180910390fd5b611b2a81612076565b50565b600081611b38611b94565b11158015611b47575060005482105b8015611b85575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b60008082905080611ba8611b94565b11611c2e57600054811015611c2d5760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603611c2b575b60008103611c21576004600083600190039350838152602001908152602001600020549050611bf7565b8092505050611c60565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611ce8868684612378565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600033905090565b6000611d3d83611b99565b90506000819050600080611d5086611c65565b915091508415611db957611d6c8184611d67611b8c565b611c87565b611db857611d8183611d7c611b8c565b6119a2565b611db7576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b611dc7836000886001611ccb565b8015611dd257600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611e7a83611e3785600088611cd1565b7c02000000000000000000000000000000000000000000000000000000007c01000000000000000000000000000000000000000000000000000000001717611cf9565b600460008881526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000851603611f005760006001870190506000600460008381526020019081526020016000205403611efe576000548114611efd578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611f6a836000886001611d24565b600160008154809291906001019190505550505050505050565b7f000000000000000000000000000000000000000000000000000000000000042d81611fae610a06565b611fb891906135ee565b1115611ff9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff090613822565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612068576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205f906138b4565b60405180910390fd5b6120728282612381565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612162611b8c565b8786866040518563ffffffff1660e01b81526004016121849493929190613929565b6020604051808303816000875af19250505080156121c057506040513d601f19601f820116820180604052508101906121bd919061398a565b60015b612239573d80600081146121f0576040519150601f19603f3d011682016040523d82523d6000602084013e6121f5565b606091505b506000815103612231576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600a805461229b90612fdd565b80601f01602080910402602001604051908101604052809291908181526020018280546122c790612fdd565b80156123145780601f106122e957610100808354040283529160200191612314565b820191906000526020600020905b8154815290600101906020018083116122f757829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b801561236457600183039250600a81066030018353600a81049050612344565b508181036020830392508083525050919050565b60009392505050565b61239b82826040518060200160405280600081525061239f565b5050565b6123a9838361243c565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461243757600080549050600083820390505b6123e9600086838060010194508661213c565b61241f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106123d657816000541461243457600080fd5b50505b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036124a8576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082036124e2576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6124ef6000848385611ccb565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612566836125576000866000611cd1565b6125608561260e565b17611cf9565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821061258a578060008190555050506126096000848385611d24565b505050565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61266781612632565b811461267257600080fd5b50565b6000813590506126848161265e565b92915050565b6000602082840312156126a05761269f612628565b5b60006126ae84828501612675565b91505092915050565b60008115159050919050565b6126cc816126b7565b82525050565b60006020820190506126e760008301846126c3565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561272757808201518184015260208101905061270c565b83811115612736576000848401525b50505050565b6000601f19601f8301169050919050565b6000612758826126ed565b61276281856126f8565b9350612772818560208601612709565b61277b8161273c565b840191505092915050565b600060208201905081810360008301526127a0818461274d565b905092915050565b6000819050919050565b6127bb816127a8565b81146127c657600080fd5b50565b6000813590506127d8816127b2565b92915050565b6000602082840312156127f4576127f3612628565b5b6000612802848285016127c9565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006128368261280b565b9050919050565b6128468161282b565b82525050565b6000602082019050612861600083018461283d565b92915050565b6128708161282b565b811461287b57600080fd5b50565b60008135905061288d81612867565b92915050565b600080604083850312156128aa576128a9612628565b5b60006128b88582860161287e565b92505060206128c9858286016127c9565b9150509250929050565b6128dc816127a8565b82525050565b60006020820190506128f760008301846128d3565b92915050565b60008060006060848603121561291657612915612628565b5b60006129248682870161287e565b93505060206129358682870161287e565b9250506040612946868287016127c9565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61298d8261273c565b810181811067ffffffffffffffff821117156129ac576129ab612955565b5b80604052505050565b60006129bf61261e565b90506129cb8282612984565b919050565b600067ffffffffffffffff8211156129eb576129ea612955565b5b602082029050602081019050919050565b600080fd5b6000612a14612a0f846129d0565b6129b5565b90508083825260208201905060208402830185811115612a3757612a366129fc565b5b835b81811015612a605780612a4c888261287e565b845260208401935050602081019050612a39565b5050509392505050565b600082601f830112612a7f57612a7e612950565b5b8135612a8f848260208601612a01565b91505092915050565b600067ffffffffffffffff821115612ab357612ab2612955565b5b602082029050602081019050919050565b6000612ad7612ad284612a98565b6129b5565b90508083825260208201905060208402830185811115612afa57612af96129fc565b5b835b81811015612b235780612b0f88826127c9565b845260208401935050602081019050612afc565b5050509392505050565b600082601f830112612b4257612b41612950565b5b8135612b52848260208601612ac4565b91505092915050565b60008060408385031215612b7257612b71612628565b5b600083013567ffffffffffffffff811115612b9057612b8f61262d565b5b612b9c85828601612a6a565b925050602083013567ffffffffffffffff811115612bbd57612bbc61262d565b5b612bc985828601612b2d565b9150509250929050565b600060208284031215612be957612be8612628565b5b6000612bf78482850161287e565b91505092915050565b600080fd5b600067ffffffffffffffff821115612c2057612c1f612955565b5b612c298261273c565b9050602081019050919050565b82818337600083830152505050565b6000612c58612c5384612c05565b6129b5565b905082815260208101848484011115612c7457612c73612c00565b5b612c7f848285612c36565b509392505050565b600082601f830112612c9c57612c9b612950565b5b8135612cac848260208601612c45565b91505092915050565b600060208284031215612ccb57612cca612628565b5b600082013567ffffffffffffffff811115612ce957612ce861262d565b5b612cf584828501612c87565b91505092915050565b612d07816126b7565b8114612d1257600080fd5b50565b600081359050612d2481612cfe565b92915050565b60008060408385031215612d4157612d40612628565b5b6000612d4f8582860161287e565b9250506020612d6085828601612d15565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612d9f816127a8565b82525050565b6000612db18383612d96565b60208301905092915050565b6000602082019050919050565b6000612dd582612d6a565b612ddf8185612d75565b9350612dea83612d86565b8060005b83811015612e1b578151612e028882612da5565b9750612e0d83612dbd565b925050600181019050612dee565b5085935050505092915050565b60006020820190508181036000830152612e428184612dca565b905092915050565b600067ffffffffffffffff821115612e6557612e64612955565b5b612e6e8261273c565b9050602081019050919050565b6000612e8e612e8984612e4a565b6129b5565b905082815260208101848484011115612eaa57612ea9612c00565b5b612eb5848285612c36565b509392505050565b600082601f830112612ed257612ed1612950565b5b8135612ee2848260208601612e7b565b91505092915050565b60008060008060808587031215612f0557612f04612628565b5b6000612f138782880161287e565b9450506020612f248782880161287e565b9350506040612f35878288016127c9565b925050606085013567ffffffffffffffff811115612f5657612f5561262d565b5b612f6287828801612ebd565b91505092959194509250565b60008060408385031215612f8557612f84612628565b5b6000612f938582860161287e565b9250506020612fa48582860161287e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612ff557607f821691505b60208210810361300857613007612fae565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006130446020836126f8565b915061304f8261300e565b602082019050919050565b6000602082019050818103600083015261307381613037565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006130b0601f836126f8565b91506130bb8261307a565b602082019050919050565b600060208201905081810360008301526130df816130a3565b9050919050565b600081905092915050565b50565b60006131016000836130e6565b915061310c826130f1565b600082019050919050565b6000613122826130f4565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613195826127a8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036131c7576131c661315b565b5b600182019050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026132347fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826131f7565b61323e86836131f7565b95508019841693508086168417925050509392505050565b6000819050919050565b600061327b613276613271846127a8565b613256565b6127a8565b9050919050565b6000819050919050565b61329583613260565b6132a96132a182613282565b848454613204565b825550505050565b600090565b6132be6132b1565b6132c981848461328c565b505050565b5b818110156132ed576132e26000826132b6565b6001810190506132cf565b5050565b601f82111561333257613303816131d2565b61330c846131e7565b8101602085101561331b578190505b61332f613327856131e7565b8301826132ce565b50505b505050565b600082821c905092915050565b600061335560001984600802613337565b1980831691505092915050565b600061336e8383613344565b9150826002028217905092915050565b613387826126ed565b67ffffffffffffffff8111156133a05761339f612955565b5b6133aa8254612fdd565b6133b58282856132f1565b600060209050601f8311600181146133e857600084156133d6578287015190505b6133e08582613362565b865550613448565b601f1984166133f6866131d2565b60005b8281101561341e578489015182556001820191506020850194506020810190506133f9565b8683101561343b5784890151613437601f891682613344565b8355505b6001600288020188555050505b505050505050565b600061345b826127a8565b9150613466836127a8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561349f5761349e61315b565b5b828202905092915050565b7f496e76616c6964207175616e7469747900000000000000000000000000000000600082015250565b60006134e06010836126f8565b91506134eb826134aa565b602082019050919050565b6000602082019050818103600083015261350f816134d3565b9050919050565b7f4f6e6c7920454f41000000000000000000000000000000000000000000000000600082015250565b600061354c6008836126f8565b915061355782613516565b602082019050919050565b6000602082019050818103600083015261357b8161353f565b9050919050565b7f496e73756666696369656e742066756e64730000000000000000000000000000600082015250565b60006135b86012836126f8565b91506135c382613582565b602082019050919050565b600060208201905081810360008301526135e7816135ab565b9050919050565b60006135f9826127a8565b9150613604836127a8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156136395761363861315b565b5b828201905092915050565b7f4d6178206d696e7473207065722077616c6c6574206d65740000000000000000600082015250565b600061367a6018836126f8565b915061368582613644565b602082019050919050565b600060208201905081810360008301526136a98161366d565b9050919050565b60006136bb826127a8565b91506136c6836127a8565b9250828210156136d9576136d861315b565b5b828203905092915050565b600081905092915050565b60006136fa826126ed565b61370481856136e4565b9350613714818560208601612709565b80840191505092915050565b600061372c82856136ef565b915061373882846136ef565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006137a06026836126f8565b91506137ab82613744565b604082019050919050565b600060208201905081810360008301526137cf81613793565b9050919050565b7f4d617820737570706c7920657863656564656400000000000000000000000000600082015250565b600061380c6013836126f8565b9150613817826137d6565b602082019050919050565b6000602082019050818103600083015261383b816137ff565b9050919050565b7f43616e6e6f7420686176652061206e6f6e2d616464726573732061732072657360008201527f657276652e000000000000000000000000000000000000000000000000000000602082015250565b600061389e6025836126f8565b91506138a982613842565b604082019050919050565b600060208201905081810360008301526138cd81613891565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006138fb826138d4565b61390581856138df565b9350613915818560208601612709565b61391e8161273c565b840191505092915050565b600060808201905061393e600083018761283d565b61394b602083018661283d565b61395860408301856128d3565b818103606083015261396a81846138f0565b905095945050505050565b6000815190506139848161265e565b92915050565b6000602082840312156139a05761399f612628565b5b60006139ae84828501613975565b9150509291505056fea264697066735822122029fa955dfa3ad46331af36fd36d007d8ae92fa9cb0749ffb54f36fbfb62cda5c64736f6c634300080f0033
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.