ERC-721
Overview
Max Total Supply
2,241 GLOOMZ
Holders
558
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 GLOOMZLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Gloomz
Compiler Version
v0.8.7+commit.e28d00a7
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.7; import "./Ownable.sol"; import "./ERC721A.sol"; contract Gloomz is ERC721A , Ownable{ address public constant DEV_ADDRESS = 0x8C124a29116da613993d876292aAb291eEFaA808; address public constant MANAGING_ADDR = 0x5aFD33DdBea46B1C9E31B0EeCF3d199eDdCeA15f; address public constant ARTIST_ADDR = 0xA8b7575f1CCE3864254eD790BC1Cb140D87cCDb9; address public constant COMMUNITY_MANAGER_ADDR = 0x8d04eec8d87Bf15007B5A00c97c15ECA9850378a; address public constant MARKETING_ADDR = 0xA32518031ce5764418397FD4e246163a1615abff; address public constant SECONDARY_ARTIST_ADDR = 0x4eD626561fa31ADAC1F7DC1B7c4608b85F9376F3; address public constant LEGAL_ADDR = 0x9A895862583e941271BD3421F9018b275dca2728; address public constant PARTNERSHIP_ADDR = 0x6DE8bca209E5DAf2FB02A7B978ED312D92c5bE5f; uint256 public constant MINT_PRICE = 0.01 ether; uint256 public constant MAX_PER_TX_FREE = 3; uint256 public constant MAX_PER_TX_PUBLIC = 10; uint256 public constant SUPPLY_CAP = 5555; uint256 public constant AMOUNT_FREE_MINTS = 2000; uint256 public DEV_MINT_RESERVE = 200; bool public saleOpen = false; uint public DEV_MINT_MINTED = 0; constructor() ERC721A("Gloomz","GLOOMZ" ) { } function mintGloom(uint256 amount) payable public { require(saleOpen== true); uint256 ts = totalSupply(); require(ts<SUPPLY_CAP); uint256 freeMints = AMOUNT_FREE_MINTS; uint256 reserve = DEV_MINT_RESERVE; uint256 supplyCap = ts+reserve+ amount ; int freeMintLeft = int(AMOUNT_FREE_MINTS)-int(ts); require(SUPPLY_CAP>= supplyCap); if(ts>= AMOUNT_FREE_MINTS ){ require(amount<=MAX_PER_TX_PUBLIC); require(msg.value >= amount * MINT_PRICE); }else {require(amount<= MAX_PER_TX_FREE);} if(freeMintLeft<=int(amount) && freeMintLeft > 0 ){ require(amount<=MAX_PER_TX_FREE); require(msg.value >= uint256(amount-uint256(freeMintLeft) )* MINT_PRICE); } if(freeMintLeft>= int(amount)){ require(amount<=MAX_PER_TX_FREE); } _safeMint(msg.sender, amount); } function changeSaleState( ) external onlyOwner{ saleOpen= !saleOpen; } function setMetadata(string memory baseURI) external onlyOwner { metadataBase = baseURI; } function _baseURI() internal view override returns(string memory ){ return metadataBase; } function reduceDevReserve(uint newReserveAmount) external onlyOwner{ require(newReserveAmount< DEV_MINT_RESERVE,"CANT INCREASE DEV MINT RESERVE"); DEV_MINT_RESERVE = newReserveAmount; } function devMint(uint amount) external onlyOwner{ require(amount + DEV_MINT_MINTED <= DEV_MINT_RESERVE); DEV_MINT_MINTED+=amount; _safeMint(msg.sender,amount); } function withdraw() external onlyOwner { uint256 totalBalance = address(this).balance; uint256 DEV_CUT = totalBalance / 100 * 16; uint256 MANAGING = totalBalance / 100 * 15; uint256 ARTIST = totalBalance / 100 * 15; uint256 COMMUNITY_MANAGER = totalBalance / 100 * 15; uint256 MARKETING = totalBalance / 100 * 15; uint256 SECONDARY_ARTIST = totalBalance / 100 * 10; uint256 LEGAL = totalBalance / 100 * 7; uint256 PARTNERSHIP = totalBalance / 100 * 7; payable(DEV_ADDRESS).transfer(DEV_CUT); payable(MANAGING_ADDR).transfer(MANAGING); payable(ARTIST_ADDR).transfer(ARTIST); payable(COMMUNITY_MANAGER_ADDR).transfer(COMMUNITY_MANAGER); payable(MARKETING_ADDR).transfer(MARKETING); payable(SECONDARY_ARTIST_ADDR).transfer(SECONDARY_ARTIST); payable(LEGAL_ADDR).transfer(LEGAL); payable(PARTNERSHIP_ADDR).transfer(PARTNERSHIP); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "./Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.7; 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; string public metadataBase = "https://gloomz.io/metadata/"; // 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),'.json')) : ''; } /** * @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 // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.7; /** * @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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":[],"name":"AMOUNT_FREE_MINTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ARTIST_ADDR","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"COMMUNITY_MANAGER_ADDR","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEV_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEV_MINT_MINTED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEV_MINT_RESERVE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LEGAL_ADDR","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MANAGING_ADDR","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MARKETING_ADDR","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_TX_FREE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_TX_PUBLIC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PARTNERSHIP_ADDR","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SECONDARY_ARTIST_ADDR","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SUPPLY_CAP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"changeSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataBase","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintGloom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newReserveAmount","type":"uint256"}],"name":"reduceDevReserve","outputs":[],"stateMutability":"nonpayable","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":[],"name":"saleOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526040518060400160405280601b81526020017f68747470733a2f2f676c6f6f6d7a2e696f2f6d657461646174612f0000000000815250600090805190602001906200005192919062000234565b5060c8600a556000600b60006101000a81548160ff0219169083151502179055506000600c553480156200008457600080fd5b506040518060400160405280600681526020017f476c6f6f6d7a00000000000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f474c4f4f4d5a000000000000000000000000000000000000000000000000000081525081600390805190602001906200010992919062000234565b5080600490805190602001906200012292919062000234565b50620001336200016160201b60201c565b60018190555050506200015b6200014f6200016660201b60201c565b6200016e60201b60201c565b62000349565b600090565b600033905090565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200024290620002e4565b90600052602060002090601f016020900481019282620002665760008555620002b2565b82601f106200028157805160ff1916838001178555620002b2565b82800160010185558215620002b2579182015b82811115620002b157825182559160200191906001019062000294565b5b509050620002c19190620002c5565b5090565b5b80821115620002e0576000816000905550600101620002c6565b5090565b60006002820490506001821680620002fd57607f821691505b602082108114156200031457620003136200031a565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61315e80620003596000396000f3fe60806040526004361061023b5760003560e01c806365b973c31161012e578063c002d23d116100ab578063dd9c1f231161006f578063dd9c1f2314610834578063e985e9c51461084b578063f1ce23a014610888578063f2fde38b146108b3578063ffe6eb3a146108dc5761023b565b8063c002d23d1461074b578063c87b56dd14610776578063c954accd146107b3578063d0b83c8b146107de578063da2f48f1146108095761023b565b806399288dbb116100f257806399288dbb1461067a578063a22cb465146106a5578063a49a1e7d146106ce578063b15e3b20146106f7578063b88d4fde146107225761023b565b806365b973c3146105a557806370a08231146105d0578063715018a61461060d5780638da5cb5b1461062457806395d89b411461064f5761023b565b8063375a069a116101bc578063463fff7911610180578063463fff79146104be5780634d804d80146104e95780635639e8cf1461051257806360dc3bfc1461053d5780636352211e146105685761023b565b8063375a069a146103ff5780633ccfd60b146104285780633e2b9dfc1461043f5780633e5737491461046a57806342842e0e146104955761023b565b806317ca13231161020357806317ca13231461033957806318160ddd146103645780631f7956051461038f57806323b872dd146103ba578063364964e7146103e35761023b565b806301ffc9a71461024057806306fdde031461027d578063081812fc146102a8578063095ea7b3146102e55780630cfccc831461030e575b600080fd5b34801561024c57600080fd5b5061026760048036038101906102629190612811565b610907565b6040516102749190612ad3565b60405180910390f35b34801561028957600080fd5b50610292610999565b60405161029f9190612aee565b60405180910390f35b3480156102b457600080fd5b506102cf60048036038101906102ca91906128b4565b610a2b565b6040516102dc9190612a6c565b60405180910390f35b3480156102f157600080fd5b5061030c600480360381019061030791906127d1565b610aa7565b005b34801561031a57600080fd5b50610323610be8565b6040516103309190612b70565b60405180910390f35b34801561034557600080fd5b5061034e610bee565b60405161035b9190612b70565b60405180910390f35b34801561037057600080fd5b50610379610bf3565b6040516103869190612b70565b60405180910390f35b34801561039b57600080fd5b506103a4610c0a565b6040516103b19190612a6c565b60405180910390f35b3480156103c657600080fd5b506103e160048036038101906103dc91906126bb565b610c22565b005b6103fd60048036038101906103f891906128b4565b610f47565b005b34801561040b57600080fd5b50610426600480360381019061042191906128b4565b61108b565b005b34801561043457600080fd5b5061043d6110d5565b005b34801561044b57600080fd5b506104546114ad565b6040516104619190612a6c565b60405180910390f35b34801561047657600080fd5b5061047f6114c5565b60405161048c9190612b70565b60405180910390f35b3480156104a157600080fd5b506104bc60048036038101906104b791906126bb565b6114cb565b005b3480156104ca57600080fd5b506104d36114eb565b6040516104e09190612b70565b60405180910390f35b3480156104f557600080fd5b50610510600480360381019061050b91906128b4565b6114f0565b005b34801561051e57600080fd5b50610527611546565b6040516105349190612a6c565b60405180910390f35b34801561054957600080fd5b5061055261155e565b60405161055f9190612b70565b60405180910390f35b34801561057457600080fd5b5061058f600480360381019061058a91906128b4565b611564565b60405161059c9190612a6c565b60405180910390f35b3480156105b157600080fd5b506105ba611576565b6040516105c79190612aee565b60405180910390f35b3480156105dc57600080fd5b506105f760048036038101906105f2919061264e565b611604565b6040516106049190612b70565b60405180910390f35b34801561061957600080fd5b506106226116bd565b005b34801561063057600080fd5b506106396116d1565b6040516106469190612a6c565b60405180910390f35b34801561065b57600080fd5b506106646116fb565b6040516106719190612aee565b60405180910390f35b34801561068657600080fd5b5061068f61178d565b60405161069c9190612ad3565b60405180910390f35b3480156106b157600080fd5b506106cc60048036038101906106c79190612791565b6117a0565b005b3480156106da57600080fd5b506106f560048036038101906106f0919061286b565b611918565b005b34801561070357600080fd5b5061070c61193a565b6040516107199190612a6c565b60405180910390f35b34801561072e57600080fd5b506107496004803603810190610744919061270e565b611952565b005b34801561075757600080fd5b506107606119c5565b60405161076d9190612b70565b60405180910390f35b34801561078257600080fd5b5061079d600480360381019061079891906128b4565b6119d0565b6040516107aa9190612aee565b60405180910390f35b3480156107bf57600080fd5b506107c8611a6f565b6040516107d59190612a6c565b60405180910390f35b3480156107ea57600080fd5b506107f3611a87565b6040516108009190612a6c565b60405180910390f35b34801561081557600080fd5b5061081e611a9f565b60405161082b9190612b70565b60405180910390f35b34801561084057600080fd5b50610849611aa5565b005b34801561085757600080fd5b50610872600480360381019061086d919061267b565b611ad9565b60405161087f9190612ad3565b60405180910390f35b34801561089457600080fd5b5061089d611b6d565b6040516108aa9190612a6c565b60405180910390f35b3480156108bf57600080fd5b506108da60048036038101906108d5919061264e565b611b85565b005b3480156108e857600080fd5b506108f1611c09565b6040516108fe9190612a6c565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061096257506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109925750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600380546109a890612ebe565b80601f01602080910402602001604051908101604052809291908181526020018280546109d490612ebe565b8015610a215780601f106109f657610100808354040283529160200191610a21565b820191906000526020600020905b815481529060010190602001808311610a0457829003601f168201915b5050505050905090565b6000610a3682611c21565b610a6c576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ab282611564565b90508073ffffffffffffffffffffffffffffffffffffffff16610ad3611c80565b73ffffffffffffffffffffffffffffffffffffffff1614610b3657610aff81610afa611c80565b611ad9565b610b35576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6115b381565b600a81565b6000610bfd611c88565b6002546001540303905090565b735afd33ddbea46b1c9e31b0eecf3d199eddcea15f81565b6000610c2d82611c8d565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c94576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610ca084611d5b565b91509150610cb68187610cb1611c80565b611d7d565b610d0257610ccb86610cc6611c80565b611ad9565b610d01576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610d69576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d768686866001611dc1565b8015610d8157600082555b600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610e4f85610e2b888887611dc7565b7c020000000000000000000000000000000000000000000000000000000017611def565b600560008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415610ed7576000600185019050600060056000838152602001908152602001600020541415610ed5576001548114610ed4578360056000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610f3f8686866001611e1a565b505050505050565b60011515600b60009054906101000a900460ff16151514610f6757600080fd5b6000610f71610bf3565b90506115b38110610f8157600080fd5b60006107d090506000600a5490506000848285610f9e9190612c55565b610fa89190612c55565b90506000846107d0610fba9190612d36565b9050816115b31015610fcb57600080fd5b6107d0851061100657600a861115610fe257600080fd5b662386f26fc1000086610ff59190612cdc565b34101561100157600080fd5b611015565b600386111561101457600080fd5b5b8581131580156110255750600081135b1561106357600386111561103857600080fd5b662386f26fc10000818761104c9190612dca565b6110569190612cdc565b34101561106257600080fd5b5b85811261107957600386111561107857600080fd5b5b6110833387611e20565b505050505050565b611093611e3e565b600a54600c54826110a49190612c55565b11156110af57600080fd5b80600c60008282546110c19190612c55565b925050819055506110d23382611e20565b50565b6110dd611e3e565b6000479050600060106064836110f39190612cab565b6110fd9190612cdc565b90506000600f6064846111109190612cab565b61111a9190612cdc565b90506000600f60648561112d9190612cab565b6111379190612cdc565b90506000600f60648661114a9190612cab565b6111549190612cdc565b90506000600f6064876111679190612cab565b6111719190612cdc565b90506000600a6064886111849190612cab565b61118e9190612cdc565b9050600060076064896111a19190612cab565b6111ab9190612cdc565b90506000600760648a6111be9190612cab565b6111c89190612cdc565b9050738c124a29116da613993d876292aab291eefaa80873ffffffffffffffffffffffffffffffffffffffff166108fc899081150290604051600060405180830381858888f19350505050158015611224573d6000803e3d6000fd5b50735afd33ddbea46b1c9e31b0eecf3d199eddcea15f73ffffffffffffffffffffffffffffffffffffffff166108fc889081150290604051600060405180830381858888f1935050505015801561127f573d6000803e3d6000fd5b5073a8b7575f1cce3864254ed790bc1cb140d87ccdb973ffffffffffffffffffffffffffffffffffffffff166108fc879081150290604051600060405180830381858888f193505050501580156112da573d6000803e3d6000fd5b50738d04eec8d87bf15007b5a00c97c15eca9850378a73ffffffffffffffffffffffffffffffffffffffff166108fc869081150290604051600060405180830381858888f19350505050158015611335573d6000803e3d6000fd5b5073a32518031ce5764418397fd4e246163a1615abff73ffffffffffffffffffffffffffffffffffffffff166108fc859081150290604051600060405180830381858888f19350505050158015611390573d6000803e3d6000fd5b50734ed626561fa31adac1f7dc1b7c4608b85f9376f373ffffffffffffffffffffffffffffffffffffffff166108fc849081150290604051600060405180830381858888f193505050501580156113eb573d6000803e3d6000fd5b50739a895862583e941271bd3421f9018b275dca272873ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015611446573d6000803e3d6000fd5b50736de8bca209e5daf2fb02a7b978ed312d92c5be5f73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156114a1573d6000803e3d6000fd5b50505050505050505050565b734ed626561fa31adac1f7dc1b7c4608b85f9376f381565b6107d081565b6114e683838360405180602001604052806000815250611952565b505050565b600381565b6114f8611e3e565b600a54811061153c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153390612b10565b60405180910390fd5b80600a8190555050565b738c124a29116da613993d876292aab291eefaa80881565b600c5481565b600061156f82611c8d565b9050919050565b6000805461158390612ebe565b80601f01602080910402602001604051908101604052809291908181526020018280546115af90612ebe565b80156115fc5780601f106115d1576101008083540402835291602001916115fc565b820191906000526020600020905b8154815290600101906020018083116115df57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561166c576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6116c5611e3e565b6116cf6000611ebc565b565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461170a90612ebe565b80601f016020809104026020016040519081016040528092919081815260200182805461173690612ebe565b80156117835780601f1061175857610100808354040283529160200191611783565b820191906000526020600020905b81548152906001019060200180831161176657829003601f168201915b5050505050905090565b600b60009054906101000a900460ff1681565b6117a8611c80565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561180d576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806008600061181a611c80565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166118c7611c80565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161190c9190612ad3565b60405180910390a35050565b611920611e3e565b8060009080519060200190611936929190612462565b5050565b73a32518031ce5764418397fd4e246163a1615abff81565b61195d848484610c22565b60008373ffffffffffffffffffffffffffffffffffffffff163b146119bf5761198884848484611f82565b6119be576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b662386f26fc1000081565b60606119db82611c21565b611a11576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611a1b6120e2565b9050600081511415611a3c5760405180602001604052806000815250611a67565b80611a4684612174565b604051602001611a57929190612a3d565b6040516020818303038152906040525b915050919050565b738d04eec8d87bf15007b5a00c97c15eca9850378a81565b739a895862583e941271bd3421f9018b275dca272881565b600a5481565b611aad611e3e565b600b60009054906101000a900460ff1615600b60006101000a81548160ff021916908315150217905550565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b736de8bca209e5daf2fb02a7b978ed312d92c5be5f81565b611b8d611e3e565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611bfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf490612b30565b60405180910390fd5b611c0681611ebc565b50565b73a8b7575f1cce3864254ed790bc1cb140d87ccdb981565b600081611c2c611c88565b11158015611c3b575060015482105b8015611c79575060007c0100000000000000000000000000000000000000000000000000000000600560008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b60008082905080611c9c611c88565b11611d2457600154811015611d235760006005600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415611d21575b6000811415611d17576005600083600190039350838152602001908152602001600020549050611cec565b8092505050611d56565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600790508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611dde8686846121ce565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b611e3a8282604051806020016040528060008152506121d7565b5050565b611e46612275565b73ffffffffffffffffffffffffffffffffffffffff16611e646116d1565b73ffffffffffffffffffffffffffffffffffffffff1614611eba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb190612b50565b60405180910390fd5b565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611fa8611c80565b8786866040518563ffffffff1660e01b8152600401611fca9493929190612a87565b602060405180830381600087803b158015611fe457600080fd5b505af192505050801561201557506040513d601f19601f82011682018060405250810190612012919061283e565b60015b61208f573d8060008114612045576040519150601f19603f3d011682016040523d82523d6000602084013e61204a565b606091505b50600081511415612087576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600080546120f190612ebe565b80601f016020809104026020016040519081016040528092919081815260200182805461211d90612ebe565b801561216a5780601f1061213f5761010080835404028352916020019161216a565b820191906000526020600020905b81548152906001019060200180831161214d57829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b80156121ba57600183039250600a81066030018353600a8104905061219a565b508181036020830392508083525050919050565b60009392505050565b6121e1838361227d565b60008373ffffffffffffffffffffffffffffffffffffffff163b146122705760006001549050600083820390505b6122226000868380600101945086611f82565b612258576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061220f57816001541461226d57600080fd5b50505b505050565b600033905090565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122eb576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415612326576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123336000848385611dc1565b600160406001901b178202600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506123aa8361239b6000866000611dc7565b6123a485612452565b17611def565b60056000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106123ce5780600181905550505061244d6000848385611e1a565b505050565b60006001821460e11b9050919050565b82805461246e90612ebe565b90600052602060002090601f01602090048101928261249057600085556124d7565b82601f106124a957805160ff19168380011785556124d7565b828001600101855582156124d7579182015b828111156124d65782518255916020019190600101906124bb565b5b5090506124e491906124e8565b5090565b5b808211156125015760008160009055506001016124e9565b5090565b600061251861251384612bb0565b612b8b565b90508281526020810184848401111561253457612533612fe2565b5b61253f848285612e7c565b509392505050565b600061255a61255584612be1565b612b8b565b90508281526020810184848401111561257657612575612fe2565b5b612581848285612e7c565b509392505050565b600081359050612598816130cc565b92915050565b6000813590506125ad816130e3565b92915050565b6000813590506125c2816130fa565b92915050565b6000815190506125d7816130fa565b92915050565b600082601f8301126125f2576125f1612fdd565b5b8135612602848260208601612505565b91505092915050565b600082601f8301126126205761261f612fdd565b5b8135612630848260208601612547565b91505092915050565b60008135905061264881613111565b92915050565b60006020828403121561266457612663612fec565b5b600061267284828501612589565b91505092915050565b6000806040838503121561269257612691612fec565b5b60006126a085828601612589565b92505060206126b185828601612589565b9150509250929050565b6000806000606084860312156126d4576126d3612fec565b5b60006126e286828701612589565b93505060206126f386828701612589565b925050604061270486828701612639565b9150509250925092565b6000806000806080858703121561272857612727612fec565b5b600061273687828801612589565b945050602061274787828801612589565b935050604061275887828801612639565b925050606085013567ffffffffffffffff81111561277957612778612fe7565b5b612785878288016125dd565b91505092959194509250565b600080604083850312156127a8576127a7612fec565b5b60006127b685828601612589565b92505060206127c78582860161259e565b9150509250929050565b600080604083850312156127e8576127e7612fec565b5b60006127f685828601612589565b925050602061280785828601612639565b9150509250929050565b60006020828403121561282757612826612fec565b5b6000612835848285016125b3565b91505092915050565b60006020828403121561285457612853612fec565b5b6000612862848285016125c8565b91505092915050565b60006020828403121561288157612880612fec565b5b600082013567ffffffffffffffff81111561289f5761289e612fe7565b5b6128ab8482850161260b565b91505092915050565b6000602082840312156128ca576128c9612fec565b5b60006128d884828501612639565b91505092915050565b6128ea81612dfe565b82525050565b6128f981612e10565b82525050565b600061290a82612c12565b6129148185612c28565b9350612924818560208601612e8b565b61292d81612ff1565b840191505092915050565b600061294382612c1d565b61294d8185612c39565b935061295d818560208601612e8b565b61296681612ff1565b840191505092915050565b600061297c82612c1d565b6129868185612c4a565b9350612996818560208601612e8b565b80840191505092915050565b60006129af601e83612c39565b91506129ba82613002565b602082019050919050565b60006129d2602683612c39565b91506129dd8261302b565b604082019050919050565b60006129f5600583612c4a565b9150612a008261307a565b600582019050919050565b6000612a18602083612c39565b9150612a23826130a3565b602082019050919050565b612a3781612e72565b82525050565b6000612a498285612971565b9150612a558284612971565b9150612a60826129e8565b91508190509392505050565b6000602082019050612a8160008301846128e1565b92915050565b6000608082019050612a9c60008301876128e1565b612aa960208301866128e1565b612ab66040830185612a2e565b8181036060830152612ac881846128ff565b905095945050505050565b6000602082019050612ae860008301846128f0565b92915050565b60006020820190508181036000830152612b088184612938565b905092915050565b60006020820190508181036000830152612b29816129a2565b9050919050565b60006020820190508181036000830152612b49816129c5565b9050919050565b60006020820190508181036000830152612b6981612a0b565b9050919050565b6000602082019050612b856000830184612a2e565b92915050565b6000612b95612ba6565b9050612ba18282612ef0565b919050565b6000604051905090565b600067ffffffffffffffff821115612bcb57612bca612fae565b5b612bd482612ff1565b9050602081019050919050565b600067ffffffffffffffff821115612bfc57612bfb612fae565b5b612c0582612ff1565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000612c6082612e72565b9150612c6b83612e72565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612ca057612c9f612f21565b5b828201905092915050565b6000612cb682612e72565b9150612cc183612e72565b925082612cd157612cd0612f50565b5b828204905092915050565b6000612ce782612e72565b9150612cf283612e72565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612d2b57612d2a612f21565b5b828202905092915050565b6000612d4182612e48565b9150612d4c83612e48565b9250827f800000000000000000000000000000000000000000000000000000000000000001821260008412151615612d8757612d86612f21565b5b827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff018213600084121615612dbf57612dbe612f21565b5b828203905092915050565b6000612dd582612e72565b9150612de083612e72565b925082821015612df357612df2612f21565b5b828203905092915050565b6000612e0982612e52565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015612ea9578082015181840152602081019050612e8e565b83811115612eb8576000848401525b50505050565b60006002820490506001821680612ed657607f821691505b60208210811415612eea57612ee9612f7f565b5b50919050565b612ef982612ff1565b810181811067ffffffffffffffff82111715612f1857612f17612fae565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f43414e5420494e43524541534520444556204d494e5420524553455256450000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6130d581612dfe565b81146130e057600080fd5b50565b6130ec81612e10565b81146130f757600080fd5b50565b61310381612e1c565b811461310e57600080fd5b50565b61311a81612e72565b811461312557600080fd5b5056fea264697066735822122017a697beec61dea5fa493d2a286dccca9ec7603012dcab9c1aa67e51fa194a6c64736f6c63430008070033
Deployed Bytecode
0x60806040526004361061023b5760003560e01c806365b973c31161012e578063c002d23d116100ab578063dd9c1f231161006f578063dd9c1f2314610834578063e985e9c51461084b578063f1ce23a014610888578063f2fde38b146108b3578063ffe6eb3a146108dc5761023b565b8063c002d23d1461074b578063c87b56dd14610776578063c954accd146107b3578063d0b83c8b146107de578063da2f48f1146108095761023b565b806399288dbb116100f257806399288dbb1461067a578063a22cb465146106a5578063a49a1e7d146106ce578063b15e3b20146106f7578063b88d4fde146107225761023b565b806365b973c3146105a557806370a08231146105d0578063715018a61461060d5780638da5cb5b1461062457806395d89b411461064f5761023b565b8063375a069a116101bc578063463fff7911610180578063463fff79146104be5780634d804d80146104e95780635639e8cf1461051257806360dc3bfc1461053d5780636352211e146105685761023b565b8063375a069a146103ff5780633ccfd60b146104285780633e2b9dfc1461043f5780633e5737491461046a57806342842e0e146104955761023b565b806317ca13231161020357806317ca13231461033957806318160ddd146103645780631f7956051461038f57806323b872dd146103ba578063364964e7146103e35761023b565b806301ffc9a71461024057806306fdde031461027d578063081812fc146102a8578063095ea7b3146102e55780630cfccc831461030e575b600080fd5b34801561024c57600080fd5b5061026760048036038101906102629190612811565b610907565b6040516102749190612ad3565b60405180910390f35b34801561028957600080fd5b50610292610999565b60405161029f9190612aee565b60405180910390f35b3480156102b457600080fd5b506102cf60048036038101906102ca91906128b4565b610a2b565b6040516102dc9190612a6c565b60405180910390f35b3480156102f157600080fd5b5061030c600480360381019061030791906127d1565b610aa7565b005b34801561031a57600080fd5b50610323610be8565b6040516103309190612b70565b60405180910390f35b34801561034557600080fd5b5061034e610bee565b60405161035b9190612b70565b60405180910390f35b34801561037057600080fd5b50610379610bf3565b6040516103869190612b70565b60405180910390f35b34801561039b57600080fd5b506103a4610c0a565b6040516103b19190612a6c565b60405180910390f35b3480156103c657600080fd5b506103e160048036038101906103dc91906126bb565b610c22565b005b6103fd60048036038101906103f891906128b4565b610f47565b005b34801561040b57600080fd5b50610426600480360381019061042191906128b4565b61108b565b005b34801561043457600080fd5b5061043d6110d5565b005b34801561044b57600080fd5b506104546114ad565b6040516104619190612a6c565b60405180910390f35b34801561047657600080fd5b5061047f6114c5565b60405161048c9190612b70565b60405180910390f35b3480156104a157600080fd5b506104bc60048036038101906104b791906126bb565b6114cb565b005b3480156104ca57600080fd5b506104d36114eb565b6040516104e09190612b70565b60405180910390f35b3480156104f557600080fd5b50610510600480360381019061050b91906128b4565b6114f0565b005b34801561051e57600080fd5b50610527611546565b6040516105349190612a6c565b60405180910390f35b34801561054957600080fd5b5061055261155e565b60405161055f9190612b70565b60405180910390f35b34801561057457600080fd5b5061058f600480360381019061058a91906128b4565b611564565b60405161059c9190612a6c565b60405180910390f35b3480156105b157600080fd5b506105ba611576565b6040516105c79190612aee565b60405180910390f35b3480156105dc57600080fd5b506105f760048036038101906105f2919061264e565b611604565b6040516106049190612b70565b60405180910390f35b34801561061957600080fd5b506106226116bd565b005b34801561063057600080fd5b506106396116d1565b6040516106469190612a6c565b60405180910390f35b34801561065b57600080fd5b506106646116fb565b6040516106719190612aee565b60405180910390f35b34801561068657600080fd5b5061068f61178d565b60405161069c9190612ad3565b60405180910390f35b3480156106b157600080fd5b506106cc60048036038101906106c79190612791565b6117a0565b005b3480156106da57600080fd5b506106f560048036038101906106f0919061286b565b611918565b005b34801561070357600080fd5b5061070c61193a565b6040516107199190612a6c565b60405180910390f35b34801561072e57600080fd5b506107496004803603810190610744919061270e565b611952565b005b34801561075757600080fd5b506107606119c5565b60405161076d9190612b70565b60405180910390f35b34801561078257600080fd5b5061079d600480360381019061079891906128b4565b6119d0565b6040516107aa9190612aee565b60405180910390f35b3480156107bf57600080fd5b506107c8611a6f565b6040516107d59190612a6c565b60405180910390f35b3480156107ea57600080fd5b506107f3611a87565b6040516108009190612a6c565b60405180910390f35b34801561081557600080fd5b5061081e611a9f565b60405161082b9190612b70565b60405180910390f35b34801561084057600080fd5b50610849611aa5565b005b34801561085757600080fd5b50610872600480360381019061086d919061267b565b611ad9565b60405161087f9190612ad3565b60405180910390f35b34801561089457600080fd5b5061089d611b6d565b6040516108aa9190612a6c565b60405180910390f35b3480156108bf57600080fd5b506108da60048036038101906108d5919061264e565b611b85565b005b3480156108e857600080fd5b506108f1611c09565b6040516108fe9190612a6c565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061096257506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109925750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600380546109a890612ebe565b80601f01602080910402602001604051908101604052809291908181526020018280546109d490612ebe565b8015610a215780601f106109f657610100808354040283529160200191610a21565b820191906000526020600020905b815481529060010190602001808311610a0457829003601f168201915b5050505050905090565b6000610a3682611c21565b610a6c576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ab282611564565b90508073ffffffffffffffffffffffffffffffffffffffff16610ad3611c80565b73ffffffffffffffffffffffffffffffffffffffff1614610b3657610aff81610afa611c80565b611ad9565b610b35576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6115b381565b600a81565b6000610bfd611c88565b6002546001540303905090565b735afd33ddbea46b1c9e31b0eecf3d199eddcea15f81565b6000610c2d82611c8d565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c94576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610ca084611d5b565b91509150610cb68187610cb1611c80565b611d7d565b610d0257610ccb86610cc6611c80565b611ad9565b610d01576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610d69576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d768686866001611dc1565b8015610d8157600082555b600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610e4f85610e2b888887611dc7565b7c020000000000000000000000000000000000000000000000000000000017611def565b600560008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415610ed7576000600185019050600060056000838152602001908152602001600020541415610ed5576001548114610ed4578360056000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610f3f8686866001611e1a565b505050505050565b60011515600b60009054906101000a900460ff16151514610f6757600080fd5b6000610f71610bf3565b90506115b38110610f8157600080fd5b60006107d090506000600a5490506000848285610f9e9190612c55565b610fa89190612c55565b90506000846107d0610fba9190612d36565b9050816115b31015610fcb57600080fd5b6107d0851061100657600a861115610fe257600080fd5b662386f26fc1000086610ff59190612cdc565b34101561100157600080fd5b611015565b600386111561101457600080fd5b5b8581131580156110255750600081135b1561106357600386111561103857600080fd5b662386f26fc10000818761104c9190612dca565b6110569190612cdc565b34101561106257600080fd5b5b85811261107957600386111561107857600080fd5b5b6110833387611e20565b505050505050565b611093611e3e565b600a54600c54826110a49190612c55565b11156110af57600080fd5b80600c60008282546110c19190612c55565b925050819055506110d23382611e20565b50565b6110dd611e3e565b6000479050600060106064836110f39190612cab565b6110fd9190612cdc565b90506000600f6064846111109190612cab565b61111a9190612cdc565b90506000600f60648561112d9190612cab565b6111379190612cdc565b90506000600f60648661114a9190612cab565b6111549190612cdc565b90506000600f6064876111679190612cab565b6111719190612cdc565b90506000600a6064886111849190612cab565b61118e9190612cdc565b9050600060076064896111a19190612cab565b6111ab9190612cdc565b90506000600760648a6111be9190612cab565b6111c89190612cdc565b9050738c124a29116da613993d876292aab291eefaa80873ffffffffffffffffffffffffffffffffffffffff166108fc899081150290604051600060405180830381858888f19350505050158015611224573d6000803e3d6000fd5b50735afd33ddbea46b1c9e31b0eecf3d199eddcea15f73ffffffffffffffffffffffffffffffffffffffff166108fc889081150290604051600060405180830381858888f1935050505015801561127f573d6000803e3d6000fd5b5073a8b7575f1cce3864254ed790bc1cb140d87ccdb973ffffffffffffffffffffffffffffffffffffffff166108fc879081150290604051600060405180830381858888f193505050501580156112da573d6000803e3d6000fd5b50738d04eec8d87bf15007b5a00c97c15eca9850378a73ffffffffffffffffffffffffffffffffffffffff166108fc869081150290604051600060405180830381858888f19350505050158015611335573d6000803e3d6000fd5b5073a32518031ce5764418397fd4e246163a1615abff73ffffffffffffffffffffffffffffffffffffffff166108fc859081150290604051600060405180830381858888f19350505050158015611390573d6000803e3d6000fd5b50734ed626561fa31adac1f7dc1b7c4608b85f9376f373ffffffffffffffffffffffffffffffffffffffff166108fc849081150290604051600060405180830381858888f193505050501580156113eb573d6000803e3d6000fd5b50739a895862583e941271bd3421f9018b275dca272873ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015611446573d6000803e3d6000fd5b50736de8bca209e5daf2fb02a7b978ed312d92c5be5f73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156114a1573d6000803e3d6000fd5b50505050505050505050565b734ed626561fa31adac1f7dc1b7c4608b85f9376f381565b6107d081565b6114e683838360405180602001604052806000815250611952565b505050565b600381565b6114f8611e3e565b600a54811061153c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153390612b10565b60405180910390fd5b80600a8190555050565b738c124a29116da613993d876292aab291eefaa80881565b600c5481565b600061156f82611c8d565b9050919050565b6000805461158390612ebe565b80601f01602080910402602001604051908101604052809291908181526020018280546115af90612ebe565b80156115fc5780601f106115d1576101008083540402835291602001916115fc565b820191906000526020600020905b8154815290600101906020018083116115df57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561166c576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6116c5611e3e565b6116cf6000611ebc565b565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461170a90612ebe565b80601f016020809104026020016040519081016040528092919081815260200182805461173690612ebe565b80156117835780601f1061175857610100808354040283529160200191611783565b820191906000526020600020905b81548152906001019060200180831161176657829003601f168201915b5050505050905090565b600b60009054906101000a900460ff1681565b6117a8611c80565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561180d576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806008600061181a611c80565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166118c7611c80565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161190c9190612ad3565b60405180910390a35050565b611920611e3e565b8060009080519060200190611936929190612462565b5050565b73a32518031ce5764418397fd4e246163a1615abff81565b61195d848484610c22565b60008373ffffffffffffffffffffffffffffffffffffffff163b146119bf5761198884848484611f82565b6119be576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b662386f26fc1000081565b60606119db82611c21565b611a11576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611a1b6120e2565b9050600081511415611a3c5760405180602001604052806000815250611a67565b80611a4684612174565b604051602001611a57929190612a3d565b6040516020818303038152906040525b915050919050565b738d04eec8d87bf15007b5a00c97c15eca9850378a81565b739a895862583e941271bd3421f9018b275dca272881565b600a5481565b611aad611e3e565b600b60009054906101000a900460ff1615600b60006101000a81548160ff021916908315150217905550565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b736de8bca209e5daf2fb02a7b978ed312d92c5be5f81565b611b8d611e3e565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611bfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf490612b30565b60405180910390fd5b611c0681611ebc565b50565b73a8b7575f1cce3864254ed790bc1cb140d87ccdb981565b600081611c2c611c88565b11158015611c3b575060015482105b8015611c79575060007c0100000000000000000000000000000000000000000000000000000000600560008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b60008082905080611c9c611c88565b11611d2457600154811015611d235760006005600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415611d21575b6000811415611d17576005600083600190039350838152602001908152602001600020549050611cec565b8092505050611d56565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600790508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611dde8686846121ce565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b611e3a8282604051806020016040528060008152506121d7565b5050565b611e46612275565b73ffffffffffffffffffffffffffffffffffffffff16611e646116d1565b73ffffffffffffffffffffffffffffffffffffffff1614611eba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb190612b50565b60405180910390fd5b565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611fa8611c80565b8786866040518563ffffffff1660e01b8152600401611fca9493929190612a87565b602060405180830381600087803b158015611fe457600080fd5b505af192505050801561201557506040513d601f19601f82011682018060405250810190612012919061283e565b60015b61208f573d8060008114612045576040519150601f19603f3d011682016040523d82523d6000602084013e61204a565b606091505b50600081511415612087576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600080546120f190612ebe565b80601f016020809104026020016040519081016040528092919081815260200182805461211d90612ebe565b801561216a5780601f1061213f5761010080835404028352916020019161216a565b820191906000526020600020905b81548152906001019060200180831161214d57829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b80156121ba57600183039250600a81066030018353600a8104905061219a565b508181036020830392508083525050919050565b60009392505050565b6121e1838361227d565b60008373ffffffffffffffffffffffffffffffffffffffff163b146122705760006001549050600083820390505b6122226000868380600101945086611f82565b612258576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061220f57816001541461226d57600080fd5b50505b505050565b600033905090565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122eb576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415612326576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123336000848385611dc1565b600160406001901b178202600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506123aa8361239b6000866000611dc7565b6123a485612452565b17611def565b60056000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106123ce5780600181905550505061244d6000848385611e1a565b505050565b60006001821460e11b9050919050565b82805461246e90612ebe565b90600052602060002090601f01602090048101928261249057600085556124d7565b82601f106124a957805160ff19168380011785556124d7565b828001600101855582156124d7579182015b828111156124d65782518255916020019190600101906124bb565b5b5090506124e491906124e8565b5090565b5b808211156125015760008160009055506001016124e9565b5090565b600061251861251384612bb0565b612b8b565b90508281526020810184848401111561253457612533612fe2565b5b61253f848285612e7c565b509392505050565b600061255a61255584612be1565b612b8b565b90508281526020810184848401111561257657612575612fe2565b5b612581848285612e7c565b509392505050565b600081359050612598816130cc565b92915050565b6000813590506125ad816130e3565b92915050565b6000813590506125c2816130fa565b92915050565b6000815190506125d7816130fa565b92915050565b600082601f8301126125f2576125f1612fdd565b5b8135612602848260208601612505565b91505092915050565b600082601f8301126126205761261f612fdd565b5b8135612630848260208601612547565b91505092915050565b60008135905061264881613111565b92915050565b60006020828403121561266457612663612fec565b5b600061267284828501612589565b91505092915050565b6000806040838503121561269257612691612fec565b5b60006126a085828601612589565b92505060206126b185828601612589565b9150509250929050565b6000806000606084860312156126d4576126d3612fec565b5b60006126e286828701612589565b93505060206126f386828701612589565b925050604061270486828701612639565b9150509250925092565b6000806000806080858703121561272857612727612fec565b5b600061273687828801612589565b945050602061274787828801612589565b935050604061275887828801612639565b925050606085013567ffffffffffffffff81111561277957612778612fe7565b5b612785878288016125dd565b91505092959194509250565b600080604083850312156127a8576127a7612fec565b5b60006127b685828601612589565b92505060206127c78582860161259e565b9150509250929050565b600080604083850312156127e8576127e7612fec565b5b60006127f685828601612589565b925050602061280785828601612639565b9150509250929050565b60006020828403121561282757612826612fec565b5b6000612835848285016125b3565b91505092915050565b60006020828403121561285457612853612fec565b5b6000612862848285016125c8565b91505092915050565b60006020828403121561288157612880612fec565b5b600082013567ffffffffffffffff81111561289f5761289e612fe7565b5b6128ab8482850161260b565b91505092915050565b6000602082840312156128ca576128c9612fec565b5b60006128d884828501612639565b91505092915050565b6128ea81612dfe565b82525050565b6128f981612e10565b82525050565b600061290a82612c12565b6129148185612c28565b9350612924818560208601612e8b565b61292d81612ff1565b840191505092915050565b600061294382612c1d565b61294d8185612c39565b935061295d818560208601612e8b565b61296681612ff1565b840191505092915050565b600061297c82612c1d565b6129868185612c4a565b9350612996818560208601612e8b565b80840191505092915050565b60006129af601e83612c39565b91506129ba82613002565b602082019050919050565b60006129d2602683612c39565b91506129dd8261302b565b604082019050919050565b60006129f5600583612c4a565b9150612a008261307a565b600582019050919050565b6000612a18602083612c39565b9150612a23826130a3565b602082019050919050565b612a3781612e72565b82525050565b6000612a498285612971565b9150612a558284612971565b9150612a60826129e8565b91508190509392505050565b6000602082019050612a8160008301846128e1565b92915050565b6000608082019050612a9c60008301876128e1565b612aa960208301866128e1565b612ab66040830185612a2e565b8181036060830152612ac881846128ff565b905095945050505050565b6000602082019050612ae860008301846128f0565b92915050565b60006020820190508181036000830152612b088184612938565b905092915050565b60006020820190508181036000830152612b29816129a2565b9050919050565b60006020820190508181036000830152612b49816129c5565b9050919050565b60006020820190508181036000830152612b6981612a0b565b9050919050565b6000602082019050612b856000830184612a2e565b92915050565b6000612b95612ba6565b9050612ba18282612ef0565b919050565b6000604051905090565b600067ffffffffffffffff821115612bcb57612bca612fae565b5b612bd482612ff1565b9050602081019050919050565b600067ffffffffffffffff821115612bfc57612bfb612fae565b5b612c0582612ff1565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000612c6082612e72565b9150612c6b83612e72565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612ca057612c9f612f21565b5b828201905092915050565b6000612cb682612e72565b9150612cc183612e72565b925082612cd157612cd0612f50565b5b828204905092915050565b6000612ce782612e72565b9150612cf283612e72565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612d2b57612d2a612f21565b5b828202905092915050565b6000612d4182612e48565b9150612d4c83612e48565b9250827f800000000000000000000000000000000000000000000000000000000000000001821260008412151615612d8757612d86612f21565b5b827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff018213600084121615612dbf57612dbe612f21565b5b828203905092915050565b6000612dd582612e72565b9150612de083612e72565b925082821015612df357612df2612f21565b5b828203905092915050565b6000612e0982612e52565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015612ea9578082015181840152602081019050612e8e565b83811115612eb8576000848401525b50505050565b60006002820490506001821680612ed657607f821691505b60208210811415612eea57612ee9612f7f565b5b50919050565b612ef982612ff1565b810181811067ffffffffffffffff82111715612f1857612f17612fae565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f43414e5420494e43524541534520444556204d494e5420524553455256450000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6130d581612dfe565b81146130e057600080fd5b50565b6130ec81612e10565b81146130f757600080fd5b50565b61310381612e1c565b811461310e57600080fd5b50565b61311a81612e72565b811461312557600080fd5b5056fea264697066735822122017a697beec61dea5fa493d2a286dccca9ec7603012dcab9c1aa67e51fa194a6c64736f6c63430008070033
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.