Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 6,257 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 21055054 | 33 days ago | IN | 0 ETH | 0.00012479 | ||||
Set Approval For... | 21042550 | 35 days ago | IN | 0 ETH | 0.00026571 | ||||
Set Approval For... | 20707101 | 82 days ago | IN | 0 ETH | 0.00008471 | ||||
Set Approval For... | 20602830 | 97 days ago | IN | 0 ETH | 0.00002675 | ||||
Set Approval For... | 20582270 | 99 days ago | IN | 0 ETH | 0.00003588 | ||||
Set Approval For... | 20553014 | 104 days ago | IN | 0 ETH | 0.00002568 | ||||
Set Approval For... | 20303155 | 138 days ago | IN | 0 ETH | 0.00010627 | ||||
Set Approval For... | 20068665 | 171 days ago | IN | 0 ETH | 0.00027467 | ||||
Set Approval For... | 20045364 | 174 days ago | IN | 0 ETH | 0.00036235 | ||||
Set Approval For... | 20044685 | 174 days ago | IN | 0 ETH | 0.0001455 | ||||
Set Approval For... | 19901102 | 195 days ago | IN | 0 ETH | 0.00013471 | ||||
Set Approval For... | 19851754 | 201 days ago | IN | 0 ETH | 0.00008052 | ||||
Set Approval For... | 19845305 | 202 days ago | IN | 0 ETH | 0.00022522 | ||||
Set Approval For... | 19692595 | 224 days ago | IN | 0 ETH | 0.0001765 | ||||
Safe Transfer Fr... | 19664809 | 228 days ago | IN | 0 ETH | 0.0004107 | ||||
Set Approval For... | 19600742 | 237 days ago | IN | 0 ETH | 0.00043114 | ||||
Set Approval For... | 19546353 | 244 days ago | IN | 0 ETH | 0.00045359 | ||||
Set Approval For... | 19479759 | 254 days ago | IN | 0 ETH | 0.00081713 | ||||
Set Approval For... | 19226305 | 289 days ago | IN | 0 ETH | 0.0006348 | ||||
Set Approval For... | 18980431 | 324 days ago | IN | 0 ETH | 0.00214197 | ||||
Set Approval For... | 18965163 | 326 days ago | IN | 0 ETH | 0.00060617 | ||||
Set Approval For... | 18949276 | 328 days ago | IN | 0 ETH | 0.0011861 | ||||
Set Approval For... | 18802751 | 349 days ago | IN | 0 ETH | 0.00093827 | ||||
Set Approval For... | 18798630 | 349 days ago | IN | 0 ETH | 0.00135806 | ||||
Set Approval For... | 18768206 | 353 days ago | IN | 0 ETH | 0.0008016 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
16054693 | 734 days ago | 2.519 ETH |
Loading...
Loading
Contract Name:
Edomin
Compiler Version
v0.8.16+commit.07a7930e
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.7.0 <0.9.0; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "./DefaultOperatorFilterer.sol"; contract Edomin is DefaultOperatorFilterer, ERC721A, Ownable { string baseURI; string public baseExtension = ".json"; uint256 public cost = 0; uint256 public maxSupply = 3000; uint256 public maxMintAmountPerTransaction = 1; uint256 public whitelistMaxMintAmountPerAddress = 1; uint256 public publicSaleMaxMintAmountPerAddress = 1; bool public paused = true; bool public freeMint = true; bool public onlyWhitelisted = true; bool public mintCount = true; mapping(address => uint256) public freeMintedAmount; mapping(address => uint256) public whitelistMintedAmount; mapping(address => uint256) public publicSaleMintedAmount; address public constant WITHDRAW_ADDRESS = 0x14145DDf324BC975Ee621044D662739d9A6EDe96; modifier callerIsUser() { require(tx.origin == msg.sender, "The caller is another contract."); _; } constructor( ) ERC721A('Edomin', 'EDO') { setBaseURI('https://edo-1.com/data/edomin/json/'); _safeMint(0x72055004578e5084F6F6581e652182a94865Bc40, 1); _safeMint(0x1fa6096F902220528b42963a84D171e4de67aC85, 3); _safeMint(0x24F037ffbAf3D40540D19A32f8b4E6fD09b04Cd9, 3); _safeMint(0xe45e55B7Cd819f5AF6F98E6dfEb6c1b4b5624816, 3); _safeMint(0x7B05286C955a954647f7558C1C3ee35Ef0c6bB3A, 3); _safeMint(0x272209e695B92fe1803B0cAe0E4d5ECFcF16262E, 5); _safeMint(0xde1d3A35855DB09bd2eeEb0E61C6d76d15A1c1b8, 5); _safeMint(0x57ea25d951b2F6499708B3B75075e814F115BC99, 10); _safeMint(0x004b6653D16A6defc070dd6fE9438a07145611bf, 30); _safeMint(0x2E9BaDD597b87a6236DB494364F36ebb66d44Ef3, 30); _safeMint(0x4bE0D14b5B3776570170c835Dd78Ad4290eDF4f3, 30); _safeMint(0x4849A28A0aD851994a5De1E85792F4C36541CA09, 30); _safeMint(0x28Cab85F5DA9E500CE48A2e00AE71B1adeDAc677, 30); _safeMint(0xFF84bEeD418DCE792309CB3F7Efc1fF7Cdc0FD55, 30); _safeMint(0xfa4e9dc8D6077443D668CdFe7dC13E5040C2A9A6, 30); _safeMint(0xE3b439bbBD9006Ca68B177Fb09d875433f3Ed756, 30); _safeMint(0x14145DDf324BC975Ee621044D662739d9A6EDe96, 120); setMerkleRoot(0xccc6ff775fe8274c9351f6dc4089d90562593a06931339aa0fd2e3f5b4e51bd4); } // internal function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function transferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } //mint with merkle tree bytes32 public merkleRoot; function mint(uint256 _mintAmount , uint256 _maxMintAmount , bytes32[] calldata _merkleProof) public payable callerIsUser{ require(!paused, "the contract is paused"); require(0 < _mintAmount, "need to mint at least 1 NFT"); require(_mintAmount <= maxMintAmountPerTransaction, "max mint amount per session exceeded"); require(totalSupply() + _mintAmount <= maxSupply, "max NFT limit exceeded"); require(cost * _mintAmount <= msg.value, "insufficient funds"); if(freeMint == true) { bytes32 leaf = keccak256( abi.encodePacked(msg.sender, _maxMintAmount) ); require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), "user is not whitelisted"); if(onlyWhitelisted == true){ require(_mintAmount <= _maxMintAmount - freeMintedAmount[msg.sender] , "max NFT per address exceeded"); freeMintedAmount[msg.sender] += _mintAmount; } }else if(onlyWhitelisted == true) { bytes32 leaf = keccak256( abi.encodePacked(msg.sender, _maxMintAmount) ); require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), "user is not whitelisted"); if(mintCount == true){ require(_mintAmount <= _maxMintAmount - whitelistMintedAmount[msg.sender] , "max NFT per address exceeded"); whitelistMintedAmount[msg.sender] += _mintAmount; } }else{ bytes32 leaf = keccak256( abi.encodePacked(msg.sender, _maxMintAmount) ); require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), "user is not whitelisted"); if(mintCount == true){ require(_mintAmount <= publicSaleMaxMintAmountPerAddress - publicSaleMintedAmount[msg.sender] , "max NFT per address exceeded"); publicSaleMintedAmount[msg.sender] += _mintAmount; } } _safeMint(msg.sender, _mintAmount); } function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner { merkleRoot = _merkleRoot; } function airdropMint(address[] calldata _airdropAddresses , uint256[] memory _UserMintAmount) public onlyOwner{ uint256 supply = totalSupply(); uint256 _mintAmount = 0; for (uint256 i = 0; i < _UserMintAmount.length; i++) { _mintAmount += _UserMintAmount[i]; } require(_mintAmount > 0, "need to mint at least 1 NFT"); require(supply + _mintAmount <= maxSupply, "max NFT limit exceeded"); for (uint256 i = 0; i < _UserMintAmount.length; i++) { _safeMint(_airdropAddresses[i], _UserMintAmount[i] ); } } function tokenURI(uint256 tokenId) public view virtual override returns (string memory){ return string(abi.encodePacked(ERC721A.tokenURI(tokenId), baseExtension)); } //only owner function setCost(uint256 _newCost) public onlyOwner { cost = _newCost; } function setfreeMint(bool _state) public onlyOwner { freeMint = _state; } function setOnlyWhitelisted(bool _state) public onlyOwner { onlyWhitelisted = _state; } function setMaxMintAmountPerTransaction(uint256 _maxMintAmountPerTransaction) public onlyOwner { maxMintAmountPerTransaction = _maxMintAmountPerTransaction; } function setwhitelistMaxMintAmountPerAddress(uint256 _whitelistMaxMintAmountPerAddress) public onlyOwner() { whitelistMaxMintAmountPerAddress = _whitelistMaxMintAmountPerAddress; } function setPublicSaleMaxMintAmountPerAddress(uint256 _publicSaleMaxMintAmountPerAddress) public onlyOwner() { publicSaleMaxMintAmountPerAddress = _publicSaleMaxMintAmountPerAddress; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function setBaseExtension(string memory _newBaseExtension) public onlyOwner { baseExtension = _newBaseExtension; } function pause(bool _state) public onlyOwner { paused = _state; } function setMintCount(bool _state) public onlyOwner { mintCount = _state; } function withdraw() external onlyOwner { require( WITHDRAW_ADDRESS != address(0), "The address shouldn't be 0" ); (bool os, ) = WITHDRAW_ADDRESS.call{value: address(this).balance}(""); require(os); } function _startTokenId() internal view virtual override returns (uint256) { return 1; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {OperatorFilterer} from "./OperatorFilterer.sol"; abstract contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @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 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} * * _Available since v4.7._ */ 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. * * _Available since v4.4._ */ 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} * * _Available since v4.7._ */ 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. * * _Available since v4.7._ */ 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. * * _Available since v4.7._ */ 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). * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild 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 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // 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 for 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) { 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. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild 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 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // 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 for 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) { 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 (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.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(); 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(); 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 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) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an 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, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @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. * 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) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @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(); 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) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @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); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (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(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `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(); } } /** * @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(); } else { 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(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // 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`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _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(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev 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(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // 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(); } _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(); 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) } } }
// 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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol"; abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry constant operatorFilterRegistry = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(operatorFilterRegistry).code.length > 0) { if (subscribe) { operatorFilterRegistry.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { operatorFilterRegistry.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { operatorFilterRegistry.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(operatorFilterRegistry).code.length > 0) { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from == msg.sender) { _; return; } if ( !( operatorFilterRegistry.isOperatorAllowed(address(this), msg.sender) && operatorFilterRegistry.isOperatorAllowed(address(this), from) ) ) { revert OperatorNotAllowed(msg.sender); } } _; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"WITHDRAW_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_airdropAddresses","type":"address[]"},{"internalType":"uint256[]","name":"_UserMintAmount","type":"uint256[]"}],"name":"airdropMint","outputs":[],"stateMutability":"nonpayable","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":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freeMintedAmount","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":"maxMintAmountPerTransaction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"uint256","name":"_maxMintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintCount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"onlyWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleMaxMintAmountPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicSaleMintedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTransaction","type":"uint256"}],"name":"setMaxMintAmountPerTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setMintCount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setOnlyWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicSaleMaxMintAmountPerAddress","type":"uint256"}],"name":"setPublicSaleMaxMintAmountPerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setfreeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_whitelistMaxMintAmountPerAddress","type":"uint256"}],"name":"setwhitelistMaxMintAmountPerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistMaxMintAmountPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistMintedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600a90816200004a919062000fa1565b506000600b55610bb8600c556001600d556001600e556001600f556001601060006101000a81548160ff0219169083151502179055506001601060016101000a81548160ff0219169083151502179055506001601060026101000a81548160ff0219169083151502179055506001601060036101000a81548160ff021916908315150217905550348015620000de57600080fd5b506040518060400160405280600681526020017f45646f6d696e00000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f45444f0000000000000000000000000000000000000000000000000000000000815250733cc6cdda760b79bafa08df41ecfa224f810dceb6600160006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115620003575780156200021d576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b8152600401620001e3929190620010cd565b600060405180830381600087803b158015620001fe57600080fd5b505af115801562000213573d6000803e3d6000fd5b5050505062000356565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614620002d7576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b81526004016200029d929190620010cd565b600060405180830381600087803b158015620002b857600080fd5b505af1158015620002cd573d6000803e3d6000fd5b5050505062000355565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b8152600401620003209190620010fa565b600060405180830381600087803b1580156200033b57600080fd5b505af115801562000350573d6000803e3d6000fd5b505050505b5b5b505081600290816200036a919062000fa1565b5080600390816200037c919062000fa1565b506200038d620006af60201b60201c565b6000819055505050620003b5620003a9620006b860201b60201c565b620006c060201b60201c565b620003df60405180606001604052806023815260200162005a06602391396200078660201b60201c565b620004067372055004578e5084f6f6581e652182a94865bc406001620007ab60201b60201c565b6200042d731fa6096f902220528b42963a84d171e4de67ac856003620007ab60201b60201c565b620004547324f037ffbaf3d40540d19a32f8b4e6fd09b04cd96003620007ab60201b60201c565b6200047b73e45e55b7cd819f5af6f98e6dfeb6c1b4b56248166003620007ab60201b60201c565b620004a2737b05286c955a954647f7558c1c3ee35ef0c6bb3a6003620007ab60201b60201c565b620004c973272209e695b92fe1803b0cae0e4d5ecfcf16262e6005620007ab60201b60201c565b620004f073de1d3a35855db09bd2eeeb0e61c6d76d15a1c1b86005620007ab60201b60201c565b620005177357ea25d951b2f6499708b3b75075e814f115bc99600a620007ab60201b60201c565b6200053d724b6653d16a6defc070dd6fe9438a07145611bf601e620007ab60201b60201c565b62000564732e9badd597b87a6236db494364f36ebb66d44ef3601e620007ab60201b60201c565b6200058b734be0d14b5b3776570170c835dd78ad4290edf4f3601e620007ab60201b60201c565b620005b2734849a28a0ad851994a5de1e85792f4c36541ca09601e620007ab60201b60201c565b620005d97328cab85f5da9e500ce48a2e00ae71b1adedac677601e620007ab60201b60201c565b6200060073ff84beed418dce792309cb3f7efc1ff7cdc0fd55601e620007ab60201b60201c565b6200062773fa4e9dc8d6077443d668cdfe7dc13e5040c2a9a6601e620007ab60201b60201c565b6200064e73e3b439bbbd9006ca68b177fb09d875433f3ed756601e620007ab60201b60201c565b620006757314145ddf324bc975ee621044d662739d9a6ede966078620007ab60201b60201c565b620006a97fccc6ff775fe8274c9351f6dc4089d90562593a06931339aa0fd2e3f5b4e51bd460001b620007d160201b60201c565b6200132d565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b62000796620007eb60201b60201c565b8060099081620007a7919062000fa1565b5050565b620007cd8282604051806020016040528060008152506200087c60201b60201c565b5050565b620007e1620007eb60201b60201c565b8060148190555050565b620007fb620006b860201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620008216200092d60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200087a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008719062001178565b60405180910390fd5b565b6200088e83836200095760201b60201c565b60008373ffffffffffffffffffffffffffffffffffffffff163b146200092857600080549050600083820390505b620008d7600086838060010194508662000b3e60201b60201c565b6200090e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110620008bc5781600054146200092557600080fd5b50505b505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000805490506000820362000998576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b620009ad600084838562000c9f60201b60201c565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555062000a3c8362000a1e600086600062000ca560201b60201c565b62000a2f8562000cd560201b60201c565b1762000ce560201b60201c565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811462000adf57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460018101905062000aa2565b506000820362000b1b576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600081905550505062000b39600084838562000d1060201b60201c565b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0262000b6c62000d1660201b60201c565b8786866040518563ffffffff1660e01b815260040162000b90949392919062001245565b6020604051808303816000875af192505050801562000bcf57506040513d601f19601f8201168201806040525081019062000bcc9190620012fb565b60015b62000c4c573d806000811462000c02576040519150601f19603f3d011682016040523d82523d6000602084013e62000c07565b606091505b50600081510362000c44576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b50505050565b60008060e883901c905060e862000cc486868462000d1e60201b60201c565b62ffffff16901b9150509392505050565b60006001821460e11b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600033905090565b60009392505050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000da957607f821691505b60208210810362000dbf5762000dbe62000d61565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830262000e297fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000dea565b62000e35868362000dea565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000e8262000e7c62000e768462000e4d565b62000e57565b62000e4d565b9050919050565b6000819050919050565b62000e9e8362000e61565b62000eb662000ead8262000e89565b84845462000df7565b825550505050565b600090565b62000ecd62000ebe565b62000eda81848462000e93565b505050565b5b8181101562000f025762000ef660008262000ec3565b60018101905062000ee0565b5050565b601f82111562000f515762000f1b8162000dc5565b62000f268462000dda565b8101602085101562000f36578190505b62000f4e62000f458562000dda565b83018262000edf565b50505b505050565b600082821c905092915050565b600062000f766000198460080262000f56565b1980831691505092915050565b600062000f91838362000f63565b9150826002028217905092915050565b62000fac8262000d27565b67ffffffffffffffff81111562000fc85762000fc762000d32565b5b62000fd4825462000d90565b62000fe182828562000f06565b600060209050601f83116001811462001019576000841562001004578287015190505b62001010858262000f83565b86555062001080565b601f198416620010298662000dc5565b60005b8281101562001053578489015182556001820191506020850194506020810190506200102c565b868310156200107357848901516200106f601f89168262000f63565b8355505b6001600288020188555050505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620010b58262001088565b9050919050565b620010c781620010a8565b82525050565b6000604082019050620010e46000830185620010bc565b620010f36020830184620010bc565b9392505050565b6000602082019050620011116000830184620010bc565b92915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006200116060208362001117565b91506200116d8262001128565b602082019050919050565b60006020820190508181036000830152620011938162001151565b9050919050565b620011a58162000e4d565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b83811015620011e7578082015181840152602081019050620011ca565b60008484015250505050565b6000601f19601f8301169050919050565b60006200121182620011ab565b6200121d8185620011b6565b93506200122f818560208601620011c7565b6200123a81620011f3565b840191505092915050565b60006080820190506200125c6000830187620010bc565b6200126b6020830186620010bc565b6200127a60408301856200119a565b81810360608301526200128e818462001204565b905095945050505050565b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b620012d5816200129e565b8114620012e157600080fd5b50565b600081519050620012f581620012ca565b92915050565b60006020828403121562001314576200131362001299565b5b60006200132484828501620012e4565b91505092915050565b6146c9806200133d6000396000f3fe60806040526004361061027d5760003560e01c806373ef64fd1161014f578063a9e2acd5116100c1578063d5abeb011161007a578063d5abeb0114610950578063da3ef23f1461097b578063e6d37b88146109a4578063e985e9c5146109c0578063ef87bd34146109fd578063f2fde38b14610a265761027d565b8063a9e2acd51461084f578063b5f94d0614610878578063b88d4fde146108a1578063bbb89744146108bd578063c6682862146108e8578063c87b56dd146109135761027d565b806395d89b411161011357806395d89b411461072b5780639659867e1461075657806396b10201146107815780639c70b512146107be578063a22cb465146107e9578063a58c12ae146108125761027d565b806373ef64fd146106585780637cb6475914610683578063800ebea6146106ac5780638da5cb5b146106d75780638e73cf00146107025761027d565b80632eb4a7ab116101f35780635b70ea9f116101ac5780635b70ea9f146105485780635c975abb146105735780636352211e1461059e57806365dd4d94146105db57806370a0823114610604578063715018a6146106415761027d565b80632eb4a7ab1461046f5780633c9527641461049a5780633ccfd60b146104c357806342842e0e146104da57806344a0d68a146104f657806355f804b31461051f5761027d565b8063122e04a811610245578063122e04a81461036c57806313faede61461039757806318160ddd146103c25780631fac2a35146103ed57806323b872dd1461042a578063279a669e146104465761027d565b806301ffc9a71461028257806302329a29146102bf57806306fdde03146102e8578063081812fc14610313578063095ea7b314610350575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a491906130d2565b610a4f565b6040516102b6919061311a565b60405180910390f35b3480156102cb57600080fd5b506102e660048036038101906102e19190613161565b610ae1565b005b3480156102f457600080fd5b506102fd610b06565b60405161030a919061321e565b60405180910390f35b34801561031f57600080fd5b5061033a60048036038101906103359190613276565b610b98565b60405161034791906132e4565b60405180910390f35b61036a6004803603810190610365919061332b565b610c17565b005b34801561037857600080fd5b50610381610d5b565b60405161038e91906132e4565b60405180910390f35b3480156103a357600080fd5b506103ac610d73565b6040516103b9919061337a565b60405180910390f35b3480156103ce57600080fd5b506103d7610d79565b6040516103e4919061337a565b60405180910390f35b3480156103f957600080fd5b50610414600480360381019061040f9190613395565b610d90565b604051610421919061337a565b60405180910390f35b610444600480360381019061043f91906133c2565b610da8565b005b34801561045257600080fd5b5061046d600480360381019061046891906135b8565b610f8a565b005b34801561047b57600080fd5b506104846110ec565b604051610491919061364d565b60405180910390f35b3480156104a657600080fd5b506104c160048036038101906104bc9190613161565b6110f2565b005b3480156104cf57600080fd5b506104d8611117565b005b6104f460048036038101906104ef91906133c2565b61122f565b005b34801561050257600080fd5b5061051d60048036038101906105189190613276565b611411565b005b34801561052b57600080fd5b506105466004803603810190610541919061371d565b611423565b005b34801561055457600080fd5b5061055d61143e565b60405161056a919061311a565b60405180910390f35b34801561057f57600080fd5b50610588611451565b604051610595919061311a565b60405180910390f35b3480156105aa57600080fd5b506105c560048036038101906105c09190613276565b611464565b6040516105d291906132e4565b60405180910390f35b3480156105e757600080fd5b5061060260048036038101906105fd9190613276565b611476565b005b34801561061057600080fd5b5061062b60048036038101906106269190613395565b611488565b604051610638919061337a565b60405180910390f35b34801561064d57600080fd5b50610656611540565b005b34801561066457600080fd5b5061066d611554565b60405161067a919061337a565b60405180910390f35b34801561068f57600080fd5b506106aa60048036038101906106a59190613792565b61155a565b005b3480156106b857600080fd5b506106c161156c565b6040516106ce919061337a565b60405180910390f35b3480156106e357600080fd5b506106ec611572565b6040516106f991906132e4565b60405180910390f35b34801561070e57600080fd5b5061072960048036038101906107249190613161565b61159c565b005b34801561073757600080fd5b506107406115c1565b60405161074d919061321e565b60405180910390f35b34801561076257600080fd5b5061076b611653565b604051610778919061311a565b60405180910390f35b34801561078d57600080fd5b506107a860048036038101906107a39190613395565b611666565b6040516107b5919061337a565b60405180910390f35b3480156107ca57600080fd5b506107d361167e565b6040516107e0919061311a565b60405180910390f35b3480156107f557600080fd5b50610810600480360381019061080b91906137bf565b611691565b005b34801561081e57600080fd5b5061083960048036038101906108349190613395565b61179c565b604051610846919061337a565b60405180910390f35b34801561085b57600080fd5b5061087660048036038101906108719190613276565b6117b4565b005b34801561088457600080fd5b5061089f600480360381019061089a9190613276565b6117c6565b005b6108bb60048036038101906108b691906138a0565b6117d8565b005b3480156108c957600080fd5b506108d26119bd565b6040516108df919061337a565b60405180910390f35b3480156108f457600080fd5b506108fd6119c3565b60405161090a919061321e565b60405180910390f35b34801561091f57600080fd5b5061093a60048036038101906109359190613276565b611a51565b604051610947919061321e565b60405180910390f35b34801561095c57600080fd5b50610965611a85565b604051610972919061337a565b60405180910390f35b34801561098757600080fd5b506109a2600480360381019061099d919061371d565b611a8b565b005b6109be60048036038101906109b99190613979565b611aa6565b005b3480156109cc57600080fd5b506109e760048036038101906109e291906139ed565b612215565b6040516109f4919061311a565b60405180910390f35b348015610a0957600080fd5b50610a246004803603810190610a1f9190613161565b6122a9565b005b348015610a3257600080fd5b50610a4d6004803603810190610a489190613395565b6122ce565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610aaa57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ada5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b610ae9612351565b80601060006101000a81548160ff02191690831515021790555050565b606060028054610b1590613a5c565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4190613a5c565b8015610b8e5780601f10610b6357610100808354040283529160200191610b8e565b820191906000526020600020905b815481529060010190602001808311610b7157829003601f168201915b5050505050905090565b6000610ba3826123cf565b610bd9576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c2282611464565b90508073ffffffffffffffffffffffffffffffffffffffff16610c4361242e565b73ffffffffffffffffffffffffffffffffffffffff1614610ca657610c6f81610c6a61242e565b612215565b610ca5576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b7314145ddf324bc975ee621044d662739d9a6ede9681565b600b5481565b6000610d83612436565b6001546000540303905090565b60126020528060005260406000206000915090505481565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115610f78573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610e1a57610e1584848461243f565b610f84565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610e63929190613a8d565b602060405180830381865afa158015610e80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea49190613acb565b8015610f3657506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401610ef4929190613a8d565b602060405180830381865afa158015610f11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f359190613acb565b5b610f7757336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401610f6e91906132e4565b60405180910390fd5b5b610f8384848461243f565b5b50505050565b610f92612351565b6000610f9c610d79565b90506000805b8351811015610fe657838181518110610fbe57610fbd613af8565b5b602002602001015182610fd19190613b56565b91508080610fde90613b8a565b915050610fa2565b506000811161102a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102190613c1e565b60405180910390fd5b600c5481836110399190613b56565b111561107a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107190613c8a565b60405180910390fd5b60005b83518110156110e4576110d186868381811061109c5761109b613af8565b5b90506020020160208101906110b19190613395565b8583815181106110c4576110c3613af8565b5b6020026020010151612761565b80806110dc90613b8a565b91505061107d565b505050505050565b60145481565b6110fa612351565b80601060026101000a81548160ff02191690831515021790555050565b61111f612351565b600073ffffffffffffffffffffffffffffffffffffffff167314145ddf324bc975ee621044d662739d9a6ede9673ffffffffffffffffffffffffffffffffffffffff16036111a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119990613cf6565b60405180910390fd5b60007314145ddf324bc975ee621044d662739d9a6ede9673ffffffffffffffffffffffffffffffffffffffff16476040516111dc90613d47565b60006040518083038185875af1925050503d8060008114611219576040519150601f19603f3d011682016040523d82523d6000602084013e61121e565b606091505b505090508061122c57600080fd5b50565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156113ff573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036112a15761129c84848461277f565b61140b565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016112ea929190613a8d565b602060405180830381865afa158015611307573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061132b9190613acb565b80156113bd57506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b815260040161137b929190613a8d565b602060405180830381865afa158015611398573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113bc9190613acb565b5b6113fe57336040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016113f591906132e4565b60405180910390fd5b5b61140a84848461277f565b5b50505050565b611419612351565b80600b8190555050565b61142b612351565b806009908161143a9190613f08565b5050565b601060019054906101000a900460ff1681565b601060009054906101000a900460ff1681565b600061146f8261279f565b9050919050565b61147e612351565b80600e8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036114ef576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611548612351565b611552600061286b565b565b600f5481565b611562612351565b8060148190555050565b600e5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6115a4612351565b80601060036101000a81548160ff02191690831515021790555050565b6060600380546115d090613a5c565b80601f01602080910402602001604051908101604052809291908181526020018280546115fc90613a5c565b80156116495780601f1061161e57610100808354040283529160200191611649565b820191906000526020600020905b81548152906001019060200180831161162c57829003601f168201915b5050505050905090565b601060039054906101000a900460ff1681565b60116020528060005260406000206000915090505481565b601060029054906101000a900460ff1681565b806007600061169e61242e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661174b61242e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611790919061311a565b60405180910390a35050565b60136020528060005260406000206000915090505481565b6117bc612351565b80600d8190555050565b6117ce612351565b80600f8190555050565b8360006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156119a9573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361184b5761184685858585612931565b6119b6565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401611894929190613a8d565b602060405180830381865afa1580156118b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d59190613acb565b801561196757506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611925929190613a8d565b602060405180830381865afa158015611942573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119669190613acb565b5b6119a857336040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161199f91906132e4565b60405180910390fd5b5b6119b585858585612931565b5b5050505050565b600d5481565b600a80546119d090613a5c565b80601f01602080910402602001604051908101604052809291908181526020018280546119fc90613a5c565b8015611a495780601f10611a1e57610100808354040283529160200191611a49565b820191906000526020600020905b815481529060010190602001808311611a2c57829003601f168201915b505050505081565b6060611a5c826129a4565b600a604051602001611a6f929190614099565b6040516020818303038152906040529050919050565b600c5481565b611a93612351565b80600a9081611aa29190613f08565b5050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611b14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0b90614109565b60405180910390fd5b601060009054906101000a900460ff1615611b64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5b90614175565b60405180910390fd5b83600010611ba7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9e90613c1e565b60405180910390fd5b600d54841115611bec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be390614207565b60405180910390fd5b600c5484611bf8610d79565b611c029190613b56565b1115611c43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3a90613c8a565b60405180910390fd5b3484600b54611c529190614227565b1115611c93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8a906142cd565b60405180910390fd5b60011515601060019054906101000a900460ff16151503611e6d5760003384604051602001611cc3929190614356565b604051602081830303815290604052805190602001209050611d29838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060145483612a42565b611d68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5f906143ce565b60405180910390fd5b60011515601060029054906101000a900460ff16151503611e6757601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484611dce91906143ee565b851115611e10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e079061446e565b60405180910390fd5b84601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e5f9190613b56565b925050819055505b50612205565b60011515601060029054906101000a900460ff161515036120475760003384604051602001611e9d929190614356565b604051602081830303815290604052805190602001209050611f03838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060145483612a42565b611f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f39906143ce565b60405180910390fd5b60011515601060039054906101000a900460ff1615150361204157601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484611fa891906143ee565b851115611fea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe19061446e565b60405180910390fd5b84601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120399190613b56565b925050819055505b50612204565b6000338460405160200161205c929190614356565b6040516020818303038152906040528051906020012090506120c2838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060145483612a42565b612101576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f8906143ce565b60405180910390fd5b60011515601060039054906101000a900460ff1615150361220257601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600f5461216991906143ee565b8511156121ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a29061446e565b60405180910390fd5b84601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121fa9190613b56565b925050819055505b505b5b61220f3385612761565b50505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6122b1612351565b80601060016101000a81548160ff02191690831515021790555050565b6122d6612351565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612345576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233c90614500565b60405180910390fd5b61234e8161286b565b50565b612359612a59565b73ffffffffffffffffffffffffffffffffffffffff16612377611572565b73ffffffffffffffffffffffffffffffffffffffff16146123cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c49061456c565b60405180910390fd5b565b6000816123da612436565b111580156123e9575060005482105b8015612427575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b600061244a8261279f565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146124b1576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806124bd84612a61565b915091506124d381876124ce61242e565b612a88565b61251f576124e8866124e361242e565b612215565b61251e576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603612585576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6125928686866001612acc565b801561259d57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061266b85612647888887612ad2565b7c020000000000000000000000000000000000000000000000000000000017612afa565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036126f157600060018501905060006004600083815260200190815260200160002054036126ef5760005481146126ee578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127598686866001612b25565b505050505050565b61277b828260405180602001604052806000815250612b2b565b5050565b61279a838383604051806020016040528060008152506117d8565b505050565b600080829050806127ae612436565b11612834576000548110156128335760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612831575b600081036128275760046000836001900393508381526020019081526020016000205490506127fd565b8092505050612866565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61293c848484610da8565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461299e5761296784848484612bc8565b61299d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606129af826123cf565b6129e5576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006129ef612d18565b90506000815103612a0f5760405180602001604052806000815250612a3a565b80612a1984612daa565b604051602001612a2a92919061458c565b6040516020818303038152906040525b915050919050565b600082612a4f8584612dfa565b1490509392505050565b600033905090565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612ae9868684612e50565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b612b358383612e59565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612bc357600080549050600083820390505b612b756000868380600101945086612bc8565b612bab576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110612b62578160005414612bc057600080fd5b50505b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612bee61242e565b8786866040518563ffffffff1660e01b8152600401612c109493929190614605565b6020604051808303816000875af1925050508015612c4c57506040513d601f19601f82011682018060405250810190612c499190614666565b60015b612cc5573d8060008114612c7c576040519150601f19603f3d011682016040523d82523d6000602084013e612c81565b606091505b506000815103612cbd576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060098054612d2790613a5c565b80601f0160208091040260200160405190810160405280929190818152602001828054612d5390613a5c565b8015612da05780601f10612d7557610100808354040283529160200191612da0565b820191906000526020600020905b815481529060010190602001808311612d8357829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b600115612de557600184039350600a81066030018453600a8104905080612dc3575b50828103602084039350808452505050919050565b60008082905060005b8451811015612e4557612e3082868381518110612e2357612e22613af8565b5b6020026020010151613014565b91508080612e3d90613b8a565b915050612e03565b508091505092915050565b60009392505050565b60008054905060008203612e99576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612ea66000848385612acc565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612f1d83612f0e6000866000612ad2565b612f178561303f565b17612afa565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114612fbe57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612f83565b5060008203612ff9576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600081905550505061300f6000848385612b25565b505050565b600081831061302c57613027828461304f565b613037565b613036838361304f565b5b905092915050565b60006001821460e11b9050919050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6130af8161307a565b81146130ba57600080fd5b50565b6000813590506130cc816130a6565b92915050565b6000602082840312156130e8576130e7613070565b5b60006130f6848285016130bd565b91505092915050565b60008115159050919050565b613114816130ff565b82525050565b600060208201905061312f600083018461310b565b92915050565b61313e816130ff565b811461314957600080fd5b50565b60008135905061315b81613135565b92915050565b60006020828403121561317757613176613070565b5b60006131858482850161314c565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156131c85780820151818401526020810190506131ad565b60008484015250505050565b6000601f19601f8301169050919050565b60006131f08261318e565b6131fa8185613199565b935061320a8185602086016131aa565b613213816131d4565b840191505092915050565b6000602082019050818103600083015261323881846131e5565b905092915050565b6000819050919050565b61325381613240565b811461325e57600080fd5b50565b6000813590506132708161324a565b92915050565b60006020828403121561328c5761328b613070565b5b600061329a84828501613261565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006132ce826132a3565b9050919050565b6132de816132c3565b82525050565b60006020820190506132f960008301846132d5565b92915050565b613308816132c3565b811461331357600080fd5b50565b600081359050613325816132ff565b92915050565b6000806040838503121561334257613341613070565b5b600061335085828601613316565b925050602061336185828601613261565b9150509250929050565b61337481613240565b82525050565b600060208201905061338f600083018461336b565b92915050565b6000602082840312156133ab576133aa613070565b5b60006133b984828501613316565b91505092915050565b6000806000606084860312156133db576133da613070565b5b60006133e986828701613316565b93505060206133fa86828701613316565b925050604061340b86828701613261565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f84011261343a57613439613415565b5b8235905067ffffffffffffffff8111156134575761345661341a565b5b6020830191508360208202830111156134735761347261341f565b5b9250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6134b2826131d4565b810181811067ffffffffffffffff821117156134d1576134d061347a565b5b80604052505050565b60006134e4613066565b90506134f082826134a9565b919050565b600067ffffffffffffffff8211156135105761350f61347a565b5b602082029050602081019050919050565b600061353461352f846134f5565b6134da565b905080838252602082019050602084028301858111156135575761355661341f565b5b835b81811015613580578061356c8882613261565b845260208401935050602081019050613559565b5050509392505050565b600082601f83011261359f5761359e613415565b5b81356135af848260208601613521565b91505092915050565b6000806000604084860312156135d1576135d0613070565b5b600084013567ffffffffffffffff8111156135ef576135ee613075565b5b6135fb86828701613424565b9350935050602084013567ffffffffffffffff81111561361e5761361d613075565b5b61362a8682870161358a565b9150509250925092565b6000819050919050565b61364781613634565b82525050565b6000602082019050613662600083018461363e565b92915050565b600080fd5b600067ffffffffffffffff8211156136885761368761347a565b5b613691826131d4565b9050602081019050919050565b82818337600083830152505050565b60006136c06136bb8461366d565b6134da565b9050828152602081018484840111156136dc576136db613668565b5b6136e784828561369e565b509392505050565b600082601f83011261370457613703613415565b5b81356137148482602086016136ad565b91505092915050565b60006020828403121561373357613732613070565b5b600082013567ffffffffffffffff81111561375157613750613075565b5b61375d848285016136ef565b91505092915050565b61376f81613634565b811461377a57600080fd5b50565b60008135905061378c81613766565b92915050565b6000602082840312156137a8576137a7613070565b5b60006137b68482850161377d565b91505092915050565b600080604083850312156137d6576137d5613070565b5b60006137e485828601613316565b92505060206137f58582860161314c565b9150509250929050565b600067ffffffffffffffff82111561381a5761381961347a565b5b613823826131d4565b9050602081019050919050565b600061384361383e846137ff565b6134da565b90508281526020810184848401111561385f5761385e613668565b5b61386a84828561369e565b509392505050565b600082601f83011261388757613886613415565b5b8135613897848260208601613830565b91505092915050565b600080600080608085870312156138ba576138b9613070565b5b60006138c887828801613316565b94505060206138d987828801613316565b93505060406138ea87828801613261565b925050606085013567ffffffffffffffff81111561390b5761390a613075565b5b61391787828801613872565b91505092959194509250565b60008083601f84011261393957613938613415565b5b8235905067ffffffffffffffff8111156139565761395561341a565b5b6020830191508360208202830111156139725761397161341f565b5b9250929050565b6000806000806060858703121561399357613992613070565b5b60006139a187828801613261565b94505060206139b287828801613261565b935050604085013567ffffffffffffffff8111156139d3576139d2613075565b5b6139df87828801613923565b925092505092959194509250565b60008060408385031215613a0457613a03613070565b5b6000613a1285828601613316565b9250506020613a2385828601613316565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613a7457607f821691505b602082108103613a8757613a86613a2d565b5b50919050565b6000604082019050613aa260008301856132d5565b613aaf60208301846132d5565b9392505050565b600081519050613ac581613135565b92915050565b600060208284031215613ae157613ae0613070565b5b6000613aef84828501613ab6565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613b6182613240565b9150613b6c83613240565b9250828201905080821115613b8457613b83613b27565b5b92915050565b6000613b9582613240565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613bc757613bc6613b27565b5b600182019050919050565b7f6e65656420746f206d696e74206174206c656173742031204e46540000000000600082015250565b6000613c08601b83613199565b9150613c1382613bd2565b602082019050919050565b60006020820190508181036000830152613c3781613bfb565b9050919050565b7f6d6178204e4654206c696d697420657863656564656400000000000000000000600082015250565b6000613c74601683613199565b9150613c7f82613c3e565b602082019050919050565b60006020820190508181036000830152613ca381613c67565b9050919050565b7f54686520616464726573732073686f756c646e27742062652030000000000000600082015250565b6000613ce0601a83613199565b9150613ceb82613caa565b602082019050919050565b60006020820190508181036000830152613d0f81613cd3565b9050919050565b600081905092915050565b50565b6000613d31600083613d16565b9150613d3c82613d21565b600082019050919050565b6000613d5282613d24565b9150819050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613dbe7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613d81565b613dc88683613d81565b95508019841693508086168417925050509392505050565b6000819050919050565b6000613e05613e00613dfb84613240565b613de0565b613240565b9050919050565b6000819050919050565b613e1f83613dea565b613e33613e2b82613e0c565b848454613d8e565b825550505050565b600090565b613e48613e3b565b613e53818484613e16565b505050565b5b81811015613e7757613e6c600082613e40565b600181019050613e59565b5050565b601f821115613ebc57613e8d81613d5c565b613e9684613d71565b81016020851015613ea5578190505b613eb9613eb185613d71565b830182613e58565b50505b505050565b600082821c905092915050565b6000613edf60001984600802613ec1565b1980831691505092915050565b6000613ef88383613ece565b9150826002028217905092915050565b613f118261318e565b67ffffffffffffffff811115613f2a57613f2961347a565b5b613f348254613a5c565b613f3f828285613e7b565b600060209050601f831160018114613f725760008415613f60578287015190505b613f6a8582613eec565b865550613fd2565b601f198416613f8086613d5c565b60005b82811015613fa857848901518255600182019150602085019450602081019050613f83565b86831015613fc55784890151613fc1601f891682613ece565b8355505b6001600288020188555050505b505050505050565b600081905092915050565b6000613ff08261318e565b613ffa8185613fda565b935061400a8185602086016131aa565b80840191505092915050565b6000815461402381613a5c565b61402d8186613fda565b94506001821660008114614048576001811461405d57614090565b60ff1983168652811515820286019350614090565b61406685613d5c565b60005b8381101561408857815481890152600182019150602081019050614069565b838801955050505b50505092915050565b60006140a58285613fe5565b91506140b18284614016565b91508190509392505050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163742e00600082015250565b60006140f3601f83613199565b91506140fe826140bd565b602082019050919050565b60006020820190508181036000830152614122816140e6565b9050919050565b7f74686520636f6e74726163742069732070617573656400000000000000000000600082015250565b600061415f601683613199565b915061416a82614129565b602082019050919050565b6000602082019050818103600083015261418e81614152565b9050919050565b7f6d6178206d696e7420616d6f756e74207065722073657373696f6e206578636560008201527f6564656400000000000000000000000000000000000000000000000000000000602082015250565b60006141f1602483613199565b91506141fc82614195565b604082019050919050565b60006020820190508181036000830152614220816141e4565b9050919050565b600061423282613240565b915061423d83613240565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561427657614275613b27565b5b828202905092915050565b7f696e73756666696369656e742066756e64730000000000000000000000000000600082015250565b60006142b7601283613199565b91506142c282614281565b602082019050919050565b600060208201905081810360008301526142e6816142aa565b9050919050565b60008160601b9050919050565b6000614305826142ed565b9050919050565b6000614317826142fa565b9050919050565b61432f61432a826132c3565b61430c565b82525050565b6000819050919050565b61435061434b82613240565b614335565b82525050565b6000614362828561431e565b601482019150614372828461433f565b6020820191508190509392505050565b7f75736572206973206e6f742077686974656c6973746564000000000000000000600082015250565b60006143b8601783613199565b91506143c382614382565b602082019050919050565b600060208201905081810360008301526143e7816143ab565b9050919050565b60006143f982613240565b915061440483613240565b925082820390508181111561441c5761441b613b27565b5b92915050565b7f6d6178204e465420706572206164647265737320657863656564656400000000600082015250565b6000614458601c83613199565b915061446382614422565b602082019050919050565b600060208201905081810360008301526144878161444b565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006144ea602683613199565b91506144f58261448e565b604082019050919050565b60006020820190508181036000830152614519816144dd565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614556602083613199565b915061456182614520565b602082019050919050565b6000602082019050818103600083015261458581614549565b9050919050565b60006145988285613fe5565b91506145a48284613fe5565b91508190509392505050565b600081519050919050565b600082825260208201905092915050565b60006145d7826145b0565b6145e181856145bb565b93506145f18185602086016131aa565b6145fa816131d4565b840191505092915050565b600060808201905061461a60008301876132d5565b61462760208301866132d5565b614634604083018561336b565b818103606083015261464681846145cc565b905095945050505050565b600081519050614660816130a6565b92915050565b60006020828403121561467c5761467b613070565b5b600061468a84828501614651565b9150509291505056fea26469706673582212200fdc5c489a584764cae6cdde04de7877f4105df8339b97f7c3ffd81a736ce8b264736f6c6343000810003368747470733a2f2f65646f2d312e636f6d2f646174612f65646f6d696e2f6a736f6e2f
Deployed Bytecode
0x60806040526004361061027d5760003560e01c806373ef64fd1161014f578063a9e2acd5116100c1578063d5abeb011161007a578063d5abeb0114610950578063da3ef23f1461097b578063e6d37b88146109a4578063e985e9c5146109c0578063ef87bd34146109fd578063f2fde38b14610a265761027d565b8063a9e2acd51461084f578063b5f94d0614610878578063b88d4fde146108a1578063bbb89744146108bd578063c6682862146108e8578063c87b56dd146109135761027d565b806395d89b411161011357806395d89b411461072b5780639659867e1461075657806396b10201146107815780639c70b512146107be578063a22cb465146107e9578063a58c12ae146108125761027d565b806373ef64fd146106585780637cb6475914610683578063800ebea6146106ac5780638da5cb5b146106d75780638e73cf00146107025761027d565b80632eb4a7ab116101f35780635b70ea9f116101ac5780635b70ea9f146105485780635c975abb146105735780636352211e1461059e57806365dd4d94146105db57806370a0823114610604578063715018a6146106415761027d565b80632eb4a7ab1461046f5780633c9527641461049a5780633ccfd60b146104c357806342842e0e146104da57806344a0d68a146104f657806355f804b31461051f5761027d565b8063122e04a811610245578063122e04a81461036c57806313faede61461039757806318160ddd146103c25780631fac2a35146103ed57806323b872dd1461042a578063279a669e146104465761027d565b806301ffc9a71461028257806302329a29146102bf57806306fdde03146102e8578063081812fc14610313578063095ea7b314610350575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a491906130d2565b610a4f565b6040516102b6919061311a565b60405180910390f35b3480156102cb57600080fd5b506102e660048036038101906102e19190613161565b610ae1565b005b3480156102f457600080fd5b506102fd610b06565b60405161030a919061321e565b60405180910390f35b34801561031f57600080fd5b5061033a60048036038101906103359190613276565b610b98565b60405161034791906132e4565b60405180910390f35b61036a6004803603810190610365919061332b565b610c17565b005b34801561037857600080fd5b50610381610d5b565b60405161038e91906132e4565b60405180910390f35b3480156103a357600080fd5b506103ac610d73565b6040516103b9919061337a565b60405180910390f35b3480156103ce57600080fd5b506103d7610d79565b6040516103e4919061337a565b60405180910390f35b3480156103f957600080fd5b50610414600480360381019061040f9190613395565b610d90565b604051610421919061337a565b60405180910390f35b610444600480360381019061043f91906133c2565b610da8565b005b34801561045257600080fd5b5061046d600480360381019061046891906135b8565b610f8a565b005b34801561047b57600080fd5b506104846110ec565b604051610491919061364d565b60405180910390f35b3480156104a657600080fd5b506104c160048036038101906104bc9190613161565b6110f2565b005b3480156104cf57600080fd5b506104d8611117565b005b6104f460048036038101906104ef91906133c2565b61122f565b005b34801561050257600080fd5b5061051d60048036038101906105189190613276565b611411565b005b34801561052b57600080fd5b506105466004803603810190610541919061371d565b611423565b005b34801561055457600080fd5b5061055d61143e565b60405161056a919061311a565b60405180910390f35b34801561057f57600080fd5b50610588611451565b604051610595919061311a565b60405180910390f35b3480156105aa57600080fd5b506105c560048036038101906105c09190613276565b611464565b6040516105d291906132e4565b60405180910390f35b3480156105e757600080fd5b5061060260048036038101906105fd9190613276565b611476565b005b34801561061057600080fd5b5061062b60048036038101906106269190613395565b611488565b604051610638919061337a565b60405180910390f35b34801561064d57600080fd5b50610656611540565b005b34801561066457600080fd5b5061066d611554565b60405161067a919061337a565b60405180910390f35b34801561068f57600080fd5b506106aa60048036038101906106a59190613792565b61155a565b005b3480156106b857600080fd5b506106c161156c565b6040516106ce919061337a565b60405180910390f35b3480156106e357600080fd5b506106ec611572565b6040516106f991906132e4565b60405180910390f35b34801561070e57600080fd5b5061072960048036038101906107249190613161565b61159c565b005b34801561073757600080fd5b506107406115c1565b60405161074d919061321e565b60405180910390f35b34801561076257600080fd5b5061076b611653565b604051610778919061311a565b60405180910390f35b34801561078d57600080fd5b506107a860048036038101906107a39190613395565b611666565b6040516107b5919061337a565b60405180910390f35b3480156107ca57600080fd5b506107d361167e565b6040516107e0919061311a565b60405180910390f35b3480156107f557600080fd5b50610810600480360381019061080b91906137bf565b611691565b005b34801561081e57600080fd5b5061083960048036038101906108349190613395565b61179c565b604051610846919061337a565b60405180910390f35b34801561085b57600080fd5b5061087660048036038101906108719190613276565b6117b4565b005b34801561088457600080fd5b5061089f600480360381019061089a9190613276565b6117c6565b005b6108bb60048036038101906108b691906138a0565b6117d8565b005b3480156108c957600080fd5b506108d26119bd565b6040516108df919061337a565b60405180910390f35b3480156108f457600080fd5b506108fd6119c3565b60405161090a919061321e565b60405180910390f35b34801561091f57600080fd5b5061093a60048036038101906109359190613276565b611a51565b604051610947919061321e565b60405180910390f35b34801561095c57600080fd5b50610965611a85565b604051610972919061337a565b60405180910390f35b34801561098757600080fd5b506109a2600480360381019061099d919061371d565b611a8b565b005b6109be60048036038101906109b99190613979565b611aa6565b005b3480156109cc57600080fd5b506109e760048036038101906109e291906139ed565b612215565b6040516109f4919061311a565b60405180910390f35b348015610a0957600080fd5b50610a246004803603810190610a1f9190613161565b6122a9565b005b348015610a3257600080fd5b50610a4d6004803603810190610a489190613395565b6122ce565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610aaa57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ada5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b610ae9612351565b80601060006101000a81548160ff02191690831515021790555050565b606060028054610b1590613a5c565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4190613a5c565b8015610b8e5780601f10610b6357610100808354040283529160200191610b8e565b820191906000526020600020905b815481529060010190602001808311610b7157829003601f168201915b5050505050905090565b6000610ba3826123cf565b610bd9576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c2282611464565b90508073ffffffffffffffffffffffffffffffffffffffff16610c4361242e565b73ffffffffffffffffffffffffffffffffffffffff1614610ca657610c6f81610c6a61242e565b612215565b610ca5576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b7314145ddf324bc975ee621044d662739d9a6ede9681565b600b5481565b6000610d83612436565b6001546000540303905090565b60126020528060005260406000206000915090505481565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115610f78573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610e1a57610e1584848461243f565b610f84565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610e63929190613a8d565b602060405180830381865afa158015610e80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea49190613acb565b8015610f3657506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401610ef4929190613a8d565b602060405180830381865afa158015610f11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f359190613acb565b5b610f7757336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401610f6e91906132e4565b60405180910390fd5b5b610f8384848461243f565b5b50505050565b610f92612351565b6000610f9c610d79565b90506000805b8351811015610fe657838181518110610fbe57610fbd613af8565b5b602002602001015182610fd19190613b56565b91508080610fde90613b8a565b915050610fa2565b506000811161102a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102190613c1e565b60405180910390fd5b600c5481836110399190613b56565b111561107a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107190613c8a565b60405180910390fd5b60005b83518110156110e4576110d186868381811061109c5761109b613af8565b5b90506020020160208101906110b19190613395565b8583815181106110c4576110c3613af8565b5b6020026020010151612761565b80806110dc90613b8a565b91505061107d565b505050505050565b60145481565b6110fa612351565b80601060026101000a81548160ff02191690831515021790555050565b61111f612351565b600073ffffffffffffffffffffffffffffffffffffffff167314145ddf324bc975ee621044d662739d9a6ede9673ffffffffffffffffffffffffffffffffffffffff16036111a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119990613cf6565b60405180910390fd5b60007314145ddf324bc975ee621044d662739d9a6ede9673ffffffffffffffffffffffffffffffffffffffff16476040516111dc90613d47565b60006040518083038185875af1925050503d8060008114611219576040519150601f19603f3d011682016040523d82523d6000602084013e61121e565b606091505b505090508061122c57600080fd5b50565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156113ff573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036112a15761129c84848461277f565b61140b565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016112ea929190613a8d565b602060405180830381865afa158015611307573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061132b9190613acb565b80156113bd57506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b815260040161137b929190613a8d565b602060405180830381865afa158015611398573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113bc9190613acb565b5b6113fe57336040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016113f591906132e4565b60405180910390fd5b5b61140a84848461277f565b5b50505050565b611419612351565b80600b8190555050565b61142b612351565b806009908161143a9190613f08565b5050565b601060019054906101000a900460ff1681565b601060009054906101000a900460ff1681565b600061146f8261279f565b9050919050565b61147e612351565b80600e8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036114ef576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611548612351565b611552600061286b565b565b600f5481565b611562612351565b8060148190555050565b600e5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6115a4612351565b80601060036101000a81548160ff02191690831515021790555050565b6060600380546115d090613a5c565b80601f01602080910402602001604051908101604052809291908181526020018280546115fc90613a5c565b80156116495780601f1061161e57610100808354040283529160200191611649565b820191906000526020600020905b81548152906001019060200180831161162c57829003601f168201915b5050505050905090565b601060039054906101000a900460ff1681565b60116020528060005260406000206000915090505481565b601060029054906101000a900460ff1681565b806007600061169e61242e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661174b61242e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611790919061311a565b60405180910390a35050565b60136020528060005260406000206000915090505481565b6117bc612351565b80600d8190555050565b6117ce612351565b80600f8190555050565b8360006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156119a9573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361184b5761184685858585612931565b6119b6565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401611894929190613a8d565b602060405180830381865afa1580156118b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d59190613acb565b801561196757506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611925929190613a8d565b602060405180830381865afa158015611942573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119669190613acb565b5b6119a857336040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161199f91906132e4565b60405180910390fd5b5b6119b585858585612931565b5b5050505050565b600d5481565b600a80546119d090613a5c565b80601f01602080910402602001604051908101604052809291908181526020018280546119fc90613a5c565b8015611a495780601f10611a1e57610100808354040283529160200191611a49565b820191906000526020600020905b815481529060010190602001808311611a2c57829003601f168201915b505050505081565b6060611a5c826129a4565b600a604051602001611a6f929190614099565b6040516020818303038152906040529050919050565b600c5481565b611a93612351565b80600a9081611aa29190613f08565b5050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611b14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0b90614109565b60405180910390fd5b601060009054906101000a900460ff1615611b64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5b90614175565b60405180910390fd5b83600010611ba7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9e90613c1e565b60405180910390fd5b600d54841115611bec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be390614207565b60405180910390fd5b600c5484611bf8610d79565b611c029190613b56565b1115611c43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3a90613c8a565b60405180910390fd5b3484600b54611c529190614227565b1115611c93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8a906142cd565b60405180910390fd5b60011515601060019054906101000a900460ff16151503611e6d5760003384604051602001611cc3929190614356565b604051602081830303815290604052805190602001209050611d29838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060145483612a42565b611d68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5f906143ce565b60405180910390fd5b60011515601060029054906101000a900460ff16151503611e6757601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484611dce91906143ee565b851115611e10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e079061446e565b60405180910390fd5b84601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e5f9190613b56565b925050819055505b50612205565b60011515601060029054906101000a900460ff161515036120475760003384604051602001611e9d929190614356565b604051602081830303815290604052805190602001209050611f03838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060145483612a42565b611f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f39906143ce565b60405180910390fd5b60011515601060039054906101000a900460ff1615150361204157601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484611fa891906143ee565b851115611fea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe19061446e565b60405180910390fd5b84601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120399190613b56565b925050819055505b50612204565b6000338460405160200161205c929190614356565b6040516020818303038152906040528051906020012090506120c2838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060145483612a42565b612101576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f8906143ce565b60405180910390fd5b60011515601060039054906101000a900460ff1615150361220257601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600f5461216991906143ee565b8511156121ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a29061446e565b60405180910390fd5b84601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121fa9190613b56565b925050819055505b505b5b61220f3385612761565b50505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6122b1612351565b80601060016101000a81548160ff02191690831515021790555050565b6122d6612351565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612345576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233c90614500565b60405180910390fd5b61234e8161286b565b50565b612359612a59565b73ffffffffffffffffffffffffffffffffffffffff16612377611572565b73ffffffffffffffffffffffffffffffffffffffff16146123cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c49061456c565b60405180910390fd5b565b6000816123da612436565b111580156123e9575060005482105b8015612427575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b600061244a8261279f565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146124b1576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806124bd84612a61565b915091506124d381876124ce61242e565b612a88565b61251f576124e8866124e361242e565b612215565b61251e576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603612585576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6125928686866001612acc565b801561259d57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061266b85612647888887612ad2565b7c020000000000000000000000000000000000000000000000000000000017612afa565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036126f157600060018501905060006004600083815260200190815260200160002054036126ef5760005481146126ee578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127598686866001612b25565b505050505050565b61277b828260405180602001604052806000815250612b2b565b5050565b61279a838383604051806020016040528060008152506117d8565b505050565b600080829050806127ae612436565b11612834576000548110156128335760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612831575b600081036128275760046000836001900393508381526020019081526020016000205490506127fd565b8092505050612866565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61293c848484610da8565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461299e5761296784848484612bc8565b61299d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606129af826123cf565b6129e5576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006129ef612d18565b90506000815103612a0f5760405180602001604052806000815250612a3a565b80612a1984612daa565b604051602001612a2a92919061458c565b6040516020818303038152906040525b915050919050565b600082612a4f8584612dfa565b1490509392505050565b600033905090565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612ae9868684612e50565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b612b358383612e59565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612bc357600080549050600083820390505b612b756000868380600101945086612bc8565b612bab576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110612b62578160005414612bc057600080fd5b50505b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612bee61242e565b8786866040518563ffffffff1660e01b8152600401612c109493929190614605565b6020604051808303816000875af1925050508015612c4c57506040513d601f19601f82011682018060405250810190612c499190614666565b60015b612cc5573d8060008114612c7c576040519150601f19603f3d011682016040523d82523d6000602084013e612c81565b606091505b506000815103612cbd576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060098054612d2790613a5c565b80601f0160208091040260200160405190810160405280929190818152602001828054612d5390613a5c565b8015612da05780601f10612d7557610100808354040283529160200191612da0565b820191906000526020600020905b815481529060010190602001808311612d8357829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b600115612de557600184039350600a81066030018453600a8104905080612dc3575b50828103602084039350808452505050919050565b60008082905060005b8451811015612e4557612e3082868381518110612e2357612e22613af8565b5b6020026020010151613014565b91508080612e3d90613b8a565b915050612e03565b508091505092915050565b60009392505050565b60008054905060008203612e99576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612ea66000848385612acc565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612f1d83612f0e6000866000612ad2565b612f178561303f565b17612afa565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114612fbe57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612f83565b5060008203612ff9576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600081905550505061300f6000848385612b25565b505050565b600081831061302c57613027828461304f565b613037565b613036838361304f565b5b905092915050565b60006001821460e11b9050919050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6130af8161307a565b81146130ba57600080fd5b50565b6000813590506130cc816130a6565b92915050565b6000602082840312156130e8576130e7613070565b5b60006130f6848285016130bd565b91505092915050565b60008115159050919050565b613114816130ff565b82525050565b600060208201905061312f600083018461310b565b92915050565b61313e816130ff565b811461314957600080fd5b50565b60008135905061315b81613135565b92915050565b60006020828403121561317757613176613070565b5b60006131858482850161314c565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156131c85780820151818401526020810190506131ad565b60008484015250505050565b6000601f19601f8301169050919050565b60006131f08261318e565b6131fa8185613199565b935061320a8185602086016131aa565b613213816131d4565b840191505092915050565b6000602082019050818103600083015261323881846131e5565b905092915050565b6000819050919050565b61325381613240565b811461325e57600080fd5b50565b6000813590506132708161324a565b92915050565b60006020828403121561328c5761328b613070565b5b600061329a84828501613261565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006132ce826132a3565b9050919050565b6132de816132c3565b82525050565b60006020820190506132f960008301846132d5565b92915050565b613308816132c3565b811461331357600080fd5b50565b600081359050613325816132ff565b92915050565b6000806040838503121561334257613341613070565b5b600061335085828601613316565b925050602061336185828601613261565b9150509250929050565b61337481613240565b82525050565b600060208201905061338f600083018461336b565b92915050565b6000602082840312156133ab576133aa613070565b5b60006133b984828501613316565b91505092915050565b6000806000606084860312156133db576133da613070565b5b60006133e986828701613316565b93505060206133fa86828701613316565b925050604061340b86828701613261565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f84011261343a57613439613415565b5b8235905067ffffffffffffffff8111156134575761345661341a565b5b6020830191508360208202830111156134735761347261341f565b5b9250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6134b2826131d4565b810181811067ffffffffffffffff821117156134d1576134d061347a565b5b80604052505050565b60006134e4613066565b90506134f082826134a9565b919050565b600067ffffffffffffffff8211156135105761350f61347a565b5b602082029050602081019050919050565b600061353461352f846134f5565b6134da565b905080838252602082019050602084028301858111156135575761355661341f565b5b835b81811015613580578061356c8882613261565b845260208401935050602081019050613559565b5050509392505050565b600082601f83011261359f5761359e613415565b5b81356135af848260208601613521565b91505092915050565b6000806000604084860312156135d1576135d0613070565b5b600084013567ffffffffffffffff8111156135ef576135ee613075565b5b6135fb86828701613424565b9350935050602084013567ffffffffffffffff81111561361e5761361d613075565b5b61362a8682870161358a565b9150509250925092565b6000819050919050565b61364781613634565b82525050565b6000602082019050613662600083018461363e565b92915050565b600080fd5b600067ffffffffffffffff8211156136885761368761347a565b5b613691826131d4565b9050602081019050919050565b82818337600083830152505050565b60006136c06136bb8461366d565b6134da565b9050828152602081018484840111156136dc576136db613668565b5b6136e784828561369e565b509392505050565b600082601f83011261370457613703613415565b5b81356137148482602086016136ad565b91505092915050565b60006020828403121561373357613732613070565b5b600082013567ffffffffffffffff81111561375157613750613075565b5b61375d848285016136ef565b91505092915050565b61376f81613634565b811461377a57600080fd5b50565b60008135905061378c81613766565b92915050565b6000602082840312156137a8576137a7613070565b5b60006137b68482850161377d565b91505092915050565b600080604083850312156137d6576137d5613070565b5b60006137e485828601613316565b92505060206137f58582860161314c565b9150509250929050565b600067ffffffffffffffff82111561381a5761381961347a565b5b613823826131d4565b9050602081019050919050565b600061384361383e846137ff565b6134da565b90508281526020810184848401111561385f5761385e613668565b5b61386a84828561369e565b509392505050565b600082601f83011261388757613886613415565b5b8135613897848260208601613830565b91505092915050565b600080600080608085870312156138ba576138b9613070565b5b60006138c887828801613316565b94505060206138d987828801613316565b93505060406138ea87828801613261565b925050606085013567ffffffffffffffff81111561390b5761390a613075565b5b61391787828801613872565b91505092959194509250565b60008083601f84011261393957613938613415565b5b8235905067ffffffffffffffff8111156139565761395561341a565b5b6020830191508360208202830111156139725761397161341f565b5b9250929050565b6000806000806060858703121561399357613992613070565b5b60006139a187828801613261565b94505060206139b287828801613261565b935050604085013567ffffffffffffffff8111156139d3576139d2613075565b5b6139df87828801613923565b925092505092959194509250565b60008060408385031215613a0457613a03613070565b5b6000613a1285828601613316565b9250506020613a2385828601613316565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613a7457607f821691505b602082108103613a8757613a86613a2d565b5b50919050565b6000604082019050613aa260008301856132d5565b613aaf60208301846132d5565b9392505050565b600081519050613ac581613135565b92915050565b600060208284031215613ae157613ae0613070565b5b6000613aef84828501613ab6565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613b6182613240565b9150613b6c83613240565b9250828201905080821115613b8457613b83613b27565b5b92915050565b6000613b9582613240565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613bc757613bc6613b27565b5b600182019050919050565b7f6e65656420746f206d696e74206174206c656173742031204e46540000000000600082015250565b6000613c08601b83613199565b9150613c1382613bd2565b602082019050919050565b60006020820190508181036000830152613c3781613bfb565b9050919050565b7f6d6178204e4654206c696d697420657863656564656400000000000000000000600082015250565b6000613c74601683613199565b9150613c7f82613c3e565b602082019050919050565b60006020820190508181036000830152613ca381613c67565b9050919050565b7f54686520616464726573732073686f756c646e27742062652030000000000000600082015250565b6000613ce0601a83613199565b9150613ceb82613caa565b602082019050919050565b60006020820190508181036000830152613d0f81613cd3565b9050919050565b600081905092915050565b50565b6000613d31600083613d16565b9150613d3c82613d21565b600082019050919050565b6000613d5282613d24565b9150819050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613dbe7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613d81565b613dc88683613d81565b95508019841693508086168417925050509392505050565b6000819050919050565b6000613e05613e00613dfb84613240565b613de0565b613240565b9050919050565b6000819050919050565b613e1f83613dea565b613e33613e2b82613e0c565b848454613d8e565b825550505050565b600090565b613e48613e3b565b613e53818484613e16565b505050565b5b81811015613e7757613e6c600082613e40565b600181019050613e59565b5050565b601f821115613ebc57613e8d81613d5c565b613e9684613d71565b81016020851015613ea5578190505b613eb9613eb185613d71565b830182613e58565b50505b505050565b600082821c905092915050565b6000613edf60001984600802613ec1565b1980831691505092915050565b6000613ef88383613ece565b9150826002028217905092915050565b613f118261318e565b67ffffffffffffffff811115613f2a57613f2961347a565b5b613f348254613a5c565b613f3f828285613e7b565b600060209050601f831160018114613f725760008415613f60578287015190505b613f6a8582613eec565b865550613fd2565b601f198416613f8086613d5c565b60005b82811015613fa857848901518255600182019150602085019450602081019050613f83565b86831015613fc55784890151613fc1601f891682613ece565b8355505b6001600288020188555050505b505050505050565b600081905092915050565b6000613ff08261318e565b613ffa8185613fda565b935061400a8185602086016131aa565b80840191505092915050565b6000815461402381613a5c565b61402d8186613fda565b94506001821660008114614048576001811461405d57614090565b60ff1983168652811515820286019350614090565b61406685613d5c565b60005b8381101561408857815481890152600182019150602081019050614069565b838801955050505b50505092915050565b60006140a58285613fe5565b91506140b18284614016565b91508190509392505050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163742e00600082015250565b60006140f3601f83613199565b91506140fe826140bd565b602082019050919050565b60006020820190508181036000830152614122816140e6565b9050919050565b7f74686520636f6e74726163742069732070617573656400000000000000000000600082015250565b600061415f601683613199565b915061416a82614129565b602082019050919050565b6000602082019050818103600083015261418e81614152565b9050919050565b7f6d6178206d696e7420616d6f756e74207065722073657373696f6e206578636560008201527f6564656400000000000000000000000000000000000000000000000000000000602082015250565b60006141f1602483613199565b91506141fc82614195565b604082019050919050565b60006020820190508181036000830152614220816141e4565b9050919050565b600061423282613240565b915061423d83613240565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561427657614275613b27565b5b828202905092915050565b7f696e73756666696369656e742066756e64730000000000000000000000000000600082015250565b60006142b7601283613199565b91506142c282614281565b602082019050919050565b600060208201905081810360008301526142e6816142aa565b9050919050565b60008160601b9050919050565b6000614305826142ed565b9050919050565b6000614317826142fa565b9050919050565b61432f61432a826132c3565b61430c565b82525050565b6000819050919050565b61435061434b82613240565b614335565b82525050565b6000614362828561431e565b601482019150614372828461433f565b6020820191508190509392505050565b7f75736572206973206e6f742077686974656c6973746564000000000000000000600082015250565b60006143b8601783613199565b91506143c382614382565b602082019050919050565b600060208201905081810360008301526143e7816143ab565b9050919050565b60006143f982613240565b915061440483613240565b925082820390508181111561441c5761441b613b27565b5b92915050565b7f6d6178204e465420706572206164647265737320657863656564656400000000600082015250565b6000614458601c83613199565b915061446382614422565b602082019050919050565b600060208201905081810360008301526144878161444b565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006144ea602683613199565b91506144f58261448e565b604082019050919050565b60006020820190508181036000830152614519816144dd565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614556602083613199565b915061456182614520565b602082019050919050565b6000602082019050818103600083015261458581614549565b9050919050565b60006145988285613fe5565b91506145a48284613fe5565b91508190509392505050565b600081519050919050565b600082825260208201905092915050565b60006145d7826145b0565b6145e181856145bb565b93506145f18185602086016131aa565b6145fa816131d4565b840191505092915050565b600060808201905061461a60008301876132d5565b61462760208301866132d5565b614634604083018561336b565b818103606083015261464681846145cc565b905095945050505050565b600081519050614660816130a6565b92915050565b60006020828403121561467c5761467b613070565b5b600061468a84828501614651565b9150509291505056fea26469706673582212200fdc5c489a584764cae6cdde04de7877f4105df8339b97f7c3ffd81a736ce8b264736f6c63430008100033
Loading...
Loading
Loading...
Loading
OVERVIEW
Edominは、最強の素人集団が送る3,000体限定の江戸時代をテーマとしたコレクションです。EdominはNFTを通じてDAOの新たな価値を創造します。Edomin is a pixel collection with Edo period motifs as a fixed set of 3,000 items produced by the best beginers. Edomin creates new values for DAO through NFTs.*This project is not affiliated with...Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.