Overview
ETH Balance
0.9 ETH
Eth Value
$2,251.07 (@ $2,501.19/ETH)More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 291 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 19988671 | 95 days ago | IN | 0 ETH | 0.00036237 | ||||
Set Approval For... | 19834875 | 116 days ago | IN | 0 ETH | 0.00022354 | ||||
Set Approval For... | 19522905 | 160 days ago | IN | 0 ETH | 0.00134336 | ||||
Safe Transfer Fr... | 19454453 | 169 days ago | IN | 0 ETH | 0.00150698 | ||||
Set Approval For... | 19320594 | 188 days ago | IN | 0 ETH | 0.00264224 | ||||
Withdraw | 19189562 | 206 days ago | IN | 0 ETH | 0.00136549 | ||||
Safe Transfer Fr... | 19182492 | 207 days ago | IN | 0 ETH | 0.00180587 | ||||
Safe Transfer Fr... | 19182220 | 208 days ago | IN | 0 ETH | 0.00279233 | ||||
Safe Transfer Fr... | 19182219 | 208 days ago | IN | 0 ETH | 0.00293722 | ||||
Set Approval For... | 19182135 | 208 days ago | IN | 0 ETH | 0.00226788 | ||||
Safe Transfer Fr... | 19181169 | 208 days ago | IN | 0 ETH | 0.00247047 | ||||
Safe Transfer Fr... | 19181169 | 208 days ago | IN | 0 ETH | 0.0019756 | ||||
Safe Transfer Fr... | 19181169 | 208 days ago | IN | 0 ETH | 0.00203751 | ||||
Safe Transfer Fr... | 19181168 | 208 days ago | IN | 0 ETH | 0.00259265 | ||||
Safe Transfer Fr... | 19181165 | 208 days ago | IN | 0 ETH | 0.00182425 | ||||
Safe Transfer Fr... | 19181165 | 208 days ago | IN | 0 ETH | 0.00241285 | ||||
Safe Transfer Fr... | 19181165 | 208 days ago | IN | 0 ETH | 0.00184431 | ||||
Safe Transfer Fr... | 19181163 | 208 days ago | IN | 0 ETH | 0.00258931 | ||||
Safe Transfer Fr... | 19181162 | 208 days ago | IN | 0 ETH | 0.00255824 | ||||
Safe Transfer Fr... | 19160504 | 211 days ago | IN | 0 ETH | 0.00078394 | ||||
Safe Transfer Fr... | 19160502 | 211 days ago | IN | 0 ETH | 0.00077407 | ||||
Set Approval For... | 19160404 | 211 days ago | IN | 0 ETH | 0.00056853 | ||||
Set Approval For... | 19075684 | 222 days ago | IN | 0 ETH | 0.00054167 | ||||
Set Approval For... | 19073550 | 223 days ago | IN | 0 ETH | 0.00052628 | ||||
Set Approval For... | 19068486 | 223 days ago | IN | 0 ETH | 0.00166082 |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
U_KEY
Compiler Version
v0.8.23+commit.f704f362
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./MerkleProof.sol"; import "./Ownable.sol"; import "./ERC721A.sol"; import "./BitMaps.sol"; contract U_KEY is Ownable, ERC721A { // BitMaps using BitMaps for BitMaps.BitMap; BitMaps.BitMap private _isConsumed; // OnChain memoey for the Season PassCard mapping(uint256 => uint256) session; mapping(address => mapping (uint256 => uint256)) private mint_limit_count; mapping(uint256 => uint256) session_whiteList_max_supply; // Total number of Session(season) uint256 public total_session; // Initial session_id uint256 public cur_session_id = 1; // baseUri mapping mapping(uint256 => string) base_uri; // Definition of status of the mint progress uint256 immutable ADMIN_SWITCH = 1; uint256 immutable AIRDROP_SWITCH = 2; uint256 immutable WHITELIST_SWITCH = 3; uint256 immutable PUBLIC_SWITCH = 4; uint256 public cur_switch; // Mint Price for public sale and whitelist uint256 public whitelist_price = 0.03 ether; uint256 public public_sale_price = 0.05 ether; // Limit of mint token per address in WhiteList & Public uint256 public max_whitelist_mint_no = 5; uint256 public max_public_mint_no = 10; // merkle tree for using whitelist address verfication bytes32 public merkle_root; // Requirement of modifier in the stage of mint modifier onlyAdminSwitchOpen() { require(cur_switch == ADMIN_SWITCH, "admin switch closed"); _; } modifier onlyAirdroopSwitchOpen() { require(cur_switch == AIRDROP_SWITCH, "airdrop switch closed"); _; } modifier onlyWhitelistSwitchOpen() { require(cur_switch == WHITELIST_SWITCH, "whitelist switch closed"); _; } modifier onlyPublicSwitchOpen() { require(cur_switch == PUBLIC_SWITCH, "public switch closed"); _; } // Setup name & symbol constructor( string memory _name, string memory _symbol ) ERC721A(_name, _symbol) {} // Setup session(season)-id baseUri function setBaseURI( string memory _base_uri, uint256 _session_id ) external onlyOwner { base_uri[_session_id] = _base_uri; } // AdminMint Stage which ADMIN_SWITCH = 1 function adminMint( address _to, uint256 _quantity ) external onlyAdminSwitchOpen onlyOwner { mint(_to, _quantity); } // AirDropMint stage which AIRDROP_SWITCH = 2 function airdropMint( address[] calldata _to, uint256[] calldata _quantity ) external onlyAirdroopSwitchOpen onlyOwner { uint256 len = _to.length; require(len == _quantity.length); for (uint256 i = 0; i < len; ) { mint(_to[i], _quantity[i]); ++i; } } // WhiteListMint stage which WHITELIST_SWITCH = 3 function whitelistMint( uint256 _quantity, bytes32[] calldata proof ) external payable onlyWhitelistSwitchOpen { address _account = msg.sender; // Check the mint limit require(_quantity <= max_whitelist_mint_no ,"Don't exceed the WhiteList Mint Maximum limit!"); require(_quantity + totalSupply() <= session_whiteList_max_supply[cur_session_id],"Don't exceed session whitelist supply!"); // When setup leaf from JS, need to packed as [address, cur_session_id] to generate the root bytes32 leaf = keccak256(abi.encodePacked(_account, cur_session_id)); // One address only redeem once at every session of WhiteList Regeristion and mint require(!_isConsumed.get(uint256(leaf)), "You have already redeemed the whitelist rights at this season! (consumed)"); _isConsumed.set(uint256(leaf)); // Merkle Proof require(MerkleProof.verify(proof, merkle_root, leaf), "Invalid proof"); // Send equivalent Ethereum to contract require(msg.value == _quantity * whitelist_price, "Please enter the enough ethereum to mint! (no enough ether)"); mint(_account, _quantity); } // PublicMint stage which PUBLIC_SWITCH = 4 function publictMint( uint256 _quantity ) external payable onlyPublicSwitchOpen { require(_quantity <= max_public_mint_no ,"Don't exceed the Public Mint Maximum limit!"); require(_quantity <= allowedMintLimitCount(msg.sender, cur_session_id),"You have reached the max mint limit for each address, Please mint Less!"); require(msg.value == _quantity * public_sale_price, "Please enter the enough ethereum to mint! (no enough ether)"); mint(msg.sender, _quantity); updateMintLimitCount(msg.sender, _quantity, cur_session_id); } // Internal calling _safemint function from 1-4 Mint function mint(address _to, uint256 _quantity) internal { require(totalSupply() + _quantity <= session[cur_session_id], "exceed the maximum supply!"); _safeMint(_to, _quantity); } // Read metadata function session_baseURI(uint256 session_id) external view virtual returns (string memory) { return base_uri[session_id]; } // Read Session supply function session_supply(uint256 session_id) external view returns (uint256) { return session[session_id]; } // Read Session Whitelist supply function session_whitelist_supply(uint256 session_id) external view returns(uint256){ return session_whiteList_max_supply[session_id]; } // Read tokenURI function tokenURI( uint256 tokenId ) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); uint256 i = 1; for (; i < total_session; ) { if (tokenId + 1 > session[i]) { ++i; } else { break; } } string memory baseURI = base_uri[i]; return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId),".json")) : ""; } // Input Season(Session) root , which constructed from [address, season(session)] // Input merkle tree root from a list of address function setMerkleRoot(bytes32 _merkle_root) external onlyOwner { merkle_root = _merkle_root; } // Update Public Sale Price function setPublicSalePrice(uint256 _public_sale_price) external onlyOwner { public_sale_price = _public_sale_price; } // Update WhiteList Price function setWhiteListPrice(uint256 _whitelist_price) external onlyOwner { whitelist_price = _whitelist_price; } // Setup max number of Public sale limit function setPublicMintNo(uint256 _max_public_mint_no)external onlyOwner{ max_public_mint_no = _max_public_mint_no; } // Setup max number of Public sale limit function setWhiteListMintNo(uint256 _max_whitelist_mint_no)external onlyOwner{ max_whitelist_mint_no = _max_whitelist_mint_no; } // Switch of based on what session(season) we are function setCurSession(uint256 _cur_session_id) external onlyOwner { cur_session_id = _cur_session_id; } // Switch of based on what mint stage we are function setCurSwitch(uint256 _cur_switch) external onlyOwner { cur_switch = _cur_switch; } // Swicth of Session Numbers function setTotalSession(uint256 _total_session)external onlyOwner { total_session = _total_session; } // Update the number of remaining limit can mint in public sale function allowedMintLimitCount(address minter_address, uint256 _session_id) public view returns(uint256){ return max_public_mint_no - mint_limit_count[minter_address][_session_id]; } // Update counters for public sale mint Max limit per address function updateMintLimitCount(address minter_address, uint256 count, uint256 _session_id)private{ mint_limit_count[minter_address][_session_id] += count; } // Set up for the each session(season)[id] have how many tokens function setSession( uint256 _session_id, uint256 _amount ) external onlyOwner { session[_session_id] = _session_id == 1 ? _amount : session[_session_id - 1] + _amount; } // Set up for the each session(season)[id] whitelist max mint number of tokens function setSession_whiteList_max_supply( uint256 _session_id, uint256 _whiteList_max_amount ) external onlyOwner{ session_whiteList_max_supply[_session_id] = _session_id ==1 ? _whiteList_max_amount : session[_session_id -1] + _whiteList_max_amount; } // Withdrawal function to onlyowner receive() external payable {} function withdraw(uint _amount) external onlyOwner { (bool success, ) = payable(msg.sender).call{value: _amount}(""); require(success, "Transfer failed."); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/structs/BitMaps.sol) pragma solidity ^0.8.20; /** * @dev Library for managing uint256 to bool mapping in a compact and efficient way, provided the keys are sequential. * Largely inspired by Uniswap's https://github.com/Uniswap/merkle-distributor/blob/master/contracts/MerkleDistributor.sol[merkle-distributor]. * * BitMaps pack 256 booleans across each bit of a single 256-bit slot of `uint256` type. * Hence booleans corresponding to 256 _sequential_ indices would only consume a single slot, * unlike the regular `bool` which would consume an entire slot for a single value. * * This results in gas savings in two ways: * * - Setting a zero value to non-zero only once every 256 times * - Accessing the same warm slot for every 256 _sequential_ indices */ library BitMaps { struct BitMap { mapping(uint256 bucket => uint256) _data; } /** * @dev Returns whether the bit at `index` is set. */ function get(BitMap storage bitmap, uint256 index) internal view returns (bool) { uint256 bucket = index >> 8; uint256 mask = 1 << (index & 0xff); return bitmap._data[bucket] & mask != 0; } /** * @dev Sets the bit at `index` to the boolean `value`. */ function setTo(BitMap storage bitmap, uint256 index, bool value) internal { if (value) { set(bitmap, index); } else { unset(bitmap, index); } } /** * @dev Sets the bit at `index`. */ function set(BitMap storage bitmap, uint256 index) internal { uint256 bucket = index >> 8; uint256 mask = 1 << (index & 0xff); bitmap._data[bucket] |= mask; } /** * @dev Unsets the bit at `index`. */ function unset(BitMap storage bitmap, uint256 index) internal { uint256 bucket = index >> 8; uint256 mask = 1 << (index & 0xff); bitmap._data[bucket] &= ~mask; } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID 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 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @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 virtual 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 virtual 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 virtual 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 virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) _revert(BalanceQueryForZeroAddress.selector); 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 virtual { 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; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ 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: [ERC165](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. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) _revert(URIQueryForNonexistentToken.selector); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Returns whether the ownership slot at `index` is initialized. * An uninitialized slot does not necessarily mean that the slot has no owner. */ function _ownershipIsInitialized(uint256 index) internal view virtual returns (bool) { return _packedOwnerships[index] != 0; } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256 packed) { if (_startTokenId() <= tokenId) { packed = _packedOwnerships[tokenId]; // If the data at the starting slot does not exist, start the scan. if (packed == 0) { if (tokenId >= _currentIndex) _revert(OwnerQueryForNonexistentToken.selector); // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `tokenId` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. for (;;) { unchecked { packed = _packedOwnerships[--tokenId]; } if (packed == 0) continue; if (packed & _BITMASK_BURNED == 0) return packed; // Otherwise, the token is burned, and we must revert. // This handles the case of batch burned tokens, where only the burned bit // of the starting slot is set, and remaining slots are left uninitialized. _revert(OwnerQueryForNonexistentToken.selector); } } // Otherwise, the data exists and we can skip the scan. // This is possible because we have already achieved the target condition. // This saves 2143 gas on transfers of initialized tokens. // If the token is not burned, return `packed`. Otherwise, revert. if (packed & _BITMASK_BURNED == 0) return packed; } _revert(OwnerQueryForNonexistentToken.selector); } /** * @dev 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); } /** * @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 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)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. See {ERC721A-_approve}. * * Requirements: * * - The caller must own the token or be an approved operator. */ function approve(address to, uint256 tokenId) public payable virtual override { _approve(to, tokenId, true); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) _revert(ApprovalQueryForNonexistentToken.selector); return _tokenApprovals[tokenId].value; } /** * @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) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @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. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool result) { if (_startTokenId() <= tokenId) { if (tokenId < _currentIndex) { uint256 packed; while ((packed = _packedOwnerships[tokenId]) == 0) --tokenId; result = packed & _BITMASK_BURNED == 0; } } } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from = address(uint160(uint256(uint160(from)) & _BITMASK_ADDRESS)); if (address(uint160(prevOwnershipPacked)) != from) _revert(TransferFromIncorrectOwner.selector); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) _revert(TransferCallerNotOwnerNorApproved.selector); _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; } } } } // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; assembly { // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. from, // `from`. toMasked, // `to`. tokenId // `tokenId`. ) } if (toMasked == 0) _revert(TransferToZeroAddress.selector); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @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 memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { _revert(TransferToNonERC721ReceiverImplementer.selector); } } /** * @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 Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns 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.selector); } assembly { revert(add(32, reason), mload(reason)) } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @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 virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) _revert(MintZeroQuantity.selector); _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: // - `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) ); // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; if (toMasked == 0) _revert(MintToZeroAddress.selector); uint256 end = startTokenId + quantity; uint256 tokenId = startTokenId; do { assembly { // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. tokenId // `tokenId`. ) } // The `!=` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. } 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 virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) _revert(MintToZeroAddress.selector); if (quantity == 0) _revert(MintZeroQuantity.selector); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) _revert(MintERC2309QuantityExceedsLimit.selector); _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 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 virtual { _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.selector); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) _revert(bytes4(0)); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Equivalent to `_approve(to, tokenId, false)`. */ function _approve(address to, uint256 tokenId) internal virtual { _approve(to, tokenId, false); } /** * @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: * * - `tokenId` must exist. * * Emits an {Approval} event. */ function _approve( address to, uint256 tokenId, bool approvalCheck ) internal virtual { address owner = ownerOf(tokenId); if (approvalCheck && _msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { _revert(ApprovalCallerNotOwnerNorApproved.selector); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @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) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) _revert(TransferCallerNotOwnerNorApproved.selector); } _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++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) _revert(OwnershipNotInitializedForExtraData.selector); 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 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 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; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @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 virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } /** * @dev For more efficient reverts. */ function _revert(bytes4 errorSelector) internal pure { assembly { mstore(0x00, errorSelector) revert(0x00, 0x04) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.20; 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. * * The initial owner is set to the address provided by the deployer. 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; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor() { _setOwner(_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 { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling 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 { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _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); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.2) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.20; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates merkle trees that are safe * against this attack out of the box. */ library MerkleProof { /** *@dev The multiproof provided is not valid. */ error MerkleProofInvalidMultiproof(); /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify(bytes32[] memory proof, bytes32 root, bytes32 leaf) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} */ function verifyCalldata(bytes32[] calldata proof, bytes32 root, bytes32 leaf) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 proofLen = proof.length; uint256 totalHashes = proofFlags.length; // Check proof validity. if (leavesLen + proofLen - 1 != totalHashes) { revert MerkleProofInvalidMultiproof(); } // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value from the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]) : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { if (proofPos != proofLen) { revert MerkleProofInvalidMultiproof(); } unchecked { return hashes[totalHashes - 1]; } } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 proofLen = proof.length; uint256 totalHashes = proofFlags.length; // Check proof validity. if (leavesLen + proofLen - 1 != totalHashes) { revert MerkleProofInvalidMultiproof(); } // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value from the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]) : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { if (proofPos != proofLen) { revert MerkleProofInvalidMultiproof(); } unchecked { return hashes[totalHashes - 1]; } } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.20; /** * @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.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * 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(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores 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 via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @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() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 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`, * 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, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` 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 payable; /** * @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 payable; /** * @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](https://eips.ethereum.org/EIPS/eip-2309) 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" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"adminMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_to","type":"address[]"},{"internalType":"uint256[]","name":"_quantity","type":"uint256[]"}],"name":"airdropMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"minter_address","type":"address"},{"internalType":"uint256","name":"_session_id","type":"uint256"}],"name":"allowedMintLimitCount","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cur_session_id","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cur_switch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"max_public_mint_no","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"max_whitelist_mint_no","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkle_root","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"public_sale_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"publictMint","outputs":[],"stateMutability":"payable","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":"payable","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":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"session_id","type":"uint256"}],"name":"session_baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"session_id","type":"uint256"}],"name":"session_supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"session_id","type":"uint256"}],"name":"session_whitelist_supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"_base_uri","type":"string"},{"internalType":"uint256","name":"_session_id","type":"uint256"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cur_session_id","type":"uint256"}],"name":"setCurSession","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cur_switch","type":"uint256"}],"name":"setCurSwitch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkle_root","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_max_public_mint_no","type":"uint256"}],"name":"setPublicMintNo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_public_sale_price","type":"uint256"}],"name":"setPublicSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_session_id","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setSession","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_session_id","type":"uint256"},{"internalType":"uint256","name":"_whiteList_max_amount","type":"uint256"}],"name":"setSession_whiteList_max_supply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_total_session","type":"uint256"}],"name":"setTotalSession","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_max_whitelist_mint_no","type":"uint256"}],"name":"setWhiteListMintNo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_whitelist_price","type":"uint256"}],"name":"setWhiteListPrice","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":[],"name":"total_session","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelist_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6101006040526001600e556001608090815250600260a090815250600360c090815250600460e090815250666a94d74f43000060115566b1a2bc2ec500006012556005601355600a60145534801562000056575f80fd5b50604051620044333803806200443383398181016040528101906200007c919062000333565b81816200009e62000092620000e260201b60201c565b620000e960201b60201c565b8160039081620000af9190620005ed565b508060049081620000c19190620005ed565b50620000d2620001aa60201b60201c565b60018190555050505050620006d1565b5f33905090565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f90565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6200020f82620001c7565b810181811067ffffffffffffffff82111715620002315762000230620001d7565b5b80604052505050565b5f62000245620001ae565b905062000253828262000204565b919050565b5f67ffffffffffffffff821115620002755762000274620001d7565b5b6200028082620001c7565b9050602081019050919050565b5f5b83811015620002ac5780820151818401526020810190506200028f565b5f8484015250505050565b5f620002cd620002c78462000258565b6200023a565b905082815260208101848484011115620002ec57620002eb620001c3565b5b620002f98482856200028d565b509392505050565b5f82601f830112620003185762000317620001bf565b5b81516200032a848260208601620002b7565b91505092915050565b5f80604083850312156200034c576200034b620001b7565b5b5f83015167ffffffffffffffff8111156200036c576200036b620001bb565b5b6200037a8582860162000301565b925050602083015167ffffffffffffffff8111156200039e576200039d620001bb565b5b620003ac8582860162000301565b9150509250929050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806200040557607f821691505b6020821081036200041b576200041a620003c0565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026200047f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000442565b6200048b868362000442565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f620004d5620004cf620004c984620004a3565b620004ac565b620004a3565b9050919050565b5f819050919050565b620004f083620004b5565b62000508620004ff82620004dc565b8484546200044e565b825550505050565b5f90565b6200051e62000510565b6200052b818484620004e5565b505050565b5b818110156200055257620005465f8262000514565b60018101905062000531565b5050565b601f821115620005a1576200056b8162000421565b620005768462000433565b8101602085101562000586578190505b6200059e620005958562000433565b83018262000530565b50505b505050565b5f82821c905092915050565b5f620005c35f1984600802620005a6565b1980831691505092915050565b5f620005dd8383620005b2565b9150826002028217905092915050565b620005f882620003b6565b67ffffffffffffffff811115620006145762000613620001d7565b5b620006208254620003ed565b6200062d82828562000556565b5f60209050601f83116001811462000663575f84156200064e578287015190505b6200065a8582620005d0565b865550620006c9565b601f198416620006738662000421565b5f5b828110156200069c5784890151825560018201915060208501945060208101905062000675565b86831015620006bc5784890151620006b8601f891682620005b2565b8355505b6001600288020188555050505b505050505050565b60805160a05160c05160e051613d2e620007055f395f61150601525f61185d01525f610eaa01525f611afe0152613d2e5ff3fe608060405260043610610274575f3560e01c806379b985aa1161014e578063c46bb4c6116100c0578063e985e9c511610079578063e985e9c514610905578063ea37cbec14610941578063ebfa3f4c14610969578063ec454af714610993578063f2fde38b146109bb578063fd5e8efe146109e35761027b565b8063c46bb4c614610809578063c87b56dd14610831578063c9fc669a1461086d578063d2cab05614610897578063ddd8a74d146108b3578063e58306f9146108dd5761027b565b806395d89b411161011257806395d89b411461071b57806396821a7514610745578063a22cb46514610781578063a3aee1e3146107a9578063b88d4fde146107c5578063beafc89b146107e15761027b565b806379b985aa146106295780637cb647591461066557806389800e721461068d5780638cccfb1f146106b55780638da5cb5b146106f15761027b565b8063279a669e116101e75780636352211e116101ab5780636352211e1461052357806370a082311461055f578063715018a61461059b578063731ead5f146105b1578063791a2519146105d9578063792c1966146106015761027b565b8063279a669e146104515780632e1a7d4d1461047957806342842e0e146104a157806352f8ad55146104bd5780635fa538a2146104f95761027b565b806308ae6de91161023957806308ae6de914610371578063095ea7b31461039b5780630ac8f501146103b75780631053795b146103e157806318160ddd1461040b57806323b872dd146104355761027b565b80629f25ff1461027f57806301ffc9a7146102a75780630275d647146102e357806306fdde031461030b578063081812fc146103355761027b565b3661027b57005b5f80fd5b34801561028a575f80fd5b506102a560048036038101906102a0919061284b565b610a0d565b005b3480156102b2575f80fd5b506102cd60048036038101906102c891906128fa565b610a38565b6040516102da919061293f565b60405180910390f35b3480156102ee575f80fd5b5061030960048036038101906103049190612958565b610ac9565b005b348015610316575f80fd5b5061031f610adb565b60405161032c91906129fd565b60405180910390f35b348015610340575f80fd5b5061035b60048036038101906103569190612958565b610b6b565b6040516103689190612a5c565b60405180910390f35b34801561037c575f80fd5b50610385610bc4565b6040516103929190612a84565b60405180910390f35b6103b560048036038101906103b09190612ac7565b610bca565b005b3480156103c2575f80fd5b506103cb610bda565b6040516103d89190612a84565b60405180910390f35b3480156103ec575f80fd5b506103f5610be0565b6040516104029190612a84565b60405180910390f35b348015610416575f80fd5b5061041f610be6565b60405161042c9190612a84565b60405180910390f35b61044f600480360381019061044a9190612b05565b610bfc565b005b34801561045c575f80fd5b5061047760048036038101906104729190612c07565b610ea8565b005b348015610484575f80fd5b5061049f600480360381019061049a9190612958565b610f96565b005b6104bb60048036038101906104b69190612b05565b61104a565b005b3480156104c8575f80fd5b506104e360048036038101906104de9190612958565b611069565b6040516104f09190612a84565b60405180910390f35b348015610504575f80fd5b5061050d611083565b60405161051a9190612a84565b60405180910390f35b34801561052e575f80fd5b5061054960048036038101906105449190612958565b611089565b6040516105569190612a5c565b60405180910390f35b34801561056a575f80fd5b5061058560048036038101906105809190612c85565b61109a565b6040516105929190612a84565b60405180910390f35b3480156105a6575f80fd5b506105af61112e565b005b3480156105bc575f80fd5b506105d760048036038101906105d29190612958565b611141565b005b3480156105e4575f80fd5b506105ff60048036038101906105fa9190612958565b611153565b005b34801561060c575f80fd5b5061062760048036038101906106229190612cb0565b611165565b005b348015610634575f80fd5b5061064f600480360381019061064a9190612ac7565b6111be565b60405161065c9190612a84565b60405180910390f35b348015610670575f80fd5b5061068b60048036038101906106869190612d21565b611221565b005b348015610698575f80fd5b506106b360048036038101906106ae9190612cb0565b611233565b005b3480156106c0575f80fd5b506106db60048036038101906106d69190612958565b61128c565b6040516106e89190612a84565b60405180910390f35b3480156106fc575f80fd5b506107056112a6565b6040516107129190612a5c565b60405180910390f35b348015610726575f80fd5b5061072f6112cd565b60405161073c91906129fd565b60405180910390f35b348015610750575f80fd5b5061076b60048036038101906107669190612958565b61135d565b60405161077891906129fd565b60405180910390f35b34801561078c575f80fd5b506107a760048036038101906107a29190612d76565b6113fe565b005b6107c360048036038101906107be9190612958565b611504565b005b6107df60048036038101906107da9190612e52565b611664565b005b3480156107ec575f80fd5b5061080760048036038101906108029190612958565b6116b5565b005b348015610814575f80fd5b5061082f600480360381019061082a9190612958565b6116c7565b005b34801561083c575f80fd5b5061085760048036038101906108529190612958565b6116d9565b60405161086491906129fd565b60405180910390f35b348015610878575f80fd5b50610881611855565b60405161088e9190612a84565b60405180910390f35b6108b160048036038101906108ac9190612f27565b61185b565b005b3480156108be575f80fd5b506108c7611af6565b6040516108d49190612a84565b60405180910390f35b3480156108e8575f80fd5b5061090360048036038101906108fe9190612ac7565b611afc565b005b348015610910575f80fd5b5061092b60048036038101906109269190612f84565b611b76565b604051610938919061293f565b60405180910390f35b34801561094c575f80fd5b5061096760048036038101906109629190612958565b611c04565b005b348015610974575f80fd5b5061097d611c16565b60405161098a9190612a84565b60405180910390f35b34801561099e575f80fd5b506109b960048036038101906109b49190612958565b611c1c565b005b3480156109c6575f80fd5b506109e160048036038101906109dc9190612c85565b611c2e565b005b3480156109ee575f80fd5b506109f7611cb2565b604051610a049190612fd1565b60405180910390f35b610a15611cb8565b81600f5f8381526020019081526020015f209081610a3391906131e4565b505050565b5f6301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a9257506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ac25750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b610ad1611cb8565b8060138190555050565b606060038054610aea90613017565b80601f0160208091040260200160405190810160405280929190818152602001828054610b1690613017565b8015610b615780601f10610b3857610100808354040283529160200191610b61565b820191905f5260205f20905b815481529060010190602001808311610b4457829003601f168201915b5050505050905090565b5f610b7582611d3f565b610b8a57610b8963cf4700e460e01b611db2565b5b60075f8381526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600d5481565b610bd682826001611dba565b5050565b600e5481565b60125481565b5f610bef611ee4565b6002546001540303905090565b5f610c0682611ee8565b905073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161693508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c7b57610c7a63a114810060e01b611db2565b5b5f80610c8684611fcb565b91509150610c9c8187610c97611fee565b611ff5565b610cc757610cb186610cac611fee565b611b76565b610cc657610cc56359c896be60e01b611db2565b5b5b610cd48686866001612038565b8015610cde575f82555b60065f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600190039190508190555060065f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815460010191905081905550610da685610d8288888761203e565b7c020000000000000000000000000000000000000000000000000000000017612065565b60055f8681526020019081526020015f20819055505f7c0200000000000000000000000000000000000000000000000000000000841603610e23575f6001850190505f60055f8381526020019081526020015f205403610e21576001548114610e20578360055f8381526020019081526020015f20819055505b5b505b5f73ffffffffffffffffffffffffffffffffffffffff8673ffffffffffffffffffffffffffffffffffffffff161690508481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a45f8103610e9257610e9163ea553b3460e01b611db2565b5b610e9f878787600161208f565b50505050505050565b7f000000000000000000000000000000000000000000000000000000000000000060105414610f0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f03906132fd565b60405180910390fd5b610f14611cb8565b5f848490509050828290508114610f29575f80fd5b5f5b81811015610f8e57610f7d868683818110610f4957610f4861331b565b5b9050602002016020810190610f5e9190612c85565b858584818110610f7157610f7061331b565b5b90506020020135612095565b80610f8790613375565b9050610f2b565b505050505050565b610f9e611cb8565b5f3373ffffffffffffffffffffffffffffffffffffffff1682604051610fc3906133e9565b5f6040518083038185875af1925050503d805f8114610ffd576040519150601f19603f3d011682016040523d82523d5f602084013e611002565b606091505b5050905080611046576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103d90613447565b60405180910390fd5b5050565b61106483838360405180602001604052805f815250611664565b505050565b5f600c5f8381526020019081526020015f20549050919050565b60105481565b5f61109382611ee8565b9050919050565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036110df576110de638f4eb60460e01b611db2565b5b67ffffffffffffffff60065f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054169050919050565b611136611cb8565b61113f5f61210b565b565b611149611cb8565b80600d8190555050565b61115b611cb8565b8060128190555050565b61116d611cb8565b600182146111a35780600a5f6001856111869190613465565b81526020019081526020015f205461119e9190613498565b6111a5565b805b600c5f8481526020019081526020015f20819055505050565b5f600b5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8381526020019081526020015f20546014546112199190613465565b905092915050565b611229611cb8565b8060158190555050565b61123b611cb8565b600182146112715780600a5f6001856112549190613465565b81526020019081526020015f205461126c9190613498565b611273565b805b600a5f8481526020019081526020015f20819055505050565b5f600a5f8381526020019081526020015f20549050919050565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600480546112dc90613017565b80601f016020809104026020016040519081016040528092919081815260200182805461130890613017565b80156113535780601f1061132a57610100808354040283529160200191611353565b820191905f5260205f20905b81548152906001019060200180831161133657829003601f168201915b5050505050905090565b6060600f5f8381526020019081526020015f20805461137b90613017565b80601f01602080910402602001604051908101604052809291908181526020018280546113a790613017565b80156113f25780601f106113c9576101008083540402835291602001916113f2565b820191905f5260205f20905b8154815290600101906020018083116113d557829003601f168201915b50505050509050919050565b8060085f61140a611fee565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166114b3611fee565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516114f8919061293f565b60405180910390a35050565b7f000000000000000000000000000000000000000000000000000000000000000060105414611568576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155f90613515565b60405180910390fd5b6014548111156115ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a4906135a3565b60405180910390fd5b6115b933600e546111be565b8111156115fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f290613657565b60405180910390fd5b601254816116099190613675565b341461164a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164190613726565b60405180910390fd5b6116543382612095565b6116613382600e546121cc565b50565b61166f848484610bfc565b5f8373ffffffffffffffffffffffffffffffffffffffff163b146116af5761169984848484612233565b6116ae576116ad63d1a57ed660e01b611db2565b5b5b50505050565b6116bd611cb8565b8060118190555050565b6116cf611cb8565b80600e8190555050565b60606116e482611d3f565b61171a576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f600190505b600d5481101561176a57600a5f8281526020019081526020015f20546001846117499190613498565b1115611760578061175990613375565b9050611765565b61176a565b611720565b5f600f5f8381526020019081526020015f20805461178790613017565b80601f01602080910402602001604051908101604052809291908181526020018280546117b390613017565b80156117fe5780601f106117d5576101008083540402835291602001916117fe565b820191905f5260205f20905b8154815290600101906020018083116117e157829003601f168201915b505050505090505f8151036118215760405180602001604052805f81525061184c565b8061182b8561235d565b60405160200161183c9291906137c8565b6040516020818303038152906040525b92505050919050565b60135481565b7f0000000000000000000000000000000000000000000000000000000000000000601054146118bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b690613840565b60405180910390fd5b5f339050601354841115611908576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ff906138ce565b60405180910390fd5b600c5f600e5481526020019081526020015f2054611924610be6565b8561192f9190613498565b1115611970576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119679061395c565b60405180910390fd5b5f81600e546040516020016119869291906139df565b6040516020818303038152906040528051906020012090506119b4815f1c60096123ac90919063ffffffff16565b156119f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119eb90613aa0565b60405180910390fd5b611a0a815f1c60096123e290919063ffffffff16565b611a578484808060200260200160405190810160405280939291908181526020018383602002808284375f81840152601f19601f820116905080830192505050505050506015548361241a565b611a96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8d90613b08565b60405180910390fd5b60115485611aa49190613675565b3414611ae5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611adc90613726565b60405180910390fd5b611aef8286612095565b5050505050565b60115481565b7f000000000000000000000000000000000000000000000000000000000000000060105414611b60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5790613b70565b60405180910390fd5b611b68611cb8565b611b728282612095565b5050565b5f60085f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b611c0c611cb8565b8060108190555050565b60145481565b611c24611cb8565b8060148190555050565b611c36611cb8565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611ca6575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401611c9d9190612a5c565b60405180910390fd5b611caf8161210b565b50565b60155481565b611cc0612430565b73ffffffffffffffffffffffffffffffffffffffff16611cde6112a6565b73ffffffffffffffffffffffffffffffffffffffff1614611d3d57611d01612430565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401611d349190612a5c565b60405180910390fd5b565b5f81611d49611ee4565b11611dad57600154821015611dac575f5b5f60055f8581526020019081526020015f205491508103611d865782611d7f90613b8e565b9250611d5a565b5f7c01000000000000000000000000000000000000000000000000000000008216149150505b5b919050565b805f5260045ffd5b5f611dc483611089565b9050818015611e0657508073ffffffffffffffffffffffffffffffffffffffff16611ded611fee565b73ffffffffffffffffffffffffffffffffffffffff1614155b15611e3257611e1c81611e17611fee565b611b76565b611e3157611e3063cfb3b94260e01b611db2565b5b5b8360075f8581526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b5f90565b5f81611ef2611ee4565b11611fb55760055f8381526020019081526020015f205490505f8103611f8d576001548210611f2c57611f2b63df2d9b4260e01b611db2565b5b5b60055f836001900393508381526020019081526020015f205490505f810315611f88575f7c010000000000000000000000000000000000000000000000000000000082160315611fc657611f8763df2d9b4260e01b611db2565b5b611f2d565b5f7c010000000000000000000000000000000000000000000000000000000082160315611fc6575b611fc563df2d9b4260e01b611db2565b5b919050565b5f805f60075f8581526020019081526020015f2090508092508254915050915091565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b5f8060e883901c905060e8612054868684612437565b62ffffff16901b9150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600a5f600e5481526020019081526020015f2054816120b2610be6565b6120bc9190613498565b11156120fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f490613bff565b60405180910390fd5b612107828261243f565b5050565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b81600b5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8381526020019081526020015f205f8282546122279190613498565b92505081905550505050565b5f8373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612258611fee565b8786866040518563ffffffff1660e01b815260040161227a9493929190613c6f565b6020604051808303815f875af19250505080156122b557506040513d601f19601f820116820180604052508101906122b29190613ccd565b60015b61230a573d805f81146122e3576040519150601f19603f3d011682016040523d82523d5f602084013e6122e8565b606091505b505f8151036123025761230163d1a57ed660e01b611db2565b5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060a060405101806040526020810391505f825281835b60011561239757600184039350600a81066030018453600a8104905080612375575b50828103602084039350808452505050919050565b5f80600883901c90505f60ff84166001901b90505f81865f015f8581526020019081526020015f20541614159250505092915050565b5f600882901c90505f60ff83166001901b905080845f015f8481526020019081526020015f205f828254179250508190555050505050565b5f82612426858461245c565b1490509392505050565b5f33905090565b5f9392505050565b612458828260405180602001604052805f8152506124aa565b5050565b5f808290505f5b845181101561249f57612490828683815181106124835761248261331b565b5b602002602001015161252b565b91508080600101915050612463565b508091505092915050565b6124b48383612555565b5f8373ffffffffffffffffffffffffffffffffffffffff163b14612526575f60015490505f83820390505b6124f15f868380600101945086612233565b6125065761250563d1a57ed660e01b611db2565b5b8181106124df578160015414612523576125225f60e01b611db2565b5b50505b505050565b5f8183106125425761253d82846126a8565b61254d565b61254c83836126a8565b5b905092915050565b5f60015490505f82036125735761257263b562e8dd60e01b611db2565b5b61257f5f848385612038565b61259d8361258e5f865f61203e565b612597856126bc565b17612065565b60055f8381526020019081526020015f2081905550600160406001901b17820260065f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505f73ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161690505f810361264e5761264d632e07630060e01b611db2565b5b5f83830190505f8390505b80835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a481816001019150810361265957816001819055505050506126a35f84838561208f565b505050565b5f825f528160205260405f20905092915050565b5f6001821460e11b9050919050565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b61272a826126e4565b810181811067ffffffffffffffff82111715612749576127486126f4565b5b80604052505050565b5f61275b6126cb565b90506127678282612721565b919050565b5f67ffffffffffffffff821115612786576127856126f4565b5b61278f826126e4565b9050602081019050919050565b828183375f83830152505050565b5f6127bc6127b78461276c565b612752565b9050828152602081018484840111156127d8576127d76126e0565b5b6127e384828561279c565b509392505050565b5f82601f8301126127ff576127fe6126dc565b5b813561280f8482602086016127aa565b91505092915050565b5f819050919050565b61282a81612818565b8114612834575f80fd5b50565b5f8135905061284581612821565b92915050565b5f8060408385031215612861576128606126d4565b5b5f83013567ffffffffffffffff81111561287e5761287d6126d8565b5b61288a858286016127eb565b925050602061289b85828601612837565b9150509250929050565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6128d9816128a5565b81146128e3575f80fd5b50565b5f813590506128f4816128d0565b92915050565b5f6020828403121561290f5761290e6126d4565b5b5f61291c848285016128e6565b91505092915050565b5f8115159050919050565b61293981612925565b82525050565b5f6020820190506129525f830184612930565b92915050565b5f6020828403121561296d5761296c6126d4565b5b5f61297a84828501612837565b91505092915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b838110156129ba57808201518184015260208101905061299f565b5f8484015250505050565b5f6129cf82612983565b6129d9818561298d565b93506129e981856020860161299d565b6129f2816126e4565b840191505092915050565b5f6020820190508181035f830152612a1581846129c5565b905092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f612a4682612a1d565b9050919050565b612a5681612a3c565b82525050565b5f602082019050612a6f5f830184612a4d565b92915050565b612a7e81612818565b82525050565b5f602082019050612a975f830184612a75565b92915050565b612aa681612a3c565b8114612ab0575f80fd5b50565b5f81359050612ac181612a9d565b92915050565b5f8060408385031215612add57612adc6126d4565b5b5f612aea85828601612ab3565b9250506020612afb85828601612837565b9150509250929050565b5f805f60608486031215612b1c57612b1b6126d4565b5b5f612b2986828701612ab3565b9350506020612b3a86828701612ab3565b9250506040612b4b86828701612837565b9150509250925092565b5f80fd5b5f80fd5b5f8083601f840112612b7257612b716126dc565b5b8235905067ffffffffffffffff811115612b8f57612b8e612b55565b5b602083019150836020820283011115612bab57612baa612b59565b5b9250929050565b5f8083601f840112612bc757612bc66126dc565b5b8235905067ffffffffffffffff811115612be457612be3612b55565b5b602083019150836020820283011115612c0057612bff612b59565b5b9250929050565b5f805f8060408587031215612c1f57612c1e6126d4565b5b5f85013567ffffffffffffffff811115612c3c57612c3b6126d8565b5b612c4887828801612b5d565b9450945050602085013567ffffffffffffffff811115612c6b57612c6a6126d8565b5b612c7787828801612bb2565b925092505092959194509250565b5f60208284031215612c9a57612c996126d4565b5b5f612ca784828501612ab3565b91505092915050565b5f8060408385031215612cc657612cc56126d4565b5b5f612cd385828601612837565b9250506020612ce485828601612837565b9150509250929050565b5f819050919050565b612d0081612cee565b8114612d0a575f80fd5b50565b5f81359050612d1b81612cf7565b92915050565b5f60208284031215612d3657612d356126d4565b5b5f612d4384828501612d0d565b91505092915050565b612d5581612925565b8114612d5f575f80fd5b50565b5f81359050612d7081612d4c565b92915050565b5f8060408385031215612d8c57612d8b6126d4565b5b5f612d9985828601612ab3565b9250506020612daa85828601612d62565b9150509250929050565b5f67ffffffffffffffff821115612dce57612dcd6126f4565b5b612dd7826126e4565b9050602081019050919050565b5f612df6612df184612db4565b612752565b905082815260208101848484011115612e1257612e116126e0565b5b612e1d84828561279c565b509392505050565b5f82601f830112612e3957612e386126dc565b5b8135612e49848260208601612de4565b91505092915050565b5f805f8060808587031215612e6a57612e696126d4565b5b5f612e7787828801612ab3565b9450506020612e8887828801612ab3565b9350506040612e9987828801612837565b925050606085013567ffffffffffffffff811115612eba57612eb96126d8565b5b612ec687828801612e25565b91505092959194509250565b5f8083601f840112612ee757612ee66126dc565b5b8235905067ffffffffffffffff811115612f0457612f03612b55565b5b602083019150836020820283011115612f2057612f1f612b59565b5b9250929050565b5f805f60408486031215612f3e57612f3d6126d4565b5b5f612f4b86828701612837565b935050602084013567ffffffffffffffff811115612f6c57612f6b6126d8565b5b612f7886828701612ed2565b92509250509250925092565b5f8060408385031215612f9a57612f996126d4565b5b5f612fa785828601612ab3565b9250506020612fb885828601612ab3565b9150509250929050565b612fcb81612cee565b82525050565b5f602082019050612fe45f830184612fc2565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061302e57607f821691505b60208210810361304157613040612fea565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026130a37fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613068565b6130ad8683613068565b95508019841693508086168417925050509392505050565b5f819050919050565b5f6130e86130e36130de84612818565b6130c5565b612818565b9050919050565b5f819050919050565b613101836130ce565b61311561310d826130ef565b848454613074565b825550505050565b5f90565b61312961311d565b6131348184846130f8565b505050565b5b818110156131575761314c5f82613121565b60018101905061313a565b5050565b601f82111561319c5761316d81613047565b61317684613059565b81016020851015613185578190505b61319961319185613059565b830182613139565b50505b505050565b5f82821c905092915050565b5f6131bc5f19846008026131a1565b1980831691505092915050565b5f6131d483836131ad565b9150826002028217905092915050565b6131ed82612983565b67ffffffffffffffff811115613206576132056126f4565b5b6132108254613017565b61321b82828561315b565b5f60209050601f83116001811461324c575f841561323a578287015190505b61324485826131c9565b8655506132ab565b601f19841661325a86613047565b5f5b828110156132815784890151825560018201915060208501945060208101905061325c565b8683101561329e578489015161329a601f8916826131ad565b8355505b6001600288020188555050505b505050505050565b7f61697264726f702073776974636820636c6f73656400000000000000000000005f82015250565b5f6132e760158361298d565b91506132f2826132b3565b602082019050919050565b5f6020820190508181035f830152613314816132db565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61337f82612818565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036133b1576133b0613348565b5b600182019050919050565b5f81905092915050565b50565b5f6133d45f836133bc565b91506133df826133c6565b5f82019050919050565b5f6133f3826133c9565b9150819050919050565b7f5472616e73666572206661696c65642e000000000000000000000000000000005f82015250565b5f61343160108361298d565b915061343c826133fd565b602082019050919050565b5f6020820190508181035f83015261345e81613425565b9050919050565b5f61346f82612818565b915061347a83612818565b925082820390508181111561349257613491613348565b5b92915050565b5f6134a282612818565b91506134ad83612818565b92508282019050808211156134c5576134c4613348565b5b92915050565b7f7075626c69632073776974636820636c6f7365640000000000000000000000005f82015250565b5f6134ff60148361298d565b915061350a826134cb565b602082019050919050565b5f6020820190508181035f83015261352c816134f3565b9050919050565b7f446f6e27742065786365656420746865205075626c6963204d696e74204d61785f8201527f696d756d206c696d697421000000000000000000000000000000000000000000602082015250565b5f61358d602b8361298d565b915061359882613533565b604082019050919050565b5f6020820190508181035f8301526135ba81613581565b9050919050565b7f596f752068617665207265616368656420746865206d6178206d696e74206c695f8201527f6d697420666f72206561636820616464726573732c20506c65617365206d696e60208201527f74204c6573732100000000000000000000000000000000000000000000000000604082015250565b5f61364160478361298d565b915061364c826135c1565b606082019050919050565b5f6020820190508181035f83015261366e81613635565b9050919050565b5f61367f82612818565b915061368a83612818565b925082820261369881612818565b915082820484148315176136af576136ae613348565b5b5092915050565b7f506c6561736520656e7465722074686520656e6f75676820657468657265756d5f8201527f20746f206d696e742120286e6f20656e6f756768206574686572290000000000602082015250565b5f613710603b8361298d565b915061371b826136b6565b604082019050919050565b5f6020820190508181035f83015261373d81613704565b9050919050565b5f81905092915050565b5f61375882612983565b6137628185613744565b935061377281856020860161299d565b80840191505092915050565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000005f82015250565b5f6137b2600583613744565b91506137bd8261377e565b600582019050919050565b5f6137d3828561374e565b91506137df828461374e565b91506137ea826137a6565b91508190509392505050565b7f77686974656c6973742073776974636820636c6f7365640000000000000000005f82015250565b5f61382a60178361298d565b9150613835826137f6565b602082019050919050565b5f6020820190508181035f8301526138578161381e565b9050919050565b7f446f6e277420657863656564207468652057686974654c697374204d696e74205f8201527f4d6178696d756d206c696d697421000000000000000000000000000000000000602082015250565b5f6138b8602e8361298d565b91506138c38261385e565b604082019050919050565b5f6020820190508181035f8301526138e5816138ac565b9050919050565b7f446f6e2774206578636565642073657373696f6e2077686974656c69737420735f8201527f7570706c79210000000000000000000000000000000000000000000000000000602082015250565b5f61394660268361298d565b9150613951826138ec565b604082019050919050565b5f6020820190508181035f8301526139738161393a565b9050919050565b5f8160601b9050919050565b5f6139908261397a565b9050919050565b5f6139a182613986565b9050919050565b6139b96139b482612a3c565b613997565b82525050565b5f819050919050565b6139d96139d482612818565b6139bf565b82525050565b5f6139ea82856139a8565b6014820191506139fa82846139c8565b6020820191508190509392505050565b7f596f75206861766520616c72656164792072656465656d6564207468652077685f8201527f6974656c69737420726967687473206174207468697320736561736f6e21202860208201527f636f6e73756d6564290000000000000000000000000000000000000000000000604082015250565b5f613a8a60498361298d565b9150613a9582613a0a565b606082019050919050565b5f6020820190508181035f830152613ab781613a7e565b9050919050565b7f496e76616c69642070726f6f66000000000000000000000000000000000000005f82015250565b5f613af2600d8361298d565b9150613afd82613abe565b602082019050919050565b5f6020820190508181035f830152613b1f81613ae6565b9050919050565b7f61646d696e2073776974636820636c6f736564000000000000000000000000005f82015250565b5f613b5a60138361298d565b9150613b6582613b26565b602082019050919050565b5f6020820190508181035f830152613b8781613b4e565b9050919050565b5f613b9882612818565b91505f8203613baa57613ba9613348565b5b600182039050919050565b7f65786365656420746865206d6178696d756d20737570706c79210000000000005f82015250565b5f613be9601a8361298d565b9150613bf482613bb5565b602082019050919050565b5f6020820190508181035f830152613c1681613bdd565b9050919050565b5f81519050919050565b5f82825260208201905092915050565b5f613c4182613c1d565b613c4b8185613c27565b9350613c5b81856020860161299d565b613c64816126e4565b840191505092915050565b5f608082019050613c825f830187612a4d565b613c8f6020830186612a4d565b613c9c6040830185612a75565b8181036060830152613cae8184613c37565b905095945050505050565b5f81519050613cc7816128d0565b92915050565b5f60208284031215613ce257613ce16126d4565b5b5f613cef84828501613cb9565b9150509291505056fea2646970667358221220d5fffc1c0a6fb4a234146a04acff3d2db1252f18966e6ab8c056689f35f9b12964736f6c63430008170033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000005555f4b45590000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005555f4b4559000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405260043610610274575f3560e01c806379b985aa1161014e578063c46bb4c6116100c0578063e985e9c511610079578063e985e9c514610905578063ea37cbec14610941578063ebfa3f4c14610969578063ec454af714610993578063f2fde38b146109bb578063fd5e8efe146109e35761027b565b8063c46bb4c614610809578063c87b56dd14610831578063c9fc669a1461086d578063d2cab05614610897578063ddd8a74d146108b3578063e58306f9146108dd5761027b565b806395d89b411161011257806395d89b411461071b57806396821a7514610745578063a22cb46514610781578063a3aee1e3146107a9578063b88d4fde146107c5578063beafc89b146107e15761027b565b806379b985aa146106295780637cb647591461066557806389800e721461068d5780638cccfb1f146106b55780638da5cb5b146106f15761027b565b8063279a669e116101e75780636352211e116101ab5780636352211e1461052357806370a082311461055f578063715018a61461059b578063731ead5f146105b1578063791a2519146105d9578063792c1966146106015761027b565b8063279a669e146104515780632e1a7d4d1461047957806342842e0e146104a157806352f8ad55146104bd5780635fa538a2146104f95761027b565b806308ae6de91161023957806308ae6de914610371578063095ea7b31461039b5780630ac8f501146103b75780631053795b146103e157806318160ddd1461040b57806323b872dd146104355761027b565b80629f25ff1461027f57806301ffc9a7146102a75780630275d647146102e357806306fdde031461030b578063081812fc146103355761027b565b3661027b57005b5f80fd5b34801561028a575f80fd5b506102a560048036038101906102a0919061284b565b610a0d565b005b3480156102b2575f80fd5b506102cd60048036038101906102c891906128fa565b610a38565b6040516102da919061293f565b60405180910390f35b3480156102ee575f80fd5b5061030960048036038101906103049190612958565b610ac9565b005b348015610316575f80fd5b5061031f610adb565b60405161032c91906129fd565b60405180910390f35b348015610340575f80fd5b5061035b60048036038101906103569190612958565b610b6b565b6040516103689190612a5c565b60405180910390f35b34801561037c575f80fd5b50610385610bc4565b6040516103929190612a84565b60405180910390f35b6103b560048036038101906103b09190612ac7565b610bca565b005b3480156103c2575f80fd5b506103cb610bda565b6040516103d89190612a84565b60405180910390f35b3480156103ec575f80fd5b506103f5610be0565b6040516104029190612a84565b60405180910390f35b348015610416575f80fd5b5061041f610be6565b60405161042c9190612a84565b60405180910390f35b61044f600480360381019061044a9190612b05565b610bfc565b005b34801561045c575f80fd5b5061047760048036038101906104729190612c07565b610ea8565b005b348015610484575f80fd5b5061049f600480360381019061049a9190612958565b610f96565b005b6104bb60048036038101906104b69190612b05565b61104a565b005b3480156104c8575f80fd5b506104e360048036038101906104de9190612958565b611069565b6040516104f09190612a84565b60405180910390f35b348015610504575f80fd5b5061050d611083565b60405161051a9190612a84565b60405180910390f35b34801561052e575f80fd5b5061054960048036038101906105449190612958565b611089565b6040516105569190612a5c565b60405180910390f35b34801561056a575f80fd5b5061058560048036038101906105809190612c85565b61109a565b6040516105929190612a84565b60405180910390f35b3480156105a6575f80fd5b506105af61112e565b005b3480156105bc575f80fd5b506105d760048036038101906105d29190612958565b611141565b005b3480156105e4575f80fd5b506105ff60048036038101906105fa9190612958565b611153565b005b34801561060c575f80fd5b5061062760048036038101906106229190612cb0565b611165565b005b348015610634575f80fd5b5061064f600480360381019061064a9190612ac7565b6111be565b60405161065c9190612a84565b60405180910390f35b348015610670575f80fd5b5061068b60048036038101906106869190612d21565b611221565b005b348015610698575f80fd5b506106b360048036038101906106ae9190612cb0565b611233565b005b3480156106c0575f80fd5b506106db60048036038101906106d69190612958565b61128c565b6040516106e89190612a84565b60405180910390f35b3480156106fc575f80fd5b506107056112a6565b6040516107129190612a5c565b60405180910390f35b348015610726575f80fd5b5061072f6112cd565b60405161073c91906129fd565b60405180910390f35b348015610750575f80fd5b5061076b60048036038101906107669190612958565b61135d565b60405161077891906129fd565b60405180910390f35b34801561078c575f80fd5b506107a760048036038101906107a29190612d76565b6113fe565b005b6107c360048036038101906107be9190612958565b611504565b005b6107df60048036038101906107da9190612e52565b611664565b005b3480156107ec575f80fd5b5061080760048036038101906108029190612958565b6116b5565b005b348015610814575f80fd5b5061082f600480360381019061082a9190612958565b6116c7565b005b34801561083c575f80fd5b5061085760048036038101906108529190612958565b6116d9565b60405161086491906129fd565b60405180910390f35b348015610878575f80fd5b50610881611855565b60405161088e9190612a84565b60405180910390f35b6108b160048036038101906108ac9190612f27565b61185b565b005b3480156108be575f80fd5b506108c7611af6565b6040516108d49190612a84565b60405180910390f35b3480156108e8575f80fd5b5061090360048036038101906108fe9190612ac7565b611afc565b005b348015610910575f80fd5b5061092b60048036038101906109269190612f84565b611b76565b604051610938919061293f565b60405180910390f35b34801561094c575f80fd5b5061096760048036038101906109629190612958565b611c04565b005b348015610974575f80fd5b5061097d611c16565b60405161098a9190612a84565b60405180910390f35b34801561099e575f80fd5b506109b960048036038101906109b49190612958565b611c1c565b005b3480156109c6575f80fd5b506109e160048036038101906109dc9190612c85565b611c2e565b005b3480156109ee575f80fd5b506109f7611cb2565b604051610a049190612fd1565b60405180910390f35b610a15611cb8565b81600f5f8381526020019081526020015f209081610a3391906131e4565b505050565b5f6301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a9257506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ac25750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b610ad1611cb8565b8060138190555050565b606060038054610aea90613017565b80601f0160208091040260200160405190810160405280929190818152602001828054610b1690613017565b8015610b615780601f10610b3857610100808354040283529160200191610b61565b820191905f5260205f20905b815481529060010190602001808311610b4457829003601f168201915b5050505050905090565b5f610b7582611d3f565b610b8a57610b8963cf4700e460e01b611db2565b5b60075f8381526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600d5481565b610bd682826001611dba565b5050565b600e5481565b60125481565b5f610bef611ee4565b6002546001540303905090565b5f610c0682611ee8565b905073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161693508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c7b57610c7a63a114810060e01b611db2565b5b5f80610c8684611fcb565b91509150610c9c8187610c97611fee565b611ff5565b610cc757610cb186610cac611fee565b611b76565b610cc657610cc56359c896be60e01b611db2565b5b5b610cd48686866001612038565b8015610cde575f82555b60065f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600190039190508190555060065f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815460010191905081905550610da685610d8288888761203e565b7c020000000000000000000000000000000000000000000000000000000017612065565b60055f8681526020019081526020015f20819055505f7c0200000000000000000000000000000000000000000000000000000000841603610e23575f6001850190505f60055f8381526020019081526020015f205403610e21576001548114610e20578360055f8381526020019081526020015f20819055505b5b505b5f73ffffffffffffffffffffffffffffffffffffffff8673ffffffffffffffffffffffffffffffffffffffff161690508481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a45f8103610e9257610e9163ea553b3460e01b611db2565b5b610e9f878787600161208f565b50505050505050565b7f000000000000000000000000000000000000000000000000000000000000000260105414610f0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f03906132fd565b60405180910390fd5b610f14611cb8565b5f848490509050828290508114610f29575f80fd5b5f5b81811015610f8e57610f7d868683818110610f4957610f4861331b565b5b9050602002016020810190610f5e9190612c85565b858584818110610f7157610f7061331b565b5b90506020020135612095565b80610f8790613375565b9050610f2b565b505050505050565b610f9e611cb8565b5f3373ffffffffffffffffffffffffffffffffffffffff1682604051610fc3906133e9565b5f6040518083038185875af1925050503d805f8114610ffd576040519150601f19603f3d011682016040523d82523d5f602084013e611002565b606091505b5050905080611046576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103d90613447565b60405180910390fd5b5050565b61106483838360405180602001604052805f815250611664565b505050565b5f600c5f8381526020019081526020015f20549050919050565b60105481565b5f61109382611ee8565b9050919050565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036110df576110de638f4eb60460e01b611db2565b5b67ffffffffffffffff60065f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054169050919050565b611136611cb8565b61113f5f61210b565b565b611149611cb8565b80600d8190555050565b61115b611cb8565b8060128190555050565b61116d611cb8565b600182146111a35780600a5f6001856111869190613465565b81526020019081526020015f205461119e9190613498565b6111a5565b805b600c5f8481526020019081526020015f20819055505050565b5f600b5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8381526020019081526020015f20546014546112199190613465565b905092915050565b611229611cb8565b8060158190555050565b61123b611cb8565b600182146112715780600a5f6001856112549190613465565b81526020019081526020015f205461126c9190613498565b611273565b805b600a5f8481526020019081526020015f20819055505050565b5f600a5f8381526020019081526020015f20549050919050565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600480546112dc90613017565b80601f016020809104026020016040519081016040528092919081815260200182805461130890613017565b80156113535780601f1061132a57610100808354040283529160200191611353565b820191905f5260205f20905b81548152906001019060200180831161133657829003601f168201915b5050505050905090565b6060600f5f8381526020019081526020015f20805461137b90613017565b80601f01602080910402602001604051908101604052809291908181526020018280546113a790613017565b80156113f25780601f106113c9576101008083540402835291602001916113f2565b820191905f5260205f20905b8154815290600101906020018083116113d557829003601f168201915b50505050509050919050565b8060085f61140a611fee565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166114b3611fee565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516114f8919061293f565b60405180910390a35050565b7f000000000000000000000000000000000000000000000000000000000000000460105414611568576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155f90613515565b60405180910390fd5b6014548111156115ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a4906135a3565b60405180910390fd5b6115b933600e546111be565b8111156115fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f290613657565b60405180910390fd5b601254816116099190613675565b341461164a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164190613726565b60405180910390fd5b6116543382612095565b6116613382600e546121cc565b50565b61166f848484610bfc565b5f8373ffffffffffffffffffffffffffffffffffffffff163b146116af5761169984848484612233565b6116ae576116ad63d1a57ed660e01b611db2565b5b5b50505050565b6116bd611cb8565b8060118190555050565b6116cf611cb8565b80600e8190555050565b60606116e482611d3f565b61171a576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f600190505b600d5481101561176a57600a5f8281526020019081526020015f20546001846117499190613498565b1115611760578061175990613375565b9050611765565b61176a565b611720565b5f600f5f8381526020019081526020015f20805461178790613017565b80601f01602080910402602001604051908101604052809291908181526020018280546117b390613017565b80156117fe5780601f106117d5576101008083540402835291602001916117fe565b820191905f5260205f20905b8154815290600101906020018083116117e157829003601f168201915b505050505090505f8151036118215760405180602001604052805f81525061184c565b8061182b8561235d565b60405160200161183c9291906137c8565b6040516020818303038152906040525b92505050919050565b60135481565b7f0000000000000000000000000000000000000000000000000000000000000003601054146118bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b690613840565b60405180910390fd5b5f339050601354841115611908576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ff906138ce565b60405180910390fd5b600c5f600e5481526020019081526020015f2054611924610be6565b8561192f9190613498565b1115611970576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119679061395c565b60405180910390fd5b5f81600e546040516020016119869291906139df565b6040516020818303038152906040528051906020012090506119b4815f1c60096123ac90919063ffffffff16565b156119f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119eb90613aa0565b60405180910390fd5b611a0a815f1c60096123e290919063ffffffff16565b611a578484808060200260200160405190810160405280939291908181526020018383602002808284375f81840152601f19601f820116905080830192505050505050506015548361241a565b611a96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8d90613b08565b60405180910390fd5b60115485611aa49190613675565b3414611ae5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611adc90613726565b60405180910390fd5b611aef8286612095565b5050505050565b60115481565b7f000000000000000000000000000000000000000000000000000000000000000160105414611b60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5790613b70565b60405180910390fd5b611b68611cb8565b611b728282612095565b5050565b5f60085f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b611c0c611cb8565b8060108190555050565b60145481565b611c24611cb8565b8060148190555050565b611c36611cb8565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611ca6575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401611c9d9190612a5c565b60405180910390fd5b611caf8161210b565b50565b60155481565b611cc0612430565b73ffffffffffffffffffffffffffffffffffffffff16611cde6112a6565b73ffffffffffffffffffffffffffffffffffffffff1614611d3d57611d01612430565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401611d349190612a5c565b60405180910390fd5b565b5f81611d49611ee4565b11611dad57600154821015611dac575f5b5f60055f8581526020019081526020015f205491508103611d865782611d7f90613b8e565b9250611d5a565b5f7c01000000000000000000000000000000000000000000000000000000008216149150505b5b919050565b805f5260045ffd5b5f611dc483611089565b9050818015611e0657508073ffffffffffffffffffffffffffffffffffffffff16611ded611fee565b73ffffffffffffffffffffffffffffffffffffffff1614155b15611e3257611e1c81611e17611fee565b611b76565b611e3157611e3063cfb3b94260e01b611db2565b5b5b8360075f8581526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b5f90565b5f81611ef2611ee4565b11611fb55760055f8381526020019081526020015f205490505f8103611f8d576001548210611f2c57611f2b63df2d9b4260e01b611db2565b5b5b60055f836001900393508381526020019081526020015f205490505f810315611f88575f7c010000000000000000000000000000000000000000000000000000000082160315611fc657611f8763df2d9b4260e01b611db2565b5b611f2d565b5f7c010000000000000000000000000000000000000000000000000000000082160315611fc6575b611fc563df2d9b4260e01b611db2565b5b919050565b5f805f60075f8581526020019081526020015f2090508092508254915050915091565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b5f8060e883901c905060e8612054868684612437565b62ffffff16901b9150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600a5f600e5481526020019081526020015f2054816120b2610be6565b6120bc9190613498565b11156120fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f490613bff565b60405180910390fd5b612107828261243f565b5050565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b81600b5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8381526020019081526020015f205f8282546122279190613498565b92505081905550505050565b5f8373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612258611fee565b8786866040518563ffffffff1660e01b815260040161227a9493929190613c6f565b6020604051808303815f875af19250505080156122b557506040513d601f19601f820116820180604052508101906122b29190613ccd565b60015b61230a573d805f81146122e3576040519150601f19603f3d011682016040523d82523d5f602084013e6122e8565b606091505b505f8151036123025761230163d1a57ed660e01b611db2565b5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060a060405101806040526020810391505f825281835b60011561239757600184039350600a81066030018453600a8104905080612375575b50828103602084039350808452505050919050565b5f80600883901c90505f60ff84166001901b90505f81865f015f8581526020019081526020015f20541614159250505092915050565b5f600882901c90505f60ff83166001901b905080845f015f8481526020019081526020015f205f828254179250508190555050505050565b5f82612426858461245c565b1490509392505050565b5f33905090565b5f9392505050565b612458828260405180602001604052805f8152506124aa565b5050565b5f808290505f5b845181101561249f57612490828683815181106124835761248261331b565b5b602002602001015161252b565b91508080600101915050612463565b508091505092915050565b6124b48383612555565b5f8373ffffffffffffffffffffffffffffffffffffffff163b14612526575f60015490505f83820390505b6124f15f868380600101945086612233565b6125065761250563d1a57ed660e01b611db2565b5b8181106124df578160015414612523576125225f60e01b611db2565b5b50505b505050565b5f8183106125425761253d82846126a8565b61254d565b61254c83836126a8565b5b905092915050565b5f60015490505f82036125735761257263b562e8dd60e01b611db2565b5b61257f5f848385612038565b61259d8361258e5f865f61203e565b612597856126bc565b17612065565b60055f8381526020019081526020015f2081905550600160406001901b17820260065f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505f73ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161690505f810361264e5761264d632e07630060e01b611db2565b5b5f83830190505f8390505b80835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a481816001019150810361265957816001819055505050506126a35f84838561208f565b505050565b5f825f528160205260405f20905092915050565b5f6001821460e11b9050919050565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b61272a826126e4565b810181811067ffffffffffffffff82111715612749576127486126f4565b5b80604052505050565b5f61275b6126cb565b90506127678282612721565b919050565b5f67ffffffffffffffff821115612786576127856126f4565b5b61278f826126e4565b9050602081019050919050565b828183375f83830152505050565b5f6127bc6127b78461276c565b612752565b9050828152602081018484840111156127d8576127d76126e0565b5b6127e384828561279c565b509392505050565b5f82601f8301126127ff576127fe6126dc565b5b813561280f8482602086016127aa565b91505092915050565b5f819050919050565b61282a81612818565b8114612834575f80fd5b50565b5f8135905061284581612821565b92915050565b5f8060408385031215612861576128606126d4565b5b5f83013567ffffffffffffffff81111561287e5761287d6126d8565b5b61288a858286016127eb565b925050602061289b85828601612837565b9150509250929050565b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6128d9816128a5565b81146128e3575f80fd5b50565b5f813590506128f4816128d0565b92915050565b5f6020828403121561290f5761290e6126d4565b5b5f61291c848285016128e6565b91505092915050565b5f8115159050919050565b61293981612925565b82525050565b5f6020820190506129525f830184612930565b92915050565b5f6020828403121561296d5761296c6126d4565b5b5f61297a84828501612837565b91505092915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b838110156129ba57808201518184015260208101905061299f565b5f8484015250505050565b5f6129cf82612983565b6129d9818561298d565b93506129e981856020860161299d565b6129f2816126e4565b840191505092915050565b5f6020820190508181035f830152612a1581846129c5565b905092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f612a4682612a1d565b9050919050565b612a5681612a3c565b82525050565b5f602082019050612a6f5f830184612a4d565b92915050565b612a7e81612818565b82525050565b5f602082019050612a975f830184612a75565b92915050565b612aa681612a3c565b8114612ab0575f80fd5b50565b5f81359050612ac181612a9d565b92915050565b5f8060408385031215612add57612adc6126d4565b5b5f612aea85828601612ab3565b9250506020612afb85828601612837565b9150509250929050565b5f805f60608486031215612b1c57612b1b6126d4565b5b5f612b2986828701612ab3565b9350506020612b3a86828701612ab3565b9250506040612b4b86828701612837565b9150509250925092565b5f80fd5b5f80fd5b5f8083601f840112612b7257612b716126dc565b5b8235905067ffffffffffffffff811115612b8f57612b8e612b55565b5b602083019150836020820283011115612bab57612baa612b59565b5b9250929050565b5f8083601f840112612bc757612bc66126dc565b5b8235905067ffffffffffffffff811115612be457612be3612b55565b5b602083019150836020820283011115612c0057612bff612b59565b5b9250929050565b5f805f8060408587031215612c1f57612c1e6126d4565b5b5f85013567ffffffffffffffff811115612c3c57612c3b6126d8565b5b612c4887828801612b5d565b9450945050602085013567ffffffffffffffff811115612c6b57612c6a6126d8565b5b612c7787828801612bb2565b925092505092959194509250565b5f60208284031215612c9a57612c996126d4565b5b5f612ca784828501612ab3565b91505092915050565b5f8060408385031215612cc657612cc56126d4565b5b5f612cd385828601612837565b9250506020612ce485828601612837565b9150509250929050565b5f819050919050565b612d0081612cee565b8114612d0a575f80fd5b50565b5f81359050612d1b81612cf7565b92915050565b5f60208284031215612d3657612d356126d4565b5b5f612d4384828501612d0d565b91505092915050565b612d5581612925565b8114612d5f575f80fd5b50565b5f81359050612d7081612d4c565b92915050565b5f8060408385031215612d8c57612d8b6126d4565b5b5f612d9985828601612ab3565b9250506020612daa85828601612d62565b9150509250929050565b5f67ffffffffffffffff821115612dce57612dcd6126f4565b5b612dd7826126e4565b9050602081019050919050565b5f612df6612df184612db4565b612752565b905082815260208101848484011115612e1257612e116126e0565b5b612e1d84828561279c565b509392505050565b5f82601f830112612e3957612e386126dc565b5b8135612e49848260208601612de4565b91505092915050565b5f805f8060808587031215612e6a57612e696126d4565b5b5f612e7787828801612ab3565b9450506020612e8887828801612ab3565b9350506040612e9987828801612837565b925050606085013567ffffffffffffffff811115612eba57612eb96126d8565b5b612ec687828801612e25565b91505092959194509250565b5f8083601f840112612ee757612ee66126dc565b5b8235905067ffffffffffffffff811115612f0457612f03612b55565b5b602083019150836020820283011115612f2057612f1f612b59565b5b9250929050565b5f805f60408486031215612f3e57612f3d6126d4565b5b5f612f4b86828701612837565b935050602084013567ffffffffffffffff811115612f6c57612f6b6126d8565b5b612f7886828701612ed2565b92509250509250925092565b5f8060408385031215612f9a57612f996126d4565b5b5f612fa785828601612ab3565b9250506020612fb885828601612ab3565b9150509250929050565b612fcb81612cee565b82525050565b5f602082019050612fe45f830184612fc2565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061302e57607f821691505b60208210810361304157613040612fea565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026130a37fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613068565b6130ad8683613068565b95508019841693508086168417925050509392505050565b5f819050919050565b5f6130e86130e36130de84612818565b6130c5565b612818565b9050919050565b5f819050919050565b613101836130ce565b61311561310d826130ef565b848454613074565b825550505050565b5f90565b61312961311d565b6131348184846130f8565b505050565b5b818110156131575761314c5f82613121565b60018101905061313a565b5050565b601f82111561319c5761316d81613047565b61317684613059565b81016020851015613185578190505b61319961319185613059565b830182613139565b50505b505050565b5f82821c905092915050565b5f6131bc5f19846008026131a1565b1980831691505092915050565b5f6131d483836131ad565b9150826002028217905092915050565b6131ed82612983565b67ffffffffffffffff811115613206576132056126f4565b5b6132108254613017565b61321b82828561315b565b5f60209050601f83116001811461324c575f841561323a578287015190505b61324485826131c9565b8655506132ab565b601f19841661325a86613047565b5f5b828110156132815784890151825560018201915060208501945060208101905061325c565b8683101561329e578489015161329a601f8916826131ad565b8355505b6001600288020188555050505b505050505050565b7f61697264726f702073776974636820636c6f73656400000000000000000000005f82015250565b5f6132e760158361298d565b91506132f2826132b3565b602082019050919050565b5f6020820190508181035f830152613314816132db565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61337f82612818565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036133b1576133b0613348565b5b600182019050919050565b5f81905092915050565b50565b5f6133d45f836133bc565b91506133df826133c6565b5f82019050919050565b5f6133f3826133c9565b9150819050919050565b7f5472616e73666572206661696c65642e000000000000000000000000000000005f82015250565b5f61343160108361298d565b915061343c826133fd565b602082019050919050565b5f6020820190508181035f83015261345e81613425565b9050919050565b5f61346f82612818565b915061347a83612818565b925082820390508181111561349257613491613348565b5b92915050565b5f6134a282612818565b91506134ad83612818565b92508282019050808211156134c5576134c4613348565b5b92915050565b7f7075626c69632073776974636820636c6f7365640000000000000000000000005f82015250565b5f6134ff60148361298d565b915061350a826134cb565b602082019050919050565b5f6020820190508181035f83015261352c816134f3565b9050919050565b7f446f6e27742065786365656420746865205075626c6963204d696e74204d61785f8201527f696d756d206c696d697421000000000000000000000000000000000000000000602082015250565b5f61358d602b8361298d565b915061359882613533565b604082019050919050565b5f6020820190508181035f8301526135ba81613581565b9050919050565b7f596f752068617665207265616368656420746865206d6178206d696e74206c695f8201527f6d697420666f72206561636820616464726573732c20506c65617365206d696e60208201527f74204c6573732100000000000000000000000000000000000000000000000000604082015250565b5f61364160478361298d565b915061364c826135c1565b606082019050919050565b5f6020820190508181035f83015261366e81613635565b9050919050565b5f61367f82612818565b915061368a83612818565b925082820261369881612818565b915082820484148315176136af576136ae613348565b5b5092915050565b7f506c6561736520656e7465722074686520656e6f75676820657468657265756d5f8201527f20746f206d696e742120286e6f20656e6f756768206574686572290000000000602082015250565b5f613710603b8361298d565b915061371b826136b6565b604082019050919050565b5f6020820190508181035f83015261373d81613704565b9050919050565b5f81905092915050565b5f61375882612983565b6137628185613744565b935061377281856020860161299d565b80840191505092915050565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000005f82015250565b5f6137b2600583613744565b91506137bd8261377e565b600582019050919050565b5f6137d3828561374e565b91506137df828461374e565b91506137ea826137a6565b91508190509392505050565b7f77686974656c6973742073776974636820636c6f7365640000000000000000005f82015250565b5f61382a60178361298d565b9150613835826137f6565b602082019050919050565b5f6020820190508181035f8301526138578161381e565b9050919050565b7f446f6e277420657863656564207468652057686974654c697374204d696e74205f8201527f4d6178696d756d206c696d697421000000000000000000000000000000000000602082015250565b5f6138b8602e8361298d565b91506138c38261385e565b604082019050919050565b5f6020820190508181035f8301526138e5816138ac565b9050919050565b7f446f6e2774206578636565642073657373696f6e2077686974656c69737420735f8201527f7570706c79210000000000000000000000000000000000000000000000000000602082015250565b5f61394660268361298d565b9150613951826138ec565b604082019050919050565b5f6020820190508181035f8301526139738161393a565b9050919050565b5f8160601b9050919050565b5f6139908261397a565b9050919050565b5f6139a182613986565b9050919050565b6139b96139b482612a3c565b613997565b82525050565b5f819050919050565b6139d96139d482612818565b6139bf565b82525050565b5f6139ea82856139a8565b6014820191506139fa82846139c8565b6020820191508190509392505050565b7f596f75206861766520616c72656164792072656465656d6564207468652077685f8201527f6974656c69737420726967687473206174207468697320736561736f6e21202860208201527f636f6e73756d6564290000000000000000000000000000000000000000000000604082015250565b5f613a8a60498361298d565b9150613a9582613a0a565b606082019050919050565b5f6020820190508181035f830152613ab781613a7e565b9050919050565b7f496e76616c69642070726f6f66000000000000000000000000000000000000005f82015250565b5f613af2600d8361298d565b9150613afd82613abe565b602082019050919050565b5f6020820190508181035f830152613b1f81613ae6565b9050919050565b7f61646d696e2073776974636820636c6f736564000000000000000000000000005f82015250565b5f613b5a60138361298d565b9150613b6582613b26565b602082019050919050565b5f6020820190508181035f830152613b8781613b4e565b9050919050565b5f613b9882612818565b91505f8203613baa57613ba9613348565b5b600182039050919050565b7f65786365656420746865206d6178696d756d20737570706c79210000000000005f82015250565b5f613be9601a8361298d565b9150613bf482613bb5565b602082019050919050565b5f6020820190508181035f830152613c1681613bdd565b9050919050565b5f81519050919050565b5f82825260208201905092915050565b5f613c4182613c1d565b613c4b8185613c27565b9350613c5b81856020860161299d565b613c64816126e4565b840191505092915050565b5f608082019050613c825f830187612a4d565b613c8f6020830186612a4d565b613c9c6040830185612a75565b8181036060830152613cae8184613c37565b905095945050505050565b5f81519050613cc7816128d0565b92915050565b5f60208284031215613ce257613ce16126d4565b5b5f613cef84828501613cb9565b9150509291505056fea2646970667358221220d5fffc1c0a6fb4a234146a04acff3d2db1252f18966e6ab8c056689f35f9b12964736f6c63430008170033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000005555f4b45590000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005555f4b4559000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): U_KEY
Arg [1] : _symbol (string): U_KEY
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [3] : 555f4b4559000000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [5] : 555f4b4559000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $2,502.53 | 0.9 | $2,252.28 |
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.