ERC-721
Overview
Max Total Supply
737 DAYC
Holders
166
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 DAYCLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DoodleApeYachtClub
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; import {MerkleProof} from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {ERC721A} from "erc721a/contracts/ERC721A.sol"; contract DoodleApeYachtClub is ERC721A, Ownable { enum MintState { Closed, Whitelist, Public } uint256 public MAX_SUPPLY = 2222; uint256 public WL_TOKEN_PRICE = 0.009 ether; uint256 public PUBLIC_TOKEN_PRICE = 0.009 ether; uint256 public PUBLIC_MINT_LIMIT = 5; uint256 public WHITELIST_MINT_LIMIT = 5; uint256 public WL_FREE_TOKEN_PRICE = 0 ether; uint256 public MAX_WL_FREE_SUPPLY = 222; uint256 public PUBLIC_FREE_TOKEN_PRICE = 0 ether; uint256 public MAX_PUBLIC_FREE_SUPPLY = 222; uint256 public TOTAL_WL_FREE_MINT; uint256 public TOTAL_PUBLIC_FREE_MINT; MintState public mintState; bytes32 public merkleRoot; string public baseURI; constructor( string memory baseURI_, address recipient, uint256 allocation ) ERC721A("DoodleApeYachtClub", "DAYC") { if (allocation < MAX_SUPPLY && allocation != 0) _safeMint(recipient, allocation); baseURI = baseURI_; } // Overrides function _startTokenId() internal view virtual override returns (uint256) { return 1; } // Modifiers modifier onlyExternallyOwnedAccount() { require(tx.origin == msg.sender, "Not externally owned account"); _; } modifier onlyValidProof(bytes32[] calldata proof) { bool valid = MerkleProof.verify(proof, merkleRoot, keccak256(abi.encodePacked(msg.sender))); require(valid, "Invalid proof"); _; } // Token function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function setBaseURI(string memory uri) external onlyOwner { baseURI = uri; } // Sale function setMerkleRoot(bytes32 _root) external onlyOwner { merkleRoot = _root; } function setMintState(uint256 newState) external onlyOwner { if (newState == 0) mintState = MintState.Closed; else if (newState == 1) mintState = MintState.Whitelist; else if (newState == 2) mintState = MintState.Public; else revert("Mint state does not exist"); } function tokensRemainingForAddress(address who) public view returns (uint256) { if (mintState == MintState.Whitelist) return WHITELIST_MINT_LIMIT - _numberMinted(who); else if (mintState == MintState.Public) return PUBLIC_MINT_LIMIT + _getAux(who) - _numberMinted(who); else revert("Mint state mismatch"); } function mintFreePublic(uint256 quantity) external payable onlyExternallyOwnedAccount { require(this.totalSupply() + quantity <= MAX_SUPPLY, "Mint exceeds max supply"); require(quantity + TOTAL_PUBLIC_FREE_MINT <= MAX_PUBLIC_FREE_SUPPLY, "Amount exceeds max free mint supply"); require(mintState == MintState.Public, "Mint state mismatch"); require(msg.value >= PUBLIC_FREE_TOKEN_PRICE * quantity, "Insufficient value"); require(tokensRemainingForAddress(msg.sender) >= quantity, "Mint limit for user reached"); TOTAL_PUBLIC_FREE_MINT += quantity; _mint(msg.sender, quantity); } function mintPublic(uint256 quantity) external payable onlyExternallyOwnedAccount { require(this.totalSupply() + quantity <= MAX_SUPPLY, "Mint exceeds max supply"); require(mintState == MintState.Public, "Mint state mismatch"); require(msg.value >= PUBLIC_TOKEN_PRICE * quantity, "Insufficient value"); require(tokensRemainingForAddress(msg.sender) >= quantity, "Mint limit for user reached"); _mint(msg.sender, quantity); } function mintFreeWhitelist(bytes32[] calldata proof, uint256 quantity) external payable onlyExternallyOwnedAccount onlyValidProof(proof) { require(this.totalSupply() + quantity <= MAX_SUPPLY, "Mint exceeds max supply"); require(quantity + TOTAL_WL_FREE_MINT <= MAX_WL_FREE_SUPPLY, "Amount exceeds max free mint supply"); require(mintState == MintState.Whitelist, "Mint state mismatch"); require(msg.value >= WL_FREE_TOKEN_PRICE * quantity, "Insufficient value"); require(tokensRemainingForAddress(msg.sender) >= quantity, "Mint limit for user reached"); TOTAL_WL_FREE_MINT += quantity; _mint(msg.sender, quantity); _setAux(msg.sender, _getAux(msg.sender) + uint64(quantity)); } function mintWhitelist(bytes32[] calldata proof, uint256 quantity) external payable onlyExternallyOwnedAccount onlyValidProof(proof) { require(this.totalSupply() + quantity <= MAX_SUPPLY, "Mint exceeds max supply"); require(mintState == MintState.Whitelist, "Mint state mismatch"); require(msg.value >= WL_TOKEN_PRICE * quantity, "Insufficient value"); require(tokensRemainingForAddress(msg.sender) >= quantity, "Mint limit for user reached"); _mint(msg.sender, quantity); _setAux(msg.sender, _getAux(msg.sender) + uint64(quantity)); } function batchMint( address[] calldata recipients, uint256[] calldata quantities ) external onlyOwner { require(recipients.length == quantities.length, "Arguments length mismatch"); uint256 supply = this.totalSupply(); for (uint256 i; i < recipients.length; i++) { supply += quantities[i]; require(supply <= MAX_SUPPLY, "Batch mint exceeds max supply"); _mint(recipients[i], quantities[i]); } } // Edit Mint function setSupply(uint256 _newSupply) public onlyOwner { MAX_SUPPLY = _newSupply; } function setWLPrice(uint256 _newPrice) public onlyOwner { WL_TOKEN_PRICE = _newPrice; } function setPublicPrice(uint256 _newPrice) public onlyOwner { PUBLIC_TOKEN_PRICE = _newPrice; } function setPublicLimit(uint256 _newLimit) public onlyOwner { PUBLIC_MINT_LIMIT = _newLimit; } function setWLLimit(uint256 _newLimit) public onlyOwner { WHITELIST_MINT_LIMIT = _newLimit; } // Withdraw function withdrawToRecipients() external onlyOwner { uint256 balancePercentage = address(this).balance / 100; address owner = 0xB1Ca7837222333E8A6672B1FF2CF5712627B85ED; address(owner ).call{value: balancePercentage * 100}(""); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * 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. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Mask of an entry in packed address data. uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225; // The tokenId of the next token to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See `_packedOwnershipOf` implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see `_totalMinted`. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to `_startTokenId()` unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes of the XOR of // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165 // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)` return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxillary 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 auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; assembly { // Cast aux without masking. auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & BITMASK_BURNED == 0) { // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP); ownership.burned = packed & BITMASK_BURNED != 0; } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev Casts the address to uint256 without masking. */ function _addressToUint256(address value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev Casts the boolean to uint256 without branching. */ function _boolToUint256(bool value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = address(uint160(_packedOwnershipOf(tokenId))); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _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] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (to.code.length != 0) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex < end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @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. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _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] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // 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] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_NEXT_INITIALIZED; // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); if (approvalCheck) { bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // 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] = _addressToUint256(from) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_BURNED | BITMASK_NEXT_INITIALIZED; // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function _toString(uint256 value) internal pure returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * The caller cannot approve to the current owner. */ error ApprovalToCurrentOwner(); /** * 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(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // IERC165 // ============================== /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================== // IERC721 // ============================== /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================== // IERC721Metadata // ============================== /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
{ "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":"string","name":"baseURI_","type":"string"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"allocation","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","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":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_PUBLIC_FREE_SUPPLY","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_WL_FREE_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_FREE_TOKEN_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_MINT_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_TOKEN_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_PUBLIC_FREE_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_WL_FREE_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHITELIST_MINT_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WL_FREE_TOKEN_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WL_TOKEN_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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"quantities","type":"uint256[]"}],"name":"batchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintFreePublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintFreeWhitelist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintState","outputs":[{"internalType":"enum DoodleApeYachtClub.MintState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintWhitelist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newState","type":"uint256"}],"name":"setMintState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newLimit","type":"uint256"}],"name":"setPublicLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newSupply","type":"uint256"}],"name":"setSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newLimit","type":"uint256"}],"name":"setWLLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setWLPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"who","type":"address"}],"name":"tokensRemainingForAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawToRecipients","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526108ae600955661ff973cafa8000600a55661ff973cafa8000600b556005600c556005600d556000600e5560de600f55600060105560de6011553480156200004b57600080fd5b5060405162005909380380620059098339818101604052810190620000719190620008a4565b6040518060400160405280601281526020017f446f6f646c654170655961636874436c756200000000000000000000000000008152506040518060400160405280600481526020017f44415943000000000000000000000000000000000000000000000000000000008152508160029080519060200190620000f592919062000711565b5080600390805190602001906200010e92919062000711565b506200011f6200019560201b60201c565b6000819055505050620001476200013b6200019e60201b60201c565b620001a660201b60201c565b600954811080156200015a575060008114155b1562000173576200017282826200026c60201b60201c565b5b82601690805190602001906200018b92919062000711565b5050505062000c0e565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200028e8282604051806020016040528060008152506200029260201b60201c565b5050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141562000300576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008314156200033c576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6200035160008583866200057760201b60201c565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e1620003be600185146200057d60201b60201c565b901b60a042901b620003d6866200058760201b60201c565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b14620004e7575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46200049360008784806001019550876200059160201b60201c565b620004ca576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082106200041c578260005414620004e157600080fd5b62000553565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210620004e8575b8160008190555050506200057160008583866200070360201b60201c565b50505050565b50505050565b6000819050919050565b6000819050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02620005bf6200070960201b60201c565b8786866040518563ffffffff1660e01b8152600401620005e3949392919062000976565b602060405180830381600087803b158015620005fe57600080fd5b505af19250505080156200063257506040513d601f19601f820116820180604052508101906200062f919062000878565b60015b620006b0573d806000811462000665576040519150601f19603f3d011682016040523d82523d6000602084013e6200066a565b606091505b50600081511415620006a8576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b50505050565b600033905090565b8280546200071f9062000ae5565b90600052602060002090601f0160209004810192826200074357600085556200078f565b82601f106200075e57805160ff19168380011785556200078f565b828001600101855582156200078f579182015b828111156200078e57825182559160200191906001019062000771565b5b5090506200079e9190620007a2565b5090565b5b80821115620007bd576000816000905550600101620007a3565b5090565b6000620007d8620007d284620009f3565b620009ca565b905082815260208101848484011115620007f157600080fd5b620007fe84828562000aaf565b509392505050565b600081519050620008178162000bc0565b92915050565b6000815190506200082e8162000bda565b92915050565b600082601f8301126200084657600080fd5b815162000858848260208601620007c1565b91505092915050565b600081519050620008728162000bf4565b92915050565b6000602082840312156200088b57600080fd5b60006200089b848285016200081d565b91505092915050565b600080600060608486031215620008ba57600080fd5b600084015167ffffffffffffffff811115620008d557600080fd5b620008e38682870162000834565b9350506020620008f68682870162000806565b9250506040620009098682870162000861565b9150509250925092565b6200091e8162000a45565b82525050565b6000620009318262000a29565b6200093d818562000a34565b93506200094f81856020860162000aaf565b6200095a8162000baf565b840191505092915050565b620009708162000aa5565b82525050565b60006080820190506200098d600083018762000913565b6200099c602083018662000913565b620009ab604083018562000965565b8181036060830152620009bf818462000924565b905095945050505050565b6000620009d6620009e9565b9050620009e4828262000b1b565b919050565b6000604051905090565b600067ffffffffffffffff82111562000a115762000a1062000b80565b5b62000a1c8262000baf565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600062000a528262000a85565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562000acf57808201518184015260208101905062000ab2565b8381111562000adf576000848401525b50505050565b6000600282049050600182168062000afe57607f821691505b6020821081141562000b155762000b1462000b51565b5b50919050565b62000b268262000baf565b810181811067ffffffffffffffff8211171562000b485762000b4762000b80565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b62000bcb8162000a45565b811462000bd757600080fd5b50565b62000be58162000a59565b811462000bf157600080fd5b50565b62000bff8162000aa5565b811462000c0b57600080fd5b50565b614ceb8062000c1e6000396000f3fe60806040526004361061027d5760003560e01c80636c0360eb1161014f578063b88d4fde116100c1578063e985e9c51161007a578063e985e9c514610939578063efa9fc6514610976578063efd0cbf91461099f578063f2fde38b146109bb578063f4ee6f9c146109e4578063f6a5b8e614610a0f5761027d565b8063b88d4fde14610829578063bceae77b14610852578063c051e38a1461087d578063c6275255146108a8578063c87b56dd146108d1578063d84a82bb1461090e5761027d565b80637cb64759116101135780637cb64759146107495780638da5cb5b1461077257806395d89b411461079d578063a22cb465146107c8578063a39ce67a146107f1578063a6d612f91461080d5761027d565b80636c0360eb1461067457806370a082311461069f578063715018a6146106dc578063763f8d12146106f3578063790b2f001461071e5761027d565b80632e02a8c8116101f357806342842e0e116101ac57806342842e0e146105665780634f5af9851461058f57806355f804b3146105ba5780635e913c2b146105e35780636352211e1461060e578063685731071461064b5761027d565b80632e02a8c8146104545780632eb4a7ab1461047f57806332cb6b0c146104aa578063330e6815146104d55780633b4c4b25146105125780633b9ad86a1461053b5761027d565b80630bb862d1116102455780630bb862d11461037b57806316db9055146103a457806318160ddd146103bb5780631b836e3b146103e6578063236376171461040257806323b872dd1461042b5761027d565b806301ffc9a71461028257806305e118fd146102bf57806306fdde03146102ea578063081812fc14610315578063095ea7b314610352575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a49190613e7f565b610a38565b6040516102b691906142eb565b60405180910390f35b3480156102cb57600080fd5b506102d4610aca565b6040516102e191906144de565b60405180910390f35b3480156102f657600080fd5b506102ff610ad0565b60405161030c919061433c565b60405180910390f35b34801561032157600080fd5b5061033c60048036038101906103379190613f12565b610b62565b6040516103499190614284565b60405180910390f35b34801561035e57600080fd5b5061037960048036038101906103749190613d4d565b610bde565b005b34801561038757600080fd5b506103a2600480360381019061039d9190613f12565b610d85565b005b3480156103b057600080fd5b506103b9610f5e565b005b3480156103c757600080fd5b506103d061107d565b6040516103dd91906144de565b60405180910390f35b61040060048036038101906103fb9190613dfe565b611094565b005b34801561040e57600080fd5b5061042960048036038101906104249190613f12565b611480565b005b34801561043757600080fd5b50610452600480360381019061044d9190613c47565b611506565b005b34801561046057600080fd5b50610469611516565b60405161047691906144de565b60405180910390f35b34801561048b57600080fd5b5061049461151c565b6040516104a19190614306565b60405180910390f35b3480156104b657600080fd5b506104bf611522565b6040516104cc91906144de565b60405180910390f35b3480156104e157600080fd5b506104fc60048036038101906104f79190613be2565b611528565b60405161050991906144de565b60405180910390f35b34801561051e57600080fd5b5061053960048036038101906105349190613f12565b6116d0565b005b34801561054757600080fd5b50610550611756565b60405161055d91906144de565b60405180910390f35b34801561057257600080fd5b5061058d60048036038101906105889190613c47565b61175c565b005b34801561059b57600080fd5b506105a461177c565b6040516105b191906144de565b60405180910390f35b3480156105c657600080fd5b506105e160048036038101906105dc9190613ed1565b611782565b005b3480156105ef57600080fd5b506105f8611818565b60405161060591906144de565b60405180910390f35b34801561061a57600080fd5b5061063560048036038101906106309190613f12565b61181e565b6040516106429190614284565b60405180910390f35b34801561065757600080fd5b50610672600480360381019061066d9190613d89565b611830565b005b34801561068057600080fd5b50610689611ac7565b604051610696919061433c565b60405180910390f35b3480156106ab57600080fd5b506106c660048036038101906106c19190613be2565b611b55565b6040516106d391906144de565b60405180910390f35b3480156106e857600080fd5b506106f1611c0e565b005b3480156106ff57600080fd5b50610708611c96565b60405161071591906144de565b60405180910390f35b34801561072a57600080fd5b50610733611c9c565b60405161074091906144de565b60405180910390f35b34801561075557600080fd5b50610770600480360381019061076b9190613e56565b611ca2565b005b34801561077e57600080fd5b50610787611d28565b6040516107949190614284565b60405180910390f35b3480156107a957600080fd5b506107b2611d52565b6040516107bf919061433c565b60405180910390f35b3480156107d457600080fd5b506107ef60048036038101906107ea9190613d11565b611de4565b005b61080b60048036038101906108069190613f12565b611f5c565b005b61082760048036038101906108229190613dfe565b61226b565b005b34801561083557600080fd5b50610850600480360381019061084b9190613c96565b6125ec565b005b34801561085e57600080fd5b5061086761265f565b60405161087491906144de565b60405180910390f35b34801561088957600080fd5b50610892612665565b60405161089f9190614321565b60405180910390f35b3480156108b457600080fd5b506108cf60048036038101906108ca9190613f12565b612678565b005b3480156108dd57600080fd5b506108f860048036038101906108f39190613f12565b6126fe565b604051610905919061433c565b60405180910390f35b34801561091a57600080fd5b5061092361279d565b60405161093091906144de565b60405180910390f35b34801561094557600080fd5b50610960600480360381019061095b9190613c0b565b6127a3565b60405161096d91906142eb565b60405180910390f35b34801561098257600080fd5b5061099d60048036038101906109989190613f12565b612837565b005b6109b960048036038101906109b49190613f12565b6128bd565b005b3480156109c757600080fd5b506109e260048036038101906109dd9190613be2565b612b61565b005b3480156109f057600080fd5b506109f9612c59565b604051610a0691906144de565b60405180910390f35b348015610a1b57600080fd5b50610a366004803603810190610a319190613f12565b612c5f565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a9357506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ac35750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600f5481565b606060028054610adf9061481a565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0b9061481a565b8015610b585780601f10610b2d57610100808354040283529160200191610b58565b820191906000526020600020905b815481529060010190602001808311610b3b57829003601f168201915b5050505050905090565b6000610b6d82612ce5565b610ba3576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610be982612d44565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c51576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c70612e12565b73ffffffffffffffffffffffffffffffffffffffff1614610cd357610c9c81610c97612e12565b6127a3565b610cd2576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610d8d612e1a565b73ffffffffffffffffffffffffffffffffffffffff16610dab611d28565b73ffffffffffffffffffffffffffffffffffffffff1614610e01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df89061441e565b60405180910390fd5b6000811415610e60576000601460006101000a81548160ff02191690836002811115610e56577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b0217905550610f5b565b6001811415610ebf576001601460006101000a81548160ff02191690836002811115610eb5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b0217905550610f5a565b6002811415610f1e576002601460006101000a81548160ff02191690836002811115610f14577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b0217905550610f59565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f509061443e565b60405180910390fd5b5b5b50565b610f66612e1a565b73ffffffffffffffffffffffffffffffffffffffff16610f84611d28565b73ffffffffffffffffffffffffffffffffffffffff1614610fda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd19061441e565b60405180910390fd5b6000606447610fe99190614662565b9050600073b1ca7837222333e8a6672b1ff2cf5712627b85ed90508073ffffffffffffffffffffffffffffffffffffffff166064836110289190614693565b6040516110349061426f565b60006040518083038185875af1925050503d8060008114611071576040519150601f19603f3d011682016040523d82523d6000602084013e611076565b606091505b5050505050565b6000611087612e22565b6001546000540303905090565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611102576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f99061439e565b60405180910390fd5b8282600061117a838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050506015543360405160200161115f9190614230565b60405160208183030381529060405280519060200120612e2b565b9050806111bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b3906144be565b60405180910390fd5b600954843073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561120657600080fd5b505afa15801561121a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061123e9190613f3b565b61124891906145ce565b1115611289576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112809061435e565b60405180910390fd5b600f546012548561129a91906145ce565b11156112db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d2906143de565b60405180910390fd5b60016002811115611315577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601460009054906101000a900460ff16600281111561135d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1461139d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611394906143fe565b60405180910390fd5b83600e546113ab9190614693565b3410156113ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e49061445e565b60405180910390fd5b836113f733611528565b1015611438576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142f906143be565b60405180910390fd5b836012600082825461144a91906145ce565b9250508190555061145b3385612e42565b611478338561146933613016565b6114739190614624565b613063565b505050505050565b611488612e1a565b73ffffffffffffffffffffffffffffffffffffffff166114a6611d28565b73ffffffffffffffffffffffffffffffffffffffff16146114fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f39061441e565b60405180910390fd5b80600c8190555050565b611511838383613119565b505050565b60135481565b60155481565b60095481565b600060016002811115611564577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601460009054906101000a900460ff1660028111156115ac577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156115cf576115bb826134c3565b600d546115c891906146ed565b90506116cb565b600280811115611608577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601460009054906101000a900460ff166002811115611650577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156116905761165f826134c3565b61166883613016565b67ffffffffffffffff16600c5461167f91906145ce565b61168991906146ed565b90506116cb565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c2906143fe565b60405180910390fd5b919050565b6116d8612e1a565b73ffffffffffffffffffffffffffffffffffffffff166116f6611d28565b73ffffffffffffffffffffffffffffffffffffffff161461174c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117439061441e565b60405180910390fd5b8060098190555050565b60115481565b611777838383604051806020016040528060008152506125ec565b505050565b600e5481565b61178a612e1a565b73ffffffffffffffffffffffffffffffffffffffff166117a8611d28565b73ffffffffffffffffffffffffffffffffffffffff16146117fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f59061441e565b60405180910390fd5b80601690805190602001906118149291906138fe565b5050565b60105481565b600061182982612d44565b9050919050565b611838612e1a565b73ffffffffffffffffffffffffffffffffffffffff16611856611d28565b73ffffffffffffffffffffffffffffffffffffffff16146118ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a39061441e565b60405180910390fd5b8181905084849050146118f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118eb9061449e565b60405180910390fd5b60003073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561193c57600080fd5b505afa158015611950573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119749190613f3b565b905060005b85859050811015611abf578383828181106119bd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135826119cf91906145ce565b9150600954821115611a16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0d9061447e565b60405180910390fd5b611aac868683818110611a52577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611a679190613be2565b858584818110611aa0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135612e42565b8080611ab79061487d565b915050611979565b505050505050565b60168054611ad49061481a565b80601f0160208091040260200160405190810160405280929190818152602001828054611b009061481a565b8015611b4d5780601f10611b2257610100808354040283529160200191611b4d565b820191906000526020600020905b815481529060010190602001808311611b3057829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bbd576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611c16612e1a565b73ffffffffffffffffffffffffffffffffffffffff16611c34611d28565b73ffffffffffffffffffffffffffffffffffffffff1614611c8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c819061441e565b60405180910390fd5b611c94600061351a565b565b600b5481565b600d5481565b611caa612e1a565b73ffffffffffffffffffffffffffffffffffffffff16611cc8611d28565b73ffffffffffffffffffffffffffffffffffffffff1614611d1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d159061441e565b60405180910390fd5b8060158190555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611d619061481a565b80601f0160208091040260200160405190810160405280929190818152602001828054611d8d9061481a565b8015611dda5780601f10611daf57610100808354040283529160200191611dda565b820191906000526020600020905b815481529060010190602001808311611dbd57829003601f168201915b5050505050905090565b611dec612e12565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e51576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611e5e612e12565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611f0b612e12565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f5091906142eb565b60405180910390a35050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611fca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc19061439e565b60405180910390fd5b600954813073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561201457600080fd5b505afa158015612028573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061204c9190613f3b565b61205691906145ce565b1115612097576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208e9061435e565b60405180910390fd5b601154601354826120a891906145ce565b11156120e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e0906143de565b60405180910390fd5b600280811115612122577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601460009054906101000a900460ff16600281111561216a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b146121aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a1906143fe565b60405180910390fd5b806010546121b89190614693565b3410156121fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f19061445e565b60405180910390fd5b8061220433611528565b1015612245576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223c906143be565b60405180910390fd5b806013600082825461225791906145ce565b925050819055506122683382612e42565b50565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146122d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d09061439e565b60405180910390fd5b82826000612351838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050601554336040516020016123369190614230565b60405160208183030381529060405280519060200120612e2b565b905080612393576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238a906144be565b60405180910390fd5b600954843073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156123dd57600080fd5b505afa1580156123f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124159190613f3b565b61241f91906145ce565b1115612460576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124579061435e565b60405180910390fd5b6001600281111561249a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601460009054906101000a900460ff1660028111156124e2577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14612522576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612519906143fe565b60405180910390fd5b83600a546125309190614693565b341015612572576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125699061445e565b60405180910390fd5b8361257c33611528565b10156125bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b4906143be565b60405180910390fd5b6125c73385612e42565b6125e433856125d533613016565b6125df9190614624565b613063565b505050505050565b6125f7848484613119565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461265957612622848484846135e0565b612658576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600c5481565b601460009054906101000a900460ff1681565b612680612e1a565b73ffffffffffffffffffffffffffffffffffffffff1661269e611d28565b73ffffffffffffffffffffffffffffffffffffffff16146126f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126eb9061441e565b60405180910390fd5b80600b8190555050565b606061270982612ce5565b61273f576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000612749613740565b905060008151141561276a5760405180602001604052806000815250612795565b80612774846137d2565b60405160200161278592919061424b565b6040516020818303038152906040525b915050919050565b60125481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61283f612e1a565b73ffffffffffffffffffffffffffffffffffffffff1661285d611d28565b73ffffffffffffffffffffffffffffffffffffffff16146128b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128aa9061441e565b60405180910390fd5b80600d8190555050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461292b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129229061439e565b60405180910390fd5b600954813073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561297557600080fd5b505afa158015612989573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129ad9190613f3b565b6129b791906145ce565b11156129f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ef9061435e565b60405180910390fd5b600280811115612a31577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601460009054906101000a900460ff166002811115612a79577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14612ab9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ab0906143fe565b60405180910390fd5b80600b54612ac79190614693565b341015612b09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b009061445e565b60405180910390fd5b80612b1333611528565b1015612b54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4b906143be565b60405180910390fd5b612b5e3382612e42565b50565b612b69612e1a565b73ffffffffffffffffffffffffffffffffffffffff16612b87611d28565b73ffffffffffffffffffffffffffffffffffffffff1614612bdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bd49061441e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612c4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c449061437e565b60405180910390fd5b612c568161351a565b50565b600a5481565b612c67612e1a565b73ffffffffffffffffffffffffffffffffffffffff16612c85611d28565b73ffffffffffffffffffffffffffffffffffffffff1614612cdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cd29061441e565b60405180910390fd5b80600a8190555050565b600081612cf0612e22565b11158015612cff575060005482105b8015612d3d575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60008082905080612d53612e22565b11612ddb57600054811015612dda5760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612dd8575b6000811415612dce576004600083600190039350838152602001908152602001600020549050612da3565b8092505050612e0d565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600033905090565b60006001905090565b600082612e38858461382c565b1490509392505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612eaf576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415612eea576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612ef760008483856138c7565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e1612f5c600184146138cd565b901b60a042901b612f6c856138d7565b171760046000838152602001908152602001600020819055506000819050600083820190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612f925781600081905550505061301160008483856138e1565b505050565b600060c0600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600082905060c081901b77ffffffffffffffffffffffffffffffffffffffffffffffff831617915081600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505050565b600061312482612d44565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461318b576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166131ac612e12565b73ffffffffffffffffffffffffffffffffffffffff1614806131db57506131da856131d5612e12565b6127a3565b5b8061322057506131e9612e12565b73ffffffffffffffffffffffffffffffffffffffff1661320884610b62565b73ffffffffffffffffffffffffffffffffffffffff16145b905080613259576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156132c0576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6132cd85858560016138c7565b6006600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b6133ca866138d7565b1717600460008581526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000083161415613454576000600184019050600060046000838152602001908152602001600020541415613452576000548114613451578260046000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46134bc85858560016138e1565b5050505050565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613606612e12565b8786866040518563ffffffff1660e01b8152600401613628949392919061429f565b602060405180830381600087803b15801561364257600080fd5b505af192505050801561367357506040513d601f19601f820116820180604052508101906136709190613ea8565b60015b6136ed573d80600081146136a3576040519150601f19603f3d011682016040523d82523d6000602084013e6136a8565b606091505b506000815114156136e5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606016805461374f9061481a565b80601f016020809104026020016040519081016040528092919081815260200182805461377b9061481a565b80156137c85780601f1061379d576101008083540402835291602001916137c8565b820191906000526020600020905b8154815290600101906020018083116137ab57829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b801561381857600183039250600a81066030018353600a810490506137f8565b508181036020830392508083525050919050565b60008082905060005b84518110156138bc576000858281518110613879577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905080831161389b5761389483826138e7565b92506138a8565b6138a581846138e7565b92505b5080806138b49061487d565b915050613835565b508091505092915050565b50505050565b6000819050919050565b6000819050919050565b50505050565b600082600052816020526040600020905092915050565b82805461390a9061481a565b90600052602060002090601f01602090048101928261392c5760008555613973565b82601f1061394557805160ff1916838001178555613973565b82800160010185558215613973579182015b82811115613972578251825591602001919060010190613957565b5b5090506139809190613984565b5090565b5b8082111561399d576000816000905550600101613985565b5090565b60006139b46139af8461451e565b6144f9565b9050828152602081018484840111156139cc57600080fd5b6139d78482856147d8565b509392505050565b60006139f26139ed8461454f565b6144f9565b905082815260208101848484011115613a0a57600080fd5b613a158482856147d8565b509392505050565b600081359050613a2c81614c42565b92915050565b60008083601f840112613a4457600080fd5b8235905067ffffffffffffffff811115613a5d57600080fd5b602083019150836020820283011115613a7557600080fd5b9250929050565b60008083601f840112613a8e57600080fd5b8235905067ffffffffffffffff811115613aa757600080fd5b602083019150836020820283011115613abf57600080fd5b9250929050565b60008083601f840112613ad857600080fd5b8235905067ffffffffffffffff811115613af157600080fd5b602083019150836020820283011115613b0957600080fd5b9250929050565b600081359050613b1f81614c59565b92915050565b600081359050613b3481614c70565b92915050565b600081359050613b4981614c87565b92915050565b600081519050613b5e81614c87565b92915050565b600082601f830112613b7557600080fd5b8135613b858482602086016139a1565b91505092915050565b600082601f830112613b9f57600080fd5b8135613baf8482602086016139df565b91505092915050565b600081359050613bc781614c9e565b92915050565b600081519050613bdc81614c9e565b92915050565b600060208284031215613bf457600080fd5b6000613c0284828501613a1d565b91505092915050565b60008060408385031215613c1e57600080fd5b6000613c2c85828601613a1d565b9250506020613c3d85828601613a1d565b9150509250929050565b600080600060608486031215613c5c57600080fd5b6000613c6a86828701613a1d565b9350506020613c7b86828701613a1d565b9250506040613c8c86828701613bb8565b9150509250925092565b60008060008060808587031215613cac57600080fd5b6000613cba87828801613a1d565b9450506020613ccb87828801613a1d565b9350506040613cdc87828801613bb8565b925050606085013567ffffffffffffffff811115613cf957600080fd5b613d0587828801613b64565b91505092959194509250565b60008060408385031215613d2457600080fd5b6000613d3285828601613a1d565b9250506020613d4385828601613b10565b9150509250929050565b60008060408385031215613d6057600080fd5b6000613d6e85828601613a1d565b9250506020613d7f85828601613bb8565b9150509250929050565b60008060008060408587031215613d9f57600080fd5b600085013567ffffffffffffffff811115613db957600080fd5b613dc587828801613a32565b9450945050602085013567ffffffffffffffff811115613de457600080fd5b613df087828801613ac6565b925092505092959194509250565b600080600060408486031215613e1357600080fd5b600084013567ffffffffffffffff811115613e2d57600080fd5b613e3986828701613a7c565b93509350506020613e4c86828701613bb8565b9150509250925092565b600060208284031215613e6857600080fd5b6000613e7684828501613b25565b91505092915050565b600060208284031215613e9157600080fd5b6000613e9f84828501613b3a565b91505092915050565b600060208284031215613eba57600080fd5b6000613ec884828501613b4f565b91505092915050565b600060208284031215613ee357600080fd5b600082013567ffffffffffffffff811115613efd57600080fd5b613f0984828501613b8e565b91505092915050565b600060208284031215613f2457600080fd5b6000613f3284828501613bb8565b91505092915050565b600060208284031215613f4d57600080fd5b6000613f5b84828501613bcd565b91505092915050565b613f6d81614721565b82525050565b613f84613f7f82614721565b6148c6565b82525050565b613f9381614733565b82525050565b613fa28161473f565b82525050565b6000613fb382614580565b613fbd8185614596565b9350613fcd8185602086016147e7565b613fd6816149d5565b840191505092915050565b613fea816147c6565b82525050565b6000613ffb8261458b565b61400581856145b2565b93506140158185602086016147e7565b61401e816149d5565b840191505092915050565b60006140348261458b565b61403e81856145c3565b935061404e8185602086016147e7565b80840191505092915050565b60006140676017836145b2565b9150614072826149f3565b602082019050919050565b600061408a6026836145b2565b915061409582614a1c565b604082019050919050565b60006140ad601c836145b2565b91506140b882614a6b565b602082019050919050565b60006140d0601b836145b2565b91506140db82614a94565b602082019050919050565b60006140f36023836145b2565b91506140fe82614abd565b604082019050919050565b60006141166013836145b2565b915061412182614b0c565b602082019050919050565b60006141396020836145b2565b915061414482614b35565b602082019050919050565b600061415c6019836145b2565b915061416782614b5e565b602082019050919050565b600061417f6012836145b2565b915061418a82614b87565b602082019050919050565b60006141a26000836145a7565b91506141ad82614bb0565b600082019050919050565b60006141c5601d836145b2565b91506141d082614bb3565b602082019050919050565b60006141e86019836145b2565b91506141f382614bdc565b602082019050919050565b600061420b600d836145b2565b915061421682614c05565b602082019050919050565b61422a816147a8565b82525050565b600061423c8284613f73565b60148201915081905092915050565b60006142578285614029565b91506142638284614029565b91508190509392505050565b600061427a82614195565b9150819050919050565b60006020820190506142996000830184613f64565b92915050565b60006080820190506142b46000830187613f64565b6142c16020830186613f64565b6142ce6040830185614221565b81810360608301526142e08184613fa8565b905095945050505050565b60006020820190506143006000830184613f8a565b92915050565b600060208201905061431b6000830184613f99565b92915050565b60006020820190506143366000830184613fe1565b92915050565b600060208201905081810360008301526143568184613ff0565b905092915050565b600060208201905081810360008301526143778161405a565b9050919050565b600060208201905081810360008301526143978161407d565b9050919050565b600060208201905081810360008301526143b7816140a0565b9050919050565b600060208201905081810360008301526143d7816140c3565b9050919050565b600060208201905081810360008301526143f7816140e6565b9050919050565b6000602082019050818103600083015261441781614109565b9050919050565b600060208201905081810360008301526144378161412c565b9050919050565b600060208201905081810360008301526144578161414f565b9050919050565b6000602082019050818103600083015261447781614172565b9050919050565b60006020820190508181036000830152614497816141b8565b9050919050565b600060208201905081810360008301526144b7816141db565b9050919050565b600060208201905081810360008301526144d7816141fe565b9050919050565b60006020820190506144f36000830184614221565b92915050565b6000614503614514565b905061450f828261484c565b919050565b6000604051905090565b600067ffffffffffffffff821115614539576145386149a6565b5b614542826149d5565b9050602081019050919050565b600067ffffffffffffffff82111561456a576145696149a6565b5b614573826149d5565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006145d9826147a8565b91506145e4836147a8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614619576146186148ea565b5b828201905092915050565b600061462f826147b2565b915061463a836147b2565b92508267ffffffffffffffff03821115614657576146566148ea565b5b828201905092915050565b600061466d826147a8565b9150614678836147a8565b92508261468857614687614919565b5b828204905092915050565b600061469e826147a8565b91506146a9836147a8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156146e2576146e16148ea565b5b828202905092915050565b60006146f8826147a8565b9150614703836147a8565b925082821015614716576147156148ea565b5b828203905092915050565b600061472c82614788565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600081905061478382614c2e565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b60006147d182614775565b9050919050565b82818337600083830152505050565b60005b838110156148055780820151818401526020810190506147ea565b83811115614814576000848401525b50505050565b6000600282049050600182168061483257607f821691505b6020821081141561484657614845614977565b5b50919050565b614855826149d5565b810181811067ffffffffffffffff82111715614874576148736149a6565b5b80604052505050565b6000614888826147a8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156148bb576148ba6148ea565b5b600182019050919050565b60006148d1826148d8565b9050919050565b60006148e3826149e6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4d696e742065786365656473206d617820737570706c79000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4e6f742065787465726e616c6c79206f776e6564206163636f756e7400000000600082015250565b7f4d696e74206c696d697420666f72207573657220726561636865640000000000600082015250565b7f416d6f756e742065786365656473206d61782066726565206d696e742073757060008201527f706c790000000000000000000000000000000000000000000000000000000000602082015250565b7f4d696e74207374617465206d69736d6174636800000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4d696e7420737461746520646f6573206e6f7420657869737400000000000000600082015250565b7f496e73756666696369656e742076616c75650000000000000000000000000000600082015250565b50565b7f4261746368206d696e742065786365656473206d617820737570706c79000000600082015250565b7f417267756d656e7473206c656e677468206d69736d6174636800000000000000600082015250565b7f496e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b60038110614c3f57614c3e614948565b5b50565b614c4b81614721565b8114614c5657600080fd5b50565b614c6281614733565b8114614c6d57600080fd5b50565b614c798161473f565b8114614c8457600080fd5b50565b614c9081614749565b8114614c9b57600080fd5b50565b614ca7816147a8565b8114614cb257600080fd5b5056fea2646970667358221220641d6799d9a33a13326ad94738f1d82af88a55092fe186594370ed5741ae093064736f6c634300080400330000000000000000000000000000000000000000000000000000000000000060000000000000000000000000b1ca7837222333e8a6672b1ff2cf5712627b85ed0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f697066732e696f2f697066732f626166796265696337637369747579643236696b367073756d3733686467776f63783734757174706b6d71636a6e7a666869756672666872706b692f000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061027d5760003560e01c80636c0360eb1161014f578063b88d4fde116100c1578063e985e9c51161007a578063e985e9c514610939578063efa9fc6514610976578063efd0cbf91461099f578063f2fde38b146109bb578063f4ee6f9c146109e4578063f6a5b8e614610a0f5761027d565b8063b88d4fde14610829578063bceae77b14610852578063c051e38a1461087d578063c6275255146108a8578063c87b56dd146108d1578063d84a82bb1461090e5761027d565b80637cb64759116101135780637cb64759146107495780638da5cb5b1461077257806395d89b411461079d578063a22cb465146107c8578063a39ce67a146107f1578063a6d612f91461080d5761027d565b80636c0360eb1461067457806370a082311461069f578063715018a6146106dc578063763f8d12146106f3578063790b2f001461071e5761027d565b80632e02a8c8116101f357806342842e0e116101ac57806342842e0e146105665780634f5af9851461058f57806355f804b3146105ba5780635e913c2b146105e35780636352211e1461060e578063685731071461064b5761027d565b80632e02a8c8146104545780632eb4a7ab1461047f57806332cb6b0c146104aa578063330e6815146104d55780633b4c4b25146105125780633b9ad86a1461053b5761027d565b80630bb862d1116102455780630bb862d11461037b57806316db9055146103a457806318160ddd146103bb5780631b836e3b146103e6578063236376171461040257806323b872dd1461042b5761027d565b806301ffc9a71461028257806305e118fd146102bf57806306fdde03146102ea578063081812fc14610315578063095ea7b314610352575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a49190613e7f565b610a38565b6040516102b691906142eb565b60405180910390f35b3480156102cb57600080fd5b506102d4610aca565b6040516102e191906144de565b60405180910390f35b3480156102f657600080fd5b506102ff610ad0565b60405161030c919061433c565b60405180910390f35b34801561032157600080fd5b5061033c60048036038101906103379190613f12565b610b62565b6040516103499190614284565b60405180910390f35b34801561035e57600080fd5b5061037960048036038101906103749190613d4d565b610bde565b005b34801561038757600080fd5b506103a2600480360381019061039d9190613f12565b610d85565b005b3480156103b057600080fd5b506103b9610f5e565b005b3480156103c757600080fd5b506103d061107d565b6040516103dd91906144de565b60405180910390f35b61040060048036038101906103fb9190613dfe565b611094565b005b34801561040e57600080fd5b5061042960048036038101906104249190613f12565b611480565b005b34801561043757600080fd5b50610452600480360381019061044d9190613c47565b611506565b005b34801561046057600080fd5b50610469611516565b60405161047691906144de565b60405180910390f35b34801561048b57600080fd5b5061049461151c565b6040516104a19190614306565b60405180910390f35b3480156104b657600080fd5b506104bf611522565b6040516104cc91906144de565b60405180910390f35b3480156104e157600080fd5b506104fc60048036038101906104f79190613be2565b611528565b60405161050991906144de565b60405180910390f35b34801561051e57600080fd5b5061053960048036038101906105349190613f12565b6116d0565b005b34801561054757600080fd5b50610550611756565b60405161055d91906144de565b60405180910390f35b34801561057257600080fd5b5061058d60048036038101906105889190613c47565b61175c565b005b34801561059b57600080fd5b506105a461177c565b6040516105b191906144de565b60405180910390f35b3480156105c657600080fd5b506105e160048036038101906105dc9190613ed1565b611782565b005b3480156105ef57600080fd5b506105f8611818565b60405161060591906144de565b60405180910390f35b34801561061a57600080fd5b5061063560048036038101906106309190613f12565b61181e565b6040516106429190614284565b60405180910390f35b34801561065757600080fd5b50610672600480360381019061066d9190613d89565b611830565b005b34801561068057600080fd5b50610689611ac7565b604051610696919061433c565b60405180910390f35b3480156106ab57600080fd5b506106c660048036038101906106c19190613be2565b611b55565b6040516106d391906144de565b60405180910390f35b3480156106e857600080fd5b506106f1611c0e565b005b3480156106ff57600080fd5b50610708611c96565b60405161071591906144de565b60405180910390f35b34801561072a57600080fd5b50610733611c9c565b60405161074091906144de565b60405180910390f35b34801561075557600080fd5b50610770600480360381019061076b9190613e56565b611ca2565b005b34801561077e57600080fd5b50610787611d28565b6040516107949190614284565b60405180910390f35b3480156107a957600080fd5b506107b2611d52565b6040516107bf919061433c565b60405180910390f35b3480156107d457600080fd5b506107ef60048036038101906107ea9190613d11565b611de4565b005b61080b60048036038101906108069190613f12565b611f5c565b005b61082760048036038101906108229190613dfe565b61226b565b005b34801561083557600080fd5b50610850600480360381019061084b9190613c96565b6125ec565b005b34801561085e57600080fd5b5061086761265f565b60405161087491906144de565b60405180910390f35b34801561088957600080fd5b50610892612665565b60405161089f9190614321565b60405180910390f35b3480156108b457600080fd5b506108cf60048036038101906108ca9190613f12565b612678565b005b3480156108dd57600080fd5b506108f860048036038101906108f39190613f12565b6126fe565b604051610905919061433c565b60405180910390f35b34801561091a57600080fd5b5061092361279d565b60405161093091906144de565b60405180910390f35b34801561094557600080fd5b50610960600480360381019061095b9190613c0b565b6127a3565b60405161096d91906142eb565b60405180910390f35b34801561098257600080fd5b5061099d60048036038101906109989190613f12565b612837565b005b6109b960048036038101906109b49190613f12565b6128bd565b005b3480156109c757600080fd5b506109e260048036038101906109dd9190613be2565b612b61565b005b3480156109f057600080fd5b506109f9612c59565b604051610a0691906144de565b60405180910390f35b348015610a1b57600080fd5b50610a366004803603810190610a319190613f12565b612c5f565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a9357506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ac35750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600f5481565b606060028054610adf9061481a565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0b9061481a565b8015610b585780601f10610b2d57610100808354040283529160200191610b58565b820191906000526020600020905b815481529060010190602001808311610b3b57829003601f168201915b5050505050905090565b6000610b6d82612ce5565b610ba3576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610be982612d44565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c51576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c70612e12565b73ffffffffffffffffffffffffffffffffffffffff1614610cd357610c9c81610c97612e12565b6127a3565b610cd2576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610d8d612e1a565b73ffffffffffffffffffffffffffffffffffffffff16610dab611d28565b73ffffffffffffffffffffffffffffffffffffffff1614610e01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df89061441e565b60405180910390fd5b6000811415610e60576000601460006101000a81548160ff02191690836002811115610e56577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b0217905550610f5b565b6001811415610ebf576001601460006101000a81548160ff02191690836002811115610eb5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b0217905550610f5a565b6002811415610f1e576002601460006101000a81548160ff02191690836002811115610f14577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b0217905550610f59565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f509061443e565b60405180910390fd5b5b5b50565b610f66612e1a565b73ffffffffffffffffffffffffffffffffffffffff16610f84611d28565b73ffffffffffffffffffffffffffffffffffffffff1614610fda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd19061441e565b60405180910390fd5b6000606447610fe99190614662565b9050600073b1ca7837222333e8a6672b1ff2cf5712627b85ed90508073ffffffffffffffffffffffffffffffffffffffff166064836110289190614693565b6040516110349061426f565b60006040518083038185875af1925050503d8060008114611071576040519150601f19603f3d011682016040523d82523d6000602084013e611076565b606091505b5050505050565b6000611087612e22565b6001546000540303905090565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611102576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f99061439e565b60405180910390fd5b8282600061117a838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050506015543360405160200161115f9190614230565b60405160208183030381529060405280519060200120612e2b565b9050806111bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b3906144be565b60405180910390fd5b600954843073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561120657600080fd5b505afa15801561121a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061123e9190613f3b565b61124891906145ce565b1115611289576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112809061435e565b60405180910390fd5b600f546012548561129a91906145ce565b11156112db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d2906143de565b60405180910390fd5b60016002811115611315577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601460009054906101000a900460ff16600281111561135d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1461139d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611394906143fe565b60405180910390fd5b83600e546113ab9190614693565b3410156113ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e49061445e565b60405180910390fd5b836113f733611528565b1015611438576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142f906143be565b60405180910390fd5b836012600082825461144a91906145ce565b9250508190555061145b3385612e42565b611478338561146933613016565b6114739190614624565b613063565b505050505050565b611488612e1a565b73ffffffffffffffffffffffffffffffffffffffff166114a6611d28565b73ffffffffffffffffffffffffffffffffffffffff16146114fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f39061441e565b60405180910390fd5b80600c8190555050565b611511838383613119565b505050565b60135481565b60155481565b60095481565b600060016002811115611564577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601460009054906101000a900460ff1660028111156115ac577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156115cf576115bb826134c3565b600d546115c891906146ed565b90506116cb565b600280811115611608577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601460009054906101000a900460ff166002811115611650577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156116905761165f826134c3565b61166883613016565b67ffffffffffffffff16600c5461167f91906145ce565b61168991906146ed565b90506116cb565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c2906143fe565b60405180910390fd5b919050565b6116d8612e1a565b73ffffffffffffffffffffffffffffffffffffffff166116f6611d28565b73ffffffffffffffffffffffffffffffffffffffff161461174c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117439061441e565b60405180910390fd5b8060098190555050565b60115481565b611777838383604051806020016040528060008152506125ec565b505050565b600e5481565b61178a612e1a565b73ffffffffffffffffffffffffffffffffffffffff166117a8611d28565b73ffffffffffffffffffffffffffffffffffffffff16146117fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f59061441e565b60405180910390fd5b80601690805190602001906118149291906138fe565b5050565b60105481565b600061182982612d44565b9050919050565b611838612e1a565b73ffffffffffffffffffffffffffffffffffffffff16611856611d28565b73ffffffffffffffffffffffffffffffffffffffff16146118ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a39061441e565b60405180910390fd5b8181905084849050146118f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118eb9061449e565b60405180910390fd5b60003073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561193c57600080fd5b505afa158015611950573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119749190613f3b565b905060005b85859050811015611abf578383828181106119bd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135826119cf91906145ce565b9150600954821115611a16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0d9061447e565b60405180910390fd5b611aac868683818110611a52577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611a679190613be2565b858584818110611aa0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135612e42565b8080611ab79061487d565b915050611979565b505050505050565b60168054611ad49061481a565b80601f0160208091040260200160405190810160405280929190818152602001828054611b009061481a565b8015611b4d5780601f10611b2257610100808354040283529160200191611b4d565b820191906000526020600020905b815481529060010190602001808311611b3057829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bbd576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611c16612e1a565b73ffffffffffffffffffffffffffffffffffffffff16611c34611d28565b73ffffffffffffffffffffffffffffffffffffffff1614611c8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c819061441e565b60405180910390fd5b611c94600061351a565b565b600b5481565b600d5481565b611caa612e1a565b73ffffffffffffffffffffffffffffffffffffffff16611cc8611d28565b73ffffffffffffffffffffffffffffffffffffffff1614611d1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d159061441e565b60405180910390fd5b8060158190555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611d619061481a565b80601f0160208091040260200160405190810160405280929190818152602001828054611d8d9061481a565b8015611dda5780601f10611daf57610100808354040283529160200191611dda565b820191906000526020600020905b815481529060010190602001808311611dbd57829003601f168201915b5050505050905090565b611dec612e12565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e51576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611e5e612e12565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611f0b612e12565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f5091906142eb565b60405180910390a35050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611fca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc19061439e565b60405180910390fd5b600954813073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561201457600080fd5b505afa158015612028573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061204c9190613f3b565b61205691906145ce565b1115612097576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208e9061435e565b60405180910390fd5b601154601354826120a891906145ce565b11156120e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e0906143de565b60405180910390fd5b600280811115612122577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601460009054906101000a900460ff16600281111561216a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b146121aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a1906143fe565b60405180910390fd5b806010546121b89190614693565b3410156121fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f19061445e565b60405180910390fd5b8061220433611528565b1015612245576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223c906143be565b60405180910390fd5b806013600082825461225791906145ce565b925050819055506122683382612e42565b50565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146122d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d09061439e565b60405180910390fd5b82826000612351838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050601554336040516020016123369190614230565b60405160208183030381529060405280519060200120612e2b565b905080612393576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238a906144be565b60405180910390fd5b600954843073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156123dd57600080fd5b505afa1580156123f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124159190613f3b565b61241f91906145ce565b1115612460576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124579061435e565b60405180910390fd5b6001600281111561249a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601460009054906101000a900460ff1660028111156124e2577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14612522576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612519906143fe565b60405180910390fd5b83600a546125309190614693565b341015612572576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125699061445e565b60405180910390fd5b8361257c33611528565b10156125bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b4906143be565b60405180910390fd5b6125c73385612e42565b6125e433856125d533613016565b6125df9190614624565b613063565b505050505050565b6125f7848484613119565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461265957612622848484846135e0565b612658576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600c5481565b601460009054906101000a900460ff1681565b612680612e1a565b73ffffffffffffffffffffffffffffffffffffffff1661269e611d28565b73ffffffffffffffffffffffffffffffffffffffff16146126f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126eb9061441e565b60405180910390fd5b80600b8190555050565b606061270982612ce5565b61273f576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000612749613740565b905060008151141561276a5760405180602001604052806000815250612795565b80612774846137d2565b60405160200161278592919061424b565b6040516020818303038152906040525b915050919050565b60125481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61283f612e1a565b73ffffffffffffffffffffffffffffffffffffffff1661285d611d28565b73ffffffffffffffffffffffffffffffffffffffff16146128b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128aa9061441e565b60405180910390fd5b80600d8190555050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461292b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129229061439e565b60405180910390fd5b600954813073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561297557600080fd5b505afa158015612989573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129ad9190613f3b565b6129b791906145ce565b11156129f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ef9061435e565b60405180910390fd5b600280811115612a31577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601460009054906101000a900460ff166002811115612a79577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14612ab9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ab0906143fe565b60405180910390fd5b80600b54612ac79190614693565b341015612b09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b009061445e565b60405180910390fd5b80612b1333611528565b1015612b54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4b906143be565b60405180910390fd5b612b5e3382612e42565b50565b612b69612e1a565b73ffffffffffffffffffffffffffffffffffffffff16612b87611d28565b73ffffffffffffffffffffffffffffffffffffffff1614612bdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bd49061441e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612c4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c449061437e565b60405180910390fd5b612c568161351a565b50565b600a5481565b612c67612e1a565b73ffffffffffffffffffffffffffffffffffffffff16612c85611d28565b73ffffffffffffffffffffffffffffffffffffffff1614612cdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cd29061441e565b60405180910390fd5b80600a8190555050565b600081612cf0612e22565b11158015612cff575060005482105b8015612d3d575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60008082905080612d53612e22565b11612ddb57600054811015612dda5760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612dd8575b6000811415612dce576004600083600190039350838152602001908152602001600020549050612da3565b8092505050612e0d565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600033905090565b60006001905090565b600082612e38858461382c565b1490509392505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612eaf576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415612eea576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612ef760008483856138c7565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e1612f5c600184146138cd565b901b60a042901b612f6c856138d7565b171760046000838152602001908152602001600020819055506000819050600083820190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612f925781600081905550505061301160008483856138e1565b505050565b600060c0600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600082905060c081901b77ffffffffffffffffffffffffffffffffffffffffffffffff831617915081600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505050565b600061312482612d44565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461318b576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166131ac612e12565b73ffffffffffffffffffffffffffffffffffffffff1614806131db57506131da856131d5612e12565b6127a3565b5b8061322057506131e9612e12565b73ffffffffffffffffffffffffffffffffffffffff1661320884610b62565b73ffffffffffffffffffffffffffffffffffffffff16145b905080613259576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156132c0576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6132cd85858560016138c7565b6006600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b6133ca866138d7565b1717600460008581526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000083161415613454576000600184019050600060046000838152602001908152602001600020541415613452576000548114613451578260046000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46134bc85858560016138e1565b5050505050565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613606612e12565b8786866040518563ffffffff1660e01b8152600401613628949392919061429f565b602060405180830381600087803b15801561364257600080fd5b505af192505050801561367357506040513d601f19601f820116820180604052508101906136709190613ea8565b60015b6136ed573d80600081146136a3576040519150601f19603f3d011682016040523d82523d6000602084013e6136a8565b606091505b506000815114156136e5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606016805461374f9061481a565b80601f016020809104026020016040519081016040528092919081815260200182805461377b9061481a565b80156137c85780601f1061379d576101008083540402835291602001916137c8565b820191906000526020600020905b8154815290600101906020018083116137ab57829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b801561381857600183039250600a81066030018353600a810490506137f8565b508181036020830392508083525050919050565b60008082905060005b84518110156138bc576000858281518110613879577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905080831161389b5761389483826138e7565b92506138a8565b6138a581846138e7565b92505b5080806138b49061487d565b915050613835565b508091505092915050565b50505050565b6000819050919050565b6000819050919050565b50505050565b600082600052816020526040600020905092915050565b82805461390a9061481a565b90600052602060002090601f01602090048101928261392c5760008555613973565b82601f1061394557805160ff1916838001178555613973565b82800160010185558215613973579182015b82811115613972578251825591602001919060010190613957565b5b5090506139809190613984565b5090565b5b8082111561399d576000816000905550600101613985565b5090565b60006139b46139af8461451e565b6144f9565b9050828152602081018484840111156139cc57600080fd5b6139d78482856147d8565b509392505050565b60006139f26139ed8461454f565b6144f9565b905082815260208101848484011115613a0a57600080fd5b613a158482856147d8565b509392505050565b600081359050613a2c81614c42565b92915050565b60008083601f840112613a4457600080fd5b8235905067ffffffffffffffff811115613a5d57600080fd5b602083019150836020820283011115613a7557600080fd5b9250929050565b60008083601f840112613a8e57600080fd5b8235905067ffffffffffffffff811115613aa757600080fd5b602083019150836020820283011115613abf57600080fd5b9250929050565b60008083601f840112613ad857600080fd5b8235905067ffffffffffffffff811115613af157600080fd5b602083019150836020820283011115613b0957600080fd5b9250929050565b600081359050613b1f81614c59565b92915050565b600081359050613b3481614c70565b92915050565b600081359050613b4981614c87565b92915050565b600081519050613b5e81614c87565b92915050565b600082601f830112613b7557600080fd5b8135613b858482602086016139a1565b91505092915050565b600082601f830112613b9f57600080fd5b8135613baf8482602086016139df565b91505092915050565b600081359050613bc781614c9e565b92915050565b600081519050613bdc81614c9e565b92915050565b600060208284031215613bf457600080fd5b6000613c0284828501613a1d565b91505092915050565b60008060408385031215613c1e57600080fd5b6000613c2c85828601613a1d565b9250506020613c3d85828601613a1d565b9150509250929050565b600080600060608486031215613c5c57600080fd5b6000613c6a86828701613a1d565b9350506020613c7b86828701613a1d565b9250506040613c8c86828701613bb8565b9150509250925092565b60008060008060808587031215613cac57600080fd5b6000613cba87828801613a1d565b9450506020613ccb87828801613a1d565b9350506040613cdc87828801613bb8565b925050606085013567ffffffffffffffff811115613cf957600080fd5b613d0587828801613b64565b91505092959194509250565b60008060408385031215613d2457600080fd5b6000613d3285828601613a1d565b9250506020613d4385828601613b10565b9150509250929050565b60008060408385031215613d6057600080fd5b6000613d6e85828601613a1d565b9250506020613d7f85828601613bb8565b9150509250929050565b60008060008060408587031215613d9f57600080fd5b600085013567ffffffffffffffff811115613db957600080fd5b613dc587828801613a32565b9450945050602085013567ffffffffffffffff811115613de457600080fd5b613df087828801613ac6565b925092505092959194509250565b600080600060408486031215613e1357600080fd5b600084013567ffffffffffffffff811115613e2d57600080fd5b613e3986828701613a7c565b93509350506020613e4c86828701613bb8565b9150509250925092565b600060208284031215613e6857600080fd5b6000613e7684828501613b25565b91505092915050565b600060208284031215613e9157600080fd5b6000613e9f84828501613b3a565b91505092915050565b600060208284031215613eba57600080fd5b6000613ec884828501613b4f565b91505092915050565b600060208284031215613ee357600080fd5b600082013567ffffffffffffffff811115613efd57600080fd5b613f0984828501613b8e565b91505092915050565b600060208284031215613f2457600080fd5b6000613f3284828501613bb8565b91505092915050565b600060208284031215613f4d57600080fd5b6000613f5b84828501613bcd565b91505092915050565b613f6d81614721565b82525050565b613f84613f7f82614721565b6148c6565b82525050565b613f9381614733565b82525050565b613fa28161473f565b82525050565b6000613fb382614580565b613fbd8185614596565b9350613fcd8185602086016147e7565b613fd6816149d5565b840191505092915050565b613fea816147c6565b82525050565b6000613ffb8261458b565b61400581856145b2565b93506140158185602086016147e7565b61401e816149d5565b840191505092915050565b60006140348261458b565b61403e81856145c3565b935061404e8185602086016147e7565b80840191505092915050565b60006140676017836145b2565b9150614072826149f3565b602082019050919050565b600061408a6026836145b2565b915061409582614a1c565b604082019050919050565b60006140ad601c836145b2565b91506140b882614a6b565b602082019050919050565b60006140d0601b836145b2565b91506140db82614a94565b602082019050919050565b60006140f36023836145b2565b91506140fe82614abd565b604082019050919050565b60006141166013836145b2565b915061412182614b0c565b602082019050919050565b60006141396020836145b2565b915061414482614b35565b602082019050919050565b600061415c6019836145b2565b915061416782614b5e565b602082019050919050565b600061417f6012836145b2565b915061418a82614b87565b602082019050919050565b60006141a26000836145a7565b91506141ad82614bb0565b600082019050919050565b60006141c5601d836145b2565b91506141d082614bb3565b602082019050919050565b60006141e86019836145b2565b91506141f382614bdc565b602082019050919050565b600061420b600d836145b2565b915061421682614c05565b602082019050919050565b61422a816147a8565b82525050565b600061423c8284613f73565b60148201915081905092915050565b60006142578285614029565b91506142638284614029565b91508190509392505050565b600061427a82614195565b9150819050919050565b60006020820190506142996000830184613f64565b92915050565b60006080820190506142b46000830187613f64565b6142c16020830186613f64565b6142ce6040830185614221565b81810360608301526142e08184613fa8565b905095945050505050565b60006020820190506143006000830184613f8a565b92915050565b600060208201905061431b6000830184613f99565b92915050565b60006020820190506143366000830184613fe1565b92915050565b600060208201905081810360008301526143568184613ff0565b905092915050565b600060208201905081810360008301526143778161405a565b9050919050565b600060208201905081810360008301526143978161407d565b9050919050565b600060208201905081810360008301526143b7816140a0565b9050919050565b600060208201905081810360008301526143d7816140c3565b9050919050565b600060208201905081810360008301526143f7816140e6565b9050919050565b6000602082019050818103600083015261441781614109565b9050919050565b600060208201905081810360008301526144378161412c565b9050919050565b600060208201905081810360008301526144578161414f565b9050919050565b6000602082019050818103600083015261447781614172565b9050919050565b60006020820190508181036000830152614497816141b8565b9050919050565b600060208201905081810360008301526144b7816141db565b9050919050565b600060208201905081810360008301526144d7816141fe565b9050919050565b60006020820190506144f36000830184614221565b92915050565b6000614503614514565b905061450f828261484c565b919050565b6000604051905090565b600067ffffffffffffffff821115614539576145386149a6565b5b614542826149d5565b9050602081019050919050565b600067ffffffffffffffff82111561456a576145696149a6565b5b614573826149d5565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006145d9826147a8565b91506145e4836147a8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614619576146186148ea565b5b828201905092915050565b600061462f826147b2565b915061463a836147b2565b92508267ffffffffffffffff03821115614657576146566148ea565b5b828201905092915050565b600061466d826147a8565b9150614678836147a8565b92508261468857614687614919565b5b828204905092915050565b600061469e826147a8565b91506146a9836147a8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156146e2576146e16148ea565b5b828202905092915050565b60006146f8826147a8565b9150614703836147a8565b925082821015614716576147156148ea565b5b828203905092915050565b600061472c82614788565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600081905061478382614c2e565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b60006147d182614775565b9050919050565b82818337600083830152505050565b60005b838110156148055780820151818401526020810190506147ea565b83811115614814576000848401525b50505050565b6000600282049050600182168061483257607f821691505b6020821081141561484657614845614977565b5b50919050565b614855826149d5565b810181811067ffffffffffffffff82111715614874576148736149a6565b5b80604052505050565b6000614888826147a8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156148bb576148ba6148ea565b5b600182019050919050565b60006148d1826148d8565b9050919050565b60006148e3826149e6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4d696e742065786365656473206d617820737570706c79000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4e6f742065787465726e616c6c79206f776e6564206163636f756e7400000000600082015250565b7f4d696e74206c696d697420666f72207573657220726561636865640000000000600082015250565b7f416d6f756e742065786365656473206d61782066726565206d696e742073757060008201527f706c790000000000000000000000000000000000000000000000000000000000602082015250565b7f4d696e74207374617465206d69736d6174636800000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4d696e7420737461746520646f6573206e6f7420657869737400000000000000600082015250565b7f496e73756666696369656e742076616c75650000000000000000000000000000600082015250565b50565b7f4261746368206d696e742065786365656473206d617820737570706c79000000600082015250565b7f417267756d656e7473206c656e677468206d69736d6174636800000000000000600082015250565b7f496e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b60038110614c3f57614c3e614948565b5b50565b614c4b81614721565b8114614c5657600080fd5b50565b614c6281614733565b8114614c6d57600080fd5b50565b614c798161473f565b8114614c8457600080fd5b50565b614c9081614749565b8114614c9b57600080fd5b50565b614ca7816147a8565b8114614cb257600080fd5b5056fea2646970667358221220641d6799d9a33a13326ad94738f1d82af88a55092fe186594370ed5741ae093064736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000b1ca7837222333e8a6672b1ff2cf5712627b85ed0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f697066732e696f2f697066732f626166796265696337637369747579643236696b367073756d3733686467776f63783734757174706b6d71636a6e7a666869756672666872706b692f000000000000000000000000000000
-----Decoded View---------------
Arg [0] : baseURI_ (string): https://ipfs.io/ipfs/bafybeic7csituyd26ik6psum73hdgwocx74uqtpkmqcjnzfhiufrfhrpki/
Arg [1] : recipient (address): 0xB1Ca7837222333E8A6672B1FF2CF5712627B85ED
Arg [2] : allocation (uint256): 1
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 000000000000000000000000b1ca7837222333e8a6672b1ff2cf5712627b85ed
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000051
Arg [4] : 68747470733a2f2f697066732e696f2f697066732f6261667962656963376373
Arg [5] : 69747579643236696b367073756d3733686467776f63783734757174706b6d71
Arg [6] : 636a6e7a666869756672666872706b692f000000000000000000000000000000
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.