NFT
Overview
TokenID
3840
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Metakrew
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; // __ __ ______ _______ _ _______ ________ __ // | \/ | ____|__ __|/\ | |/ / __ \| ____\ \ / / // | \ / | |__ | | / \ | ' /| |__) | |__ \ \ /\ / / // | |\/| | __| | | / /\ \ | < | _ /| __| \ \/ \/ / // | | | | |____ | |/ ____ \| . \| | \ \| |____ \ /\ / // |_| |_|______| |_/_/ \_\_|\_\_| \_\______| \/ \/ contract Metakrew is ERC721Enumerable, ERC721Burnable, Ownable { string public baseURI; uint256 private totalMintedTokens = 0; //Max 9750 Metakrew uint256 public constant MAX_KREW = 9750; bytes32 public merkleRoot; bool public claimIsActive = false; bool public canSetProvenance = true; bool public canMint = true; //keccak256 hashed of ipfs hash string public PROVENANCE; // This is a packed array of booleans. mapping(uint256 => uint256) private claimedBitMap; //List of addresses with remainder krew to claim mapping(address => uint256) public overflowedMintingAmount; //max claim per tx uint256 public mintCap; uint256 public deadline; constructor(uint256 _mintCap, uint256 _deadline) ERC721("Metakrew", "METAKREW") { mintCap = _mintCap; deadline = _deadline; } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } function _baseURI() internal view override returns (string memory) { return baseURI; } function setBaseURI(string memory uri) external onlyOwner { baseURI = uri; } //sets the max tx mint per block function setMintCap(uint cap) external onlyOwner { mintCap = cap; } function setDeadline(uint _deadline) external onlyOwner { deadline = _deadline; } function setMerkleRoot(bytes32 merkleRoot_) external onlyOwner { merkleRoot = merkleRoot_; } function flipClaimState() external onlyOwner { require(canMint, "Cannot mint anymore"); claimIsActive = !claimIsActive; } function setProvenance(string calldata _provenance) external onlyOwner { require(canSetProvenance == true, 'Provenance locked'); PROVENANCE = _provenance; } function lockSetProvenance() external onlyOwner { canSetProvenance = false; } function lockMetakrewClaiming () external onlyOwner { canMint = false; claimIsActive = false; } function walletOfOwner(address _owner) public view returns(uint256[] memory) { uint256 tokenCount = balanceOf(_owner); uint256[] memory tokensId = new uint256[](tokenCount); for(uint256 i; i < tokenCount; i++){ tokensId[i] = tokenOfOwnerByIndex(_owner, i); } return tokensId; } function claimKrew(uint256 amount, address _to) private { uint mintIndex = totalMintedTokens; uint newTotalMintedTokens = mintIndex + amount; require(newTotalMintedTokens <= MAX_KREW, "No Krew left to be claimed"); totalMintedTokens = newTotalMintedTokens; while (mintIndex < newTotalMintedTokens) { mintIndex++; _mint(_to, mintIndex); } } function isClaimed(uint256 index) public view returns (bool) { uint256 claimedWordIndex = index / 256; uint256 claimedBitIndex = index % 256; uint256 claimedWord = claimedBitMap[claimedWordIndex]; uint256 mask = (1 << claimedBitIndex); return claimedWord & mask == mask; } function _setClaimed(uint256 index) private { uint256 claimedWordIndex = index / 256; uint256 claimedBitIndex = index % 256; claimedBitMap[claimedWordIndex] = claimedBitMap[claimedWordIndex] | (1 << claimedBitIndex); } function claim(uint256 index, uint256 maxAmount, uint256 amountToClaim, bytes32[] calldata merkleProof) external { require(claimIsActive, "Claim must be active to mint Krew"); require(block.timestamp <= deadline, "The claiming time has passed."); require(amountToClaim != 0, "Must claim at least one"); require(!isClaimed(index), 'Krew already claimed.'); address account = msg.sender; // Verify the merkle proof. bytes32 node = keccak256(abi.encodePacked(index, account, maxAmount)); require(MerkleProof.verify(merkleProof, merkleRoot, node), 'Invalid proof.'); // Mark it claimed _setClaimed(index); uint _amount = maxAmount; uint remainder; if(amountToClaim > mintCap){ require(amountToClaim <= maxAmount, "Cannot claim more than you are eligible for"); remainder = mintCap - amountToClaim; //Move address into the contract storage overflowedMintingAmount[account] = remainder; _amount = mintCap; } else if (amountToClaim < maxAmount) { remainder = maxAmount - amountToClaim; //Move address into the contract storage overflowedMintingAmount[account] = remainder; _amount = amountToClaim; } claimKrew(_amount, account); } function remainderClaim (uint256 amountToClaim) external { require(claimIsActive, "Claim must be active to mint Krew"); require(block.timestamp <= deadline, "The claiming time has passed."); require(amountToClaim <= overflowedMintingAmount[msg.sender], 'Cannot claim more than you have left'); require(amountToClaim > 0 && amountToClaim <= mintCap, 'Must mint at least 1 and less than or equal to max transaction'); //deduct how many metakrew left for the address to mint overflowedMintingAmount[msg.sender] = overflowedMintingAmount[msg.sender] - amountToClaim; claimKrew(amountToClaim, msg.sender); } function devMintUnclaimed(uint mintAmount, address accountToMintTo) external onlyOwner { require(claimIsActive, 'Claim must be active to mint Krew'); require(block.timestamp > deadline,'Claim window has not ended'); claimKrew(mintAmount, accountToMintTo); } }
// SPDX-License-Identifier: MIT 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() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // 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; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @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) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @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 See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), 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 { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _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 { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @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. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @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`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * 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 ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a 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 _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * 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, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) 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 Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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 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); /** * @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; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "../../../utils/Context.sol"; /** * @title ERC721 Burnable Token * @dev ERC721 Token that can be irreversibly burned (destroyed). */ abstract contract ERC721Burnable is Context, ERC721 { /** * @dev Burns `tokenId`. See {ERC721-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved"); _burn(tokenId); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * 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, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) private pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT 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. */ 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) { 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 = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } // Check if the computed hash (root) is equal to the provided root return computedHash == root; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface 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); }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"_mintCap","type":"uint256"},{"internalType":"uint256","name":"_deadline","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"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_KREW","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"canMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"canSetProvenance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"uint256","name":"maxAmount","type":"uint256"},{"internalType":"uint256","name":"amountToClaim","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadline","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintAmount","type":"uint256"},{"internalType":"address","name":"accountToMintTo","type":"address"}],"name":"devMintUnclaimed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipClaimState","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":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"isClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockMetakrewClaiming","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lockSetProvenance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"overflowedMintingAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountToClaim","type":"uint256"}],"name":"remainderClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"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":"uint256","name":"_deadline","type":"uint256"}],"name":"setDeadline","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"cap","type":"uint256"}],"name":"setMintCap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_provenance","type":"string"}],"name":"setProvenance","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526000600c556000600e60006101000a81548160ff0219169083151502179055506001600e60016101000a81548160ff0219169083151502179055506001600e60026101000a81548160ff0219169083151502179055503480156200006757600080fd5b50604051620057fa380380620057fa83398181016040528101906200008d919062000321565b6040518060400160405280600881526020017f4d6574616b7265770000000000000000000000000000000000000000000000008152506040518060400160405280600881526020017f4d4554414b52455700000000000000000000000000000000000000000000000081525081600090805190602001906200011192919062000231565b5080600190805190602001906200012a92919062000231565b5050506200014d620001416200016360201b60201c565b6200016b60201b60201c565b81601281905550806013819055505050620003cd565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200023f9062000397565b90600052602060002090601f016020900481019282620002635760008555620002af565b82601f106200027e57805160ff1916838001178555620002af565b82800160010185558215620002af579182015b82811115620002ae57825182559160200191906001019062000291565b5b509050620002be9190620002c2565b5090565b5b80821115620002dd576000816000905550600101620002c3565b5090565b600080fd5b6000819050919050565b620002fb81620002e6565b81146200030757600080fd5b50565b6000815190506200031b81620002f0565b92915050565b600080604083850312156200033b576200033a620002e1565b5b60006200034b858286016200030a565b92505060206200035e858286016200030a565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620003b057607f821691505b60208210811415620003c757620003c662000368565b5b50919050565b61541d80620003dd6000396000f3fe608060405234801561001057600080fd5b50600436106102695760003560e01c80636d60e6c111610151578063a22cb465116100c3578063e82c587c11610087578063e82c587c14610726578063e985e9c514610730578063ea25e17614610760578063f2fde38b1461077c578063fbde27c714610798578063ffe630b5146107b457610269565b8063a22cb46514610684578063b88d4fde146106a0578063beb9716d146106bc578063c87b56dd146106da578063cd59fd6a1461070a57610269565b806376c71ca11161011557806376c71ca1146105ae5780637c55a8c8146105cc5780637cb64759146105fc5780638da5cb5b1461061857806395d89b41146106365780639e34070f1461065457610269565b80636d60e6c1146105425780636e03c6661461054c57806370a0823114610556578063715018a61461058657806372c04e791461059057610269565b80634070a0c9116101ea5780635303f68c116101ae5780635303f68c1461047e57806355f804b31461049c578063563b3743146104b85780636352211e146104d65780636373a6b1146105065780636c0360eb1461052457610269565b80634070a0c9146103ca57806342842e0e146103e657806342966c6814610402578063438b63001461041e5780634f6ccce71461044e57610269565b8063195199f611610231578063195199f61461032657806323b872dd1461034257806329dcb0cf1461035e5780632eb4a7ab1461037c5780632f745c591461039a57610269565b806301ffc9a71461026e57806306fdde031461029e578063081812fc146102bc578063095ea7b3146102ec57806318160ddd14610308575b600080fd5b61028860048036038101906102839190613600565b6107d0565b6040516102959190613648565b60405180910390f35b6102a66107e2565b6040516102b391906136fc565b60405180910390f35b6102d660048036038101906102d19190613754565b610874565b6040516102e391906137c2565b60405180910390f35b61030660048036038101906103019190613809565b6108f9565b005b610310610a11565b60405161031d9190613858565b60405180910390f35b610340600480360381019061033b9190613754565b610a1e565b005b61035c60048036038101906103579190613873565b610aa4565b005b610366610b04565b6040516103739190613858565b60405180910390f35b610384610b0a565b60405161039191906138df565b60405180910390f35b6103b460048036038101906103af9190613809565b610b10565b6040516103c19190613858565b60405180910390f35b6103e460048036038101906103df9190613754565b610bb5565b005b61040060048036038101906103fb9190613873565b610c3b565b005b61041c60048036038101906104179190613754565b610c5b565b005b610438600480360381019061043391906138fa565b610cb7565b60405161044591906139e5565b60405180910390f35b61046860048036038101906104639190613754565b610d65565b6040516104759190613858565b60405180910390f35b610486610dd6565b6040516104939190613648565b60405180910390f35b6104b660048036038101906104b19190613b3c565b610de9565b005b6104c0610e7f565b6040516104cd9190613648565b60405180910390f35b6104f060048036038101906104eb9190613754565b610e92565b6040516104fd91906137c2565b60405180910390f35b61050e610f44565b60405161051b91906136fc565b60405180910390f35b61052c610fd2565b60405161053991906136fc565b60405180910390f35b61054a611060565b005b610554611157565b005b610570600480360381019061056b91906138fa565b6111f0565b60405161057d9190613858565b60405180910390f35b61058e6112a8565b005b610598611330565b6040516105a59190613858565b60405180910390f35b6105b6611336565b6040516105c39190613858565b60405180910390f35b6105e660048036038101906105e191906138fa565b61133c565b6040516105f39190613858565b60405180910390f35b61061660048036038101906106119190613bb1565b611354565b005b6106206113da565b60405161062d91906137c2565b60405180910390f35b61063e611404565b60405161064b91906136fc565b60405180910390f35b61066e60048036038101906106699190613754565b611496565b60405161067b9190613648565b60405180910390f35b61069e60048036038101906106999190613c0a565b6114ec565b005b6106ba60048036038101906106b59190613ceb565b61166d565b005b6106c46116cf565b6040516106d19190613648565b60405180910390f35b6106f460048036038101906106ef9190613754565b6116e2565b60405161070191906136fc565b60405180910390f35b610724600480360381019061071f9190613754565b611789565b005b61072e61198b565b005b61074a60048036038101906107459190613d6e565b611a3f565b6040516107579190613648565b60405180910390f35b61077a60048036038101906107759190613e0e565b611ad3565b005b610796600480360381019061079191906138fa565b611de4565b005b6107b260048036038101906107ad9190613e96565b611edc565b005b6107ce60048036038101906107c99190613f2c565b611ff9565b005b60006107db826120e1565b9050919050565b6060600080546107f190613fa8565b80601f016020809104026020016040519081016040528092919081815260200182805461081d90613fa8565b801561086a5780601f1061083f5761010080835404028352916020019161086a565b820191906000526020600020905b81548152906001019060200180831161084d57829003601f168201915b5050505050905090565b600061087f8261215b565b6108be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b59061404c565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061090482610e92565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610975576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096c906140de565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109946121c7565b73ffffffffffffffffffffffffffffffffffffffff1614806109c357506109c2816109bd6121c7565b611a3f565b5b610a02576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f990614170565b60405180910390fd5b610a0c83836121cf565b505050565b6000600880549050905090565b610a266121c7565b73ffffffffffffffffffffffffffffffffffffffff16610a446113da565b73ffffffffffffffffffffffffffffffffffffffff1614610a9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a91906141dc565b60405180910390fd5b8060138190555050565b610ab5610aaf6121c7565b82612288565b610af4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aeb9061426e565b60405180910390fd5b610aff838383612366565b505050565b60135481565b600d5481565b6000610b1b836111f0565b8210610b5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5390614300565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610bbd6121c7565b73ffffffffffffffffffffffffffffffffffffffff16610bdb6113da565b73ffffffffffffffffffffffffffffffffffffffff1614610c31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c28906141dc565b60405180910390fd5b8060128190555050565b610c568383836040518060200160405280600081525061166d565b505050565b610c6c610c666121c7565b82612288565b610cab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca290614392565b60405180910390fd5b610cb4816125c2565b50565b60606000610cc4836111f0565b905060008167ffffffffffffffff811115610ce257610ce1613a11565b5b604051908082528060200260200182016040528015610d105781602001602082028036833780820191505090505b50905060005b82811015610d5a57610d288582610b10565b828281518110610d3b57610d3a6143b2565b5b6020026020010181815250508080610d5290614410565b915050610d16565b508092505050919050565b6000610d6f610a11565b8210610db0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da7906144cb565b60405180910390fd5b60088281548110610dc457610dc36143b2565b5b90600052602060002001549050919050565b600e60009054906101000a900460ff1681565b610df16121c7565b73ffffffffffffffffffffffffffffffffffffffff16610e0f6113da565b73ffffffffffffffffffffffffffffffffffffffff1614610e65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5c906141dc565b60405180910390fd5b80600b9080519060200190610e7b92919061346b565b5050565b600e60019054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f329061455d565b60405180910390fd5b80915050919050565b600f8054610f5190613fa8565b80601f0160208091040260200160405190810160405280929190818152602001828054610f7d90613fa8565b8015610fca5780601f10610f9f57610100808354040283529160200191610fca565b820191906000526020600020905b815481529060010190602001808311610fad57829003601f168201915b505050505081565b600b8054610fdf90613fa8565b80601f016020809104026020016040519081016040528092919081815260200182805461100b90613fa8565b80156110585780601f1061102d57610100808354040283529160200191611058565b820191906000526020600020905b81548152906001019060200180831161103b57829003601f168201915b505050505081565b6110686121c7565b73ffffffffffffffffffffffffffffffffffffffff166110866113da565b73ffffffffffffffffffffffffffffffffffffffff16146110dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d3906141dc565b60405180910390fd5b600e60029054906101000a900460ff1661112b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611122906145c9565b60405180910390fd5b600e60009054906101000a900460ff1615600e60006101000a81548160ff021916908315150217905550565b61115f6121c7565b73ffffffffffffffffffffffffffffffffffffffff1661117d6113da565b73ffffffffffffffffffffffffffffffffffffffff16146111d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ca906141dc565b60405180910390fd5b6000600e60016101000a81548160ff021916908315150217905550565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611261576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112589061465b565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112b06121c7565b73ffffffffffffffffffffffffffffffffffffffff166112ce6113da565b73ffffffffffffffffffffffffffffffffffffffff1614611324576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131b906141dc565b60405180910390fd5b61132e60006126d3565b565b61261681565b60125481565b60116020528060005260406000206000915090505481565b61135c6121c7565b73ffffffffffffffffffffffffffffffffffffffff1661137a6113da565b73ffffffffffffffffffffffffffffffffffffffff16146113d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c7906141dc565b60405180910390fd5b80600d8190555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461141390613fa8565b80601f016020809104026020016040519081016040528092919081815260200182805461143f90613fa8565b801561148c5780601f106114615761010080835404028352916020019161148c565b820191906000526020600020905b81548152906001019060200180831161146f57829003601f168201915b5050505050905090565b600080610100836114a791906146aa565b90506000610100846114b991906146db565b90506000601060008481526020019081526020016000205490506000826001901b90508081831614945050505050919050565b6114f46121c7565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611562576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155990614758565b60405180910390fd5b806005600061156f6121c7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661161c6121c7565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116619190613648565b60405180910390a35050565b61167e6116786121c7565b83612288565b6116bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b49061426e565b60405180910390fd5b6116c984848484612799565b50505050565b600e60029054906101000a900460ff1681565b60606116ed8261215b565b61172c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611723906147ea565b60405180910390fd5b60006117366127f5565b905060008151116117565760405180602001604052806000815250611781565b8061176084612887565b604051602001611771929190614846565b6040516020818303038152906040525b915050919050565b600e60009054906101000a900460ff166117d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117cf906148dc565b60405180910390fd5b60135442111561181d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181490614948565b60405180910390fd5b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481111561189f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611896906149da565b60405180910390fd5b6000811180156118b157506012548111155b6118f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e790614a6c565b60405180910390fd5b80601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461193b9190614a8c565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061198881336129e8565b50565b6119936121c7565b73ffffffffffffffffffffffffffffffffffffffff166119b16113da565b73ffffffffffffffffffffffffffffffffffffffff1614611a07576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119fe906141dc565b60405180910390fd5b6000600e60026101000a81548160ff0219169083151502179055506000600e60006101000a81548160ff021916908315150217905550565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e60009054906101000a900460ff16611b22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b19906148dc565b60405180910390fd5b601354421115611b67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5e90614948565b60405180910390fd5b6000831415611bab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba290614b0c565b60405180910390fd5b611bb485611496565b15611bf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611beb90614b78565b60405180910390fd5b60003390506000868287604051602001611c1093929190614c01565b604051602081830303815290604052805190602001209050611c76848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600d5483612a77565b611cb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cac90614c8a565b60405180910390fd5b611cbe87612b2d565b60008690506000601254871115611d705787871115611d12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0990614d1c565b60405180910390fd5b86601254611d209190614a8c565b905080601160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506012549150611dcf565b87871015611dce578688611d849190614a8c565b905080601160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508691505b5b611dd982856129e8565b505050505050505050565b611dec6121c7565b73ffffffffffffffffffffffffffffffffffffffff16611e0a6113da565b73ffffffffffffffffffffffffffffffffffffffff1614611e60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e57906141dc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611ed0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec790614dae565b60405180910390fd5b611ed9816126d3565b50565b611ee46121c7565b73ffffffffffffffffffffffffffffffffffffffff16611f026113da565b73ffffffffffffffffffffffffffffffffffffffff1614611f58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4f906141dc565b60405180910390fd5b600e60009054906101000a900460ff16611fa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9e906148dc565b60405180910390fd5b6013544211611feb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe290614e1a565b60405180910390fd5b611ff582826129e8565b5050565b6120016121c7565b73ffffffffffffffffffffffffffffffffffffffff1661201f6113da565b73ffffffffffffffffffffffffffffffffffffffff1614612075576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206c906141dc565b60405180910390fd5b60011515600e60019054906101000a900460ff161515146120cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c290614e86565b60405180910390fd5b8181600f91906120dc9291906134f1565b505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612154575061215382612b87565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661224283610e92565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006122938261215b565b6122d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c990614f18565b60405180910390fd5b60006122dd83610e92565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061234c57508373ffffffffffffffffffffffffffffffffffffffff1661233484610874565b73ffffffffffffffffffffffffffffffffffffffff16145b8061235d575061235c8185611a3f565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661238682610e92565b73ffffffffffffffffffffffffffffffffffffffff16146123dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d390614faa565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561244c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124439061503c565b60405180910390fd5b612457838383612c69565b6124626000826121cf565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124b29190614a8c565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612509919061505c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006125cd82610e92565b90506125db81600084612c69565b6125e66000836121cf565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126369190614a8c565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6127a4848484612366565b6127b084848484612c79565b6127ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e690615124565b60405180910390fd5b50505050565b6060600b805461280490613fa8565b80601f016020809104026020016040519081016040528092919081815260200182805461283090613fa8565b801561287d5780601f106128525761010080835404028352916020019161287d565b820191906000526020600020905b81548152906001019060200180831161286057829003601f168201915b5050505050905090565b606060008214156128cf576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506129e3565b600082905060005b600082146129015780806128ea90614410565b915050600a826128fa91906146aa565b91506128d7565b60008167ffffffffffffffff81111561291d5761291c613a11565b5b6040519080825280601f01601f19166020018201604052801561294f5781602001600182028036833780820191505090505b5090505b600085146129dc576001826129689190614a8c565b9150600a8561297791906146db565b6030612983919061505c565b60f81b818381518110612999576129986143b2565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129d591906146aa565b9450612953565b8093505050505b919050565b6000600c549050600083826129fd919061505c565b9050612616811115612a44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a3b90615190565b60405180910390fd5b80600c819055505b80821015612a71578180612a5f90614410565b925050612a6c8383612e01565b612a4c565b50505050565b60008082905060005b8551811015612b1f576000868281518110612a9e57612a9d6143b2565b5b60200260200101519050808311612adf578281604051602001612ac29291906151d1565b604051602081830303815290604052805190602001209250612b0b565b8083604051602001612af29291906151d1565b6040516020818303038152906040528051906020012092505b508080612b1790614410565b915050612a80565b508381149150509392505050565b600061010082612b3d91906146aa565b9050600061010083612b4f91906146db565b9050806001901b6010600084815260200190815260200160002054176010600084815260200190815260200160002081905550505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612c5257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612c625750612c6182612fcf565b5b9050919050565b612c74838383613039565b505050565b6000612c9a8473ffffffffffffffffffffffffffffffffffffffff1661314d565b15612df4578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612cc36121c7565b8786866040518563ffffffff1660e01b8152600401612ce59493929190615252565b6020604051808303816000875af1925050508015612d2157506040513d601f19601f82011682018060405250810190612d1e91906152b3565b60015b612da4573d8060008114612d51576040519150601f19603f3d011682016040523d82523d6000602084013e612d56565b606091505b50600081511415612d9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d9390615124565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612df9565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e689061532c565b60405180910390fd5b612e7a8161215b565b15612eba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eb190615398565b60405180910390fd5b612ec660008383612c69565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f16919061505c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b613044838383613160565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156130875761308281613165565b6130c6565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146130c5576130c483826131ae565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613109576131048161331b565b613148565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146131475761314682826133ec565b5b5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016131bb846111f0565b6131c59190614a8c565b90506000600760008481526020019081526020016000205490508181146132aa576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061332f9190614a8c565b905060006009600084815260200190815260200160002054905060006008838154811061335f5761335e6143b2565b5b906000526020600020015490508060088381548110613381576133806143b2565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806133d0576133cf6153b8565b5b6001900381819060005260206000200160009055905550505050565b60006133f7836111f0565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b82805461347790613fa8565b90600052602060002090601f01602090048101928261349957600085556134e0565b82601f106134b257805160ff19168380011785556134e0565b828001600101855582156134e0579182015b828111156134df5782518255916020019190600101906134c4565b5b5090506134ed9190613577565b5090565b8280546134fd90613fa8565b90600052602060002090601f01602090048101928261351f5760008555613566565b82601f1061353857803560ff1916838001178555613566565b82800160010185558215613566579182015b8281111561356557823582559160200191906001019061354a565b5b5090506135739190613577565b5090565b5b80821115613590576000816000905550600101613578565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6135dd816135a8565b81146135e857600080fd5b50565b6000813590506135fa816135d4565b92915050565b6000602082840312156136165761361561359e565b5b6000613624848285016135eb565b91505092915050565b60008115159050919050565b6136428161362d565b82525050565b600060208201905061365d6000830184613639565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561369d578082015181840152602081019050613682565b838111156136ac576000848401525b50505050565b6000601f19601f8301169050919050565b60006136ce82613663565b6136d8818561366e565b93506136e881856020860161367f565b6136f1816136b2565b840191505092915050565b6000602082019050818103600083015261371681846136c3565b905092915050565b6000819050919050565b6137318161371e565b811461373c57600080fd5b50565b60008135905061374e81613728565b92915050565b60006020828403121561376a5761376961359e565b5b60006137788482850161373f565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006137ac82613781565b9050919050565b6137bc816137a1565b82525050565b60006020820190506137d760008301846137b3565b92915050565b6137e6816137a1565b81146137f157600080fd5b50565b600081359050613803816137dd565b92915050565b600080604083850312156138205761381f61359e565b5b600061382e858286016137f4565b925050602061383f8582860161373f565b9150509250929050565b6138528161371e565b82525050565b600060208201905061386d6000830184613849565b92915050565b60008060006060848603121561388c5761388b61359e565b5b600061389a868287016137f4565b93505060206138ab868287016137f4565b92505060406138bc8682870161373f565b9150509250925092565b6000819050919050565b6138d9816138c6565b82525050565b60006020820190506138f460008301846138d0565b92915050565b6000602082840312156139105761390f61359e565b5b600061391e848285016137f4565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61395c8161371e565b82525050565b600061396e8383613953565b60208301905092915050565b6000602082019050919050565b600061399282613927565b61399c8185613932565b93506139a783613943565b8060005b838110156139d85781516139bf8882613962565b97506139ca8361397a565b9250506001810190506139ab565b5085935050505092915050565b600060208201905081810360008301526139ff8184613987565b905092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613a49826136b2565b810181811067ffffffffffffffff82111715613a6857613a67613a11565b5b80604052505050565b6000613a7b613594565b9050613a878282613a40565b919050565b600067ffffffffffffffff821115613aa757613aa6613a11565b5b613ab0826136b2565b9050602081019050919050565b82818337600083830152505050565b6000613adf613ada84613a8c565b613a71565b905082815260208101848484011115613afb57613afa613a0c565b5b613b06848285613abd565b509392505050565b600082601f830112613b2357613b22613a07565b5b8135613b33848260208601613acc565b91505092915050565b600060208284031215613b5257613b5161359e565b5b600082013567ffffffffffffffff811115613b7057613b6f6135a3565b5b613b7c84828501613b0e565b91505092915050565b613b8e816138c6565b8114613b9957600080fd5b50565b600081359050613bab81613b85565b92915050565b600060208284031215613bc757613bc661359e565b5b6000613bd584828501613b9c565b91505092915050565b613be78161362d565b8114613bf257600080fd5b50565b600081359050613c0481613bde565b92915050565b60008060408385031215613c2157613c2061359e565b5b6000613c2f858286016137f4565b9250506020613c4085828601613bf5565b9150509250929050565b600067ffffffffffffffff821115613c6557613c64613a11565b5b613c6e826136b2565b9050602081019050919050565b6000613c8e613c8984613c4a565b613a71565b905082815260208101848484011115613caa57613ca9613a0c565b5b613cb5848285613abd565b509392505050565b600082601f830112613cd257613cd1613a07565b5b8135613ce2848260208601613c7b565b91505092915050565b60008060008060808587031215613d0557613d0461359e565b5b6000613d13878288016137f4565b9450506020613d24878288016137f4565b9350506040613d358782880161373f565b925050606085013567ffffffffffffffff811115613d5657613d556135a3565b5b613d6287828801613cbd565b91505092959194509250565b60008060408385031215613d8557613d8461359e565b5b6000613d93858286016137f4565b9250506020613da4858286016137f4565b9150509250929050565b600080fd5b600080fd5b60008083601f840112613dce57613dcd613a07565b5b8235905067ffffffffffffffff811115613deb57613dea613dae565b5b602083019150836020820283011115613e0757613e06613db3565b5b9250929050565b600080600080600060808688031215613e2a57613e2961359e565b5b6000613e388882890161373f565b9550506020613e498882890161373f565b9450506040613e5a8882890161373f565b935050606086013567ffffffffffffffff811115613e7b57613e7a6135a3565b5b613e8788828901613db8565b92509250509295509295909350565b60008060408385031215613ead57613eac61359e565b5b6000613ebb8582860161373f565b9250506020613ecc858286016137f4565b9150509250929050565b60008083601f840112613eec57613eeb613a07565b5b8235905067ffffffffffffffff811115613f0957613f08613dae565b5b602083019150836001820283011115613f2557613f24613db3565b5b9250929050565b60008060208385031215613f4357613f4261359e565b5b600083013567ffffffffffffffff811115613f6157613f606135a3565b5b613f6d85828601613ed6565b92509250509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613fc057607f821691505b60208210811415613fd457613fd3613f79565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614036602c8361366e565b915061404182613fda565b604082019050919050565b6000602082019050818103600083015261406581614029565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006140c860218361366e565b91506140d38261406c565b604082019050919050565b600060208201905081810360008301526140f7816140bb565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061415a60388361366e565b9150614165826140fe565b604082019050919050565b600060208201905081810360008301526141898161414d565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006141c660208361366e565b91506141d182614190565b602082019050919050565b600060208201905081810360008301526141f5816141b9565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061425860318361366e565b9150614263826141fc565b604082019050919050565b600060208201905081810360008301526142878161424b565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006142ea602b8361366e565b91506142f58261428e565b604082019050919050565b60006020820190508181036000830152614319816142dd565b9050919050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b600061437c60308361366e565b915061438782614320565b604082019050919050565b600060208201905081810360008301526143ab8161436f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061441b8261371e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561444e5761444d6143e1565b5b600182019050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006144b5602c8361366e565b91506144c082614459565b604082019050919050565b600060208201905081810360008301526144e4816144a8565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b600061454760298361366e565b9150614552826144eb565b604082019050919050565b600060208201905081810360008301526145768161453a565b9050919050565b7f43616e6e6f74206d696e7420616e796d6f726500000000000000000000000000600082015250565b60006145b360138361366e565b91506145be8261457d565b602082019050919050565b600060208201905081810360008301526145e2816145a6565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614645602a8361366e565b9150614650826145e9565b604082019050919050565b6000602082019050818103600083015261467481614638565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006146b58261371e565b91506146c08361371e565b9250826146d0576146cf61467b565b5b828204905092915050565b60006146e68261371e565b91506146f18361371e565b9250826147015761470061467b565b5b828206905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061474260198361366e565b915061474d8261470c565b602082019050919050565b6000602082019050818103600083015261477181614735565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006147d4602f8361366e565b91506147df82614778565b604082019050919050565b60006020820190508181036000830152614803816147c7565b9050919050565b600081905092915050565b600061482082613663565b61482a818561480a565b935061483a81856020860161367f565b80840191505092915050565b60006148528285614815565b915061485e8284614815565b91508190509392505050565b7f436c61696d206d7573742062652061637469766520746f206d696e74204b726560008201527f7700000000000000000000000000000000000000000000000000000000000000602082015250565b60006148c660218361366e565b91506148d18261486a565b604082019050919050565b600060208201905081810360008301526148f5816148b9565b9050919050565b7f54686520636c61696d696e672074696d6520686173207061737365642e000000600082015250565b6000614932601d8361366e565b915061493d826148fc565b602082019050919050565b6000602082019050818103600083015261496181614925565b9050919050565b7f43616e6e6f7420636c61696d206d6f7265207468616e20796f7520686176652060008201527f6c65667400000000000000000000000000000000000000000000000000000000602082015250565b60006149c460248361366e565b91506149cf82614968565b604082019050919050565b600060208201905081810360008301526149f3816149b7565b9050919050565b7f4d757374206d696e74206174206c65617374203120616e64206c65737320746860008201527f616e206f7220657175616c20746f206d6178207472616e73616374696f6e0000602082015250565b6000614a56603e8361366e565b9150614a61826149fa565b604082019050919050565b60006020820190508181036000830152614a8581614a49565b9050919050565b6000614a978261371e565b9150614aa28361371e565b925082821015614ab557614ab46143e1565b5b828203905092915050565b7f4d75737420636c61696d206174206c65617374206f6e65000000000000000000600082015250565b6000614af660178361366e565b9150614b0182614ac0565b602082019050919050565b60006020820190508181036000830152614b2581614ae9565b9050919050565b7f4b72657720616c726561647920636c61696d65642e0000000000000000000000600082015250565b6000614b6260158361366e565b9150614b6d82614b2c565b602082019050919050565b60006020820190508181036000830152614b9181614b55565b9050919050565b6000819050919050565b614bb3614bae8261371e565b614b98565b82525050565b60008160601b9050919050565b6000614bd182614bb9565b9050919050565b6000614be382614bc6565b9050919050565b614bfb614bf6826137a1565b614bd8565b82525050565b6000614c0d8286614ba2565b602082019150614c1d8285614bea565b601482019150614c2d8284614ba2565b602082019150819050949350505050565b7f496e76616c69642070726f6f662e000000000000000000000000000000000000600082015250565b6000614c74600e8361366e565b9150614c7f82614c3e565b602082019050919050565b60006020820190508181036000830152614ca381614c67565b9050919050565b7f43616e6e6f7420636c61696d206d6f7265207468616e20796f7520617265206560008201527f6c696769626c6520666f72000000000000000000000000000000000000000000602082015250565b6000614d06602b8361366e565b9150614d1182614caa565b604082019050919050565b60006020820190508181036000830152614d3581614cf9565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614d9860268361366e565b9150614da382614d3c565b604082019050919050565b60006020820190508181036000830152614dc781614d8b565b9050919050565b7f436c61696d2077696e646f7720686173206e6f7420656e646564000000000000600082015250565b6000614e04601a8361366e565b9150614e0f82614dce565b602082019050919050565b60006020820190508181036000830152614e3381614df7565b9050919050565b7f50726f76656e616e6365206c6f636b6564000000000000000000000000000000600082015250565b6000614e7060118361366e565b9150614e7b82614e3a565b602082019050919050565b60006020820190508181036000830152614e9f81614e63565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614f02602c8361366e565b9150614f0d82614ea6565b604082019050919050565b60006020820190508181036000830152614f3181614ef5565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000614f9460298361366e565b9150614f9f82614f38565b604082019050919050565b60006020820190508181036000830152614fc381614f87565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061502660248361366e565b915061503182614fca565b604082019050919050565b6000602082019050818103600083015261505581615019565b9050919050565b60006150678261371e565b91506150728361371e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156150a7576150a66143e1565b5b828201905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061510e60328361366e565b9150615119826150b2565b604082019050919050565b6000602082019050818103600083015261513d81615101565b9050919050565b7f4e6f204b726577206c65667420746f20626520636c61696d6564000000000000600082015250565b600061517a601a8361366e565b915061518582615144565b602082019050919050565b600060208201905081810360008301526151a98161516d565b9050919050565b6000819050919050565b6151cb6151c6826138c6565b6151b0565b82525050565b60006151dd82856151ba565b6020820191506151ed82846151ba565b6020820191508190509392505050565b600081519050919050565b600082825260208201905092915050565b6000615224826151fd565b61522e8185615208565b935061523e81856020860161367f565b615247816136b2565b840191505092915050565b600060808201905061526760008301876137b3565b61527460208301866137b3565b6152816040830185613849565b81810360608301526152938184615219565b905095945050505050565b6000815190506152ad816135d4565b92915050565b6000602082840312156152c9576152c861359e565b5b60006152d78482850161529e565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061531660208361366e565b9150615321826152e0565b602082019050919050565b6000602082019050818103600083015261534581615309565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615382601c8361366e565b915061538d8261534c565b602082019050919050565b600060208201905081810360008301526153b181615375565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea26469706673582212203aafcf7ad1a9c21a69e0eca8f1661fb2c13eef3009306b67138578dc3f27b73164736f6c634300080a003300000000000000000000000000000000000000000000000000000000000000280000000000000000000000000000000000000000000000000000000061a933d0
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102695760003560e01c80636d60e6c111610151578063a22cb465116100c3578063e82c587c11610087578063e82c587c14610726578063e985e9c514610730578063ea25e17614610760578063f2fde38b1461077c578063fbde27c714610798578063ffe630b5146107b457610269565b8063a22cb46514610684578063b88d4fde146106a0578063beb9716d146106bc578063c87b56dd146106da578063cd59fd6a1461070a57610269565b806376c71ca11161011557806376c71ca1146105ae5780637c55a8c8146105cc5780637cb64759146105fc5780638da5cb5b1461061857806395d89b41146106365780639e34070f1461065457610269565b80636d60e6c1146105425780636e03c6661461054c57806370a0823114610556578063715018a61461058657806372c04e791461059057610269565b80634070a0c9116101ea5780635303f68c116101ae5780635303f68c1461047e57806355f804b31461049c578063563b3743146104b85780636352211e146104d65780636373a6b1146105065780636c0360eb1461052457610269565b80634070a0c9146103ca57806342842e0e146103e657806342966c6814610402578063438b63001461041e5780634f6ccce71461044e57610269565b8063195199f611610231578063195199f61461032657806323b872dd1461034257806329dcb0cf1461035e5780632eb4a7ab1461037c5780632f745c591461039a57610269565b806301ffc9a71461026e57806306fdde031461029e578063081812fc146102bc578063095ea7b3146102ec57806318160ddd14610308575b600080fd5b61028860048036038101906102839190613600565b6107d0565b6040516102959190613648565b60405180910390f35b6102a66107e2565b6040516102b391906136fc565b60405180910390f35b6102d660048036038101906102d19190613754565b610874565b6040516102e391906137c2565b60405180910390f35b61030660048036038101906103019190613809565b6108f9565b005b610310610a11565b60405161031d9190613858565b60405180910390f35b610340600480360381019061033b9190613754565b610a1e565b005b61035c60048036038101906103579190613873565b610aa4565b005b610366610b04565b6040516103739190613858565b60405180910390f35b610384610b0a565b60405161039191906138df565b60405180910390f35b6103b460048036038101906103af9190613809565b610b10565b6040516103c19190613858565b60405180910390f35b6103e460048036038101906103df9190613754565b610bb5565b005b61040060048036038101906103fb9190613873565b610c3b565b005b61041c60048036038101906104179190613754565b610c5b565b005b610438600480360381019061043391906138fa565b610cb7565b60405161044591906139e5565b60405180910390f35b61046860048036038101906104639190613754565b610d65565b6040516104759190613858565b60405180910390f35b610486610dd6565b6040516104939190613648565b60405180910390f35b6104b660048036038101906104b19190613b3c565b610de9565b005b6104c0610e7f565b6040516104cd9190613648565b60405180910390f35b6104f060048036038101906104eb9190613754565b610e92565b6040516104fd91906137c2565b60405180910390f35b61050e610f44565b60405161051b91906136fc565b60405180910390f35b61052c610fd2565b60405161053991906136fc565b60405180910390f35b61054a611060565b005b610554611157565b005b610570600480360381019061056b91906138fa565b6111f0565b60405161057d9190613858565b60405180910390f35b61058e6112a8565b005b610598611330565b6040516105a59190613858565b60405180910390f35b6105b6611336565b6040516105c39190613858565b60405180910390f35b6105e660048036038101906105e191906138fa565b61133c565b6040516105f39190613858565b60405180910390f35b61061660048036038101906106119190613bb1565b611354565b005b6106206113da565b60405161062d91906137c2565b60405180910390f35b61063e611404565b60405161064b91906136fc565b60405180910390f35b61066e60048036038101906106699190613754565b611496565b60405161067b9190613648565b60405180910390f35b61069e60048036038101906106999190613c0a565b6114ec565b005b6106ba60048036038101906106b59190613ceb565b61166d565b005b6106c46116cf565b6040516106d19190613648565b60405180910390f35b6106f460048036038101906106ef9190613754565b6116e2565b60405161070191906136fc565b60405180910390f35b610724600480360381019061071f9190613754565b611789565b005b61072e61198b565b005b61074a60048036038101906107459190613d6e565b611a3f565b6040516107579190613648565b60405180910390f35b61077a60048036038101906107759190613e0e565b611ad3565b005b610796600480360381019061079191906138fa565b611de4565b005b6107b260048036038101906107ad9190613e96565b611edc565b005b6107ce60048036038101906107c99190613f2c565b611ff9565b005b60006107db826120e1565b9050919050565b6060600080546107f190613fa8565b80601f016020809104026020016040519081016040528092919081815260200182805461081d90613fa8565b801561086a5780601f1061083f5761010080835404028352916020019161086a565b820191906000526020600020905b81548152906001019060200180831161084d57829003601f168201915b5050505050905090565b600061087f8261215b565b6108be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b59061404c565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061090482610e92565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610975576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096c906140de565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109946121c7565b73ffffffffffffffffffffffffffffffffffffffff1614806109c357506109c2816109bd6121c7565b611a3f565b5b610a02576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f990614170565b60405180910390fd5b610a0c83836121cf565b505050565b6000600880549050905090565b610a266121c7565b73ffffffffffffffffffffffffffffffffffffffff16610a446113da565b73ffffffffffffffffffffffffffffffffffffffff1614610a9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a91906141dc565b60405180910390fd5b8060138190555050565b610ab5610aaf6121c7565b82612288565b610af4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aeb9061426e565b60405180910390fd5b610aff838383612366565b505050565b60135481565b600d5481565b6000610b1b836111f0565b8210610b5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5390614300565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610bbd6121c7565b73ffffffffffffffffffffffffffffffffffffffff16610bdb6113da565b73ffffffffffffffffffffffffffffffffffffffff1614610c31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c28906141dc565b60405180910390fd5b8060128190555050565b610c568383836040518060200160405280600081525061166d565b505050565b610c6c610c666121c7565b82612288565b610cab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca290614392565b60405180910390fd5b610cb4816125c2565b50565b60606000610cc4836111f0565b905060008167ffffffffffffffff811115610ce257610ce1613a11565b5b604051908082528060200260200182016040528015610d105781602001602082028036833780820191505090505b50905060005b82811015610d5a57610d288582610b10565b828281518110610d3b57610d3a6143b2565b5b6020026020010181815250508080610d5290614410565b915050610d16565b508092505050919050565b6000610d6f610a11565b8210610db0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da7906144cb565b60405180910390fd5b60088281548110610dc457610dc36143b2565b5b90600052602060002001549050919050565b600e60009054906101000a900460ff1681565b610df16121c7565b73ffffffffffffffffffffffffffffffffffffffff16610e0f6113da565b73ffffffffffffffffffffffffffffffffffffffff1614610e65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5c906141dc565b60405180910390fd5b80600b9080519060200190610e7b92919061346b565b5050565b600e60019054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f329061455d565b60405180910390fd5b80915050919050565b600f8054610f5190613fa8565b80601f0160208091040260200160405190810160405280929190818152602001828054610f7d90613fa8565b8015610fca5780601f10610f9f57610100808354040283529160200191610fca565b820191906000526020600020905b815481529060010190602001808311610fad57829003601f168201915b505050505081565b600b8054610fdf90613fa8565b80601f016020809104026020016040519081016040528092919081815260200182805461100b90613fa8565b80156110585780601f1061102d57610100808354040283529160200191611058565b820191906000526020600020905b81548152906001019060200180831161103b57829003601f168201915b505050505081565b6110686121c7565b73ffffffffffffffffffffffffffffffffffffffff166110866113da565b73ffffffffffffffffffffffffffffffffffffffff16146110dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d3906141dc565b60405180910390fd5b600e60029054906101000a900460ff1661112b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611122906145c9565b60405180910390fd5b600e60009054906101000a900460ff1615600e60006101000a81548160ff021916908315150217905550565b61115f6121c7565b73ffffffffffffffffffffffffffffffffffffffff1661117d6113da565b73ffffffffffffffffffffffffffffffffffffffff16146111d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ca906141dc565b60405180910390fd5b6000600e60016101000a81548160ff021916908315150217905550565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611261576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112589061465b565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112b06121c7565b73ffffffffffffffffffffffffffffffffffffffff166112ce6113da565b73ffffffffffffffffffffffffffffffffffffffff1614611324576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131b906141dc565b60405180910390fd5b61132e60006126d3565b565b61261681565b60125481565b60116020528060005260406000206000915090505481565b61135c6121c7565b73ffffffffffffffffffffffffffffffffffffffff1661137a6113da565b73ffffffffffffffffffffffffffffffffffffffff16146113d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c7906141dc565b60405180910390fd5b80600d8190555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461141390613fa8565b80601f016020809104026020016040519081016040528092919081815260200182805461143f90613fa8565b801561148c5780601f106114615761010080835404028352916020019161148c565b820191906000526020600020905b81548152906001019060200180831161146f57829003601f168201915b5050505050905090565b600080610100836114a791906146aa565b90506000610100846114b991906146db565b90506000601060008481526020019081526020016000205490506000826001901b90508081831614945050505050919050565b6114f46121c7565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611562576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155990614758565b60405180910390fd5b806005600061156f6121c7565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661161c6121c7565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116619190613648565b60405180910390a35050565b61167e6116786121c7565b83612288565b6116bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b49061426e565b60405180910390fd5b6116c984848484612799565b50505050565b600e60029054906101000a900460ff1681565b60606116ed8261215b565b61172c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611723906147ea565b60405180910390fd5b60006117366127f5565b905060008151116117565760405180602001604052806000815250611781565b8061176084612887565b604051602001611771929190614846565b6040516020818303038152906040525b915050919050565b600e60009054906101000a900460ff166117d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117cf906148dc565b60405180910390fd5b60135442111561181d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181490614948565b60405180910390fd5b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481111561189f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611896906149da565b60405180910390fd5b6000811180156118b157506012548111155b6118f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e790614a6c565b60405180910390fd5b80601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461193b9190614a8c565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061198881336129e8565b50565b6119936121c7565b73ffffffffffffffffffffffffffffffffffffffff166119b16113da565b73ffffffffffffffffffffffffffffffffffffffff1614611a07576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119fe906141dc565b60405180910390fd5b6000600e60026101000a81548160ff0219169083151502179055506000600e60006101000a81548160ff021916908315150217905550565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e60009054906101000a900460ff16611b22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b19906148dc565b60405180910390fd5b601354421115611b67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5e90614948565b60405180910390fd5b6000831415611bab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba290614b0c565b60405180910390fd5b611bb485611496565b15611bf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611beb90614b78565b60405180910390fd5b60003390506000868287604051602001611c1093929190614c01565b604051602081830303815290604052805190602001209050611c76848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600d5483612a77565b611cb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cac90614c8a565b60405180910390fd5b611cbe87612b2d565b60008690506000601254871115611d705787871115611d12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0990614d1c565b60405180910390fd5b86601254611d209190614a8c565b905080601160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506012549150611dcf565b87871015611dce578688611d849190614a8c565b905080601160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508691505b5b611dd982856129e8565b505050505050505050565b611dec6121c7565b73ffffffffffffffffffffffffffffffffffffffff16611e0a6113da565b73ffffffffffffffffffffffffffffffffffffffff1614611e60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e57906141dc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611ed0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec790614dae565b60405180910390fd5b611ed9816126d3565b50565b611ee46121c7565b73ffffffffffffffffffffffffffffffffffffffff16611f026113da565b73ffffffffffffffffffffffffffffffffffffffff1614611f58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4f906141dc565b60405180910390fd5b600e60009054906101000a900460ff16611fa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9e906148dc565b60405180910390fd5b6013544211611feb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe290614e1a565b60405180910390fd5b611ff582826129e8565b5050565b6120016121c7565b73ffffffffffffffffffffffffffffffffffffffff1661201f6113da565b73ffffffffffffffffffffffffffffffffffffffff1614612075576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206c906141dc565b60405180910390fd5b60011515600e60019054906101000a900460ff161515146120cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c290614e86565b60405180910390fd5b8181600f91906120dc9291906134f1565b505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612154575061215382612b87565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661224283610e92565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006122938261215b565b6122d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c990614f18565b60405180910390fd5b60006122dd83610e92565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061234c57508373ffffffffffffffffffffffffffffffffffffffff1661233484610874565b73ffffffffffffffffffffffffffffffffffffffff16145b8061235d575061235c8185611a3f565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661238682610e92565b73ffffffffffffffffffffffffffffffffffffffff16146123dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d390614faa565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561244c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124439061503c565b60405180910390fd5b612457838383612c69565b6124626000826121cf565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124b29190614a8c565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612509919061505c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006125cd82610e92565b90506125db81600084612c69565b6125e66000836121cf565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126369190614a8c565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6127a4848484612366565b6127b084848484612c79565b6127ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e690615124565b60405180910390fd5b50505050565b6060600b805461280490613fa8565b80601f016020809104026020016040519081016040528092919081815260200182805461283090613fa8565b801561287d5780601f106128525761010080835404028352916020019161287d565b820191906000526020600020905b81548152906001019060200180831161286057829003601f168201915b5050505050905090565b606060008214156128cf576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506129e3565b600082905060005b600082146129015780806128ea90614410565b915050600a826128fa91906146aa565b91506128d7565b60008167ffffffffffffffff81111561291d5761291c613a11565b5b6040519080825280601f01601f19166020018201604052801561294f5781602001600182028036833780820191505090505b5090505b600085146129dc576001826129689190614a8c565b9150600a8561297791906146db565b6030612983919061505c565b60f81b818381518110612999576129986143b2565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129d591906146aa565b9450612953565b8093505050505b919050565b6000600c549050600083826129fd919061505c565b9050612616811115612a44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a3b90615190565b60405180910390fd5b80600c819055505b80821015612a71578180612a5f90614410565b925050612a6c8383612e01565b612a4c565b50505050565b60008082905060005b8551811015612b1f576000868281518110612a9e57612a9d6143b2565b5b60200260200101519050808311612adf578281604051602001612ac29291906151d1565b604051602081830303815290604052805190602001209250612b0b565b8083604051602001612af29291906151d1565b6040516020818303038152906040528051906020012092505b508080612b1790614410565b915050612a80565b508381149150509392505050565b600061010082612b3d91906146aa565b9050600061010083612b4f91906146db565b9050806001901b6010600084815260200190815260200160002054176010600084815260200190815260200160002081905550505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612c5257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612c625750612c6182612fcf565b5b9050919050565b612c74838383613039565b505050565b6000612c9a8473ffffffffffffffffffffffffffffffffffffffff1661314d565b15612df4578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612cc36121c7565b8786866040518563ffffffff1660e01b8152600401612ce59493929190615252565b6020604051808303816000875af1925050508015612d2157506040513d601f19601f82011682018060405250810190612d1e91906152b3565b60015b612da4573d8060008114612d51576040519150601f19603f3d011682016040523d82523d6000602084013e612d56565b606091505b50600081511415612d9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d9390615124565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612df9565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e689061532c565b60405180910390fd5b612e7a8161215b565b15612eba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eb190615398565b60405180910390fd5b612ec660008383612c69565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f16919061505c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b613044838383613160565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156130875761308281613165565b6130c6565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146130c5576130c483826131ae565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613109576131048161331b565b613148565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146131475761314682826133ec565b5b5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016131bb846111f0565b6131c59190614a8c565b90506000600760008481526020019081526020016000205490508181146132aa576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061332f9190614a8c565b905060006009600084815260200190815260200160002054905060006008838154811061335f5761335e6143b2565b5b906000526020600020015490508060088381548110613381576133806143b2565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806133d0576133cf6153b8565b5b6001900381819060005260206000200160009055905550505050565b60006133f7836111f0565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b82805461347790613fa8565b90600052602060002090601f01602090048101928261349957600085556134e0565b82601f106134b257805160ff19168380011785556134e0565b828001600101855582156134e0579182015b828111156134df5782518255916020019190600101906134c4565b5b5090506134ed9190613577565b5090565b8280546134fd90613fa8565b90600052602060002090601f01602090048101928261351f5760008555613566565b82601f1061353857803560ff1916838001178555613566565b82800160010185558215613566579182015b8281111561356557823582559160200191906001019061354a565b5b5090506135739190613577565b5090565b5b80821115613590576000816000905550600101613578565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6135dd816135a8565b81146135e857600080fd5b50565b6000813590506135fa816135d4565b92915050565b6000602082840312156136165761361561359e565b5b6000613624848285016135eb565b91505092915050565b60008115159050919050565b6136428161362d565b82525050565b600060208201905061365d6000830184613639565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561369d578082015181840152602081019050613682565b838111156136ac576000848401525b50505050565b6000601f19601f8301169050919050565b60006136ce82613663565b6136d8818561366e565b93506136e881856020860161367f565b6136f1816136b2565b840191505092915050565b6000602082019050818103600083015261371681846136c3565b905092915050565b6000819050919050565b6137318161371e565b811461373c57600080fd5b50565b60008135905061374e81613728565b92915050565b60006020828403121561376a5761376961359e565b5b60006137788482850161373f565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006137ac82613781565b9050919050565b6137bc816137a1565b82525050565b60006020820190506137d760008301846137b3565b92915050565b6137e6816137a1565b81146137f157600080fd5b50565b600081359050613803816137dd565b92915050565b600080604083850312156138205761381f61359e565b5b600061382e858286016137f4565b925050602061383f8582860161373f565b9150509250929050565b6138528161371e565b82525050565b600060208201905061386d6000830184613849565b92915050565b60008060006060848603121561388c5761388b61359e565b5b600061389a868287016137f4565b93505060206138ab868287016137f4565b92505060406138bc8682870161373f565b9150509250925092565b6000819050919050565b6138d9816138c6565b82525050565b60006020820190506138f460008301846138d0565b92915050565b6000602082840312156139105761390f61359e565b5b600061391e848285016137f4565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61395c8161371e565b82525050565b600061396e8383613953565b60208301905092915050565b6000602082019050919050565b600061399282613927565b61399c8185613932565b93506139a783613943565b8060005b838110156139d85781516139bf8882613962565b97506139ca8361397a565b9250506001810190506139ab565b5085935050505092915050565b600060208201905081810360008301526139ff8184613987565b905092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613a49826136b2565b810181811067ffffffffffffffff82111715613a6857613a67613a11565b5b80604052505050565b6000613a7b613594565b9050613a878282613a40565b919050565b600067ffffffffffffffff821115613aa757613aa6613a11565b5b613ab0826136b2565b9050602081019050919050565b82818337600083830152505050565b6000613adf613ada84613a8c565b613a71565b905082815260208101848484011115613afb57613afa613a0c565b5b613b06848285613abd565b509392505050565b600082601f830112613b2357613b22613a07565b5b8135613b33848260208601613acc565b91505092915050565b600060208284031215613b5257613b5161359e565b5b600082013567ffffffffffffffff811115613b7057613b6f6135a3565b5b613b7c84828501613b0e565b91505092915050565b613b8e816138c6565b8114613b9957600080fd5b50565b600081359050613bab81613b85565b92915050565b600060208284031215613bc757613bc661359e565b5b6000613bd584828501613b9c565b91505092915050565b613be78161362d565b8114613bf257600080fd5b50565b600081359050613c0481613bde565b92915050565b60008060408385031215613c2157613c2061359e565b5b6000613c2f858286016137f4565b9250506020613c4085828601613bf5565b9150509250929050565b600067ffffffffffffffff821115613c6557613c64613a11565b5b613c6e826136b2565b9050602081019050919050565b6000613c8e613c8984613c4a565b613a71565b905082815260208101848484011115613caa57613ca9613a0c565b5b613cb5848285613abd565b509392505050565b600082601f830112613cd257613cd1613a07565b5b8135613ce2848260208601613c7b565b91505092915050565b60008060008060808587031215613d0557613d0461359e565b5b6000613d13878288016137f4565b9450506020613d24878288016137f4565b9350506040613d358782880161373f565b925050606085013567ffffffffffffffff811115613d5657613d556135a3565b5b613d6287828801613cbd565b91505092959194509250565b60008060408385031215613d8557613d8461359e565b5b6000613d93858286016137f4565b9250506020613da4858286016137f4565b9150509250929050565b600080fd5b600080fd5b60008083601f840112613dce57613dcd613a07565b5b8235905067ffffffffffffffff811115613deb57613dea613dae565b5b602083019150836020820283011115613e0757613e06613db3565b5b9250929050565b600080600080600060808688031215613e2a57613e2961359e565b5b6000613e388882890161373f565b9550506020613e498882890161373f565b9450506040613e5a8882890161373f565b935050606086013567ffffffffffffffff811115613e7b57613e7a6135a3565b5b613e8788828901613db8565b92509250509295509295909350565b60008060408385031215613ead57613eac61359e565b5b6000613ebb8582860161373f565b9250506020613ecc858286016137f4565b9150509250929050565b60008083601f840112613eec57613eeb613a07565b5b8235905067ffffffffffffffff811115613f0957613f08613dae565b5b602083019150836001820283011115613f2557613f24613db3565b5b9250929050565b60008060208385031215613f4357613f4261359e565b5b600083013567ffffffffffffffff811115613f6157613f606135a3565b5b613f6d85828601613ed6565b92509250509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613fc057607f821691505b60208210811415613fd457613fd3613f79565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614036602c8361366e565b915061404182613fda565b604082019050919050565b6000602082019050818103600083015261406581614029565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006140c860218361366e565b91506140d38261406c565b604082019050919050565b600060208201905081810360008301526140f7816140bb565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061415a60388361366e565b9150614165826140fe565b604082019050919050565b600060208201905081810360008301526141898161414d565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006141c660208361366e565b91506141d182614190565b602082019050919050565b600060208201905081810360008301526141f5816141b9565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061425860318361366e565b9150614263826141fc565b604082019050919050565b600060208201905081810360008301526142878161424b565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006142ea602b8361366e565b91506142f58261428e565b604082019050919050565b60006020820190508181036000830152614319816142dd565b9050919050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b600061437c60308361366e565b915061438782614320565b604082019050919050565b600060208201905081810360008301526143ab8161436f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061441b8261371e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561444e5761444d6143e1565b5b600182019050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006144b5602c8361366e565b91506144c082614459565b604082019050919050565b600060208201905081810360008301526144e4816144a8565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b600061454760298361366e565b9150614552826144eb565b604082019050919050565b600060208201905081810360008301526145768161453a565b9050919050565b7f43616e6e6f74206d696e7420616e796d6f726500000000000000000000000000600082015250565b60006145b360138361366e565b91506145be8261457d565b602082019050919050565b600060208201905081810360008301526145e2816145a6565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614645602a8361366e565b9150614650826145e9565b604082019050919050565b6000602082019050818103600083015261467481614638565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006146b58261371e565b91506146c08361371e565b9250826146d0576146cf61467b565b5b828204905092915050565b60006146e68261371e565b91506146f18361371e565b9250826147015761470061467b565b5b828206905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061474260198361366e565b915061474d8261470c565b602082019050919050565b6000602082019050818103600083015261477181614735565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006147d4602f8361366e565b91506147df82614778565b604082019050919050565b60006020820190508181036000830152614803816147c7565b9050919050565b600081905092915050565b600061482082613663565b61482a818561480a565b935061483a81856020860161367f565b80840191505092915050565b60006148528285614815565b915061485e8284614815565b91508190509392505050565b7f436c61696d206d7573742062652061637469766520746f206d696e74204b726560008201527f7700000000000000000000000000000000000000000000000000000000000000602082015250565b60006148c660218361366e565b91506148d18261486a565b604082019050919050565b600060208201905081810360008301526148f5816148b9565b9050919050565b7f54686520636c61696d696e672074696d6520686173207061737365642e000000600082015250565b6000614932601d8361366e565b915061493d826148fc565b602082019050919050565b6000602082019050818103600083015261496181614925565b9050919050565b7f43616e6e6f7420636c61696d206d6f7265207468616e20796f7520686176652060008201527f6c65667400000000000000000000000000000000000000000000000000000000602082015250565b60006149c460248361366e565b91506149cf82614968565b604082019050919050565b600060208201905081810360008301526149f3816149b7565b9050919050565b7f4d757374206d696e74206174206c65617374203120616e64206c65737320746860008201527f616e206f7220657175616c20746f206d6178207472616e73616374696f6e0000602082015250565b6000614a56603e8361366e565b9150614a61826149fa565b604082019050919050565b60006020820190508181036000830152614a8581614a49565b9050919050565b6000614a978261371e565b9150614aa28361371e565b925082821015614ab557614ab46143e1565b5b828203905092915050565b7f4d75737420636c61696d206174206c65617374206f6e65000000000000000000600082015250565b6000614af660178361366e565b9150614b0182614ac0565b602082019050919050565b60006020820190508181036000830152614b2581614ae9565b9050919050565b7f4b72657720616c726561647920636c61696d65642e0000000000000000000000600082015250565b6000614b6260158361366e565b9150614b6d82614b2c565b602082019050919050565b60006020820190508181036000830152614b9181614b55565b9050919050565b6000819050919050565b614bb3614bae8261371e565b614b98565b82525050565b60008160601b9050919050565b6000614bd182614bb9565b9050919050565b6000614be382614bc6565b9050919050565b614bfb614bf6826137a1565b614bd8565b82525050565b6000614c0d8286614ba2565b602082019150614c1d8285614bea565b601482019150614c2d8284614ba2565b602082019150819050949350505050565b7f496e76616c69642070726f6f662e000000000000000000000000000000000000600082015250565b6000614c74600e8361366e565b9150614c7f82614c3e565b602082019050919050565b60006020820190508181036000830152614ca381614c67565b9050919050565b7f43616e6e6f7420636c61696d206d6f7265207468616e20796f7520617265206560008201527f6c696769626c6520666f72000000000000000000000000000000000000000000602082015250565b6000614d06602b8361366e565b9150614d1182614caa565b604082019050919050565b60006020820190508181036000830152614d3581614cf9565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614d9860268361366e565b9150614da382614d3c565b604082019050919050565b60006020820190508181036000830152614dc781614d8b565b9050919050565b7f436c61696d2077696e646f7720686173206e6f7420656e646564000000000000600082015250565b6000614e04601a8361366e565b9150614e0f82614dce565b602082019050919050565b60006020820190508181036000830152614e3381614df7565b9050919050565b7f50726f76656e616e6365206c6f636b6564000000000000000000000000000000600082015250565b6000614e7060118361366e565b9150614e7b82614e3a565b602082019050919050565b60006020820190508181036000830152614e9f81614e63565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614f02602c8361366e565b9150614f0d82614ea6565b604082019050919050565b60006020820190508181036000830152614f3181614ef5565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000614f9460298361366e565b9150614f9f82614f38565b604082019050919050565b60006020820190508181036000830152614fc381614f87565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061502660248361366e565b915061503182614fca565b604082019050919050565b6000602082019050818103600083015261505581615019565b9050919050565b60006150678261371e565b91506150728361371e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156150a7576150a66143e1565b5b828201905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061510e60328361366e565b9150615119826150b2565b604082019050919050565b6000602082019050818103600083015261513d81615101565b9050919050565b7f4e6f204b726577206c65667420746f20626520636c61696d6564000000000000600082015250565b600061517a601a8361366e565b915061518582615144565b602082019050919050565b600060208201905081810360008301526151a98161516d565b9050919050565b6000819050919050565b6151cb6151c6826138c6565b6151b0565b82525050565b60006151dd82856151ba565b6020820191506151ed82846151ba565b6020820191508190509392505050565b600081519050919050565b600082825260208201905092915050565b6000615224826151fd565b61522e8185615208565b935061523e81856020860161367f565b615247816136b2565b840191505092915050565b600060808201905061526760008301876137b3565b61527460208301866137b3565b6152816040830185613849565b81810360608301526152938184615219565b905095945050505050565b6000815190506152ad816135d4565b92915050565b6000602082840312156152c9576152c861359e565b5b60006152d78482850161529e565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061531660208361366e565b9150615321826152e0565b602082019050919050565b6000602082019050818103600083015261534581615309565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615382601c8361366e565b915061538d8261534c565b602082019050919050565b600060208201905081810360008301526153b181615375565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea26469706673582212203aafcf7ad1a9c21a69e0eca8f1661fb2c13eef3009306b67138578dc3f27b73164736f6c634300080a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000280000000000000000000000000000000000000000000000000000000061a933d0
-----Decoded View---------------
Arg [0] : _mintCap (uint256): 40
Arg [1] : _deadline (uint256): 1638478800
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000028
Arg [1] : 0000000000000000000000000000000000000000000000000000000061a933d0
Loading...
Loading
Loading...
Loading
[ 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.