ERC-721
Overview
Max Total Supply
888 BOSS
Holders
75
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 BOSSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
BossMan
Compiler Version
v0.8.24+commit.e11b9ed9
Optimization Enabled:
No with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract BossMan is ERC721A { /** * @notice State Variables for the contract * @dev Change the necessary state variables before deployment */ address public owner; uint256 public constant MAX_SUPPLY = 6969; uint256 public constant MAX_OG_MINT = 2000; uint256 public constant MAX_WHITELIST_MINT = 3000; uint256 public constant TEAM_MINT_QUANTITY = 767; uint256 public constant OG_SALE_PRICE = 0.01 ether; uint256 public constant WHITELIST_SALE_PRICE = 0.015 ether; uint256 public constant PUBLIC_SALE_PRICE = 0.02 ether; uint256 public constant MAX_OG_MINT_PER_WALLET = 3; uint256 public constant MAX_WL_MINT_PER_WALLET = 2; uint256 public constant MAX_PUBLIC_MINT_PER_WALLET = 1; uint256 public constant MAX_THREE_IC_MINT_PER_WALLET = 3; uint256 public constant MAX_TWO_IC_MINT_PER_WALLET = 2; uint256 public constant MAX_ONE_IC_MINT_PER_WALLET = 1; uint256 public s_ogsupply = 0; uint256 public s_wlsupply = 0; bool public icMintOpen = false; bool public ogMintOpen = false; bool public whiteListMintOpen = false; bool public publicMintOpen = false; bool public hasTeamMinted = false; bool public isRevealed = true; bool public paused = true; bool public transferLocked = true; bytes32 public ogRoot; bytes32 public wlRoot; bytes32 public oneFreeClaimRoot; bytes32 public twoFreeClaimRoot; bytes32 public threeFreeClaimRoot; string public baseURI; mapping(address => uint256) public totalPublicMint; mapping(address => uint256) public totalWhitelistMint; mapping(address => uint256) public totalOgMint; mapping(address => uint256) public claimedOneIcMint; mapping(address => uint256) public claimedTwoIcMint; mapping(address => uint256) public claimedThreeIcMint; mapping(address => bool) public oglist; mapping(address => bool) public whitelist; modifier notContract() { require(tx.origin == msg.sender, "Contracts cannot mint"); _; } modifier onlyOwner() { require(msg.sender == owner, "Caller should be the owner of this contract"); _; } modifier whenNotPaused() { require(!paused, "Contract is paused"); _; } constructor( bytes32 _ogRoot, bytes32 _wlRoot, bytes32 _oneFreeClaimRoot, bytes32 _twoFreeClaimRoot, bytes32 _threeFreeClaimRoot, string memory _baseURI ) ERC721A("Bossman", "BOSS") { ogRoot = _ogRoot; wlRoot = _wlRoot; oneFreeClaimRoot = _oneFreeClaimRoot; twoFreeClaimRoot = _twoFreeClaimRoot; threeFreeClaimRoot = _threeFreeClaimRoot; baseURI = _baseURI; owner = msg.sender; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } /** * @notice Pauses the contract */ function pause() public onlyOwner { paused = true; } /** * @notice Pauses the contract */ function unpause() public onlyOwner { paused = false; } /** * @notice Checks if User is valid for OG List */ function isValidOG(bytes32[] memory proof, bytes32 leaf) public view returns (bool) { return MerkleProof.verify(proof, ogRoot, leaf); } /** * @notice Checks if User is valid for WL List */ function isValidWL(bytes32[] memory proof, bytes32 leaf) public view returns (bool) { return MerkleProof.verify(proof, wlRoot, leaf); } /** * @notice Checks if User is valid for One Free Claim */ function isValidOneInnerCircle(bytes32[] memory proof, bytes32 leaf) public view returns (bool) { return MerkleProof.verify(proof, oneFreeClaimRoot, leaf); } /** * @notice Checks if User is valid for Two Free Claim */ function isValidTwoInnerCircle(bytes32[] memory proof, bytes32 leaf) public view returns (bool) { return MerkleProof.verify(proof, twoFreeClaimRoot, leaf); } /** * @notice Checks if User is valid for One Free Claim */ function isValidThreeInnerCircle(bytes32[] memory proof, bytes32 leaf) public view returns (bool) { return MerkleProof.verify(proof, threeFreeClaimRoot, leaf); } /** * @notice Enables and disbles Mint window * @dev use true bool for the window you want to enable */ function editMintWindows( bool _publicMintOpen, bool _whiteListMintOpen, bool _ogMintOpen, bool _icMintOpen ) external onlyOwner { publicMintOpen = _publicMintOpen; whiteListMintOpen = _whiteListMintOpen; ogMintOpen = _ogMintOpen; icMintOpen = _icMintOpen; } /** * @notice Mint Function for the Team */ function teamMint() public onlyOwner{ require(!hasTeamMinted, "Team Has Already Minted"); require((totalSupply() + TEAM_MINT_QUANTITY) < MAX_SUPPLY, "Exceeds max supply of NFTs"); hasTeamMinted = true; _mint(msg.sender, TEAM_MINT_QUANTITY); } /** * @notice Mint Function for One Free Claimers */ function claimOneInnerCircle(bytes32[] memory proof) public notContract whenNotPaused { require(icMintOpen, "IC Free Claim is not active"); require( isValidOneInnerCircle(proof, keccak256(abi.encodePacked(msg.sender))), "You do not hold an Inner Circle Spot with 1x Free Claim" ); require( (totalSupply() + 1) <= MAX_SUPPLY, "Exceeds max supply of NFTs" ); require(claimedOneIcMint[msg.sender] < 1, "You Have Already Claimed"); claimedOneIcMint[msg.sender]++; _mint(msg.sender, 1); } /** * @notice Mint Function for Two Free Claimers */ function claimTwoInnerCircle(bytes32[] memory proof) public notContract whenNotPaused { require(icMintOpen, "IC Free Claim is not active"); require( isValidTwoInnerCircle(proof, keccak256(abi.encodePacked(msg.sender))), "You do not hold an Inner Circle Spot with 2x Free Claim" ); require( (totalSupply() + 2) <= MAX_SUPPLY, "Exceeds max supply of NFTs" ); require(claimedTwoIcMint[msg.sender] < 1, "You Have Already Claimed"); claimedTwoIcMint[msg.sender]++; _mint(msg.sender, 2); } /** * @notice Mint Function for Three Free Claimers */ function claimThreeInnerCircle(bytes32[] memory proof) public notContract whenNotPaused { require(icMintOpen, "IC Free Claim is not active"); require( isValidThreeInnerCircle(proof, keccak256(abi.encodePacked(msg.sender))), "You do not hold an Inner Circle Spot with 3x Free Claim" ); require( (totalSupply() + 3) <= MAX_SUPPLY, "Exceeds max supply of NFTs" ); require(claimedThreeIcMint[msg.sender] < 1, "You Have Already Claimed"); claimedThreeIcMint[msg.sender]++; _mint(msg.sender, 3); } /** * @notice Mint Function for OG Spot Holders */ function OgMint(uint256 _quantity, bytes32[] memory proof) public payable notContract whenNotPaused { require(ogMintOpen, "OG mint is not active"); require( isValidOG(proof, keccak256(abi.encodePacked(msg.sender))), "You do not hold an OG Spot" ); require( (totalSupply() + _quantity) <= MAX_SUPPLY, "Exceeds max supply of NFTs" ); require( (s_ogsupply + _quantity) <= MAX_OG_MINT, "Exceeds max supply for OG Spots" ); require( (totalOgMint[msg.sender] + _quantity) <= MAX_OG_MINT_PER_WALLET, "Exceeds max limit of NFTs per wallet for OG spot holders" ); require( (msg.value) == (_quantity * OG_SALE_PRICE), "Insuffient Funds!" ); totalOgMint[msg.sender] = totalOgMint[msg.sender] + _quantity; s_ogsupply = s_ogsupply + _quantity; _mint(msg.sender, _quantity); } /** * @notice Mint Function for the Whitelist Spot Holders */ function whitelistMint(uint256 _quantity, bytes32[] memory proof) public payable notContract whenNotPaused{ require(whiteListMintOpen, "Whitelist mint is not active"); require(isValidWL(proof, keccak256(abi.encodePacked(msg.sender))), "You do not hold a Whitelist spot"); require((totalSupply() + _quantity) <= MAX_SUPPLY, "Exceeds max supply of NFTs"); require((s_wlsupply + _quantity) <= MAX_WHITELIST_MINT, "Exceeds max supply for Whitelist Spots"); require((totalWhitelistMint[msg.sender] + _quantity) <= MAX_WL_MINT_PER_WALLET, "Exceeds max limit of NFTs per wallet for whiltelist spot holders"); require((msg.value) == (_quantity * WHITELIST_SALE_PRICE), "Insuffient Funds!"); totalWhitelistMint[msg.sender] = totalWhitelistMint[msg.sender] + _quantity; s_wlsupply = s_wlsupply + _quantity; _mint(msg.sender, _quantity); } /** * @notice Mint Function for Public mint */ function publicMint(uint256 _quantity) public payable notContract whenNotPaused { require(publicMintOpen, "Public mint is not active"); require( (totalSupply() + _quantity) <= MAX_SUPPLY, "Exceeds max supply of NFTs" ); require( (totalPublicMint[msg.sender] + _quantity) <= MAX_PUBLIC_MINT_PER_WALLET, "Exceeds max limit of NFTs per wallet" ); require( (msg.value) == (_quantity * PUBLIC_SALE_PRICE), "Insuffient Funds!" ); totalPublicMint[msg.sender] = totalPublicMint[msg.sender] + _quantity; _mint(msg.sender, _quantity); } function toggleTransferLock() public onlyOwner { transferLocked = !transferLocked; } /** * @notice Sets base uri for tokens */ function setBaseTokenUri(string memory _baseURI) public onlyOwner{ baseURI = _baseURI; } /** * @notice Setter Function for OG List */ function setOgRoot(bytes32 _ogRoot) external onlyOwner { ogRoot = _ogRoot; } /** * @notice Setter Function for WhiteList */ function setWlRoot(bytes32 _wlRoot) external onlyOwner { wlRoot = _wlRoot; } /** * @notice Setter Function for oneFreeClaimRoot */ function setOneFreeClaimRootRoot(bytes32 _oneFreeClaimRoot) external onlyOwner { oneFreeClaimRoot = _oneFreeClaimRoot; } /** * @notice Setter Function for twoFreeClaimRoot */ function setTwoFreeClaimRootRoot(bytes32 _twoFreeClaimRoot) external onlyOwner { twoFreeClaimRoot = _twoFreeClaimRoot; } /** * @notice Setter Function for twoFreeClaimRoot */ function setThreeFreeClaimRootRoot(bytes32 _threeFreeClaimRoot) external onlyOwner { threeFreeClaimRoot = _threeFreeClaimRoot; } /** * @notice Function for the owner to withdraw funds from smart contract */ function withdraw(address _addr) external onlyOwner { (bool callSuccess,) = payable(_addr).call{value: address(this).balance}(""); require(callSuccess, "Call failed"); } //overrides function approve(address to, uint256 tokenId) public payable virtual override { require(!transferLocked, "Listing are currently locked"); super.approve(to, tokenId); } function setApprovalForAll( address operator, bool approved ) public virtual override { require(!transferLocked, "Listing are currently locked"); super.setApprovalForAll(operator, approved); } function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { require(!transferLocked, "Transfers are currently locked"); super.safeTransferFrom(from, to, tokenId); } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) _revert(URIQueryForNonexistentToken.selector); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId), ".json")) : ""; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.20; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the Merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates Merkle trees that are safe * against this attack out of the box. */ library MerkleProof { /** *@dev The multiproof provided is not valid. */ error MerkleProofInvalidMultiproof(); /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify(bytes32[] memory proof, bytes32 root, bytes32 leaf) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} */ function verifyCalldata(bytes32[] calldata proof, bytes32 root, bytes32 leaf) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details. */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details. */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all Merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the Merkle tree. uint256 leavesLen = leaves.length; uint256 proofLen = proof.length; uint256 totalHashes = proofFlags.length; // Check proof validity. if (leavesLen + proofLen != totalHashes + 1) { revert MerkleProofInvalidMultiproof(); } // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value from the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]) : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { if (proofPos != proofLen) { revert MerkleProofInvalidMultiproof(); } unchecked { return hashes[totalHashes - 1]; } } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details. */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the Merkle tree. uint256 leavesLen = leaves.length; uint256 proofLen = proof.length; uint256 totalHashes = proofFlags.length; // Check proof validity. if (leavesLen + proofLen != totalHashes + 1) { revert MerkleProofInvalidMultiproof(); } // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value from the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]) : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { if (proofPos != proofLen) { revert MerkleProofInvalidMultiproof(); } unchecked { return hashes[totalHashes - 1]; } } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Sorts the pair (a, b) and hashes the result. */ function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } /** * @dev Implementation of keccak256(abi.encode(a, b)) that doesn't allocate or expand memory. */ 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 // ERC721A Contracts v4.3.0 // 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()`. * * The `_sequentialUpTo()` function can be overriden to enable spot mints * (i.e. non-consecutive mints) for `tokenId`s greater than `_sequentialUpTo()`. * * 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; // The amount of tokens minted above `_sequentialUpTo()`. // We call these spot mints (i.e. non-sequential mints). uint256 private _spotMinted; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); if (_sequentialUpTo() < _startTokenId()) _revert(SequentialUpToTooSmall.selector); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID for sequential mints. * * Override this function to change the starting token ID for sequential mints. * * Note: The value returned must never change after any tokens have been minted. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the maximum token ID (inclusive) for sequential mints. * * Override this function to return a value less than 2**256 - 1, * but greater than `_startTokenId()`, to enable spot (non-sequential) mints. * * Note: The value returned must never change after any tokens have been minted. */ function _sequentialUpTo() internal view virtual returns (uint256) { return type(uint256).max; } /** * @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 result) { // Counter underflow is impossible as `_burnCounter` cannot be incremented // more than `_currentIndex + _spotMinted - _startTokenId()` times. unchecked { // With spot minting, the intermediate `result` can be temporarily negative, // and the computation must be unchecked. result = _currentIndex - _burnCounter - _startTokenId(); if (_sequentialUpTo() != type(uint256).max) result += _spotMinted; } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256 result) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { result = _currentIndex - _startTokenId(); if (_sequentialUpTo() != type(uint256).max) result += _spotMinted; } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } /** * @dev Returns the total number of tokens that are spot-minted. */ function _totalSpotMinted() internal view virtual returns (uint256) { return _spotMinted; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) _revert(BalanceQueryForZeroAddress.selector); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) _revert(URIQueryForNonexistentToken.selector); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Returns whether the ownership slot at `index` is initialized. * An uninitialized slot does not necessarily mean that the slot has no owner. */ function _ownershipIsInitialized(uint256 index) internal view virtual returns (bool) { return _packedOwnerships[index] != 0; } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * @dev Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256 packed) { if (_startTokenId() <= tokenId) { packed = _packedOwnerships[tokenId]; if (tokenId > _sequentialUpTo()) { if (_packedOwnershipExists(packed)) return packed; _revert(OwnerQueryForNonexistentToken.selector); } // If the data at the starting slot does not exist, start the scan. if (packed == 0) { if (tokenId >= _currentIndex) _revert(OwnerQueryForNonexistentToken.selector); // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `tokenId` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. for (;;) { unchecked { packed = _packedOwnerships[--tokenId]; } if (packed == 0) continue; if (packed & _BITMASK_BURNED == 0) return packed; // Otherwise, the token is burned, and we must revert. // This handles the case of batch burned tokens, where only the burned bit // of the starting slot is set, and remaining slots are left uninitialized. _revert(OwnerQueryForNonexistentToken.selector); } } // Otherwise, the data exists and we can skip the scan. // This is possible because we have already achieved the target condition. // This saves 2143 gas on transfers of initialized tokens. // If the token is not burned, return `packed`. Otherwise, revert. if (packed & _BITMASK_BURNED == 0) return packed; } _revert(OwnerQueryForNonexistentToken.selector); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. See {ERC721A-_approve}. * * Requirements: * * - The caller must own the token or be an approved operator. */ function approve(address to, uint256 tokenId) public payable virtual override { _approve(to, tokenId, true); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) _revert(ApprovalQueryForNonexistentToken.selector); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool result) { if (_startTokenId() <= tokenId) { if (tokenId > _sequentialUpTo()) return _packedOwnershipExists(_packedOwnerships[tokenId]); if (tokenId < _currentIndex) { uint256 packed; while ((packed = _packedOwnerships[tokenId]) == 0) --tokenId; result = packed & _BITMASK_BURNED == 0; } } } /** * @dev Returns whether `packed` represents a token that exists. */ function _packedOwnershipExists(uint256 packed) private pure returns (bool result) { assembly { // The following is equivalent to `owner != address(0) && burned == false`. // Symbolically tested. result := gt(and(packed, _BITMASK_ADDRESS), and(packed, _BITMASK_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); // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from = address(uint160(uint256(uint160(from)) & _BITMASK_ADDRESS)); if (address(uint160(prevOwnershipPacked)) != from) _revert(TransferFromIncorrectOwner.selector); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) _revert(TransferCallerNotOwnerNorApproved.selector); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; assembly { // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. from, // `from`. toMasked, // `to`. tokenId // `tokenId`. ) } if (toMasked == 0) _revert(TransferToZeroAddress.selector); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { _revert(TransferToNonERC721ReceiverImplementer.selector); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { _revert(TransferToNonERC721ReceiverImplementer.selector); } assembly { revert(add(32, reason), mload(reason)) } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) _revert(MintZeroQuantity.selector); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; if (toMasked == 0) _revert(MintToZeroAddress.selector); uint256 end = startTokenId + quantity; uint256 tokenId = startTokenId; if (end - 1 > _sequentialUpTo()) _revert(SequentialMintExceedsLimit.selector); do { assembly { // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. tokenId // `tokenId`. ) } // The `!=` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. } while (++tokenId != end); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) _revert(MintToZeroAddress.selector); if (quantity == 0) _revert(MintZeroQuantity.selector); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) _revert(MintERC2309QuantityExceedsLimit.selector); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); if (startTokenId + quantity - 1 > _sequentialUpTo()) _revert(SequentialMintExceedsLimit.selector); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { _revert(TransferToNonERC721ReceiverImplementer.selector); } } while (index < end); // This prevents reentrancy to `_safeMint`. // It does not prevent reentrancy to `_safeMintSpot`. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } /** * @dev Mints a single token at `tokenId`. * * Note: A spot-minted `tokenId` that has been burned can be re-minted again. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` must be greater than `_sequentialUpTo()`. * - `tokenId` must not exist. * * Emits a {Transfer} event for each mint. */ function _mintSpot(address to, uint256 tokenId) internal virtual { if (tokenId <= _sequentialUpTo()) _revert(SpotMintTokenIdTooSmall.selector); uint256 prevOwnershipPacked = _packedOwnerships[tokenId]; if (_packedOwnershipExists(prevOwnershipPacked)) _revert(TokenAlreadyExists.selector); _beforeTokenTransfers(address(0), to, tokenId, 1); // Overflows are incredibly unrealistic. // The `numberMinted` for `to` is incremented by 1, and has a max limit of 2**64 - 1. // `_spotMinted` is incremented by 1, and has a max limit of 2**256 - 1. unchecked { // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `true` (as `quantity == 1`). _packedOwnerships[tokenId] = _packOwnershipData( to, _nextInitializedFlag(1) | _nextExtraData(address(0), to, prevOwnershipPacked) ); // Updates: // - `balance += 1`. // - `numberMinted += 1`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += (1 << _BITPOS_NUMBER_MINTED) | 1; // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; if (toMasked == 0) _revert(MintToZeroAddress.selector); assembly { // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. tokenId // `tokenId`. ) } ++_spotMinted; } _afterTokenTransfers(address(0), to, tokenId, 1); } /** * @dev Safely mints a single token at `tokenId`. * * Note: A spot-minted `tokenId` that has been burned can be re-minted again. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}. * - `tokenId` must be greater than `_sequentialUpTo()`. * - `tokenId` must not exist. * * See {_mintSpot}. * * Emits a {Transfer} event. */ function _safeMintSpot( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mintSpot(to, tokenId); unchecked { if (to.code.length != 0) { uint256 currentSpotMinted = _spotMinted; if (!_checkContractOnERC721Received(address(0), to, tokenId, _data)) { _revert(TransferToNonERC721ReceiverImplementer.selector); } // This prevents reentrancy to `_safeMintSpot`. // It does not prevent reentrancy to `_safeMint`. if (_spotMinted != currentSpotMinted) revert(); } } } /** * @dev Equivalent to `_safeMintSpot(to, tokenId, '')`. */ function _safeMintSpot(address to, uint256 tokenId) internal virtual { _safeMintSpot(to, tokenId, ''); } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Equivalent to `_approve(to, tokenId, false)`. */ function _approve(address to, uint256 tokenId) internal virtual { _approve(to, tokenId, false); } /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - `tokenId` must exist. * * Emits an {Approval} event. */ function _approve( address to, uint256 tokenId, bool approvalCheck ) internal virtual { address owner = ownerOf(tokenId); if (approvalCheck && _msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { _revert(ApprovalCallerNotOwnerNorApproved.selector); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) _revert(TransferCallerNotOwnerNorApproved.selector); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as `_burnCounter` cannot be exceed `_currentIndex + _spotMinted` times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) _revert(OwnershipNotInitializedForExtraData.selector); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } /** * @dev For more efficient reverts. */ function _revert(bytes4 errorSelector) internal pure { assembly { mstore(0x00, errorSelector) revert(0x00, 0x04) } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.3.0 // 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(); /** * `_sequentialUpTo()` must be greater than `_startTokenId()`. */ error SequentialUpToTooSmall(); /** * The `tokenId` of a sequential mint exceeds `_sequentialUpTo()`. */ error SequentialMintExceedsLimit(); /** * Spot minting requires a `tokenId` greater than `_sequentialUpTo()`. */ error SpotMintTokenIdTooSmall(); /** * Cannot mint over a token that already exists. */ error TokenAlreadyExists(); /** * The feature is not compatible with spot mints. */ error NotCompatibleWithSpotMints(); // ============================================================= // 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); }
{ "evmVersion": "paris", "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"bytes32","name":"_ogRoot","type":"bytes32"},{"internalType":"bytes32","name":"_wlRoot","type":"bytes32"},{"internalType":"bytes32","name":"_oneFreeClaimRoot","type":"bytes32"},{"internalType":"bytes32","name":"_twoFreeClaimRoot","type":"bytes32"},{"internalType":"bytes32","name":"_threeFreeClaimRoot","type":"bytes32"},{"internalType":"string","name":"_baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NotCompatibleWithSpotMints","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"SequentialMintExceedsLimit","type":"error"},{"inputs":[],"name":"SequentialUpToTooSmall","type":"error"},{"inputs":[],"name":"SpotMintTokenIdTooSmall","type":"error"},{"inputs":[],"name":"TokenAlreadyExists","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":"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":"MAX_OG_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_OG_MINT_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_ONE_IC_MINT_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PUBLIC_MINT_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_THREE_IC_MINT_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TWO_IC_MINT_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WHITELIST_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WL_MINT_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OG_SALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"OgMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"PUBLIC_SALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TEAM_MINT_QUANTITY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHITELIST_SALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"claimOneInnerCircle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"claimThreeInnerCircle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"claimTwoInnerCircle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimedOneIcMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimedThreeIcMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimedTwoIcMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_publicMintOpen","type":"bool"},{"internalType":"bool","name":"_whiteListMintOpen","type":"bool"},{"internalType":"bool","name":"_ogMintOpen","type":"bool"},{"internalType":"bool","name":"_icMintOpen","type":"bool"}],"name":"editMintWindows","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hasTeamMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"icMintOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bytes32","name":"leaf","type":"bytes32"}],"name":"isValidOG","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bytes32","name":"leaf","type":"bytes32"}],"name":"isValidOneInnerCircle","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bytes32","name":"leaf","type":"bytes32"}],"name":"isValidThreeInnerCircle","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bytes32","name":"leaf","type":"bytes32"}],"name":"isValidTwoInnerCircle","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bytes32","name":"leaf","type":"bytes32"}],"name":"isValidWL","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":"ogMintOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ogRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"oglist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oneFreeClaimRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicMintOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"s_ogsupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"s_wlsupply","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":"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":"_baseURI","type":"string"}],"name":"setBaseTokenUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_ogRoot","type":"bytes32"}],"name":"setOgRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_oneFreeClaimRoot","type":"bytes32"}],"name":"setOneFreeClaimRootRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_threeFreeClaimRoot","type":"bytes32"}],"name":"setThreeFreeClaimRootRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_twoFreeClaimRoot","type":"bytes32"}],"name":"setTwoFreeClaimRootRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_wlRoot","type":"bytes32"}],"name":"setWlRoot","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":[],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"threeFreeClaimRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleTransferLock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalOgMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalPublicMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalWhitelistMint","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":[],"name":"transferLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"twoFreeClaimRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whiteListMintOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wlRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526000600a556000600b556000600c60006101000a81548160ff0219169083151502179055506000600c60016101000a81548160ff0219169083151502179055506000600c60026101000a81548160ff0219169083151502179055506000600c60036101000a81548160ff0219169083151502179055506000600c60046101000a81548160ff0219169083151502179055506001600c60056101000a81548160ff0219169083151502179055506001600c60066101000a81548160ff0219169083151502179055506001600c60076101000a81548160ff021916908315150217905550348015620000f357600080fd5b506040516200662b3803806200662b83398181016040528101906200011991906200048c565b6040518060400160405280600781526020017f426f73736d616e000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f424f535300000000000000000000000000000000000000000000000000000000815250816002908162000196919062000792565b508060039081620001a8919062000792565b50620001b96200028360201b60201c565b600081905550620001cf6200028360201b60201c565b620001df6200028c60201b60201c565b1015620001ff57620001fe63fed8210f60e01b620002b460201b60201c565b5b505085600d8190555084600e8190555083600f819055508260108190555081601181905550806012908162000235919062000792565b5033600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050505062000879565b60006001905090565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff905090565b8060005260046000fd5b6000604051905090565b600080fd5b600080fd5b6000819050919050565b620002e781620002d2565b8114620002f357600080fd5b50565b6000815190506200030781620002dc565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620003628262000317565b810181811067ffffffffffffffff8211171562000384576200038362000328565b5b80604052505050565b600062000399620002be565b9050620003a7828262000357565b919050565b600067ffffffffffffffff821115620003ca57620003c962000328565b5b620003d58262000317565b9050602081019050919050565b60005b8381101562000402578082015181840152602081019050620003e5565b60008484015250505050565b6000620004256200041f84620003ac565b6200038d565b90508281526020810184848401111562000444576200044362000312565b5b62000451848285620003e2565b509392505050565b600082601f8301126200047157620004706200030d565b5b8151620004838482602086016200040e565b91505092915050565b60008060008060008060c08789031215620004ac57620004ab620002c8565b5b6000620004bc89828a01620002f6565b9650506020620004cf89828a01620002f6565b9550506040620004e289828a01620002f6565b9450506060620004f589828a01620002f6565b93505060806200050889828a01620002f6565b92505060a087015167ffffffffffffffff8111156200052c576200052b620002cd565b5b6200053a89828a0162000459565b9150509295509295509295565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200059a57607f821691505b602082108103620005b057620005af62000552565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200061a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620005db565b620006268683620005db565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620006736200066d62000667846200063e565b62000648565b6200063e565b9050919050565b6000819050919050565b6200068f8362000652565b620006a76200069e826200067a565b848454620005e8565b825550505050565b600090565b620006be620006af565b620006cb81848462000684565b505050565b5b81811015620006f357620006e7600082620006b4565b600181019050620006d1565b5050565b601f82111562000742576200070c81620005b6565b6200071784620005cb565b8101602085101562000727578190505b6200073f6200073685620005cb565b830182620006d0565b50505b505050565b600082821c905092915050565b6000620007676000198460080262000747565b1980831691505092915050565b600062000782838362000754565b9150826002028217905092915050565b6200079d8262000547565b67ffffffffffffffff811115620007b957620007b862000328565b5b620007c5825462000581565b620007d2828285620006f7565b600060209050601f8311600181146200080a5760008415620007f5578287015190505b62000801858262000774565b86555062000871565b601f1984166200081a86620005b6565b60005b8281101562000844578489015182556001820191506020850194506020810190506200081d565b8683101562000864578489015162000860601f89168262000754565b8355505b6001600288020188555050505b505050505050565b615da280620008896000396000f3fe60806040526004361061043c5760003560e01c80638456cb5911610234578063bb9c26261161012e578063d2cab056116100b6578063f00de9281161007a578063f00de9281461108a578063f1d31fcf146110b5578063f6a7657c146110e0578063fa536e1a1461110b578063fe49279e146111365761043c565b8063d2cab05614610fb2578063e2d3170014610fce578063e31c589814610ff9578063e985e9c514611022578063ee31e2891461105f5761043c565b8063c674c153116100fd578063c674c15314610ecb578063c6e2b8a914610ef6578063c8792ba114610f21578063c87b56dd14610f4a578063c8d5ed6814610f875761043c565b8063bb9c262614610e1f578063bc912e1a14610e4a578063bcc9ca5b14610e75578063c08dfd3c14610ea05761043c565b80639e0338cd116101bc578063afb186d011610180578063afb186d014610d81578063b2f4730d14610daa578063b3e84db014610dc1578063b88d4fde14610dec578063ba7a86b814610e085761043c565b80639e0338cd14610c9c5780639e565acf14610cd9578063a22cb46514610d04578063a479f94214610d2d578063ad8bd82c14610d585761043c565b8063946dbf4411610203578063946dbf4414610ba357806395652cfa14610bce57806395b6238a14610bf757806395d89b4114610c345780639b19251a14610c5f5761043c565b80638456cb5914610b0b5780638d56786414610b225780638da5cb5b14610b4d578063903afdc014610b785761043c565b806332cb6b0c1161034557806354214f69116102cd5780636e7290e7116102915780636e7290e714610a1257806370a0823114610a3d5780637cc1c06314610a7a57806382c0a5e914610ab757806382c3098714610ae05761043c565b806354214f69146109385780635b06f47f146109635780635c975abb1461097f5780636352211e146109aa5780636c0360eb146109e75761043c565b806342842e0e1161031457806342842e0e1461086457806346e62802146108805780634a058861146108a957806351789d54146108d257806351cff8d91461090f5761043c565b806332cb6b0c146107a8578063382dcab7146107d35780633bcc0756146108105780633f4ba83a1461084d5761043c565b80631c16521c116103c857806323b872dd1161039757806323b872dd146106dd5780632588904c146106f957806326ebfbcb146107245780632db115441461074f578063302c41121461076b5761043c565b80631c16521c146105fd5780631d7069651461063a5780631dd08ce614610677578063221fd58e146106a05761043c565b806307e89ec01161040f57806307e89ec014610523578063081812fc1461054e578063095ea7b31461058b57806312686aae146105a757806318160ddd146105d25761043c565b806301ffc9a7146104415780630345e3cb1461047e57806305b83aba146104bb57806306fdde03146104f8575b600080fd5b34801561044d57600080fd5b506104686004803603810190610463919061423e565b61115f565b6040516104759190614286565b60405180910390f35b34801561048a57600080fd5b506104a560048036038101906104a091906142ff565b6111f1565b6040516104b29190614345565b60405180910390f35b3480156104c757600080fd5b506104e260048036038101906104dd91906142ff565b611209565b6040516104ef9190614345565b60405180910390f35b34801561050457600080fd5b5061050d611221565b60405161051a91906143f0565b60405180910390f35b34801561052f57600080fd5b506105386112b3565b6040516105459190614345565b60405180910390f35b34801561055a57600080fd5b506105756004803603810190610570919061443e565b6112be565b604051610582919061447a565b60405180910390f35b6105a560048036038101906105a09190614495565b61131c565b005b3480156105b357600080fd5b506105bc61137a565b6040516105c99190614286565b60405180910390f35b3480156105de57600080fd5b506105e761138d565b6040516105f49190614345565b60405180910390f35b34801561060957600080fd5b50610624600480360381019061061f91906142ff565b6113da565b6040516106319190614345565b60405180910390f35b34801561064657600080fd5b50610661600480360381019061065c9190614653565b6113f2565b60405161066e9190614286565b60405180910390f35b34801561068357600080fd5b5061069e600480360381019061069991906146af565b611409565b005b3480156106ac57600080fd5b506106c760048036038101906106c291906142ff565b6116c2565b6040516106d49190614345565b60405180910390f35b6106f760048036038101906106f291906146f8565b6116da565b005b34801561070557600080fd5b5061070e61199b565b60405161071b919061475a565b60405180910390f35b34801561073057600080fd5b506107396119a1565b6040516107469190614286565b60405180910390f35b6107696004803603810190610764919061443e565b6119b4565b005b34801561077757600080fd5b50610792600480360381019061078d9190614653565b611c95565b60405161079f9190614286565b60405180910390f35b3480156107b457600080fd5b506107bd611cac565b6040516107ca9190614345565b60405180910390f35b3480156107df57600080fd5b506107fa60048036038101906107f59190614653565b611cb2565b6040516108079190614286565b60405180910390f35b34801561081c57600080fd5b50610837600480360381019061083291906142ff565b611cc9565b6040516108449190614286565b60405180910390f35b34801561085957600080fd5b50610862611ce9565b005b61087e600480360381019061087991906146f8565b611d96565b005b34801561088c57600080fd5b506108a760048036038101906108a291906147a1565b611df6565b005b3480156108b557600080fd5b506108d060048036038101906108cb91906146af565b611ef4565b005b3480156108de57600080fd5b506108f960048036038101906108f491906142ff565b6121ad565b6040516109069190614345565b60405180910390f35b34801561091b57600080fd5b50610936600480360381019061093191906142ff565b6121c5565b005b34801561094457600080fd5b5061094d612305565b60405161095a9190614286565b60405180910390f35b61097d60048036038101906109789190614808565b612318565b005b34801561098b57600080fd5b506109946126cf565b6040516109a19190614286565b60405180910390f35b3480156109b657600080fd5b506109d160048036038101906109cc919061443e565b6126e2565b6040516109de919061447a565b60405180910390f35b3480156109f357600080fd5b506109fc6126f4565b604051610a0991906143f0565b60405180910390f35b348015610a1e57600080fd5b50610a27612782565b604051610a349190614345565b60405180910390f35b348015610a4957600080fd5b50610a646004803603810190610a5f91906142ff565b612787565b604051610a719190614345565b60405180910390f35b348015610a8657600080fd5b50610aa16004803603810190610a9c91906142ff565b61281e565b604051610aae9190614345565b60405180910390f35b348015610ac357600080fd5b50610ade6004803603810190610ad99190614864565b612836565b005b348015610aec57600080fd5b50610af56128d0565b604051610b02919061475a565b60405180910390f35b348015610b1757600080fd5b50610b206128d6565b005b348015610b2e57600080fd5b50610b37612983565b604051610b449190614345565b60405180910390f35b348015610b5957600080fd5b50610b62612989565b604051610b6f919061447a565b60405180910390f35b348015610b8457600080fd5b50610b8d6129af565b604051610b9a919061475a565b60405180910390f35b348015610baf57600080fd5b50610bb86129b5565b604051610bc5919061475a565b60405180910390f35b348015610bda57600080fd5b50610bf56004803603810190610bf09190614946565b6129bb565b005b348015610c0357600080fd5b50610c1e6004803603810190610c199190614653565b612a5e565b604051610c2b9190614286565b60405180910390f35b348015610c4057600080fd5b50610c49612a75565b604051610c5691906143f0565b60405180910390f35b348015610c6b57600080fd5b50610c866004803603810190610c8191906142ff565b612b07565b604051610c939190614286565b60405180910390f35b348015610ca857600080fd5b50610cc36004803603810190610cbe9190614653565b612b27565b604051610cd09190614286565b60405180910390f35b348015610ce557600080fd5b50610cee612b3e565b604051610cfb9190614345565b60405180910390f35b348015610d1057600080fd5b50610d2b6004803603810190610d26919061498f565b612b49565b005b348015610d3957600080fd5b50610d42612ba7565b604051610d4f9190614345565b60405180910390f35b348015610d6457600080fd5b50610d7f6004803603810190610d7a9190614864565b612bac565b005b348015610d8d57600080fd5b50610da86004803603810190610da39190614864565b612c46565b005b348015610db657600080fd5b50610dbf612ce0565b005b348015610dcd57600080fd5b50610dd6612d9c565b604051610de39190614345565b60405180910390f35b610e066004803603810190610e019190614a70565b612da2565b005b348015610e1457600080fd5b50610e1d612df4565b005b348015610e2b57600080fd5b50610e34612f55565b604051610e41919061475a565b60405180910390f35b348015610e5657600080fd5b50610e5f612f5b565b604051610e6c9190614345565b60405180910390f35b348015610e8157600080fd5b50610e8a612f66565b604051610e979190614286565b60405180910390f35b348015610eac57600080fd5b50610eb5612f79565b604051610ec29190614345565b60405180910390f35b348015610ed757600080fd5b50610ee0612f7f565b604051610eed9190614345565b60405180910390f35b348015610f0257600080fd5b50610f0b612f84565b604051610f189190614286565b60405180910390f35b348015610f2d57600080fd5b50610f486004803603810190610f439190614864565b612f97565b005b348015610f5657600080fd5b50610f716004803603810190610f6c919061443e565b613031565b604051610f7e91906143f0565b60405180910390f35b348015610f9357600080fd5b50610f9c6130af565b604051610fa99190614345565b60405180910390f35b610fcc6004803603810190610fc79190614808565b6130b4565b005b348015610fda57600080fd5b50610fe361346b565b604051610ff09190614345565b60405180910390f35b34801561100557600080fd5b50611020600480360381019061101b91906146af565b613470565b005b34801561102e57600080fd5b5061104960048036038101906110449190614af3565b613729565b6040516110569190614286565b60405180910390f35b34801561106b57600080fd5b506110746137bd565b6040516110819190614286565b60405180910390f35b34801561109657600080fd5b5061109f6137d0565b6040516110ac9190614345565b60405180910390f35b3480156110c157600080fd5b506110ca6137d6565b6040516110d79190614345565b60405180910390f35b3480156110ec57600080fd5b506110f56137dc565b6040516111029190614286565b60405180910390f35b34801561111757600080fd5b506111206137ef565b60405161112d9190614345565b60405180910390f35b34801561114257600080fd5b5061115d60048036038101906111589190614864565b6137f4565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806111ba57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806111ea5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60146020528060005260406000206000915090505481565b60156020528060005260406000206000915090505481565b60606002805461123090614b62565b80601f016020809104026020016040519081016040528092919081815260200182805461125c90614b62565b80156112a95780601f1061127e576101008083540402835291602001916112a9565b820191906000526020600020905b81548152906001019060200180831161128c57829003601f168201915b5050505050905090565b66470de4df82000081565b60006112c98261388e565b6112de576112dd63cf4700e460e01b61393a565b5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600c60079054906101000a900460ff161561136c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136390614bdf565b60405180910390fd5b6113768282613944565b5050565b600c60079054906101000a900460ff1681565b6000611397613954565b600154600054030390507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6113ca61395d565b146113d757600854810190505b90565b60136020528060005260406000206000915090505481565b600061140183600e5484613985565b905092915050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611477576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146e90614c4b565b60405180910390fd5b600c60069054906101000a900460ff16156114c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114be90614cb7565b60405180910390fd5b600c60009054906101000a900460ff16611516576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150d90614d23565b60405180910390fd5b611546813360405160200161152b9190614d8b565b60405160208183030381529060405280519060200120612a5e565b611585576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157c90614e18565b60405180910390fd5b611b39600261159261138d565b61159c9190614e67565b11156115dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d490614ee7565b60405180910390fd5b6001601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541061165f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165690614f53565b60405180910390fd5b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906116af90614f73565b91905055506116bf33600261399c565b50565b60186020528060005260406000206000915090505481565b60006116e582613b22565b905073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161693508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461175a5761175963a114810060e01b61393a565b5b60008061176684613c3b565b9150915061177c8187611777613c62565b613c6a565b6117a7576117918661178c613c62565b613729565b6117a6576117a56359c896be60e01b61393a565b5b5b6117b48686866001613cae565b80156117bf57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061188d85611869888887613cb4565b7c020000000000000000000000000000000000000000000000000000000017613cdc565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036119135760006001850190506000600460008381526020019081526020016000205403611911576000548114611910578360046000838152602001908152602001600020819055505b5b505b600073ffffffffffffffffffffffffffffffffffffffff8673ffffffffffffffffffffffffffffffffffffffff161690508481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600081036119855761198463ea553b3460e01b61393a565b5b6119928787876001613d07565b50505050505050565b60105481565b600c60019054906101000a900460ff1681565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611a22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1990614c4b565b60405180910390fd5b600c60069054906101000a900460ff1615611a72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6990614cb7565b60405180910390fd5b600c60039054906101000a900460ff16611ac1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab890615007565b60405180910390fd5b611b3981611acd61138d565b611ad79190614e67565b1115611b18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0f90614ee7565b60405180910390fd5b600181601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b659190614e67565b1115611ba6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9d90615099565b60405180910390fd5b66470de4df82000081611bb991906150b9565b3414611bfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf190615147565b60405180910390fd5b80601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611c459190614e67565b601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611c92338261399c565b50565b6000611ca483600d5484613985565b905092915050565b611b3981565b6000611cc18360115484613985565b905092915050565b60196020528060005260406000206000915054906101000a900460ff1681565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611d79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d70906151d9565b60405180910390fd5b6000600c60066101000a81548160ff021916908315150217905550565b600c60079054906101000a900460ff1615611de6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ddd90615245565b60405180910390fd5b611df1838383613d0d565b505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611e86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7d906151d9565b60405180910390fd5b83600c60036101000a81548160ff02191690831515021790555082600c60026101000a81548160ff02191690831515021790555081600c60016101000a81548160ff02191690831515021790555080600c60006101000a81548160ff02191690831515021790555050505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611f62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5990614c4b565b60405180910390fd5b600c60069054906101000a900460ff1615611fb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa990614cb7565b60405180910390fd5b600c60009054906101000a900460ff16612001576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff890614d23565b60405180910390fd5b61203181336040516020016120169190614d8b565b60405160208183030381529060405280519060200120611cb2565b612070576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612067906152d7565b60405180910390fd5b611b39600361207d61138d565b6120879190614e67565b11156120c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120bf90614ee7565b60405180910390fd5b6001601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541061214a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214190614f53565b60405180910390fd5b601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061219a90614f73565b91905055506121aa33600361399c565b50565b60176020528060005260406000206000915090505481565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612255576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224c906151d9565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff164760405161227b90615328565b60006040518083038185875af1925050503d80600081146122b8576040519150601f19603f3d011682016040523d82523d6000602084013e6122bd565b606091505b5050905080612301576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f890615389565b60405180910390fd5b5050565b600c60059054906101000a900460ff1681565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614612386576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237d90614c4b565b60405180910390fd5b600c60069054906101000a900460ff16156123d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123cd90614cb7565b60405180910390fd5b600c60019054906101000a900460ff16612425576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241c906153f5565b60405180910390fd5b612455813360405160200161243a9190614d8b565b60405160208183030381529060405280519060200120611c95565b612494576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248b90615461565b60405180910390fd5b611b39826124a061138d565b6124aa9190614e67565b11156124eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e290614ee7565b60405180910390fd5b6107d082600a546124fc9190614e67565b111561253d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612534906154cd565b60405180910390fd5b600382601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461258a9190614e67565b11156125cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125c29061555f565b60405180910390fd5b662386f26fc10000826125de91906150b9565b341461261f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261690615147565b60405180910390fd5b81601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461266a9190614e67565b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600a546126bb9190614e67565b600a819055506126cb338361399c565b5050565b600c60069054906101000a900460ff1681565b60006126ed82613b22565b9050919050565b6012805461270190614b62565b80601f016020809104026020016040519081016040528092919081815260200182805461272d90614b62565b801561277a5780601f1061274f5761010080835404028352916020019161277a565b820191906000526020600020905b81548152906001019060200180831161275d57829003601f168201915b505050505081565b600281565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036127cd576127cc638f4eb60460e01b61393a565b5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b60166020528060005260406000206000915090505481565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146128c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128bd906151d9565b60405180910390fd5b80600f8190555050565b600e5481565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612966576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295d906151d9565b60405180910390fd5b6001600c60066101000a81548160ff021916908315150217905550565b600a5481565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600d5481565b60115481565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612a4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a42906151d9565b60405180910390fd5b8060129081612a5a919061572b565b5050565b6000612a6d8360105484613985565b905092915050565b606060038054612a8490614b62565b80601f0160208091040260200160405190810160405280929190818152602001828054612ab090614b62565b8015612afd5780601f10612ad257610100808354040283529160200191612afd565b820191906000526020600020905b815481529060010190602001808311612ae057829003601f168201915b5050505050905090565b601a6020528060005260406000206000915054906101000a900460ff1681565b6000612b3683600f5484613985565b905092915050565b662386f26fc1000081565b600c60079054906101000a900460ff1615612b99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9090614bdf565b60405180910390fd5b612ba38282613d2d565b5050565b600381565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612c3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c33906151d9565b60405180910390fd5b80600e8190555050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612cd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ccd906151d9565b60405180910390fd5b8060108190555050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612d70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d67906151d9565b60405180910390fd5b600c60079054906101000a900460ff1615600c60076101000a81548160ff021916908315150217905550565b600b5481565b612dad8484846116da565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612dee57612dd884848484613e38565b612ded57612dec63d1a57ed660e01b61393a565b5b5b50505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612e84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e7b906151d9565b60405180910390fd5b600c60049054906101000a900460ff1615612ed4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ecb90615849565b60405180910390fd5b611b396102ff612ee261138d565b612eec9190614e67565b10612f2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2390614ee7565b60405180910390fd5b6001600c60046101000a81548160ff021916908315150217905550612f53336102ff61399c565b565b600f5481565b66354a6ba7a1800081565b600c60039054906101000a900460ff1681565b610bb881565b600281565b600c60009054906101000a900460ff1681565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614613027576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161301e906151d9565b60405180910390fd5b80600d8190555050565b606061303c8261388e565b6130515761305063a14c4b5060e01b61393a565b5b60006012805461306090614b62565b90500361307c57604051806020016040528060008152506130a8565b601261308783613f67565b604051602001613098929190615974565b6040516020818303038152906040525b9050919050565b600181565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614613122576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161311990614c4b565b60405180910390fd5b600c60069054906101000a900460ff1615613172576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161316990614cb7565b60405180910390fd5b600c60029054906101000a900460ff166131c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131b8906159ef565b60405180910390fd5b6131f181336040516020016131d69190614d8b565b604051602081830303815290604052805190602001206113f2565b613230576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161322790615a5b565b60405180910390fd5b611b398261323c61138d565b6132469190614e67565b1115613287576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161327e90614ee7565b60405180910390fd5b610bb882600b546132989190614e67565b11156132d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132d090615aed565b60405180910390fd5b600282601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546133269190614e67565b1115613367576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161335e90615b7f565b60405180910390fd5b66354a6ba7a180008261337a91906150b9565b34146133bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133b290615147565b60405180910390fd5b81601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546134069190614e67565b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600b546134579190614e67565b600b81905550613467338361399c565b5050565b600181565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146134de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134d590614c4b565b60405180910390fd5b600c60069054906101000a900460ff161561352e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161352590614cb7565b60405180910390fd5b600c60009054906101000a900460ff1661357d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161357490614d23565b60405180910390fd5b6135ad81336040516020016135929190614d8b565b60405160208183030381529060405280519060200120612b27565b6135ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135e390615c11565b60405180910390fd5b611b3960016135f961138d565b6136039190614e67565b1115613644576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161363b90614ee7565b60405180910390fd5b6001601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054106136c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136bd90614f53565b60405180910390fd5b601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061371690614f73565b919050555061372633600161399c565b50565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c60029054906101000a900460ff1681565b6107d081565b6102ff81565b600c60049054906101000a900460ff1681565b600381565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614613884576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161387b906151d9565b60405180910390fd5b8060118190555050565b600081613899613954565b11613934576138a661395d565b8211156138d0576138c96004600084815260200190815260200160002054613fb7565b9050613935565b6000548210156139335760005b600060046000858152602001908152602001600020549150810361390c578261390590615c31565b92506138dd565b60007c01000000000000000000000000000000000000000000000000000000008216149150505b5b5b919050565b8060005260046000fd5b61395082826001613ff8565b5050565b60006001905090565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff905090565b6000826139928584614127565b1490509392505050565b600080549050600082036139bb576139ba63b562e8dd60e01b61393a565b5b6139c86000848385613cae565b6139e8836139d96000866000613cb4565b6139e285614177565b17613cdc565b6004600083815260200190815260200160002081905550600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550600073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff1616905060008103613aa057613a9f632e07630060e01b61393a565b5b600083830190506000839050613ab461395d565b600183031115613acf57613ace6381647e3a60e01b61393a565b5b5b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4818160010191508103613ad05781600081905550505050613b1d6000848385613d07565b505050565b600081613b2d613954565b11613c255760046000838152602001908152602001600020549050613b5061395d565b821115613b7557613b6081613fb7565b613c3657613b7463df2d9b4260e01b61393a565b5b60008103613bfc576000548210613b9757613b9663df2d9b4260e01b61393a565b5b5b60046000836001900393508381526020019081526020016000205490506000810315613bf75760007c010000000000000000000000000000000000000000000000000000000082160315613c3657613bf663df2d9b4260e01b61393a565b5b613b98565b60007c010000000000000000000000000000000000000000000000000000000082160315613c36575b613c3563df2d9b4260e01b61393a565b5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8613ccb868684614187565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b613d2883838360405180602001604052806000815250612da2565b505050565b8060076000613d3a613c62565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16613de7613c62565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051613e2c9190614286565b60405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613e5e613c62565b8786866040518563ffffffff1660e01b8152600401613e809493929190615caf565b6020604051808303816000875af1925050508015613ebc57506040513d601f19601f82011682018060405250810190613eb99190615d10565b60015b613f14573d8060008114613eec576040519150601f19603f3d011682016040523d82523d6000602084013e613ef1565b606091505b506000815103613f0c57613f0b63d1a57ed660e01b61393a565b5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060a060405101806040526020810391506000825281835b600115613fa257600184039350600a81066030018453600a8104905080613f80575b50828103602084039350808452505050919050565b60007c0100000000000000000000000000000000000000000000000000000000821673ffffffffffffffffffffffffffffffffffffffff8316119050919050565b6000614003836126e2565b905081801561404557508073ffffffffffffffffffffffffffffffffffffffff1661402c613c62565b73ffffffffffffffffffffffffffffffffffffffff1614155b156140715761405b81614056613c62565b613729565b6140705761406f63cfb3b94260e01b61393a565b5b5b836006600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b60008082905060005b845181101561416c5761415d828683815181106141505761414f615d3d565b5b6020026020010151614190565b91508080600101915050614130565b508091505092915050565b60006001821460e11b9050919050565b60009392505050565b60008183106141a8576141a382846141bb565b6141b3565b6141b283836141bb565b5b905092915050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61421b816141e6565b811461422657600080fd5b50565b60008135905061423881614212565b92915050565b600060208284031215614254576142536141dc565b5b600061426284828501614229565b91505092915050565b60008115159050919050565b6142808161426b565b82525050565b600060208201905061429b6000830184614277565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006142cc826142a1565b9050919050565b6142dc816142c1565b81146142e757600080fd5b50565b6000813590506142f9816142d3565b92915050565b600060208284031215614315576143146141dc565b5b6000614323848285016142ea565b91505092915050565b6000819050919050565b61433f8161432c565b82525050565b600060208201905061435a6000830184614336565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561439a57808201518184015260208101905061437f565b60008484015250505050565b6000601f19601f8301169050919050565b60006143c282614360565b6143cc818561436b565b93506143dc81856020860161437c565b6143e5816143a6565b840191505092915050565b6000602082019050818103600083015261440a81846143b7565b905092915050565b61441b8161432c565b811461442657600080fd5b50565b60008135905061443881614412565b92915050565b600060208284031215614454576144536141dc565b5b600061446284828501614429565b91505092915050565b614474816142c1565b82525050565b600060208201905061448f600083018461446b565b92915050565b600080604083850312156144ac576144ab6141dc565b5b60006144ba858286016142ea565b92505060206144cb85828601614429565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b614512826143a6565b810181811067ffffffffffffffff82111715614531576145306144da565b5b80604052505050565b60006145446141d2565b90506145508282614509565b919050565b600067ffffffffffffffff8211156145705761456f6144da565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b61459981614586565b81146145a457600080fd5b50565b6000813590506145b681614590565b92915050565b60006145cf6145ca84614555565b61453a565b905080838252602082019050602084028301858111156145f2576145f1614581565b5b835b8181101561461b578061460788826145a7565b8452602084019350506020810190506145f4565b5050509392505050565b600082601f83011261463a576146396144d5565b5b813561464a8482602086016145bc565b91505092915050565b6000806040838503121561466a576146696141dc565b5b600083013567ffffffffffffffff811115614688576146876141e1565b5b61469485828601614625565b92505060206146a5858286016145a7565b9150509250929050565b6000602082840312156146c5576146c46141dc565b5b600082013567ffffffffffffffff8111156146e3576146e26141e1565b5b6146ef84828501614625565b91505092915050565b600080600060608486031215614711576147106141dc565b5b600061471f868287016142ea565b9350506020614730868287016142ea565b925050604061474186828701614429565b9150509250925092565b61475481614586565b82525050565b600060208201905061476f600083018461474b565b92915050565b61477e8161426b565b811461478957600080fd5b50565b60008135905061479b81614775565b92915050565b600080600080608085870312156147bb576147ba6141dc565b5b60006147c98782880161478c565b94505060206147da8782880161478c565b93505060406147eb8782880161478c565b92505060606147fc8782880161478c565b91505092959194509250565b6000806040838503121561481f5761481e6141dc565b5b600061482d85828601614429565b925050602083013567ffffffffffffffff81111561484e5761484d6141e1565b5b61485a85828601614625565b9150509250929050565b60006020828403121561487a576148796141dc565b5b6000614888848285016145a7565b91505092915050565b600080fd5b600067ffffffffffffffff8211156148b1576148b06144da565b5b6148ba826143a6565b9050602081019050919050565b82818337600083830152505050565b60006148e96148e484614896565b61453a565b90508281526020810184848401111561490557614904614891565b5b6149108482856148c7565b509392505050565b600082601f83011261492d5761492c6144d5565b5b813561493d8482602086016148d6565b91505092915050565b60006020828403121561495c5761495b6141dc565b5b600082013567ffffffffffffffff81111561497a576149796141e1565b5b61498684828501614918565b91505092915050565b600080604083850312156149a6576149a56141dc565b5b60006149b4858286016142ea565b92505060206149c58582860161478c565b9150509250929050565b600067ffffffffffffffff8211156149ea576149e96144da565b5b6149f3826143a6565b9050602081019050919050565b6000614a13614a0e846149cf565b61453a565b905082815260208101848484011115614a2f57614a2e614891565b5b614a3a8482856148c7565b509392505050565b600082601f830112614a5757614a566144d5565b5b8135614a67848260208601614a00565b91505092915050565b60008060008060808587031215614a8a57614a896141dc565b5b6000614a98878288016142ea565b9450506020614aa9878288016142ea565b9350506040614aba87828801614429565b925050606085013567ffffffffffffffff811115614adb57614ada6141e1565b5b614ae787828801614a42565b91505092959194509250565b60008060408385031215614b0a57614b096141dc565b5b6000614b18858286016142ea565b9250506020614b29858286016142ea565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614b7a57607f821691505b602082108103614b8d57614b8c614b33565b5b50919050565b7f4c697374696e67206172652063757272656e746c79206c6f636b656400000000600082015250565b6000614bc9601c8361436b565b9150614bd482614b93565b602082019050919050565b60006020820190508181036000830152614bf881614bbc565b9050919050565b7f436f6e7472616374732063616e6e6f74206d696e740000000000000000000000600082015250565b6000614c3560158361436b565b9150614c4082614bff565b602082019050919050565b60006020820190508181036000830152614c6481614c28565b9050919050565b7f436f6e7472616374206973207061757365640000000000000000000000000000600082015250565b6000614ca160128361436b565b9150614cac82614c6b565b602082019050919050565b60006020820190508181036000830152614cd081614c94565b9050919050565b7f4943204672656520436c61696d206973206e6f74206163746976650000000000600082015250565b6000614d0d601b8361436b565b9150614d1882614cd7565b602082019050919050565b60006020820190508181036000830152614d3c81614d00565b9050919050565b60008160601b9050919050565b6000614d5b82614d43565b9050919050565b6000614d6d82614d50565b9050919050565b614d85614d80826142c1565b614d62565b82525050565b6000614d978284614d74565b60148201915081905092915050565b7f596f7520646f206e6f7420686f6c6420616e20496e6e657220436972636c652060008201527f53706f742077697468203278204672656520436c61696d000000000000000000602082015250565b6000614e0260378361436b565b9150614e0d82614da6565b604082019050919050565b60006020820190508181036000830152614e3181614df5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614e728261432c565b9150614e7d8361432c565b9250828201905080821115614e9557614e94614e38565b5b92915050565b7f45786365656473206d617820737570706c79206f66204e465473000000000000600082015250565b6000614ed1601a8361436b565b9150614edc82614e9b565b602082019050919050565b60006020820190508181036000830152614f0081614ec4565b9050919050565b7f596f75204861766520416c726561647920436c61696d65640000000000000000600082015250565b6000614f3d60188361436b565b9150614f4882614f07565b602082019050919050565b60006020820190508181036000830152614f6c81614f30565b9050919050565b6000614f7e8261432c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614fb057614faf614e38565b5b600182019050919050565b7f5075626c6963206d696e74206973206e6f742061637469766500000000000000600082015250565b6000614ff160198361436b565b9150614ffc82614fbb565b602082019050919050565b6000602082019050818103600083015261502081614fe4565b9050919050565b7f45786365656473206d6178206c696d6974206f66204e4654732070657220776160008201527f6c6c657400000000000000000000000000000000000000000000000000000000602082015250565b600061508360248361436b565b915061508e82615027565b604082019050919050565b600060208201905081810360008301526150b281615076565b9050919050565b60006150c48261432c565b91506150cf8361432c565b92508282026150dd8161432c565b915082820484148315176150f4576150f3614e38565b5b5092915050565b7f496e7375666669656e742046756e647321000000000000000000000000000000600082015250565b600061513160118361436b565b915061513c826150fb565b602082019050919050565b6000602082019050818103600083015261516081615124565b9050919050565b7f43616c6c65722073686f756c6420626520746865206f776e6572206f6620746860008201527f697320636f6e7472616374000000000000000000000000000000000000000000602082015250565b60006151c3602b8361436b565b91506151ce82615167565b604082019050919050565b600060208201905081810360008301526151f2816151b6565b9050919050565b7f5472616e7366657273206172652063757272656e746c79206c6f636b65640000600082015250565b600061522f601e8361436b565b915061523a826151f9565b602082019050919050565b6000602082019050818103600083015261525e81615222565b9050919050565b7f596f7520646f206e6f7420686f6c6420616e20496e6e657220436972636c652060008201527f53706f742077697468203378204672656520436c61696d000000000000000000602082015250565b60006152c160378361436b565b91506152cc82615265565b604082019050919050565b600060208201905081810360008301526152f0816152b4565b9050919050565b600081905092915050565b50565b60006153126000836152f7565b915061531d82615302565b600082019050919050565b600061533382615305565b9150819050919050565b7f43616c6c206661696c6564000000000000000000000000000000000000000000600082015250565b6000615373600b8361436b565b915061537e8261533d565b602082019050919050565b600060208201905081810360008301526153a281615366565b9050919050565b7f4f47206d696e74206973206e6f74206163746976650000000000000000000000600082015250565b60006153df60158361436b565b91506153ea826153a9565b602082019050919050565b6000602082019050818103600083015261540e816153d2565b9050919050565b7f596f7520646f206e6f7420686f6c6420616e204f472053706f74000000000000600082015250565b600061544b601a8361436b565b915061545682615415565b602082019050919050565b6000602082019050818103600083015261547a8161543e565b9050919050565b7f45786365656473206d617820737570706c7920666f72204f472053706f747300600082015250565b60006154b7601f8361436b565b91506154c282615481565b602082019050919050565b600060208201905081810360008301526154e6816154aa565b9050919050565b7f45786365656473206d6178206c696d6974206f66204e4654732070657220776160008201527f6c6c657420666f72204f472073706f7420686f6c646572730000000000000000602082015250565b600061554960388361436b565b9150615554826154ed565b604082019050919050565b600060208201905081810360008301526155788161553c565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026155e17fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826155a4565b6155eb86836155a4565b95508019841693508086168417925050509392505050565b6000819050919050565b600061562861562361561e8461432c565b615603565b61432c565b9050919050565b6000819050919050565b6156428361560d565b61565661564e8261562f565b8484546155b1565b825550505050565b600090565b61566b61565e565b615676818484615639565b505050565b5b8181101561569a5761568f600082615663565b60018101905061567c565b5050565b601f8211156156df576156b08161557f565b6156b984615594565b810160208510156156c8578190505b6156dc6156d485615594565b83018261567b565b50505b505050565b600082821c905092915050565b6000615702600019846008026156e4565b1980831691505092915050565b600061571b83836156f1565b9150826002028217905092915050565b61573482614360565b67ffffffffffffffff81111561574d5761574c6144da565b5b6157578254614b62565b61576282828561569e565b600060209050601f8311600181146157955760008415615783578287015190505b61578d858261570f565b8655506157f5565b601f1984166157a38661557f565b60005b828110156157cb578489015182556001820191506020850194506020810190506157a6565b868310156157e857848901516157e4601f8916826156f1565b8355505b6001600288020188555050505b505050505050565b7f5465616d2048617320416c7265616479204d696e746564000000000000000000600082015250565b600061583360178361436b565b915061583e826157fd565b602082019050919050565b6000602082019050818103600083015261586281615826565b9050919050565b600081905092915050565b6000815461588181614b62565b61588b8186615869565b945060018216600081146158a657600181146158bb576158ee565b60ff19831686528115158202860193506158ee565b6158c48561557f565b60005b838110156158e6578154818901526001820191506020810190506158c7565b838801955050505b50505092915050565b600061590282614360565b61590c8185615869565b935061591c81856020860161437c565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b600061595e600583615869565b915061596982615928565b600582019050919050565b60006159808285615874565b915061598c82846158f7565b915061599782615951565b91508190509392505050565b7f57686974656c697374206d696e74206973206e6f742061637469766500000000600082015250565b60006159d9601c8361436b565b91506159e4826159a3565b602082019050919050565b60006020820190508181036000830152615a08816159cc565b9050919050565b7f596f7520646f206e6f7420686f6c6420612057686974656c6973742073706f74600082015250565b6000615a4560208361436b565b9150615a5082615a0f565b602082019050919050565b60006020820190508181036000830152615a7481615a38565b9050919050565b7f45786365656473206d617820737570706c7920666f722057686974656c69737460008201527f2053706f74730000000000000000000000000000000000000000000000000000602082015250565b6000615ad760268361436b565b9150615ae282615a7b565b604082019050919050565b60006020820190508181036000830152615b0681615aca565b9050919050565b7f45786365656473206d6178206c696d6974206f66204e4654732070657220776160008201527f6c6c657420666f72207768696c74656c6973742073706f7420686f6c64657273602082015250565b6000615b6960408361436b565b9150615b7482615b0d565b604082019050919050565b60006020820190508181036000830152615b9881615b5c565b9050919050565b7f596f7520646f206e6f7420686f6c6420616e20496e6e657220436972636c652060008201527f53706f742077697468203178204672656520436c61696d000000000000000000602082015250565b6000615bfb60378361436b565b9150615c0682615b9f565b604082019050919050565b60006020820190508181036000830152615c2a81615bee565b9050919050565b6000615c3c8261432c565b915060008203615c4f57615c4e614e38565b5b600182039050919050565b600081519050919050565b600082825260208201905092915050565b6000615c8182615c5a565b615c8b8185615c65565b9350615c9b81856020860161437c565b615ca4816143a6565b840191505092915050565b6000608082019050615cc4600083018761446b565b615cd1602083018661446b565b615cde6040830185614336565b8181036060830152615cf08184615c76565b905095945050505050565b600081519050615d0a81614212565b92915050565b600060208284031215615d2657615d256141dc565b5b6000615d3484828501615cfb565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea2646970667358221220471fa3f17332623204043fe412e423d91bc5a5cfbaaafeba76ee58e3d75ed62264736f6c63430008180033ebf0011ca3ae12d9a20f5cd159e915a480f9af196f2efc69b40968bc7cb6bec8650e84249458e27f2ec9f1c7c61faf4ecc0ae111f9d2b659bf1bfc9f8a9305b8d58d8ac2d1a57a3b56e92202eea6dfb53c271bd4cfce68620253af89a4e20e8beb3d573ae9752cf3651b7f753cfc626fc510fd691c81f531988176d79a8e0062efef1eea730df1331488d054e5acfd8847ab4006905cffdf995545cc37f4664a00000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000003e697066733a2f2f516d59796b7a5048556e5532753148393433644a37756332626f70614571777734584631515043734b4777697a352f426f73734d616e5f0000
Deployed Bytecode
0x60806040526004361061043c5760003560e01c80638456cb5911610234578063bb9c26261161012e578063d2cab056116100b6578063f00de9281161007a578063f00de9281461108a578063f1d31fcf146110b5578063f6a7657c146110e0578063fa536e1a1461110b578063fe49279e146111365761043c565b8063d2cab05614610fb2578063e2d3170014610fce578063e31c589814610ff9578063e985e9c514611022578063ee31e2891461105f5761043c565b8063c674c153116100fd578063c674c15314610ecb578063c6e2b8a914610ef6578063c8792ba114610f21578063c87b56dd14610f4a578063c8d5ed6814610f875761043c565b8063bb9c262614610e1f578063bc912e1a14610e4a578063bcc9ca5b14610e75578063c08dfd3c14610ea05761043c565b80639e0338cd116101bc578063afb186d011610180578063afb186d014610d81578063b2f4730d14610daa578063b3e84db014610dc1578063b88d4fde14610dec578063ba7a86b814610e085761043c565b80639e0338cd14610c9c5780639e565acf14610cd9578063a22cb46514610d04578063a479f94214610d2d578063ad8bd82c14610d585761043c565b8063946dbf4411610203578063946dbf4414610ba357806395652cfa14610bce57806395b6238a14610bf757806395d89b4114610c345780639b19251a14610c5f5761043c565b80638456cb5914610b0b5780638d56786414610b225780638da5cb5b14610b4d578063903afdc014610b785761043c565b806332cb6b0c1161034557806354214f69116102cd5780636e7290e7116102915780636e7290e714610a1257806370a0823114610a3d5780637cc1c06314610a7a57806382c0a5e914610ab757806382c3098714610ae05761043c565b806354214f69146109385780635b06f47f146109635780635c975abb1461097f5780636352211e146109aa5780636c0360eb146109e75761043c565b806342842e0e1161031457806342842e0e1461086457806346e62802146108805780634a058861146108a957806351789d54146108d257806351cff8d91461090f5761043c565b806332cb6b0c146107a8578063382dcab7146107d35780633bcc0756146108105780633f4ba83a1461084d5761043c565b80631c16521c116103c857806323b872dd1161039757806323b872dd146106dd5780632588904c146106f957806326ebfbcb146107245780632db115441461074f578063302c41121461076b5761043c565b80631c16521c146105fd5780631d7069651461063a5780631dd08ce614610677578063221fd58e146106a05761043c565b806307e89ec01161040f57806307e89ec014610523578063081812fc1461054e578063095ea7b31461058b57806312686aae146105a757806318160ddd146105d25761043c565b806301ffc9a7146104415780630345e3cb1461047e57806305b83aba146104bb57806306fdde03146104f8575b600080fd5b34801561044d57600080fd5b506104686004803603810190610463919061423e565b61115f565b6040516104759190614286565b60405180910390f35b34801561048a57600080fd5b506104a560048036038101906104a091906142ff565b6111f1565b6040516104b29190614345565b60405180910390f35b3480156104c757600080fd5b506104e260048036038101906104dd91906142ff565b611209565b6040516104ef9190614345565b60405180910390f35b34801561050457600080fd5b5061050d611221565b60405161051a91906143f0565b60405180910390f35b34801561052f57600080fd5b506105386112b3565b6040516105459190614345565b60405180910390f35b34801561055a57600080fd5b506105756004803603810190610570919061443e565b6112be565b604051610582919061447a565b60405180910390f35b6105a560048036038101906105a09190614495565b61131c565b005b3480156105b357600080fd5b506105bc61137a565b6040516105c99190614286565b60405180910390f35b3480156105de57600080fd5b506105e761138d565b6040516105f49190614345565b60405180910390f35b34801561060957600080fd5b50610624600480360381019061061f91906142ff565b6113da565b6040516106319190614345565b60405180910390f35b34801561064657600080fd5b50610661600480360381019061065c9190614653565b6113f2565b60405161066e9190614286565b60405180910390f35b34801561068357600080fd5b5061069e600480360381019061069991906146af565b611409565b005b3480156106ac57600080fd5b506106c760048036038101906106c291906142ff565b6116c2565b6040516106d49190614345565b60405180910390f35b6106f760048036038101906106f291906146f8565b6116da565b005b34801561070557600080fd5b5061070e61199b565b60405161071b919061475a565b60405180910390f35b34801561073057600080fd5b506107396119a1565b6040516107469190614286565b60405180910390f35b6107696004803603810190610764919061443e565b6119b4565b005b34801561077757600080fd5b50610792600480360381019061078d9190614653565b611c95565b60405161079f9190614286565b60405180910390f35b3480156107b457600080fd5b506107bd611cac565b6040516107ca9190614345565b60405180910390f35b3480156107df57600080fd5b506107fa60048036038101906107f59190614653565b611cb2565b6040516108079190614286565b60405180910390f35b34801561081c57600080fd5b50610837600480360381019061083291906142ff565b611cc9565b6040516108449190614286565b60405180910390f35b34801561085957600080fd5b50610862611ce9565b005b61087e600480360381019061087991906146f8565b611d96565b005b34801561088c57600080fd5b506108a760048036038101906108a291906147a1565b611df6565b005b3480156108b557600080fd5b506108d060048036038101906108cb91906146af565b611ef4565b005b3480156108de57600080fd5b506108f960048036038101906108f491906142ff565b6121ad565b6040516109069190614345565b60405180910390f35b34801561091b57600080fd5b50610936600480360381019061093191906142ff565b6121c5565b005b34801561094457600080fd5b5061094d612305565b60405161095a9190614286565b60405180910390f35b61097d60048036038101906109789190614808565b612318565b005b34801561098b57600080fd5b506109946126cf565b6040516109a19190614286565b60405180910390f35b3480156109b657600080fd5b506109d160048036038101906109cc919061443e565b6126e2565b6040516109de919061447a565b60405180910390f35b3480156109f357600080fd5b506109fc6126f4565b604051610a0991906143f0565b60405180910390f35b348015610a1e57600080fd5b50610a27612782565b604051610a349190614345565b60405180910390f35b348015610a4957600080fd5b50610a646004803603810190610a5f91906142ff565b612787565b604051610a719190614345565b60405180910390f35b348015610a8657600080fd5b50610aa16004803603810190610a9c91906142ff565b61281e565b604051610aae9190614345565b60405180910390f35b348015610ac357600080fd5b50610ade6004803603810190610ad99190614864565b612836565b005b348015610aec57600080fd5b50610af56128d0565b604051610b02919061475a565b60405180910390f35b348015610b1757600080fd5b50610b206128d6565b005b348015610b2e57600080fd5b50610b37612983565b604051610b449190614345565b60405180910390f35b348015610b5957600080fd5b50610b62612989565b604051610b6f919061447a565b60405180910390f35b348015610b8457600080fd5b50610b8d6129af565b604051610b9a919061475a565b60405180910390f35b348015610baf57600080fd5b50610bb86129b5565b604051610bc5919061475a565b60405180910390f35b348015610bda57600080fd5b50610bf56004803603810190610bf09190614946565b6129bb565b005b348015610c0357600080fd5b50610c1e6004803603810190610c199190614653565b612a5e565b604051610c2b9190614286565b60405180910390f35b348015610c4057600080fd5b50610c49612a75565b604051610c5691906143f0565b60405180910390f35b348015610c6b57600080fd5b50610c866004803603810190610c8191906142ff565b612b07565b604051610c939190614286565b60405180910390f35b348015610ca857600080fd5b50610cc36004803603810190610cbe9190614653565b612b27565b604051610cd09190614286565b60405180910390f35b348015610ce557600080fd5b50610cee612b3e565b604051610cfb9190614345565b60405180910390f35b348015610d1057600080fd5b50610d2b6004803603810190610d26919061498f565b612b49565b005b348015610d3957600080fd5b50610d42612ba7565b604051610d4f9190614345565b60405180910390f35b348015610d6457600080fd5b50610d7f6004803603810190610d7a9190614864565b612bac565b005b348015610d8d57600080fd5b50610da86004803603810190610da39190614864565b612c46565b005b348015610db657600080fd5b50610dbf612ce0565b005b348015610dcd57600080fd5b50610dd6612d9c565b604051610de39190614345565b60405180910390f35b610e066004803603810190610e019190614a70565b612da2565b005b348015610e1457600080fd5b50610e1d612df4565b005b348015610e2b57600080fd5b50610e34612f55565b604051610e41919061475a565b60405180910390f35b348015610e5657600080fd5b50610e5f612f5b565b604051610e6c9190614345565b60405180910390f35b348015610e8157600080fd5b50610e8a612f66565b604051610e979190614286565b60405180910390f35b348015610eac57600080fd5b50610eb5612f79565b604051610ec29190614345565b60405180910390f35b348015610ed757600080fd5b50610ee0612f7f565b604051610eed9190614345565b60405180910390f35b348015610f0257600080fd5b50610f0b612f84565b604051610f189190614286565b60405180910390f35b348015610f2d57600080fd5b50610f486004803603810190610f439190614864565b612f97565b005b348015610f5657600080fd5b50610f716004803603810190610f6c919061443e565b613031565b604051610f7e91906143f0565b60405180910390f35b348015610f9357600080fd5b50610f9c6130af565b604051610fa99190614345565b60405180910390f35b610fcc6004803603810190610fc79190614808565b6130b4565b005b348015610fda57600080fd5b50610fe361346b565b604051610ff09190614345565b60405180910390f35b34801561100557600080fd5b50611020600480360381019061101b91906146af565b613470565b005b34801561102e57600080fd5b5061104960048036038101906110449190614af3565b613729565b6040516110569190614286565b60405180910390f35b34801561106b57600080fd5b506110746137bd565b6040516110819190614286565b60405180910390f35b34801561109657600080fd5b5061109f6137d0565b6040516110ac9190614345565b60405180910390f35b3480156110c157600080fd5b506110ca6137d6565b6040516110d79190614345565b60405180910390f35b3480156110ec57600080fd5b506110f56137dc565b6040516111029190614286565b60405180910390f35b34801561111757600080fd5b506111206137ef565b60405161112d9190614345565b60405180910390f35b34801561114257600080fd5b5061115d60048036038101906111589190614864565b6137f4565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806111ba57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806111ea5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60146020528060005260406000206000915090505481565b60156020528060005260406000206000915090505481565b60606002805461123090614b62565b80601f016020809104026020016040519081016040528092919081815260200182805461125c90614b62565b80156112a95780601f1061127e576101008083540402835291602001916112a9565b820191906000526020600020905b81548152906001019060200180831161128c57829003601f168201915b5050505050905090565b66470de4df82000081565b60006112c98261388e565b6112de576112dd63cf4700e460e01b61393a565b5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600c60079054906101000a900460ff161561136c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136390614bdf565b60405180910390fd5b6113768282613944565b5050565b600c60079054906101000a900460ff1681565b6000611397613954565b600154600054030390507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6113ca61395d565b146113d757600854810190505b90565b60136020528060005260406000206000915090505481565b600061140183600e5484613985565b905092915050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611477576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146e90614c4b565b60405180910390fd5b600c60069054906101000a900460ff16156114c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114be90614cb7565b60405180910390fd5b600c60009054906101000a900460ff16611516576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150d90614d23565b60405180910390fd5b611546813360405160200161152b9190614d8b565b60405160208183030381529060405280519060200120612a5e565b611585576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157c90614e18565b60405180910390fd5b611b39600261159261138d565b61159c9190614e67565b11156115dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d490614ee7565b60405180910390fd5b6001601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541061165f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165690614f53565b60405180910390fd5b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906116af90614f73565b91905055506116bf33600261399c565b50565b60186020528060005260406000206000915090505481565b60006116e582613b22565b905073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161693508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461175a5761175963a114810060e01b61393a565b5b60008061176684613c3b565b9150915061177c8187611777613c62565b613c6a565b6117a7576117918661178c613c62565b613729565b6117a6576117a56359c896be60e01b61393a565b5b5b6117b48686866001613cae565b80156117bf57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061188d85611869888887613cb4565b7c020000000000000000000000000000000000000000000000000000000017613cdc565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036119135760006001850190506000600460008381526020019081526020016000205403611911576000548114611910578360046000838152602001908152602001600020819055505b5b505b600073ffffffffffffffffffffffffffffffffffffffff8673ffffffffffffffffffffffffffffffffffffffff161690508481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600081036119855761198463ea553b3460e01b61393a565b5b6119928787876001613d07565b50505050505050565b60105481565b600c60019054906101000a900460ff1681565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611a22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1990614c4b565b60405180910390fd5b600c60069054906101000a900460ff1615611a72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6990614cb7565b60405180910390fd5b600c60039054906101000a900460ff16611ac1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab890615007565b60405180910390fd5b611b3981611acd61138d565b611ad79190614e67565b1115611b18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0f90614ee7565b60405180910390fd5b600181601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b659190614e67565b1115611ba6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9d90615099565b60405180910390fd5b66470de4df82000081611bb991906150b9565b3414611bfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf190615147565b60405180910390fd5b80601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611c459190614e67565b601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611c92338261399c565b50565b6000611ca483600d5484613985565b905092915050565b611b3981565b6000611cc18360115484613985565b905092915050565b60196020528060005260406000206000915054906101000a900460ff1681565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611d79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d70906151d9565b60405180910390fd5b6000600c60066101000a81548160ff021916908315150217905550565b600c60079054906101000a900460ff1615611de6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ddd90615245565b60405180910390fd5b611df1838383613d0d565b505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611e86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7d906151d9565b60405180910390fd5b83600c60036101000a81548160ff02191690831515021790555082600c60026101000a81548160ff02191690831515021790555081600c60016101000a81548160ff02191690831515021790555080600c60006101000a81548160ff02191690831515021790555050505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611f62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5990614c4b565b60405180910390fd5b600c60069054906101000a900460ff1615611fb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa990614cb7565b60405180910390fd5b600c60009054906101000a900460ff16612001576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff890614d23565b60405180910390fd5b61203181336040516020016120169190614d8b565b60405160208183030381529060405280519060200120611cb2565b612070576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612067906152d7565b60405180910390fd5b611b39600361207d61138d565b6120879190614e67565b11156120c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120bf90614ee7565b60405180910390fd5b6001601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541061214a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214190614f53565b60405180910390fd5b601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061219a90614f73565b91905055506121aa33600361399c565b50565b60176020528060005260406000206000915090505481565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612255576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224c906151d9565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff164760405161227b90615328565b60006040518083038185875af1925050503d80600081146122b8576040519150601f19603f3d011682016040523d82523d6000602084013e6122bd565b606091505b5050905080612301576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f890615389565b60405180910390fd5b5050565b600c60059054906101000a900460ff1681565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614612386576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237d90614c4b565b60405180910390fd5b600c60069054906101000a900460ff16156123d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123cd90614cb7565b60405180910390fd5b600c60019054906101000a900460ff16612425576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241c906153f5565b60405180910390fd5b612455813360405160200161243a9190614d8b565b60405160208183030381529060405280519060200120611c95565b612494576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248b90615461565b60405180910390fd5b611b39826124a061138d565b6124aa9190614e67565b11156124eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e290614ee7565b60405180910390fd5b6107d082600a546124fc9190614e67565b111561253d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612534906154cd565b60405180910390fd5b600382601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461258a9190614e67565b11156125cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125c29061555f565b60405180910390fd5b662386f26fc10000826125de91906150b9565b341461261f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261690615147565b60405180910390fd5b81601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461266a9190614e67565b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600a546126bb9190614e67565b600a819055506126cb338361399c565b5050565b600c60069054906101000a900460ff1681565b60006126ed82613b22565b9050919050565b6012805461270190614b62565b80601f016020809104026020016040519081016040528092919081815260200182805461272d90614b62565b801561277a5780601f1061274f5761010080835404028352916020019161277a565b820191906000526020600020905b81548152906001019060200180831161275d57829003601f168201915b505050505081565b600281565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036127cd576127cc638f4eb60460e01b61393a565b5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b60166020528060005260406000206000915090505481565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146128c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128bd906151d9565b60405180910390fd5b80600f8190555050565b600e5481565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612966576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295d906151d9565b60405180910390fd5b6001600c60066101000a81548160ff021916908315150217905550565b600a5481565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600d5481565b60115481565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612a4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a42906151d9565b60405180910390fd5b8060129081612a5a919061572b565b5050565b6000612a6d8360105484613985565b905092915050565b606060038054612a8490614b62565b80601f0160208091040260200160405190810160405280929190818152602001828054612ab090614b62565b8015612afd5780601f10612ad257610100808354040283529160200191612afd565b820191906000526020600020905b815481529060010190602001808311612ae057829003601f168201915b5050505050905090565b601a6020528060005260406000206000915054906101000a900460ff1681565b6000612b3683600f5484613985565b905092915050565b662386f26fc1000081565b600c60079054906101000a900460ff1615612b99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9090614bdf565b60405180910390fd5b612ba38282613d2d565b5050565b600381565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612c3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c33906151d9565b60405180910390fd5b80600e8190555050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612cd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ccd906151d9565b60405180910390fd5b8060108190555050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612d70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d67906151d9565b60405180910390fd5b600c60079054906101000a900460ff1615600c60076101000a81548160ff021916908315150217905550565b600b5481565b612dad8484846116da565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612dee57612dd884848484613e38565b612ded57612dec63d1a57ed660e01b61393a565b5b5b50505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612e84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e7b906151d9565b60405180910390fd5b600c60049054906101000a900460ff1615612ed4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ecb90615849565b60405180910390fd5b611b396102ff612ee261138d565b612eec9190614e67565b10612f2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2390614ee7565b60405180910390fd5b6001600c60046101000a81548160ff021916908315150217905550612f53336102ff61399c565b565b600f5481565b66354a6ba7a1800081565b600c60039054906101000a900460ff1681565b610bb881565b600281565b600c60009054906101000a900460ff1681565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614613027576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161301e906151d9565b60405180910390fd5b80600d8190555050565b606061303c8261388e565b6130515761305063a14c4b5060e01b61393a565b5b60006012805461306090614b62565b90500361307c57604051806020016040528060008152506130a8565b601261308783613f67565b604051602001613098929190615974565b6040516020818303038152906040525b9050919050565b600181565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614613122576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161311990614c4b565b60405180910390fd5b600c60069054906101000a900460ff1615613172576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161316990614cb7565b60405180910390fd5b600c60029054906101000a900460ff166131c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131b8906159ef565b60405180910390fd5b6131f181336040516020016131d69190614d8b565b604051602081830303815290604052805190602001206113f2565b613230576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161322790615a5b565b60405180910390fd5b611b398261323c61138d565b6132469190614e67565b1115613287576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161327e90614ee7565b60405180910390fd5b610bb882600b546132989190614e67565b11156132d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132d090615aed565b60405180910390fd5b600282601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546133269190614e67565b1115613367576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161335e90615b7f565b60405180910390fd5b66354a6ba7a180008261337a91906150b9565b34146133bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133b290615147565b60405180910390fd5b81601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546134069190614e67565b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600b546134579190614e67565b600b81905550613467338361399c565b5050565b600181565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146134de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134d590614c4b565b60405180910390fd5b600c60069054906101000a900460ff161561352e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161352590614cb7565b60405180910390fd5b600c60009054906101000a900460ff1661357d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161357490614d23565b60405180910390fd5b6135ad81336040516020016135929190614d8b565b60405160208183030381529060405280519060200120612b27565b6135ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135e390615c11565b60405180910390fd5b611b3960016135f961138d565b6136039190614e67565b1115613644576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161363b90614ee7565b60405180910390fd5b6001601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054106136c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136bd90614f53565b60405180910390fd5b601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061371690614f73565b919050555061372633600161399c565b50565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c60029054906101000a900460ff1681565b6107d081565b6102ff81565b600c60049054906101000a900460ff1681565b600381565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614613884576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161387b906151d9565b60405180910390fd5b8060118190555050565b600081613899613954565b11613934576138a661395d565b8211156138d0576138c96004600084815260200190815260200160002054613fb7565b9050613935565b6000548210156139335760005b600060046000858152602001908152602001600020549150810361390c578261390590615c31565b92506138dd565b60007c01000000000000000000000000000000000000000000000000000000008216149150505b5b5b919050565b8060005260046000fd5b61395082826001613ff8565b5050565b60006001905090565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff905090565b6000826139928584614127565b1490509392505050565b600080549050600082036139bb576139ba63b562e8dd60e01b61393a565b5b6139c86000848385613cae565b6139e8836139d96000866000613cb4565b6139e285614177565b17613cdc565b6004600083815260200190815260200160002081905550600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550600073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff1616905060008103613aa057613a9f632e07630060e01b61393a565b5b600083830190506000839050613ab461395d565b600183031115613acf57613ace6381647e3a60e01b61393a565b5b5b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4818160010191508103613ad05781600081905550505050613b1d6000848385613d07565b505050565b600081613b2d613954565b11613c255760046000838152602001908152602001600020549050613b5061395d565b821115613b7557613b6081613fb7565b613c3657613b7463df2d9b4260e01b61393a565b5b60008103613bfc576000548210613b9757613b9663df2d9b4260e01b61393a565b5b5b60046000836001900393508381526020019081526020016000205490506000810315613bf75760007c010000000000000000000000000000000000000000000000000000000082160315613c3657613bf663df2d9b4260e01b61393a565b5b613b98565b60007c010000000000000000000000000000000000000000000000000000000082160315613c36575b613c3563df2d9b4260e01b61393a565b5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8613ccb868684614187565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b613d2883838360405180602001604052806000815250612da2565b505050565b8060076000613d3a613c62565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16613de7613c62565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051613e2c9190614286565b60405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613e5e613c62565b8786866040518563ffffffff1660e01b8152600401613e809493929190615caf565b6020604051808303816000875af1925050508015613ebc57506040513d601f19601f82011682018060405250810190613eb99190615d10565b60015b613f14573d8060008114613eec576040519150601f19603f3d011682016040523d82523d6000602084013e613ef1565b606091505b506000815103613f0c57613f0b63d1a57ed660e01b61393a565b5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060a060405101806040526020810391506000825281835b600115613fa257600184039350600a81066030018453600a8104905080613f80575b50828103602084039350808452505050919050565b60007c0100000000000000000000000000000000000000000000000000000000821673ffffffffffffffffffffffffffffffffffffffff8316119050919050565b6000614003836126e2565b905081801561404557508073ffffffffffffffffffffffffffffffffffffffff1661402c613c62565b73ffffffffffffffffffffffffffffffffffffffff1614155b156140715761405b81614056613c62565b613729565b6140705761406f63cfb3b94260e01b61393a565b5b5b836006600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b60008082905060005b845181101561416c5761415d828683815181106141505761414f615d3d565b5b6020026020010151614190565b91508080600101915050614130565b508091505092915050565b60006001821460e11b9050919050565b60009392505050565b60008183106141a8576141a382846141bb565b6141b3565b6141b283836141bb565b5b905092915050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61421b816141e6565b811461422657600080fd5b50565b60008135905061423881614212565b92915050565b600060208284031215614254576142536141dc565b5b600061426284828501614229565b91505092915050565b60008115159050919050565b6142808161426b565b82525050565b600060208201905061429b6000830184614277565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006142cc826142a1565b9050919050565b6142dc816142c1565b81146142e757600080fd5b50565b6000813590506142f9816142d3565b92915050565b600060208284031215614315576143146141dc565b5b6000614323848285016142ea565b91505092915050565b6000819050919050565b61433f8161432c565b82525050565b600060208201905061435a6000830184614336565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561439a57808201518184015260208101905061437f565b60008484015250505050565b6000601f19601f8301169050919050565b60006143c282614360565b6143cc818561436b565b93506143dc81856020860161437c565b6143e5816143a6565b840191505092915050565b6000602082019050818103600083015261440a81846143b7565b905092915050565b61441b8161432c565b811461442657600080fd5b50565b60008135905061443881614412565b92915050565b600060208284031215614454576144536141dc565b5b600061446284828501614429565b91505092915050565b614474816142c1565b82525050565b600060208201905061448f600083018461446b565b92915050565b600080604083850312156144ac576144ab6141dc565b5b60006144ba858286016142ea565b92505060206144cb85828601614429565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b614512826143a6565b810181811067ffffffffffffffff82111715614531576145306144da565b5b80604052505050565b60006145446141d2565b90506145508282614509565b919050565b600067ffffffffffffffff8211156145705761456f6144da565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b61459981614586565b81146145a457600080fd5b50565b6000813590506145b681614590565b92915050565b60006145cf6145ca84614555565b61453a565b905080838252602082019050602084028301858111156145f2576145f1614581565b5b835b8181101561461b578061460788826145a7565b8452602084019350506020810190506145f4565b5050509392505050565b600082601f83011261463a576146396144d5565b5b813561464a8482602086016145bc565b91505092915050565b6000806040838503121561466a576146696141dc565b5b600083013567ffffffffffffffff811115614688576146876141e1565b5b61469485828601614625565b92505060206146a5858286016145a7565b9150509250929050565b6000602082840312156146c5576146c46141dc565b5b600082013567ffffffffffffffff8111156146e3576146e26141e1565b5b6146ef84828501614625565b91505092915050565b600080600060608486031215614711576147106141dc565b5b600061471f868287016142ea565b9350506020614730868287016142ea565b925050604061474186828701614429565b9150509250925092565b61475481614586565b82525050565b600060208201905061476f600083018461474b565b92915050565b61477e8161426b565b811461478957600080fd5b50565b60008135905061479b81614775565b92915050565b600080600080608085870312156147bb576147ba6141dc565b5b60006147c98782880161478c565b94505060206147da8782880161478c565b93505060406147eb8782880161478c565b92505060606147fc8782880161478c565b91505092959194509250565b6000806040838503121561481f5761481e6141dc565b5b600061482d85828601614429565b925050602083013567ffffffffffffffff81111561484e5761484d6141e1565b5b61485a85828601614625565b9150509250929050565b60006020828403121561487a576148796141dc565b5b6000614888848285016145a7565b91505092915050565b600080fd5b600067ffffffffffffffff8211156148b1576148b06144da565b5b6148ba826143a6565b9050602081019050919050565b82818337600083830152505050565b60006148e96148e484614896565b61453a565b90508281526020810184848401111561490557614904614891565b5b6149108482856148c7565b509392505050565b600082601f83011261492d5761492c6144d5565b5b813561493d8482602086016148d6565b91505092915050565b60006020828403121561495c5761495b6141dc565b5b600082013567ffffffffffffffff81111561497a576149796141e1565b5b61498684828501614918565b91505092915050565b600080604083850312156149a6576149a56141dc565b5b60006149b4858286016142ea565b92505060206149c58582860161478c565b9150509250929050565b600067ffffffffffffffff8211156149ea576149e96144da565b5b6149f3826143a6565b9050602081019050919050565b6000614a13614a0e846149cf565b61453a565b905082815260208101848484011115614a2f57614a2e614891565b5b614a3a8482856148c7565b509392505050565b600082601f830112614a5757614a566144d5565b5b8135614a67848260208601614a00565b91505092915050565b60008060008060808587031215614a8a57614a896141dc565b5b6000614a98878288016142ea565b9450506020614aa9878288016142ea565b9350506040614aba87828801614429565b925050606085013567ffffffffffffffff811115614adb57614ada6141e1565b5b614ae787828801614a42565b91505092959194509250565b60008060408385031215614b0a57614b096141dc565b5b6000614b18858286016142ea565b9250506020614b29858286016142ea565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614b7a57607f821691505b602082108103614b8d57614b8c614b33565b5b50919050565b7f4c697374696e67206172652063757272656e746c79206c6f636b656400000000600082015250565b6000614bc9601c8361436b565b9150614bd482614b93565b602082019050919050565b60006020820190508181036000830152614bf881614bbc565b9050919050565b7f436f6e7472616374732063616e6e6f74206d696e740000000000000000000000600082015250565b6000614c3560158361436b565b9150614c4082614bff565b602082019050919050565b60006020820190508181036000830152614c6481614c28565b9050919050565b7f436f6e7472616374206973207061757365640000000000000000000000000000600082015250565b6000614ca160128361436b565b9150614cac82614c6b565b602082019050919050565b60006020820190508181036000830152614cd081614c94565b9050919050565b7f4943204672656520436c61696d206973206e6f74206163746976650000000000600082015250565b6000614d0d601b8361436b565b9150614d1882614cd7565b602082019050919050565b60006020820190508181036000830152614d3c81614d00565b9050919050565b60008160601b9050919050565b6000614d5b82614d43565b9050919050565b6000614d6d82614d50565b9050919050565b614d85614d80826142c1565b614d62565b82525050565b6000614d978284614d74565b60148201915081905092915050565b7f596f7520646f206e6f7420686f6c6420616e20496e6e657220436972636c652060008201527f53706f742077697468203278204672656520436c61696d000000000000000000602082015250565b6000614e0260378361436b565b9150614e0d82614da6565b604082019050919050565b60006020820190508181036000830152614e3181614df5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614e728261432c565b9150614e7d8361432c565b9250828201905080821115614e9557614e94614e38565b5b92915050565b7f45786365656473206d617820737570706c79206f66204e465473000000000000600082015250565b6000614ed1601a8361436b565b9150614edc82614e9b565b602082019050919050565b60006020820190508181036000830152614f0081614ec4565b9050919050565b7f596f75204861766520416c726561647920436c61696d65640000000000000000600082015250565b6000614f3d60188361436b565b9150614f4882614f07565b602082019050919050565b60006020820190508181036000830152614f6c81614f30565b9050919050565b6000614f7e8261432c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614fb057614faf614e38565b5b600182019050919050565b7f5075626c6963206d696e74206973206e6f742061637469766500000000000000600082015250565b6000614ff160198361436b565b9150614ffc82614fbb565b602082019050919050565b6000602082019050818103600083015261502081614fe4565b9050919050565b7f45786365656473206d6178206c696d6974206f66204e4654732070657220776160008201527f6c6c657400000000000000000000000000000000000000000000000000000000602082015250565b600061508360248361436b565b915061508e82615027565b604082019050919050565b600060208201905081810360008301526150b281615076565b9050919050565b60006150c48261432c565b91506150cf8361432c565b92508282026150dd8161432c565b915082820484148315176150f4576150f3614e38565b5b5092915050565b7f496e7375666669656e742046756e647321000000000000000000000000000000600082015250565b600061513160118361436b565b915061513c826150fb565b602082019050919050565b6000602082019050818103600083015261516081615124565b9050919050565b7f43616c6c65722073686f756c6420626520746865206f776e6572206f6620746860008201527f697320636f6e7472616374000000000000000000000000000000000000000000602082015250565b60006151c3602b8361436b565b91506151ce82615167565b604082019050919050565b600060208201905081810360008301526151f2816151b6565b9050919050565b7f5472616e7366657273206172652063757272656e746c79206c6f636b65640000600082015250565b600061522f601e8361436b565b915061523a826151f9565b602082019050919050565b6000602082019050818103600083015261525e81615222565b9050919050565b7f596f7520646f206e6f7420686f6c6420616e20496e6e657220436972636c652060008201527f53706f742077697468203378204672656520436c61696d000000000000000000602082015250565b60006152c160378361436b565b91506152cc82615265565b604082019050919050565b600060208201905081810360008301526152f0816152b4565b9050919050565b600081905092915050565b50565b60006153126000836152f7565b915061531d82615302565b600082019050919050565b600061533382615305565b9150819050919050565b7f43616c6c206661696c6564000000000000000000000000000000000000000000600082015250565b6000615373600b8361436b565b915061537e8261533d565b602082019050919050565b600060208201905081810360008301526153a281615366565b9050919050565b7f4f47206d696e74206973206e6f74206163746976650000000000000000000000600082015250565b60006153df60158361436b565b91506153ea826153a9565b602082019050919050565b6000602082019050818103600083015261540e816153d2565b9050919050565b7f596f7520646f206e6f7420686f6c6420616e204f472053706f74000000000000600082015250565b600061544b601a8361436b565b915061545682615415565b602082019050919050565b6000602082019050818103600083015261547a8161543e565b9050919050565b7f45786365656473206d617820737570706c7920666f72204f472053706f747300600082015250565b60006154b7601f8361436b565b91506154c282615481565b602082019050919050565b600060208201905081810360008301526154e6816154aa565b9050919050565b7f45786365656473206d6178206c696d6974206f66204e4654732070657220776160008201527f6c6c657420666f72204f472073706f7420686f6c646572730000000000000000602082015250565b600061554960388361436b565b9150615554826154ed565b604082019050919050565b600060208201905081810360008301526155788161553c565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026155e17fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826155a4565b6155eb86836155a4565b95508019841693508086168417925050509392505050565b6000819050919050565b600061562861562361561e8461432c565b615603565b61432c565b9050919050565b6000819050919050565b6156428361560d565b61565661564e8261562f565b8484546155b1565b825550505050565b600090565b61566b61565e565b615676818484615639565b505050565b5b8181101561569a5761568f600082615663565b60018101905061567c565b5050565b601f8211156156df576156b08161557f565b6156b984615594565b810160208510156156c8578190505b6156dc6156d485615594565b83018261567b565b50505b505050565b600082821c905092915050565b6000615702600019846008026156e4565b1980831691505092915050565b600061571b83836156f1565b9150826002028217905092915050565b61573482614360565b67ffffffffffffffff81111561574d5761574c6144da565b5b6157578254614b62565b61576282828561569e565b600060209050601f8311600181146157955760008415615783578287015190505b61578d858261570f565b8655506157f5565b601f1984166157a38661557f565b60005b828110156157cb578489015182556001820191506020850194506020810190506157a6565b868310156157e857848901516157e4601f8916826156f1565b8355505b6001600288020188555050505b505050505050565b7f5465616d2048617320416c7265616479204d696e746564000000000000000000600082015250565b600061583360178361436b565b915061583e826157fd565b602082019050919050565b6000602082019050818103600083015261586281615826565b9050919050565b600081905092915050565b6000815461588181614b62565b61588b8186615869565b945060018216600081146158a657600181146158bb576158ee565b60ff19831686528115158202860193506158ee565b6158c48561557f565b60005b838110156158e6578154818901526001820191506020810190506158c7565b838801955050505b50505092915050565b600061590282614360565b61590c8185615869565b935061591c81856020860161437c565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b600061595e600583615869565b915061596982615928565b600582019050919050565b60006159808285615874565b915061598c82846158f7565b915061599782615951565b91508190509392505050565b7f57686974656c697374206d696e74206973206e6f742061637469766500000000600082015250565b60006159d9601c8361436b565b91506159e4826159a3565b602082019050919050565b60006020820190508181036000830152615a08816159cc565b9050919050565b7f596f7520646f206e6f7420686f6c6420612057686974656c6973742073706f74600082015250565b6000615a4560208361436b565b9150615a5082615a0f565b602082019050919050565b60006020820190508181036000830152615a7481615a38565b9050919050565b7f45786365656473206d617820737570706c7920666f722057686974656c69737460008201527f2053706f74730000000000000000000000000000000000000000000000000000602082015250565b6000615ad760268361436b565b9150615ae282615a7b565b604082019050919050565b60006020820190508181036000830152615b0681615aca565b9050919050565b7f45786365656473206d6178206c696d6974206f66204e4654732070657220776160008201527f6c6c657420666f72207768696c74656c6973742073706f7420686f6c64657273602082015250565b6000615b6960408361436b565b9150615b7482615b0d565b604082019050919050565b60006020820190508181036000830152615b9881615b5c565b9050919050565b7f596f7520646f206e6f7420686f6c6420616e20496e6e657220436972636c652060008201527f53706f742077697468203178204672656520436c61696d000000000000000000602082015250565b6000615bfb60378361436b565b9150615c0682615b9f565b604082019050919050565b60006020820190508181036000830152615c2a81615bee565b9050919050565b6000615c3c8261432c565b915060008203615c4f57615c4e614e38565b5b600182039050919050565b600081519050919050565b600082825260208201905092915050565b6000615c8182615c5a565b615c8b8185615c65565b9350615c9b81856020860161437c565b615ca4816143a6565b840191505092915050565b6000608082019050615cc4600083018761446b565b615cd1602083018661446b565b615cde6040830185614336565b8181036060830152615cf08184615c76565b905095945050505050565b600081519050615d0a81614212565b92915050565b600060208284031215615d2657615d256141dc565b5b6000615d3484828501615cfb565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea2646970667358221220471fa3f17332623204043fe412e423d91bc5a5cfbaaafeba76ee58e3d75ed62264736f6c63430008180033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
ebf0011ca3ae12d9a20f5cd159e915a480f9af196f2efc69b40968bc7cb6bec8650e84249458e27f2ec9f1c7c61faf4ecc0ae111f9d2b659bf1bfc9f8a9305b8d58d8ac2d1a57a3b56e92202eea6dfb53c271bd4cfce68620253af89a4e20e8beb3d573ae9752cf3651b7f753cfc626fc510fd691c81f531988176d79a8e0062efef1eea730df1331488d054e5acfd8847ab4006905cffdf995545cc37f4664a00000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000003e697066733a2f2f516d59796b7a5048556e5532753148393433644a37756332626f70614571777734584631515043734b4777697a352f426f73734d616e5f0000
-----Decoded View---------------
Arg [0] : _ogRoot (bytes32): 0xebf0011ca3ae12d9a20f5cd159e915a480f9af196f2efc69b40968bc7cb6bec8
Arg [1] : _wlRoot (bytes32): 0x650e84249458e27f2ec9f1c7c61faf4ecc0ae111f9d2b659bf1bfc9f8a9305b8
Arg [2] : _oneFreeClaimRoot (bytes32): 0xd58d8ac2d1a57a3b56e92202eea6dfb53c271bd4cfce68620253af89a4e20e8b
Arg [3] : _twoFreeClaimRoot (bytes32): 0xeb3d573ae9752cf3651b7f753cfc626fc510fd691c81f531988176d79a8e0062
Arg [4] : _threeFreeClaimRoot (bytes32): 0xefef1eea730df1331488d054e5acfd8847ab4006905cffdf995545cc37f4664a
Arg [5] : _baseURI (string): ipfs://QmYykzPHUnU2u1H943dJ7uc2bopaEqww4XF1QPCsKGwiz5/BossMan_
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : ebf0011ca3ae12d9a20f5cd159e915a480f9af196f2efc69b40968bc7cb6bec8
Arg [1] : 650e84249458e27f2ec9f1c7c61faf4ecc0ae111f9d2b659bf1bfc9f8a9305b8
Arg [2] : d58d8ac2d1a57a3b56e92202eea6dfb53c271bd4cfce68620253af89a4e20e8b
Arg [3] : eb3d573ae9752cf3651b7f753cfc626fc510fd691c81f531988176d79a8e0062
Arg [4] : efef1eea730df1331488d054e5acfd8847ab4006905cffdf995545cc37f4664a
Arg [5] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [6] : 000000000000000000000000000000000000000000000000000000000000003e
Arg [7] : 697066733a2f2f516d59796b7a5048556e5532753148393433644a3775633262
Arg [8] : 6f70614571777734584631515043734b4777697a352f426f73734d616e5f0000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.