Overview
GLMR Balance
GLMR Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 6,461 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 9891824 | 48 days ago | IN | 0 GLMR | 0.00967876 | ||||
Set Approval For... | 9042009 | 108 days ago | IN | 0 GLMR | 0.036726 | ||||
Set Approval For... | 8862864 | 121 days ago | IN | 0 GLMR | 0.03695529 | ||||
Set Approval For... | 8847639 | 122 days ago | IN | 0 GLMR | 0.03695529 | ||||
Set Approval For... | 8796031 | 125 days ago | IN | 0 GLMR | 0.03695529 | ||||
Set Approval For... | 8554065 | 143 days ago | IN | 0 GLMR | 0.03695529 | ||||
Set Approval For... | 8349251 | 158 days ago | IN | 0 GLMR | 0.00625111 | ||||
Set Approval For... | 8339313 | 158 days ago | IN | 0 GLMR | 0.04047484 | ||||
Set Approval For... | 7959574 | 185 days ago | IN | 0 GLMR | 0.03695529 | ||||
Set Approval For... | 7925550 | 188 days ago | IN | 0 GLMR | 0.03695529 | ||||
Set Approval For... | 7656027 | 206 days ago | IN | 0 GLMR | 0.036662 | ||||
Set Approval For... | 6991706 | 253 days ago | IN | 0 GLMR | 0.0109986 | ||||
Set Approval For... | 6795051 | 267 days ago | IN | 0 GLMR | 0.00931214 | ||||
Set Approval For... | 6652265 | 277 days ago | IN | 0 GLMR | 0.00931214 | ||||
Set Approval For... | 6650702 | 277 days ago | IN | 0 GLMR | 0.0091815 | ||||
Set Approval For... | 6649536 | 277 days ago | IN | 0 GLMR | 0.00923882 | ||||
Set Approval For... | 6636411 | 278 days ago | IN | 0 GLMR | 0.04649145 | ||||
Set Approval For... | 6617401 | 280 days ago | IN | 0 GLMR | 0.00923882 | ||||
Set Approval For... | 6310697 | 321 days ago | IN | 0 GLMR | 0.00406324 | ||||
Set Approval For... | 6297910 | 323 days ago | IN | 0 GLMR | 0.00929616 | ||||
Set Approval For... | 6288453 | 324 days ago | IN | 0 GLMR | 0.0091815 | ||||
Safe Transfer Fr... | 6253128 | 329 days ago | IN | 0 GLMR | 0.01106897 | ||||
Set Approval For... | 6182147 | 339 days ago | IN | 0 GLMR | 0.00960742 | ||||
Set Approval For... | 6152233 | 344 days ago | IN | 0 GLMR | 0.01011595 | ||||
Safe Transfer Fr... | 6116522 | 349 days ago | IN | 0 GLMR | 0.01098112 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
MintPassNFT
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// Contract based on [https://docs.openzeppelin.com/contracts/3.x/erc721](https://docs.openzeppelin.com/contracts/3.x/erc721) // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "./libs/MerkleProof.sol"; contract MintPassNFT is ERC721Enumerable, Ownable { using Strings for uint256; using Strings for string; using Counters for Counters.Counter; Counters.Counter private _tokenIds; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; // Base URI string private _baseURIExtended; mapping(address => bool) private _mintedList; bytes32 public _rootHash; bool public _isActive = true; constructor(bytes32 rootHash) ERC721("MoonFit Mint Pass", "MFMP") { _rootHash = rootHash; } function mintNFT(bytes32[] calldata _path) external returns (uint256){ require(_isActive, 'Mint Pass: Mint round is not active'); // Merkle Proof Verify bytes32 hash = keccak256(abi.encodePacked(msg.sender)); require(MerkleProof.verify(_path, _rootHash, hash), "Mint Pass: You is not in whitelist"); require(_mintedList[msg.sender] != true, "Mint Pass: You already minted a mint pass before"); _tokenIds.increment(); uint256 newItemId = _tokenIds.current(); _safeMint(msg.sender, newItemId); // _setTokenURI(newItemId, _tokenURI_); _mintedList[msg.sender] = true; return newItemId; } function burnNFT(uint256 tokenId) public { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved"); _burn(tokenId); } function setBaseURI(string memory baseURI_) external onlyOwner() { _baseURIExtended = baseURI_; } function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721Metadata: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } function _baseURI() internal view virtual override returns (string memory) { return _baseURIExtended; } function tokenURI(uint256 tokenId) public view override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If item does not have tokenURI and contract has base URI, concatenate the tokenID to the baseURI. if (bytes(base).length > 0 && bytes(_tokenURI).length == 0) { return string(abi.encodePacked(base, tokenId.toString(), ".json")); } // Other cases, return tokenURI return _tokenURI; } function latestTokenId() public view returns (uint256) { return _tokenIds.current(); } function setTokenURI(uint256 tokenId, string memory _tokenURI) external onlyOwner returns (uint256) { _setTokenURI(tokenId, _tokenURI); return tokenId; } // function withdrawNFT(uint256 tokenId, string memory _tokenURI, address receiver) external onlyOwner returns (uint256) { // _setTokenURI(tokenId, _tokenURI); // safeTransferFrom(_msgSender(), receiver, tokenId); // return tokenId; // } // Others functions function setMerkleRoot(bytes32 rootHash) external onlyOwner { require(rootHash != bytes32(0), "Private Sale: Root hash is the zero bytes32"); _rootHash = rootHash; } function setIsActive(bool isActive) external onlyOwner { _isActive = isActive; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol) 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 overridden 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 { _setApprovalForAll(_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 || isApprovedForAll(owner, spender) || getApproved(tokenId) == 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); _afterTokenTransfer(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); _afterTokenTransfer(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 from incorrect owner"); 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); _afterTokenTransfer(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 Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @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.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 {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) 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 // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) 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: GPL-3.0 pragma solidity ^0.8.0; library MerkleProof { function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) 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`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) 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 `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) 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 // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @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 * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 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); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal 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 // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) 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 // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) 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); /** * @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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"bytes32","name":"rootHash","type":"bytes32"}],"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":"_isActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_rootHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burnNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"latestTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_path","type":"bytes32[]"}],"name":"mintNFT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isActive","type":"bool"}],"name":"setIsActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"rootHash","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"setTokenURI","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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"}]
Contract Creation Code
60806040526001601060006101000a81548160ff0219169083151502179055503480156200002c57600080fd5b5060405162004818380380620048188339818101604052810190620000529190620002b5565b6040518060400160405280601181526020017f4d6f6f6e466974204d696e7420506173730000000000000000000000000000008152506040518060400160405280600481526020017f4d464d50000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000d6929190620001ee565b508060019080519060200190620000ef929190620001ee565b50505062000112620001066200012060201b60201c565b6200012860201b60201c565b80600f819055505062000375565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001fc90620002f1565b90600052602060002090601f0160209004810192826200022057600085556200026c565b82601f106200023b57805160ff19168380011785556200026c565b828001600101855582156200026c579182015b828111156200026b5782518255916020019190600101906200024e565b5b5090506200027b91906200027f565b5090565b5b808211156200029a57600081600090555060010162000280565b5090565b600081519050620002af816200035b565b92915050565b600060208284031215620002ce57620002cd62000356565b5b6000620002de848285016200029e565b91505092915050565b6000819050919050565b600060028204905060018216806200030a57607f821691505b6020821081141562000321576200032062000327565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600080fd5b6200036681620002e7565b81146200037257600080fd5b50565b61449380620003856000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c80636283188c116100f95780638ec89e4f11610097578063b88d4fde11610071578063b88d4fde14610505578063c87b56dd14610521578063e985e9c514610551578063f2fde38b14610581576101c4565b80638ec89e4f146104ad57806395d89b41146104cb578063a22cb465146104e9576101c4565b8063715018a6116100d3578063715018a61461044b5780637cb64759146104555780638c0e8349146104715780638da5cb5b1461048f576101c4565b80636283188c146103cd5780636352211e146103eb57806370a082311461041b576101c4565b80632750fc781161016657806342842e0e1161014057806342842e0e146103355780634f6ccce71461035157806355f804b3146103815780635b6610391461039d576101c4565b80632750fc78146102cd5780632890e0d7146102e95780632f745c5914610305576101c4565b8063095ea7b3116101a2578063095ea7b314610247578063162094c41461026357806318160ddd1461029357806323b872dd146102b1576101c4565b806301ffc9a7146101c957806306fdde03146101f9578063081812fc14610217575b600080fd5b6101e360048036038101906101de9190612ea4565b61059d565b6040516101f091906134e2565b60405180910390f35b610201610617565b60405161020e9190613518565b60405180910390f35b610231600480360381019061022c9190612f47565b6106a9565b60405161023e919061347b565b60405180910390f35b610261600480360381019061025c9190612dbd565b61072e565b005b61027d60048036038101906102789190612f74565b610846565b60405161028a919061383a565b60405180910390f35b61029b6108d7565b6040516102a8919061383a565b60405180910390f35b6102cb60048036038101906102c69190612ca7565b6108e4565b005b6102e760048036038101906102e29190612e4a565b610944565b005b61030360048036038101906102fe9190612f47565b6109dd565b005b61031f600480360381019061031a9190612dbd565b610a39565b60405161032c919061383a565b60405180910390f35b61034f600480360381019061034a9190612ca7565b610ade565b005b61036b60048036038101906103669190612f47565b610afe565b604051610378919061383a565b60405180910390f35b61039b60048036038101906103969190612efe565b610b6f565b005b6103b760048036038101906103b29190612dfd565b610c05565b6040516103c4919061383a565b60405180910390f35b6103d5610e27565b6040516103e291906134fd565b60405180910390f35b61040560048036038101906104009190612f47565b610e2d565b604051610412919061347b565b60405180910390f35b61043560048036038101906104309190612c3a565b610edf565b604051610442919061383a565b60405180910390f35b610453610f97565b005b61046f600480360381019061046a9190612e77565b61101f565b005b6104796110eb565b604051610486919061383a565b60405180910390f35b6104976110fc565b6040516104a4919061347b565b60405180910390f35b6104b5611126565b6040516104c291906134e2565b60405180910390f35b6104d3611139565b6040516104e09190613518565b60405180910390f35b61050360048036038101906104fe9190612d7d565b6111cb565b005b61051f600480360381019061051a9190612cfa565b6111e1565b005b61053b60048036038101906105369190612f47565b611243565b6040516105489190613518565b60405180910390f35b61056b60048036038101906105669190612c67565b61138e565b60405161057891906134e2565b60405180910390f35b61059b60048036038101906105969190612c3a565b611422565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610610575061060f8261151a565b5b9050919050565b60606000805461062690613a9a565b80601f016020809104026020016040519081016040528092919081815260200182805461065290613a9a565b801561069f5780601f106106745761010080835404028352916020019161069f565b820191906000526020600020905b81548152906001019060200180831161068257829003601f168201915b5050505050905090565b60006106b4826115fc565b6106f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ea9061373a565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061073982610e2d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a1906137ba565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107c9611668565b73ffffffffffffffffffffffffffffffffffffffff1614806107f857506107f7816107f2611668565b61138e565b5b610837576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082e9061369a565b60405180910390fd5b6108418383611670565b505050565b6000610850611668565b73ffffffffffffffffffffffffffffffffffffffff1661086e6110fc565b73ffffffffffffffffffffffffffffffffffffffff16146108c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108bb9061377a565b60405180910390fd5b6108ce8383611729565b82905092915050565b6000600880549050905090565b6108f56108ef611668565b8261179d565b610934576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092b906137da565b60405180910390fd5b61093f83838361187b565b505050565b61094c611668565b73ffffffffffffffffffffffffffffffffffffffff1661096a6110fc565b73ffffffffffffffffffffffffffffffffffffffff16146109c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b79061377a565b60405180910390fd5b80601060006101000a81548160ff02191690831515021790555050565b6109ee6109e8611668565b8261179d565b610a2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a249061381a565b60405180910390fd5b610a3681611ae2565b50565b6000610a4483610edf565b8210610a85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7c9061355a565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610af9838383604051806020016040528060008152506111e1565b505050565b6000610b086108d7565b8210610b49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b40906137fa565b60405180910390fd5b60088281548110610b5d57610b5c613c57565b5b90600052602060002001549050919050565b610b77611668565b73ffffffffffffffffffffffffffffffffffffffff16610b956110fc565b73ffffffffffffffffffffffffffffffffffffffff1614610beb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be29061377a565b60405180910390fd5b80600d9080519060200190610c019291906129e3565b5050565b6000601060009054906101000a900460ff16610c56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4d9061361a565b60405180910390fd5b600033604051602001610c699190613431565b604051602081830303815290604052805190602001209050610ccf848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600f5483611bff565b610d0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d059061353a565b60405180910390fd5b60011515600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151415610da2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d99906136fa565b60405180910390fd5b610dac600b611c16565b6000610db8600b611c2c565b9050610dc43382611c3a565b6001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550809250505092915050565b600f5481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ed6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecd906136da565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f47906136ba565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610f9f611668565b73ffffffffffffffffffffffffffffffffffffffff16610fbd6110fc565b73ffffffffffffffffffffffffffffffffffffffff1614611013576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100a9061377a565b60405180910390fd5b61101d6000611c58565b565b611027611668565b73ffffffffffffffffffffffffffffffffffffffff166110456110fc565b73ffffffffffffffffffffffffffffffffffffffff161461109b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110929061377a565b60405180910390fd5b6000801b8114156110e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d8906135fa565b60405180910390fd5b80600f8190555050565b60006110f7600b611c2c565b905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601060009054906101000a900460ff1681565b60606001805461114890613a9a565b80601f016020809104026020016040519081016040528092919081815260200182805461117490613a9a565b80156111c15780601f10611196576101008083540402835291602001916111c1565b820191906000526020600020905b8154815290600101906020018083116111a457829003601f168201915b5050505050905090565b6111dd6111d6611668565b8383611d1e565b5050565b6111f26111ec611668565b8361179d565b611231576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611228906137da565b60405180910390fd5b61123d84848484611e8b565b50505050565b606061124e826115fc565b61128d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112849061379a565b60405180910390fd5b6000600c600084815260200190815260200160002080546112ad90613a9a565b80601f01602080910402602001604051908101604052809291908181526020018280546112d990613a9a565b80156113265780601f106112fb57610100808354040283529160200191611326565b820191906000526020600020905b81548152906001019060200180831161130957829003601f168201915b505050505090506000611337611ee7565b90506000815111801561134b575060008251145b15611383578061135a85611f79565b60405160200161136b92919061344c565b60405160208183030381529060405292505050611389565b81925050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61142a611668565b73ffffffffffffffffffffffffffffffffffffffff166114486110fc565b73ffffffffffffffffffffffffffffffffffffffff161461149e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114959061377a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561150e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115059061359a565b60405180910390fd5b61151781611c58565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806115e557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806115f557506115f4826120da565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166116e383610e2d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611732826115fc565b611771576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117689061375a565b60405180910390fd5b80600c600084815260200190815260200160002090805190602001906117989291906129e3565b505050565b60006117a8826115fc565b6117e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117de9061367a565b60405180910390fd5b60006117f283610e2d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806118345750611833818561138e565b5b8061187257508373ffffffffffffffffffffffffffffffffffffffff1661185a846106a9565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661189b82610e2d565b73ffffffffffffffffffffffffffffffffffffffff16146118f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e8906135ba565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611961576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119589061363a565b60405180910390fd5b61196c838383612144565b611977600082611670565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119c791906139a6565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a1e919061391f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611add838383612258565b505050565b6000611aed82610e2d565b9050611afb81600084612144565b611b06600083611670565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b5691906139a6565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611bfb81600084612258565b5050565b600082611c0c858461225d565b1490509392505050565b6001816000016000828254019250508190555050565b600081600001549050919050565b611c548282604051806020016040528060008152506122d2565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611d8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d849061365a565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e7e91906134e2565b60405180910390a3505050565b611e9684848461187b565b611ea28484848461232d565b611ee1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed89061357a565b60405180910390fd5b50505050565b6060600d8054611ef690613a9a565b80601f0160208091040260200160405190810160405280929190818152602001828054611f2290613a9a565b8015611f6f5780601f10611f4457610100808354040283529160200191611f6f565b820191906000526020600020905b815481529060010190602001808311611f5257829003601f168201915b5050505050905090565b60606000821415611fc1576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506120d5565b600082905060005b60008214611ff3578080611fdc90613afd565b915050600a82611fec9190613975565b9150611fc9565b60008167ffffffffffffffff81111561200f5761200e613c86565b5b6040519080825280601f01601f1916602001820160405280156120415781602001600182028036833780820191505090505b5090505b600085146120ce5760018261205a91906139a6565b9150600a856120699190613b6a565b6030612075919061391f565b60f81b81838151811061208b5761208a613c57565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856120c79190613975565b9450612045565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61214f8383836124c4565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156121925761218d816124c9565b6121d1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146121d0576121cf8382612512565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156122145761220f8161267f565b612253565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612252576122518282612750565b5b5b505050565b505050565b60008082905060005b84518110156122c757600085828151811061228457612283613c57565b5b602002602001015190508083116122a65761229f83826127cf565b92506122b3565b6122b081846127cf565b92505b5080806122bf90613afd565b915050612266565b508091505092915050565b6122dc83836127e6565b6122e9600084848461232d565b612328576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231f9061357a565b60405180910390fd5b505050565b600061234e8473ffffffffffffffffffffffffffffffffffffffff166129c0565b156124b7578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612377611668565b8786866040518563ffffffff1660e01b81526004016123999493929190613496565b602060405180830381600087803b1580156123b357600080fd5b505af19250505080156123e457506040513d601f19601f820116820180604052508101906123e19190612ed1565b60015b612467573d8060008114612414576040519150601f19603f3d011682016040523d82523d6000602084013e612419565b606091505b5060008151141561245f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124569061357a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506124bc565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161251f84610edf565b61252991906139a6565b905060006007600084815260200190815260200160002054905081811461260e576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061269391906139a6565b90506000600960008481526020019081526020016000205490506000600883815481106126c3576126c2613c57565b5b9060005260206000200154905080600883815481106126e5576126e4613c57565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061273457612733613c28565b5b6001900381819060005260206000200160009055905550505050565b600061275b83610edf565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600082600052816020526040600020905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612856576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284d9061371a565b60405180910390fd5b61285f816115fc565b1561289f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612896906135da565b60405180910390fd5b6128ab60008383612144565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128fb919061391f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46129bc60008383612258565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8280546129ef90613a9a565b90600052602060002090601f016020900481019282612a115760008555612a58565b82601f10612a2a57805160ff1916838001178555612a58565b82800160010185558215612a58579182015b82811115612a57578251825591602001919060010190612a3c565b5b509050612a659190612a69565b5090565b5b80821115612a82576000816000905550600101612a6a565b5090565b6000612a99612a948461387a565b613855565b905082815260208101848484011115612ab557612ab4613cc4565b5b612ac0848285613a58565b509392505050565b6000612adb612ad6846138ab565b613855565b905082815260208101848484011115612af757612af6613cc4565b5b612b02848285613a58565b509392505050565b600081359050612b19816143ea565b92915050565b60008083601f840112612b3557612b34613cba565b5b8235905067ffffffffffffffff811115612b5257612b51613cb5565b5b602083019150836020820283011115612b6e57612b6d613cbf565b5b9250929050565b600081359050612b8481614401565b92915050565b600081359050612b9981614418565b92915050565b600081359050612bae8161442f565b92915050565b600081519050612bc38161442f565b92915050565b600082601f830112612bde57612bdd613cba565b5b8135612bee848260208601612a86565b91505092915050565b600082601f830112612c0c57612c0b613cba565b5b8135612c1c848260208601612ac8565b91505092915050565b600081359050612c3481614446565b92915050565b600060208284031215612c5057612c4f613cce565b5b6000612c5e84828501612b0a565b91505092915050565b60008060408385031215612c7e57612c7d613cce565b5b6000612c8c85828601612b0a565b9250506020612c9d85828601612b0a565b9150509250929050565b600080600060608486031215612cc057612cbf613cce565b5b6000612cce86828701612b0a565b9350506020612cdf86828701612b0a565b9250506040612cf086828701612c25565b9150509250925092565b60008060008060808587031215612d1457612d13613cce565b5b6000612d2287828801612b0a565b9450506020612d3387828801612b0a565b9350506040612d4487828801612c25565b925050606085013567ffffffffffffffff811115612d6557612d64613cc9565b5b612d7187828801612bc9565b91505092959194509250565b60008060408385031215612d9457612d93613cce565b5b6000612da285828601612b0a565b9250506020612db385828601612b75565b9150509250929050565b60008060408385031215612dd457612dd3613cce565b5b6000612de285828601612b0a565b9250506020612df385828601612c25565b9150509250929050565b60008060208385031215612e1457612e13613cce565b5b600083013567ffffffffffffffff811115612e3257612e31613cc9565b5b612e3e85828601612b1f565b92509250509250929050565b600060208284031215612e6057612e5f613cce565b5b6000612e6e84828501612b75565b91505092915050565b600060208284031215612e8d57612e8c613cce565b5b6000612e9b84828501612b8a565b91505092915050565b600060208284031215612eba57612eb9613cce565b5b6000612ec884828501612b9f565b91505092915050565b600060208284031215612ee757612ee6613cce565b5b6000612ef584828501612bb4565b91505092915050565b600060208284031215612f1457612f13613cce565b5b600082013567ffffffffffffffff811115612f3257612f31613cc9565b5b612f3e84828501612bf7565b91505092915050565b600060208284031215612f5d57612f5c613cce565b5b6000612f6b84828501612c25565b91505092915050565b60008060408385031215612f8b57612f8a613cce565b5b6000612f9985828601612c25565b925050602083013567ffffffffffffffff811115612fba57612fb9613cc9565b5b612fc685828601612bf7565b9150509250929050565b612fd9816139da565b82525050565b612ff0612feb826139da565b613b46565b82525050565b612fff816139ec565b82525050565b61300e816139f8565b82525050565b600061301f826138dc565b61302981856138f2565b9350613039818560208601613a67565b61304281613cd3565b840191505092915050565b6000613058826138e7565b6130628185613903565b9350613072818560208601613a67565b61307b81613cd3565b840191505092915050565b6000613091826138e7565b61309b8185613914565b93506130ab818560208601613a67565b80840191505092915050565b60006130c4602283613903565b91506130cf82613cf1565b604082019050919050565b60006130e7602b83613903565b91506130f282613d40565b604082019050919050565b600061310a603283613903565b915061311582613d8f565b604082019050919050565b600061312d602683613903565b915061313882613dde565b604082019050919050565b6000613150602583613903565b915061315b82613e2d565b604082019050919050565b6000613173601c83613903565b915061317e82613e7c565b602082019050919050565b6000613196602b83613903565b91506131a182613ea5565b604082019050919050565b60006131b9602383613903565b91506131c482613ef4565b604082019050919050565b60006131dc602483613903565b91506131e782613f43565b604082019050919050565b60006131ff601983613903565b915061320a82613f92565b602082019050919050565b6000613222602c83613903565b915061322d82613fbb565b604082019050919050565b6000613245603883613903565b91506132508261400a565b604082019050919050565b6000613268602a83613903565b915061327382614059565b604082019050919050565b600061328b602983613903565b9150613296826140a8565b604082019050919050565b60006132ae603083613903565b91506132b9826140f7565b604082019050919050565b60006132d1602083613903565b91506132dc82614146565b602082019050919050565b60006132f4602c83613903565b91506132ff8261416f565b604082019050919050565b6000613317600583613914565b9150613322826141be565b600582019050919050565b600061333a602c83613903565b9150613345826141e7565b604082019050919050565b600061335d602083613903565b915061336882614236565b602082019050919050565b6000613380602f83613903565b915061338b8261425f565b604082019050919050565b60006133a3602183613903565b91506133ae826142ae565b604082019050919050565b60006133c6603183613903565b91506133d1826142fd565b604082019050919050565b60006133e9602c83613903565b91506133f48261434c565b604082019050919050565b600061340c603083613903565b91506134178261439b565b604082019050919050565b61342b81613a4e565b82525050565b600061343d8284612fdf565b60148201915081905092915050565b60006134588285613086565b91506134648284613086565b915061346f8261330a565b91508190509392505050565b60006020820190506134906000830184612fd0565b92915050565b60006080820190506134ab6000830187612fd0565b6134b86020830186612fd0565b6134c56040830185613422565b81810360608301526134d78184613014565b905095945050505050565b60006020820190506134f76000830184612ff6565b92915050565b60006020820190506135126000830184613005565b92915050565b60006020820190508181036000830152613532818461304d565b905092915050565b60006020820190508181036000830152613553816130b7565b9050919050565b60006020820190508181036000830152613573816130da565b9050919050565b60006020820190508181036000830152613593816130fd565b9050919050565b600060208201905081810360008301526135b381613120565b9050919050565b600060208201905081810360008301526135d381613143565b9050919050565b600060208201905081810360008301526135f381613166565b9050919050565b6000602082019050818103600083015261361381613189565b9050919050565b60006020820190508181036000830152613633816131ac565b9050919050565b60006020820190508181036000830152613653816131cf565b9050919050565b60006020820190508181036000830152613673816131f2565b9050919050565b6000602082019050818103600083015261369381613215565b9050919050565b600060208201905081810360008301526136b381613238565b9050919050565b600060208201905081810360008301526136d38161325b565b9050919050565b600060208201905081810360008301526136f38161327e565b9050919050565b60006020820190508181036000830152613713816132a1565b9050919050565b60006020820190508181036000830152613733816132c4565b9050919050565b60006020820190508181036000830152613753816132e7565b9050919050565b600060208201905081810360008301526137738161332d565b9050919050565b6000602082019050818103600083015261379381613350565b9050919050565b600060208201905081810360008301526137b381613373565b9050919050565b600060208201905081810360008301526137d381613396565b9050919050565b600060208201905081810360008301526137f3816133b9565b9050919050565b60006020820190508181036000830152613813816133dc565b9050919050565b60006020820190508181036000830152613833816133ff565b9050919050565b600060208201905061384f6000830184613422565b92915050565b600061385f613870565b905061386b8282613acc565b919050565b6000604051905090565b600067ffffffffffffffff82111561389557613894613c86565b5b61389e82613cd3565b9050602081019050919050565b600067ffffffffffffffff8211156138c6576138c5613c86565b5b6138cf82613cd3565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061392a82613a4e565b915061393583613a4e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561396a57613969613b9b565b5b828201905092915050565b600061398082613a4e565b915061398b83613a4e565b92508261399b5761399a613bca565b5b828204905092915050565b60006139b182613a4e565b91506139bc83613a4e565b9250828210156139cf576139ce613b9b565b5b828203905092915050565b60006139e582613a2e565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613a85578082015181840152602081019050613a6a565b83811115613a94576000848401525b50505050565b60006002820490506001821680613ab257607f821691505b60208210811415613ac657613ac5613bf9565b5b50919050565b613ad582613cd3565b810181811067ffffffffffffffff82111715613af457613af3613c86565b5b80604052505050565b6000613b0882613a4e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613b3b57613b3a613b9b565b5b600182019050919050565b6000613b5182613b58565b9050919050565b6000613b6382613ce4565b9050919050565b6000613b7582613a4e565b9150613b8083613a4e565b925082613b9057613b8f613bca565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4d696e7420506173733a20596f75206973206e6f7420696e2077686974656c6960008201527f7374000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f507269766174652053616c653a20526f6f74206861736820697320746865207a60008201527f65726f2062797465733332000000000000000000000000000000000000000000602082015250565b7f4d696e7420506173733a204d696e7420726f756e64206973206e6f742061637460008201527f6976650000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4d696e7420506173733a20596f7520616c7265616479206d696e74656420612060008201527f6d696e742070617373206265666f726500000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732314d657461646174613a2055524920736574206f66206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b6143f3816139da565b81146143fe57600080fd5b50565b61440a816139ec565b811461441557600080fd5b50565b614421816139f8565b811461442c57600080fd5b50565b61443881613a02565b811461444357600080fd5b50565b61444f81613a4e565b811461445a57600080fd5b5056fea2646970667358221220986ff9ebf81bcc110912290301bc0a3b869484b65e99c22fca8d8e517f525b6f64736f6c63430008070033f0f601f112f953fe17cec40946aead5e701da84ea941127f77bae923063f6632
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101c45760003560e01c80636283188c116100f95780638ec89e4f11610097578063b88d4fde11610071578063b88d4fde14610505578063c87b56dd14610521578063e985e9c514610551578063f2fde38b14610581576101c4565b80638ec89e4f146104ad57806395d89b41146104cb578063a22cb465146104e9576101c4565b8063715018a6116100d3578063715018a61461044b5780637cb64759146104555780638c0e8349146104715780638da5cb5b1461048f576101c4565b80636283188c146103cd5780636352211e146103eb57806370a082311461041b576101c4565b80632750fc781161016657806342842e0e1161014057806342842e0e146103355780634f6ccce71461035157806355f804b3146103815780635b6610391461039d576101c4565b80632750fc78146102cd5780632890e0d7146102e95780632f745c5914610305576101c4565b8063095ea7b3116101a2578063095ea7b314610247578063162094c41461026357806318160ddd1461029357806323b872dd146102b1576101c4565b806301ffc9a7146101c957806306fdde03146101f9578063081812fc14610217575b600080fd5b6101e360048036038101906101de9190612ea4565b61059d565b6040516101f091906134e2565b60405180910390f35b610201610617565b60405161020e9190613518565b60405180910390f35b610231600480360381019061022c9190612f47565b6106a9565b60405161023e919061347b565b60405180910390f35b610261600480360381019061025c9190612dbd565b61072e565b005b61027d60048036038101906102789190612f74565b610846565b60405161028a919061383a565b60405180910390f35b61029b6108d7565b6040516102a8919061383a565b60405180910390f35b6102cb60048036038101906102c69190612ca7565b6108e4565b005b6102e760048036038101906102e29190612e4a565b610944565b005b61030360048036038101906102fe9190612f47565b6109dd565b005b61031f600480360381019061031a9190612dbd565b610a39565b60405161032c919061383a565b60405180910390f35b61034f600480360381019061034a9190612ca7565b610ade565b005b61036b60048036038101906103669190612f47565b610afe565b604051610378919061383a565b60405180910390f35b61039b60048036038101906103969190612efe565b610b6f565b005b6103b760048036038101906103b29190612dfd565b610c05565b6040516103c4919061383a565b60405180910390f35b6103d5610e27565b6040516103e291906134fd565b60405180910390f35b61040560048036038101906104009190612f47565b610e2d565b604051610412919061347b565b60405180910390f35b61043560048036038101906104309190612c3a565b610edf565b604051610442919061383a565b60405180910390f35b610453610f97565b005b61046f600480360381019061046a9190612e77565b61101f565b005b6104796110eb565b604051610486919061383a565b60405180910390f35b6104976110fc565b6040516104a4919061347b565b60405180910390f35b6104b5611126565b6040516104c291906134e2565b60405180910390f35b6104d3611139565b6040516104e09190613518565b60405180910390f35b61050360048036038101906104fe9190612d7d565b6111cb565b005b61051f600480360381019061051a9190612cfa565b6111e1565b005b61053b60048036038101906105369190612f47565b611243565b6040516105489190613518565b60405180910390f35b61056b60048036038101906105669190612c67565b61138e565b60405161057891906134e2565b60405180910390f35b61059b60048036038101906105969190612c3a565b611422565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610610575061060f8261151a565b5b9050919050565b60606000805461062690613a9a565b80601f016020809104026020016040519081016040528092919081815260200182805461065290613a9a565b801561069f5780601f106106745761010080835404028352916020019161069f565b820191906000526020600020905b81548152906001019060200180831161068257829003601f168201915b5050505050905090565b60006106b4826115fc565b6106f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ea9061373a565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061073982610e2d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a1906137ba565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107c9611668565b73ffffffffffffffffffffffffffffffffffffffff1614806107f857506107f7816107f2611668565b61138e565b5b610837576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082e9061369a565b60405180910390fd5b6108418383611670565b505050565b6000610850611668565b73ffffffffffffffffffffffffffffffffffffffff1661086e6110fc565b73ffffffffffffffffffffffffffffffffffffffff16146108c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108bb9061377a565b60405180910390fd5b6108ce8383611729565b82905092915050565b6000600880549050905090565b6108f56108ef611668565b8261179d565b610934576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092b906137da565b60405180910390fd5b61093f83838361187b565b505050565b61094c611668565b73ffffffffffffffffffffffffffffffffffffffff1661096a6110fc565b73ffffffffffffffffffffffffffffffffffffffff16146109c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b79061377a565b60405180910390fd5b80601060006101000a81548160ff02191690831515021790555050565b6109ee6109e8611668565b8261179d565b610a2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a249061381a565b60405180910390fd5b610a3681611ae2565b50565b6000610a4483610edf565b8210610a85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7c9061355a565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610af9838383604051806020016040528060008152506111e1565b505050565b6000610b086108d7565b8210610b49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b40906137fa565b60405180910390fd5b60088281548110610b5d57610b5c613c57565b5b90600052602060002001549050919050565b610b77611668565b73ffffffffffffffffffffffffffffffffffffffff16610b956110fc565b73ffffffffffffffffffffffffffffffffffffffff1614610beb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be29061377a565b60405180910390fd5b80600d9080519060200190610c019291906129e3565b5050565b6000601060009054906101000a900460ff16610c56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4d9061361a565b60405180910390fd5b600033604051602001610c699190613431565b604051602081830303815290604052805190602001209050610ccf848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600f5483611bff565b610d0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d059061353a565b60405180910390fd5b60011515600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151415610da2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d99906136fa565b60405180910390fd5b610dac600b611c16565b6000610db8600b611c2c565b9050610dc43382611c3a565b6001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550809250505092915050565b600f5481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ed6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecd906136da565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f47906136ba565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610f9f611668565b73ffffffffffffffffffffffffffffffffffffffff16610fbd6110fc565b73ffffffffffffffffffffffffffffffffffffffff1614611013576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100a9061377a565b60405180910390fd5b61101d6000611c58565b565b611027611668565b73ffffffffffffffffffffffffffffffffffffffff166110456110fc565b73ffffffffffffffffffffffffffffffffffffffff161461109b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110929061377a565b60405180910390fd5b6000801b8114156110e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d8906135fa565b60405180910390fd5b80600f8190555050565b60006110f7600b611c2c565b905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601060009054906101000a900460ff1681565b60606001805461114890613a9a565b80601f016020809104026020016040519081016040528092919081815260200182805461117490613a9a565b80156111c15780601f10611196576101008083540402835291602001916111c1565b820191906000526020600020905b8154815290600101906020018083116111a457829003601f168201915b5050505050905090565b6111dd6111d6611668565b8383611d1e565b5050565b6111f26111ec611668565b8361179d565b611231576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611228906137da565b60405180910390fd5b61123d84848484611e8b565b50505050565b606061124e826115fc565b61128d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112849061379a565b60405180910390fd5b6000600c600084815260200190815260200160002080546112ad90613a9a565b80601f01602080910402602001604051908101604052809291908181526020018280546112d990613a9a565b80156113265780601f106112fb57610100808354040283529160200191611326565b820191906000526020600020905b81548152906001019060200180831161130957829003601f168201915b505050505090506000611337611ee7565b90506000815111801561134b575060008251145b15611383578061135a85611f79565b60405160200161136b92919061344c565b60405160208183030381529060405292505050611389565b81925050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61142a611668565b73ffffffffffffffffffffffffffffffffffffffff166114486110fc565b73ffffffffffffffffffffffffffffffffffffffff161461149e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114959061377a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561150e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115059061359a565b60405180910390fd5b61151781611c58565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806115e557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806115f557506115f4826120da565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166116e383610e2d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611732826115fc565b611771576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117689061375a565b60405180910390fd5b80600c600084815260200190815260200160002090805190602001906117989291906129e3565b505050565b60006117a8826115fc565b6117e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117de9061367a565b60405180910390fd5b60006117f283610e2d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806118345750611833818561138e565b5b8061187257508373ffffffffffffffffffffffffffffffffffffffff1661185a846106a9565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661189b82610e2d565b73ffffffffffffffffffffffffffffffffffffffff16146118f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e8906135ba565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611961576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119589061363a565b60405180910390fd5b61196c838383612144565b611977600082611670565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119c791906139a6565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a1e919061391f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611add838383612258565b505050565b6000611aed82610e2d565b9050611afb81600084612144565b611b06600083611670565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b5691906139a6565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611bfb81600084612258565b5050565b600082611c0c858461225d565b1490509392505050565b6001816000016000828254019250508190555050565b600081600001549050919050565b611c548282604051806020016040528060008152506122d2565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611d8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d849061365a565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e7e91906134e2565b60405180910390a3505050565b611e9684848461187b565b611ea28484848461232d565b611ee1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed89061357a565b60405180910390fd5b50505050565b6060600d8054611ef690613a9a565b80601f0160208091040260200160405190810160405280929190818152602001828054611f2290613a9a565b8015611f6f5780601f10611f4457610100808354040283529160200191611f6f565b820191906000526020600020905b815481529060010190602001808311611f5257829003601f168201915b5050505050905090565b60606000821415611fc1576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506120d5565b600082905060005b60008214611ff3578080611fdc90613afd565b915050600a82611fec9190613975565b9150611fc9565b60008167ffffffffffffffff81111561200f5761200e613c86565b5b6040519080825280601f01601f1916602001820160405280156120415781602001600182028036833780820191505090505b5090505b600085146120ce5760018261205a91906139a6565b9150600a856120699190613b6a565b6030612075919061391f565b60f81b81838151811061208b5761208a613c57565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856120c79190613975565b9450612045565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61214f8383836124c4565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156121925761218d816124c9565b6121d1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146121d0576121cf8382612512565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156122145761220f8161267f565b612253565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612252576122518282612750565b5b5b505050565b505050565b60008082905060005b84518110156122c757600085828151811061228457612283613c57565b5b602002602001015190508083116122a65761229f83826127cf565b92506122b3565b6122b081846127cf565b92505b5080806122bf90613afd565b915050612266565b508091505092915050565b6122dc83836127e6565b6122e9600084848461232d565b612328576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231f9061357a565b60405180910390fd5b505050565b600061234e8473ffffffffffffffffffffffffffffffffffffffff166129c0565b156124b7578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612377611668565b8786866040518563ffffffff1660e01b81526004016123999493929190613496565b602060405180830381600087803b1580156123b357600080fd5b505af19250505080156123e457506040513d601f19601f820116820180604052508101906123e19190612ed1565b60015b612467573d8060008114612414576040519150601f19603f3d011682016040523d82523d6000602084013e612419565b606091505b5060008151141561245f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124569061357a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506124bc565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161251f84610edf565b61252991906139a6565b905060006007600084815260200190815260200160002054905081811461260e576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061269391906139a6565b90506000600960008481526020019081526020016000205490506000600883815481106126c3576126c2613c57565b5b9060005260206000200154905080600883815481106126e5576126e4613c57565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061273457612733613c28565b5b6001900381819060005260206000200160009055905550505050565b600061275b83610edf565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600082600052816020526040600020905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612856576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284d9061371a565b60405180910390fd5b61285f816115fc565b1561289f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612896906135da565b60405180910390fd5b6128ab60008383612144565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128fb919061391f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46129bc60008383612258565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8280546129ef90613a9a565b90600052602060002090601f016020900481019282612a115760008555612a58565b82601f10612a2a57805160ff1916838001178555612a58565b82800160010185558215612a58579182015b82811115612a57578251825591602001919060010190612a3c565b5b509050612a659190612a69565b5090565b5b80821115612a82576000816000905550600101612a6a565b5090565b6000612a99612a948461387a565b613855565b905082815260208101848484011115612ab557612ab4613cc4565b5b612ac0848285613a58565b509392505050565b6000612adb612ad6846138ab565b613855565b905082815260208101848484011115612af757612af6613cc4565b5b612b02848285613a58565b509392505050565b600081359050612b19816143ea565b92915050565b60008083601f840112612b3557612b34613cba565b5b8235905067ffffffffffffffff811115612b5257612b51613cb5565b5b602083019150836020820283011115612b6e57612b6d613cbf565b5b9250929050565b600081359050612b8481614401565b92915050565b600081359050612b9981614418565b92915050565b600081359050612bae8161442f565b92915050565b600081519050612bc38161442f565b92915050565b600082601f830112612bde57612bdd613cba565b5b8135612bee848260208601612a86565b91505092915050565b600082601f830112612c0c57612c0b613cba565b5b8135612c1c848260208601612ac8565b91505092915050565b600081359050612c3481614446565b92915050565b600060208284031215612c5057612c4f613cce565b5b6000612c5e84828501612b0a565b91505092915050565b60008060408385031215612c7e57612c7d613cce565b5b6000612c8c85828601612b0a565b9250506020612c9d85828601612b0a565b9150509250929050565b600080600060608486031215612cc057612cbf613cce565b5b6000612cce86828701612b0a565b9350506020612cdf86828701612b0a565b9250506040612cf086828701612c25565b9150509250925092565b60008060008060808587031215612d1457612d13613cce565b5b6000612d2287828801612b0a565b9450506020612d3387828801612b0a565b9350506040612d4487828801612c25565b925050606085013567ffffffffffffffff811115612d6557612d64613cc9565b5b612d7187828801612bc9565b91505092959194509250565b60008060408385031215612d9457612d93613cce565b5b6000612da285828601612b0a565b9250506020612db385828601612b75565b9150509250929050565b60008060408385031215612dd457612dd3613cce565b5b6000612de285828601612b0a565b9250506020612df385828601612c25565b9150509250929050565b60008060208385031215612e1457612e13613cce565b5b600083013567ffffffffffffffff811115612e3257612e31613cc9565b5b612e3e85828601612b1f565b92509250509250929050565b600060208284031215612e6057612e5f613cce565b5b6000612e6e84828501612b75565b91505092915050565b600060208284031215612e8d57612e8c613cce565b5b6000612e9b84828501612b8a565b91505092915050565b600060208284031215612eba57612eb9613cce565b5b6000612ec884828501612b9f565b91505092915050565b600060208284031215612ee757612ee6613cce565b5b6000612ef584828501612bb4565b91505092915050565b600060208284031215612f1457612f13613cce565b5b600082013567ffffffffffffffff811115612f3257612f31613cc9565b5b612f3e84828501612bf7565b91505092915050565b600060208284031215612f5d57612f5c613cce565b5b6000612f6b84828501612c25565b91505092915050565b60008060408385031215612f8b57612f8a613cce565b5b6000612f9985828601612c25565b925050602083013567ffffffffffffffff811115612fba57612fb9613cc9565b5b612fc685828601612bf7565b9150509250929050565b612fd9816139da565b82525050565b612ff0612feb826139da565b613b46565b82525050565b612fff816139ec565b82525050565b61300e816139f8565b82525050565b600061301f826138dc565b61302981856138f2565b9350613039818560208601613a67565b61304281613cd3565b840191505092915050565b6000613058826138e7565b6130628185613903565b9350613072818560208601613a67565b61307b81613cd3565b840191505092915050565b6000613091826138e7565b61309b8185613914565b93506130ab818560208601613a67565b80840191505092915050565b60006130c4602283613903565b91506130cf82613cf1565b604082019050919050565b60006130e7602b83613903565b91506130f282613d40565b604082019050919050565b600061310a603283613903565b915061311582613d8f565b604082019050919050565b600061312d602683613903565b915061313882613dde565b604082019050919050565b6000613150602583613903565b915061315b82613e2d565b604082019050919050565b6000613173601c83613903565b915061317e82613e7c565b602082019050919050565b6000613196602b83613903565b91506131a182613ea5565b604082019050919050565b60006131b9602383613903565b91506131c482613ef4565b604082019050919050565b60006131dc602483613903565b91506131e782613f43565b604082019050919050565b60006131ff601983613903565b915061320a82613f92565b602082019050919050565b6000613222602c83613903565b915061322d82613fbb565b604082019050919050565b6000613245603883613903565b91506132508261400a565b604082019050919050565b6000613268602a83613903565b915061327382614059565b604082019050919050565b600061328b602983613903565b9150613296826140a8565b604082019050919050565b60006132ae603083613903565b91506132b9826140f7565b604082019050919050565b60006132d1602083613903565b91506132dc82614146565b602082019050919050565b60006132f4602c83613903565b91506132ff8261416f565b604082019050919050565b6000613317600583613914565b9150613322826141be565b600582019050919050565b600061333a602c83613903565b9150613345826141e7565b604082019050919050565b600061335d602083613903565b915061336882614236565b602082019050919050565b6000613380602f83613903565b915061338b8261425f565b604082019050919050565b60006133a3602183613903565b91506133ae826142ae565b604082019050919050565b60006133c6603183613903565b91506133d1826142fd565b604082019050919050565b60006133e9602c83613903565b91506133f48261434c565b604082019050919050565b600061340c603083613903565b91506134178261439b565b604082019050919050565b61342b81613a4e565b82525050565b600061343d8284612fdf565b60148201915081905092915050565b60006134588285613086565b91506134648284613086565b915061346f8261330a565b91508190509392505050565b60006020820190506134906000830184612fd0565b92915050565b60006080820190506134ab6000830187612fd0565b6134b86020830186612fd0565b6134c56040830185613422565b81810360608301526134d78184613014565b905095945050505050565b60006020820190506134f76000830184612ff6565b92915050565b60006020820190506135126000830184613005565b92915050565b60006020820190508181036000830152613532818461304d565b905092915050565b60006020820190508181036000830152613553816130b7565b9050919050565b60006020820190508181036000830152613573816130da565b9050919050565b60006020820190508181036000830152613593816130fd565b9050919050565b600060208201905081810360008301526135b381613120565b9050919050565b600060208201905081810360008301526135d381613143565b9050919050565b600060208201905081810360008301526135f381613166565b9050919050565b6000602082019050818103600083015261361381613189565b9050919050565b60006020820190508181036000830152613633816131ac565b9050919050565b60006020820190508181036000830152613653816131cf565b9050919050565b60006020820190508181036000830152613673816131f2565b9050919050565b6000602082019050818103600083015261369381613215565b9050919050565b600060208201905081810360008301526136b381613238565b9050919050565b600060208201905081810360008301526136d38161325b565b9050919050565b600060208201905081810360008301526136f38161327e565b9050919050565b60006020820190508181036000830152613713816132a1565b9050919050565b60006020820190508181036000830152613733816132c4565b9050919050565b60006020820190508181036000830152613753816132e7565b9050919050565b600060208201905081810360008301526137738161332d565b9050919050565b6000602082019050818103600083015261379381613350565b9050919050565b600060208201905081810360008301526137b381613373565b9050919050565b600060208201905081810360008301526137d381613396565b9050919050565b600060208201905081810360008301526137f3816133b9565b9050919050565b60006020820190508181036000830152613813816133dc565b9050919050565b60006020820190508181036000830152613833816133ff565b9050919050565b600060208201905061384f6000830184613422565b92915050565b600061385f613870565b905061386b8282613acc565b919050565b6000604051905090565b600067ffffffffffffffff82111561389557613894613c86565b5b61389e82613cd3565b9050602081019050919050565b600067ffffffffffffffff8211156138c6576138c5613c86565b5b6138cf82613cd3565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061392a82613a4e565b915061393583613a4e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561396a57613969613b9b565b5b828201905092915050565b600061398082613a4e565b915061398b83613a4e565b92508261399b5761399a613bca565b5b828204905092915050565b60006139b182613a4e565b91506139bc83613a4e565b9250828210156139cf576139ce613b9b565b5b828203905092915050565b60006139e582613a2e565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613a85578082015181840152602081019050613a6a565b83811115613a94576000848401525b50505050565b60006002820490506001821680613ab257607f821691505b60208210811415613ac657613ac5613bf9565b5b50919050565b613ad582613cd3565b810181811067ffffffffffffffff82111715613af457613af3613c86565b5b80604052505050565b6000613b0882613a4e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613b3b57613b3a613b9b565b5b600182019050919050565b6000613b5182613b58565b9050919050565b6000613b6382613ce4565b9050919050565b6000613b7582613a4e565b9150613b8083613a4e565b925082613b9057613b8f613bca565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4d696e7420506173733a20596f75206973206e6f7420696e2077686974656c6960008201527f7374000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f507269766174652053616c653a20526f6f74206861736820697320746865207a60008201527f65726f2062797465733332000000000000000000000000000000000000000000602082015250565b7f4d696e7420506173733a204d696e7420726f756e64206973206e6f742061637460008201527f6976650000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4d696e7420506173733a20596f7520616c7265616479206d696e74656420612060008201527f6d696e742070617373206265666f726500000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732314d657461646174613a2055524920736574206f66206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b6143f3816139da565b81146143fe57600080fd5b50565b61440a816139ec565b811461441557600080fd5b50565b614421816139f8565b811461442c57600080fd5b50565b61443881613a02565b811461444357600080fd5b50565b61444f81613a4e565b811461445a57600080fd5b5056fea2646970667358221220986ff9ebf81bcc110912290301bc0a3b869484b65e99c22fca8d8e517f525b6f64736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
f0f601f112f953fe17cec40946aead5e701da84ea941127f77bae923063f6632
-----Decoded View---------------
Arg [0] : rootHash (bytes32): 0xf0f601f112f953fe17cec40946aead5e701da84ea941127f77bae923063f6632
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : f0f601f112f953fe17cec40946aead5e701da84ea941127f77bae923063f6632
Loading...
Loading
Loading...
Loading
OVERVIEW
Mint Pass is a pre-mint invitation that will secure your spot and enable you to purchase your MoonBeast. All Whitelisted user can claim their free Mint Pass and secure their NFT.Loading...
Loading
Multichain Portfolio | 34 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.