ERC-721
Overview
Max Total Supply
90 ELDER
Holders
64
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 ELDERLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
Wizbuds
Compiler Version
v0.8.16+commit.07a7930e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* __ ___ _ _ \ \ / (_) | | | | \ \ /\ / / _ ___| |__ _ _ __| |___ \ \/ \/ / | |_ / '_ \| | | |/ _` / __| \ /\ / | |/ /| |_) | |_| | (_| \__ \ \/ \/ |_/___|_.__/ \__,_|\__,_|___/ */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.16; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import { MerkleProof } from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract Wizbuds is ERC721, ERC721Enumerable, Ownable, Pausable { using Strings for uint256; string public baseURI; uint256 public maxMint; uint256 public currentTokenId; uint256 public pos; uint256[] private availableTokens = [2,3,4,5,6,7,10,11,12,13,14,15,16,19,20,21,22,24,25,26,27,28,29,30,31,32,33,34,35,38,39,40,41,42,43,44,45,46,47,48,49,51,52,53,54,55,56,58,59,61,63,64,65,66,67,68,69,70,71,72,73,74,75,77,78,79,80,81,82,83,86,87,88,89,90,91,92,93,94,96,97,98,99,100]; bool public validateAddress = true; bool public isPayable = false; uint256 public price; uint256[] private mintedTokensList; using MerkleProof for bytes32[]; bytes32 public merkleRoot; mapping(address => uint256) public reservedAddressList; mapping(uint256 => address) public reservedTokenList; mapping(uint256 => bool) public reservedAuctionTokenList; mapping(address => uint256[]) private tokensOfOwnerList; mapping(address => bool) public addressUsedList; constructor() ERC721("Elder Wizbuds", "ELDER") { baseURI = "https://metadata.wizbuds.io/data/"; pos = 0; maxMint = 90; reservedAddressList[0x7903076ECB01627d264c04AA3e597E56Fe707E47] = 1; reservedAddressList[0xd8CdBB46AA4Ae67b28C48ed08b9E4415483B2fFc] = 9; reservedAddressList[0xdEf8372Ff01146fA89fb08ac5bE7d49700f8ABbd] = 36; reservedAddressList[0xa63aC1AC70A037CE317D1e928B56c73d5A95a26d] = 37; reservedAddressList[0x42a6a325cA28D6acda06af8618b149F4597382F7] = 57; reservedAddressList[0x3A16534203998e34A0531EBD2c95C84E81bFDfB7] = 85; reservedTokenList[1] = 0x7903076ECB01627d264c04AA3e597E56Fe707E47; reservedTokenList[9] = 0xd8CdBB46AA4Ae67b28C48ed08b9E4415483B2fFc; reservedTokenList[36] = 0xdEf8372Ff01146fA89fb08ac5bE7d49700f8ABbd; reservedTokenList[37] = 0xa63aC1AC70A037CE317D1e928B56c73d5A95a26d; reservedTokenList[57] = 0x42a6a325cA28D6acda06af8618b149F4597382F7; reservedTokenList[85] = 0x3A16534203998e34A0531EBD2c95C84E81bFDfB7; // Auction reservedAuctionTokenList[8] = true; reservedAuctionTokenList[17] = true; reservedAuctionTokenList[18] = true; reservedAuctionTokenList[23] = true; reservedAuctionTokenList[50] = true; reservedAuctionTokenList[60] = true; reservedAuctionTokenList[62] = true; reservedAuctionTokenList[76] = true; reservedAuctionTokenList[84] = true; reservedAuctionTokenList[95] = true; } function setBaseURI(string memory _baseURI) public onlyOwner{ require(bytes(_baseURI).length > 0, "empty"); baseURI = _baseURI; } function pause() public onlyOwner { _pause(); } function unpause() public onlyOwner { _unpause(); } function renounceOwnership() public override virtual onlyOwner { } function safeMint(bytes32 leaf, bytes32[] memory proof) public payable whenNotPaused returns(uint256){ require(totalSupply() < maxMint, "Max mint maximum exceeded"); require(addressUsedList[msg.sender] == false, "The address already minted"); require( keccak256(abi.encodePacked(msg.sender)) == leaf, "no equal" ); require( proof.verify(merkleRoot, leaf), "You are not in the list" ); if(validateAddress == true && reservedAddressList[msg.sender] > 0){ currentTokenId = reservedAddressList[msg.sender]; }else{ require(pos < availableTokens.length, "invalid token"); currentTokenId = availableTokens[pos]; require(reservedTokenList[currentTokenId] == address(0),"reserved token"); require(reservedAuctionTokenList[currentTokenId] == false, "reserved auction token"); pos++; } if(isPayable){ require(msg.value == price, "invalid value"); } tokensOfOwnerList[msg.sender].push(currentTokenId); mintedTokensList.push(currentTokenId); addressUsedList[msg.sender] = true; _safeMint(msg.sender, currentTokenId); return currentTokenId; } function auctionMint(address _to, uint256 _tokenId) public onlyOwner{ require(totalSupply() < maxMint, "Max mint maximum exceeded"); _safeMint(_to, _tokenId); } function withdraw() public onlyOwner { payable(msg.sender).transfer(address(this).balance); } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function getBalance() public view returns (uint256) { return address(this).balance; } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } function setMaxMint(uint256 _newMaxMint) public onlyOwner{ maxMint = _newMaxMint; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), "URI query for nonexistent token"); string memory uri = string(abi.encodePacked(baseURI, _tokenId.toString(),'.json')); return uri; } function setReservedAddressList(address _reversedAddress, uint256 _reversedTokensId, uint256[] memory _availableTokens) public onlyOwner{ require(_reversedAddress != address(0), "invalid address"); require(_reversedTokensId > 0, "invalid tokenId"); require(_availableTokens[0] > 0, "invalid available tokens"); if(reservedTokenList[_reversedTokensId] != address(0) ){ reservedAddressList[ reservedTokenList[_reversedTokensId] ] = 0; } reservedAddressList[_reversedAddress] = _reversedTokensId; reservedTokenList[_reversedTokensId] = _reversedAddress; availableTokens = _availableTokens; pos = 0; } function setValidateAddress(bool _flag) public onlyOwner{ validateAddress = _flag; } function setAvailableTokens(uint256[] memory _availableTokens) public onlyOwner{ availableTokens = _availableTokens; pos = 0; } function setIsPayable(bool _flag) public onlyOwner{ isPayable = _flag; } function setPrice(uint256 _price) public onlyOwner{ price = _price; } function getAvailableTokens() public view returns(uint256[] memory){ return availableTokens; } function tokensOfOwner(address _address) public view returns(uint256[] memory){ return tokensOfOwnerList[_address]; } function mintedTokens() public view returns(uint256[] memory){ return mintedTokensList; } function setReservedAuctionTokenList(uint256 _tokenId, uint256[] memory _availableTokens, bool _flag) public onlyOwner{ reservedAuctionTokenList[_tokenId] = _flag; availableTokens = _availableTokens; pos = 0; } function setAddressUsedList(address _address, bool _flag) public onlyOwner{ addressUsedList[_address] = _flag; } function setMerkleRoot(bytes32 _root) public onlyOwner { merkleRoot = _root; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @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); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.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: address zero is not a valid owner"); 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: invalid token ID"); 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) { _requireMinted(tokenId); 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 token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); 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: caller is not token 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: caller is not token 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) { 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 an {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 an {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 Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @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 { /// @solidity memory-safe-assembly 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 (last updated v4.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof} * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts 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/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 (last updated v4.7.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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.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 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 (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 (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 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":[],"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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressUsedList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"auctionMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAvailableTokens","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"isPayable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintedTokens","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pos","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"reservedAddressList","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"reservedAuctionTokenList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"reservedTokenList","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"leaf","type":"bytes32"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"safeMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","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":"_address","type":"address"},{"internalType":"bool","name":"_flag","type":"bool"}],"name":"setAddressUsedList","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":"uint256[]","name":"_availableTokens","type":"uint256[]"}],"name":"setAvailableTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_flag","type":"bool"}],"name":"setIsPayable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxMint","type":"uint256"}],"name":"setMaxMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_reversedAddress","type":"address"},{"internalType":"uint256","name":"_reversedTokensId","type":"uint256"},{"internalType":"uint256[]","name":"_availableTokens","type":"uint256[]"}],"name":"setReservedAddressList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256[]","name":"_availableTokens","type":"uint256[]"},{"internalType":"bool","name":"_flag","type":"bool"}],"name":"setReservedAuctionTokenList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_flag","type":"bool"}],"name":"setValidateAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"validateAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405260405180610a800160405280600260ff168152602001600360ff168152602001600460ff168152602001600560ff168152602001600660ff168152602001600760ff168152602001600a60ff168152602001600b60ff168152602001600c60ff168152602001600d60ff168152602001600e60ff168152602001600f60ff168152602001601060ff168152602001601360ff168152602001601460ff168152602001601560ff168152602001601660ff168152602001601860ff168152602001601960ff168152602001601a60ff168152602001601b60ff168152602001601c60ff168152602001601d60ff168152602001601e60ff168152602001601f60ff168152602001602060ff168152602001602160ff168152602001602260ff168152602001602360ff168152602001602660ff168152602001602760ff168152602001602860ff168152602001602960ff168152602001602a60ff168152602001602b60ff168152602001602c60ff168152602001602d60ff168152602001602e60ff168152602001602f60ff168152602001603060ff168152602001603160ff168152602001603360ff168152602001603460ff168152602001603560ff168152602001603660ff168152602001603760ff168152602001603860ff168152602001603a60ff168152602001603b60ff168152602001603d60ff168152602001603f60ff168152602001604060ff168152602001604160ff168152602001604260ff168152602001604360ff168152602001604460ff168152602001604560ff168152602001604660ff168152602001604760ff168152602001604860ff168152602001604960ff168152602001604a60ff168152602001604b60ff168152602001604d60ff168152602001604e60ff168152602001604f60ff168152602001605060ff168152602001605160ff168152602001605260ff168152602001605360ff168152602001605660ff168152602001605760ff168152602001605860ff168152602001605960ff168152602001605a60ff168152602001605b60ff168152602001605c60ff168152602001605d60ff168152602001605e60ff168152602001606060ff168152602001606160ff168152602001606260ff168152602001606360ff168152602001606460ff16815250600f9060546200036892919062000bcb565b506001601060006101000a81548160ff0219169083151502179055506000601060016101000a81548160ff021916908315150217905550348015620003ac57600080fd5b506040518060400160405280600d81526020017f456c6465722057697a62756473000000000000000000000000000000000000008152506040518060400160405280600581526020017f454c44455200000000000000000000000000000000000000000000000000000081525081600090816200042a919062000ebb565b5080600190816200043c919062000ebb565b5050506200045f6200045362000afd60201b60201c565b62000b0560201b60201c565b6000600a60146101000a81548160ff021916908315150217905550604051806060016040528060218152602001620066fa60219139600b9081620004a4919062000ebb565b506000600e81905550605a600c81905550600160146000737903076ecb01627d264c04aa3e597e56fe707e4773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060096014600073d8cdbb46aa4ae67b28c48ed08b9e4415483b2ffc73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060246014600073def8372ff01146fa89fb08ac5be7d49700f8abbd73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060256014600073a63ac1ac70a037ce317d1e928b56c73d5a95a26d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506039601460007342a6a325ca28d6acda06af8618b149f4597382f773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550605560146000733a16534203998e34a0531ebd2c95c84e81bfdfb773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550737903076ecb01627d264c04aa3e597e56fe707e47601560006001815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073d8cdbb46aa4ae67b28c48ed08b9e4415483b2ffc601560006009815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073def8372ff01146fa89fb08ac5be7d49700f8abbd601560006024815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073a63ac1ac70a037ce317d1e928b56c73d5a95a26d601560006025815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507342a6a325ca28d6acda06af8618b149f4597382f7601560006039815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550733a16534203998e34a0531ebd2c95c84e81bfdfb7601560006055815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001601660006008815260200190815260200160002060006101000a81548160ff0219169083151502179055506001601660006011815260200190815260200160002060006101000a81548160ff0219169083151502179055506001601660006012815260200190815260200160002060006101000a81548160ff0219169083151502179055506001601660006017815260200190815260200160002060006101000a81548160ff0219169083151502179055506001601660006032815260200190815260200160002060006101000a81548160ff021916908315150217905550600160166000603c815260200190815260200160002060006101000a81548160ff021916908315150217905550600160166000603e815260200190815260200160002060006101000a81548160ff021916908315150217905550600160166000604c815260200190815260200160002060006101000a81548160ff0219169083151502179055506001601660006054815260200190815260200160002060006101000a81548160ff021916908315150217905550600160166000605f815260200190815260200160002060006101000a81548160ff02191690831515021790555062000fa2565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82805482825590600052602060002090810192821562000c0f579160200282015b8281111562000c0e578251829060ff1690559160200191906001019062000bec565b5b50905062000c1e919062000c22565b5090565b5b8082111562000c3d57600081600090555060010162000c23565b5090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000cc357607f821691505b60208210810362000cd95762000cd862000c7b565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830262000d437fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000d04565b62000d4f868362000d04565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000d9c62000d9662000d908462000d67565b62000d71565b62000d67565b9050919050565b6000819050919050565b62000db88362000d7b565b62000dd062000dc78262000da3565b84845462000d11565b825550505050565b600090565b62000de762000dd8565b62000df481848462000dad565b505050565b5b8181101562000e1c5762000e1060008262000ddd565b60018101905062000dfa565b5050565b601f82111562000e6b5762000e358162000cdf565b62000e408462000cf4565b8101602085101562000e50578190505b62000e6862000e5f8562000cf4565b83018262000df9565b50505b505050565b600082821c905092915050565b600062000e906000198460080262000e70565b1980831691505092915050565b600062000eab838362000e7d565b9150826002028217905092915050565b62000ec68262000c41565b67ffffffffffffffff81111562000ee25762000ee162000c4c565b5b62000eee825462000caa565b62000efb82828562000e20565b600060209050601f83116001811462000f33576000841562000f1e578287015190505b62000f2a858262000e9d565b86555062000f9a565b601f19841662000f438662000cdf565b60005b8281101562000f6d5784890151825560018201915060208501945060208101905062000f46565b8683101562000f8d578489015162000f89601f89168262000e7d565b8355505b6001600288020188555050505b505050505050565b6157488062000fb26000396000f3fe6080604052600436106102e35760003560e01c80637501f74111610190578063b88d4fde116100dc578063da5ad00e11610095578063e985e9c51161006f578063e985e9c514610b3c578063f2fde38b14610b79578063f4da001914610ba2578063f71dded414610bcb576102e3565b8063da5ad00e14610a97578063e35568cb14610ad4578063e85f49f714610aff576102e3565b8063b88d4fde14610975578063c56551b61461099e578063c6b60ddf146109c9578063c87b56dd14610a06578063ce46e04614610a43578063d3a430de14610a6e576102e3565b80638f0cf8c011610149578063a035b1fe11610123578063a035b1fe146108bb578063a22cb465146108e6578063adcaf3b61461090f578063b4cfd16b1461094c576102e3565b80638f0cf8c01461083e57806391b7f5ed1461086757806395d89b4114610890576102e3565b80637501f741146107405780637cb647591461076b5780638456cb59146107945780638462151c146107ab5780638d75fe05146107e85780638da5cb5b14610813576102e3565b80633ccfd60b1161024f57806355f804b3116102085780636c0360eb116101e25780636c0360eb1461069857806370a08231146106c357806370d1c43314610700578063715018a614610729576102e3565b806355f804b3146106075780635c975abb146106305780636352211e1461065b576102e3565b80633ccfd60b146105215780633f4ba83a1461053857806342842e0e1461054f5780634307c4b2146105785780634f6ccce7146105a1578063547520fe146105de576102e3565b806315cfaacb116102a157806315cfaacb1461040c57806318160ddd1461043557806323b872dd146104605780632eb4a7ab146104895780632f745c59146104b4578063349b8ca0146104f1576102e3565b80629a9b7b146102e857806301ffc9a71461031357806306fdde0314610350578063081812fc1461037b578063095ea7b3146103b857806312065fe0146103e1575b600080fd5b3480156102f457600080fd5b506102fd610bf6565b60405161030a919061368f565b60405180910390f35b34801561031f57600080fd5b5061033a60048036038101906103359190613716565b610bfc565b604051610347919061375e565b60405180910390f35b34801561035c57600080fd5b50610365610c0e565b6040516103729190613809565b60405180910390f35b34801561038757600080fd5b506103a2600480360381019061039d9190613857565b610ca0565b6040516103af91906138c5565b60405180910390f35b3480156103c457600080fd5b506103df60048036038101906103da919061390c565b610ce6565b005b3480156103ed57600080fd5b506103f6610dfd565b604051610403919061368f565b60405180910390f35b34801561041857600080fd5b50610433600480360381019061042e9190613978565b610e05565b005b34801561044157600080fd5b5061044a610e68565b604051610457919061368f565b60405180910390f35b34801561046c57600080fd5b50610487600480360381019061048291906139b8565b610e75565b005b34801561049557600080fd5b5061049e610ed5565b6040516104ab9190613a24565b60405180910390f35b3480156104c057600080fd5b506104db60048036038101906104d6919061390c565b610edb565b6040516104e8919061368f565b60405180910390f35b61050b60048036038101906105069190613bb3565b610f80565b604051610518919061368f565b60405180910390f35b34801561052d57600080fd5b506105366114ca565b005b34801561054457600080fd5b5061054d61151b565b005b34801561055b57600080fd5b50610576600480360381019061057191906139b8565b61152d565b005b34801561058457600080fd5b5061059f600480360381019061059a9190613cd2565b61154d565b005b3480156105ad57600080fd5b506105c860048036038101906105c39190613857565b611577565b6040516105d5919061368f565b60405180910390f35b3480156105ea57600080fd5b5061060560048036038101906106009190613857565b6115e8565b005b34801561061357600080fd5b5061062e60048036038101906106299190613dd0565b6115fa565b005b34801561063c57600080fd5b50610645611659565b604051610652919061375e565b60405180910390f35b34801561066757600080fd5b50610682600480360381019061067d9190613857565b611670565b60405161068f91906138c5565b60405180910390f35b3480156106a457600080fd5b506106ad611721565b6040516106ba9190613809565b60405180910390f35b3480156106cf57600080fd5b506106ea60048036038101906106e59190613e19565b6117af565b6040516106f7919061368f565b60405180910390f35b34801561070c57600080fd5b5061072760048036038101906107229190613e46565b611866565b005b34801561073557600080fd5b5061073e6118bd565b005b34801561074c57600080fd5b506107556118c7565b604051610762919061368f565b60405180910390f35b34801561077757600080fd5b50610792600480360381019061078d9190613eb5565b6118cd565b005b3480156107a057600080fd5b506107a96118df565b005b3480156107b757600080fd5b506107d260048036038101906107cd9190613e19565b6118f1565b6040516107df9190613fa0565b60405180910390f35b3480156107f457600080fd5b506107fd611988565b60405161080a9190613fa0565b60405180910390f35b34801561081f57600080fd5b506108286119e0565b60405161083591906138c5565b60405180910390f35b34801561084a57600080fd5b5061086560048036038101906108609190613fc2565b611a0a565b005b34801561087357600080fd5b5061088e60048036038101906108899190613857565b611a2f565b005b34801561089c57600080fd5b506108a5611a41565b6040516108b29190613809565b60405180910390f35b3480156108c757600080fd5b506108d0611ad3565b6040516108dd919061368f565b60405180910390f35b3480156108f257600080fd5b5061090d60048036038101906109089190613978565b611ad9565b005b34801561091b57600080fd5b5061093660048036038101906109319190613e19565b611aef565b604051610943919061375e565b60405180910390f35b34801561095857600080fd5b50610973600480360381019061096e919061390c565b611b0f565b005b34801561098157600080fd5b5061099c60048036038101906109979190614090565b611b70565b005b3480156109aa57600080fd5b506109b3611bd2565b6040516109c0919061368f565b60405180910390f35b3480156109d557600080fd5b506109f060048036038101906109eb9190613857565b611bd8565b6040516109fd91906138c5565b60405180910390f35b348015610a1257600080fd5b50610a2d6004803603810190610a289190613857565b611c0b565b604051610a3a9190613809565b60405180910390f35b348015610a4f57600080fd5b50610a58611c8d565b604051610a65919061375e565b60405180910390f35b348015610a7a57600080fd5b50610a956004803603810190610a909190614113565b611ca0565b005b348015610aa357600080fd5b50610abe6004803603810190610ab99190613e19565b611f52565b604051610acb919061368f565b60405180910390f35b348015610ae057600080fd5b50610ae9611f6a565b604051610af69190613fa0565b60405180910390f35b348015610b0b57600080fd5b50610b266004803603810190610b219190613857565b611fc2565b604051610b33919061375e565b60405180910390f35b348015610b4857600080fd5b50610b636004803603810190610b5e9190614182565b611fe2565b604051610b70919061375e565b60405180910390f35b348015610b8557600080fd5b50610ba06004803603810190610b9b9190613e19565b612076565b005b348015610bae57600080fd5b50610bc96004803603810190610bc49190613fc2565b6120f9565b005b348015610bd757600080fd5b50610be061211e565b604051610bed919061375e565b60405180910390f35b600d5481565b6000610c0782612131565b9050919050565b606060008054610c1d906141f1565b80601f0160208091040260200160405190810160405280929190818152602001828054610c49906141f1565b8015610c965780601f10610c6b57610100808354040283529160200191610c96565b820191906000526020600020905b815481529060010190602001808311610c7957829003601f168201915b5050505050905090565b6000610cab826121ab565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cf182611670565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610d61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5890614294565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d806121f6565b73ffffffffffffffffffffffffffffffffffffffff161480610daf5750610dae81610da96121f6565b611fe2565b5b610dee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de590614326565b60405180910390fd5b610df883836121fe565b505050565b600047905090565b610e0d6122b7565b80601860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000600880549050905090565b610e86610e806121f6565b82612335565b610ec5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebc906143b8565b60405180910390fd5b610ed08383836123ca565b505050565b60135481565b6000610ee6836117af565b8210610f27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1e9061444a565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000610f8a612630565b600c54610f95610e68565b10610fd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcc906144b6565b60405180910390fd5b60001515601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514611068576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105f90614522565b60405180910390fd5b823360405160200161107a919061458a565b60405160208183030381529060405280519060200120146110d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c7906145f1565b60405180910390fd5b6110e7601354848461267a9092919063ffffffff16565b611126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111d9061465d565b60405180910390fd5b60011515601060009054906101000a900460ff16151514801561118857506000601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054115b156111d857601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600d8190555061136e565b600f80549050600e5410611221576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611218906146c9565b60405180910390fd5b600f600e5481548110611237576112366146e9565b5b9060005260206000200154600d81905550600073ffffffffffffffffffffffffffffffffffffffff1660156000600d54815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146112ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e390614764565b60405180910390fd5b6000151560166000600d54815260200190815260200160002060009054906101000a900460ff16151514611355576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134c906147d0565b60405180910390fd5b600e60008154809291906113689061481f565b91905055505b601060019054906101000a900460ff16156113c85760115434146113c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113be906148b3565b60405180910390fd5b5b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600d5490806001815401808255809150506001900390600052602060002001600090919091909150556012600d5490806001815401808255809150506001900390600052602060002001600090919091909150556001601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506114bf33600d54612691565b600d54905092915050565b6114d26122b7565b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611518573d6000803e3d6000fd5b50565b6115236122b7565b61152b6126af565b565b61154883838360405180602001604052806000815250611b70565b505050565b6115556122b7565b80600f908051906020019061156b92919061360c565b506000600e8190555050565b6000611581610e68565b82106115c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b990614945565b60405180910390fd5b600882815481106115d6576115d56146e9565b5b90600052602060002001549050919050565b6115f06122b7565b80600c8190555050565b6116026122b7565b6000815111611646576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163d906149b1565b60405180910390fd5b80600b90816116559190614b7d565b5050565b6000600a60149054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611718576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170f90614c9b565b60405180910390fd5b80915050919050565b600b805461172e906141f1565b80601f016020809104026020016040519081016040528092919081815260200182805461175a906141f1565b80156117a75780601f1061177c576101008083540402835291602001916117a7565b820191906000526020600020905b81548152906001019060200180831161178a57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361181f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181690614d2d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61186e6122b7565b806016600085815260200190815260200160002060006101000a81548160ff02191690831515021790555081600f90805190602001906118af92919061360c565b506000600e81905550505050565b6118c56122b7565b565b600c5481565b6118d56122b7565b8060138190555050565b6118e76122b7565b6118ef612712565b565b6060601760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080548060200260200160405190810160405280929190818152602001828054801561197c57602002820191906000526020600020905b815481526020019060010190808311611968575b50505050509050919050565b606060128054806020026020016040519081016040528092919081815260200182805480156119d657602002820191906000526020600020905b8154815260200190600101908083116119c2575b5050505050905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611a126122b7565b80601060006101000a81548160ff02191690831515021790555050565b611a376122b7565b8060118190555050565b606060018054611a50906141f1565b80601f0160208091040260200160405190810160405280929190818152602001828054611a7c906141f1565b8015611ac95780601f10611a9e57610100808354040283529160200191611ac9565b820191906000526020600020905b815481529060010190602001808311611aac57829003601f168201915b5050505050905090565b60115481565b611aeb611ae46121f6565b8383612775565b5050565b60186020528060005260406000206000915054906101000a900460ff1681565b611b176122b7565b600c54611b22610e68565b10611b62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b59906144b6565b60405180910390fd5b611b6c8282612691565b5050565b611b81611b7b6121f6565b83612335565b611bc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb7906143b8565b60405180910390fd5b611bcc848484846128e1565b50505050565b600e5481565b60156020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060611c168261293d565b611c55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4c90614d99565b60405180910390fd5b6000600b611c62846129a9565b604051602001611c73929190614ec4565b604051602081830303815290604052905080915050919050565b601060019054906101000a900460ff1681565b611ca86122b7565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611d17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0e90614f3f565b60405180910390fd5b60008211611d5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5190614fab565b60405180910390fd5b600081600081518110611d7057611d6f6146e9565b5b602002602001015111611db8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611daf90615017565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166015600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611e98576000601460006015600086815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b81601460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550826015600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600f9080519060200190611f4492919061360c565b506000600e81905550505050565b60146020528060005260406000206000915090505481565b6060600f805480602002602001604051908101604052809291908181526020018280548015611fb857602002820191906000526020600020905b815481526020019060010190808311611fa4575b5050505050905090565b60166020528060005260406000206000915054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61207e6122b7565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036120ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e4906150a9565b60405180910390fd5b6120f681612b09565b50565b6121016122b7565b80601060016101000a81548160ff02191690831515021790555050565b601060009054906101000a900460ff1681565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806121a457506121a382612bcf565b5b9050919050565b6121b48161293d565b6121f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ea90614c9b565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661227183611670565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6122bf6121f6565b73ffffffffffffffffffffffffffffffffffffffff166122dd6119e0565b73ffffffffffffffffffffffffffffffffffffffff1614612333576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232a90615115565b60405180910390fd5b565b60008061234183611670565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061238357506123828185611fe2565b5b806123c157508373ffffffffffffffffffffffffffffffffffffffff166123a984610ca0565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166123ea82611670565b73ffffffffffffffffffffffffffffffffffffffff1614612440576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612437906151a7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036124af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a690615239565b60405180910390fd5b6124ba838383612cb1565b6124c56000826121fe565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125159190615259565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461256c919061528d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461262b838383612cc1565b505050565b612638611659565b15612678576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266f9061530d565b60405180910390fd5b565b6000826126878584612cc6565b1490509392505050565b6126ab828260405180602001604052806000815250612d1c565b5050565b6126b7612d77565b6000600a60146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6126fb6121f6565b60405161270891906138c5565b60405180910390a1565b61271a612630565b6001600a60146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861275e6121f6565b60405161276b91906138c5565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036127e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127da90615379565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516128d4919061375e565b60405180910390a3505050565b6128ec8484846123ca565b6128f884848484612dc0565b612937576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292e9061540b565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060600082036129f0576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612b04565b600082905060005b60008214612a22578080612a0b9061481f565b915050600a82612a1b919061545a565b91506129f8565b60008167ffffffffffffffff811115612a3e57612a3d613a70565b5b6040519080825280601f01601f191660200182016040528015612a705781602001600182028036833780820191505090505b5090505b60008514612afd57600182612a899190615259565b9150600a85612a98919061548b565b6030612aa4919061528d565b60f81b818381518110612aba57612ab96146e9565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612af6919061545a565b9450612a74565b8093505050505b919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612c9a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612caa5750612ca982612f47565b5b9050919050565b612cbc838383612fb1565b505050565b505050565b60008082905060005b8451811015612d1157612cfc82868381518110612cef57612cee6146e9565b5b60200260200101516130c3565b91508080612d099061481f565b915050612ccf565b508091505092915050565b612d2683836130ee565b612d336000848484612dc0565b612d72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d699061540b565b60405180910390fd5b505050565b612d7f611659565b612dbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db590615508565b60405180910390fd5b565b6000612de18473ffffffffffffffffffffffffffffffffffffffff166132c7565b15612f3a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e0a6121f6565b8786866040518563ffffffff1660e01b8152600401612e2c949392919061557d565b6020604051808303816000875af1925050508015612e6857506040513d601f19601f82011682018060405250810190612e6591906155de565b60015b612eea573d8060008114612e98576040519150601f19603f3d011682016040523d82523d6000602084013e612e9d565b606091505b506000815103612ee2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed99061540b565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612f3f565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612fbc8383836132ea565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612ffe57612ff9816132ef565b61303d565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461303c5761303b8382613338565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361307f5761307a816134a5565b6130be565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146130bd576130bc8282613576565b5b5b505050565b60008183106130db576130d682846135f5565b6130e6565b6130e583836135f5565b5b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361315d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161315490615657565b60405180910390fd5b6131668161293d565b156131a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161319d906156c3565b60405180910390fd5b6131b260008383612cb1565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613202919061528d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46132c360008383612cc1565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613345846117af565b61334f9190615259565b9050600060076000848152602001908152602001600020549050818114613434576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506134b99190615259565b90506000600960008481526020019081526020016000205490506000600883815481106134e9576134e86146e9565b5b90600052602060002001549050806008838154811061350b5761350a6146e9565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061355a576135596156e3565b5b6001900381819060005260206000200160009055905550505050565b6000613581836117af565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600082600052816020526040600020905092915050565b828054828255906000526020600020908101928215613648579160200282015b8281111561364757825182559160200191906001019061362c565b5b5090506136559190613659565b5090565b5b8082111561367257600081600090555060010161365a565b5090565b6000819050919050565b61368981613676565b82525050565b60006020820190506136a46000830184613680565b92915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6136f3816136be565b81146136fe57600080fd5b50565b600081359050613710816136ea565b92915050565b60006020828403121561372c5761372b6136b4565b5b600061373a84828501613701565b91505092915050565b60008115159050919050565b61375881613743565b82525050565b6000602082019050613773600083018461374f565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156137b3578082015181840152602081019050613798565b60008484015250505050565b6000601f19601f8301169050919050565b60006137db82613779565b6137e58185613784565b93506137f5818560208601613795565b6137fe816137bf565b840191505092915050565b6000602082019050818103600083015261382381846137d0565b905092915050565b61383481613676565b811461383f57600080fd5b50565b6000813590506138518161382b565b92915050565b60006020828403121561386d5761386c6136b4565b5b600061387b84828501613842565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006138af82613884565b9050919050565b6138bf816138a4565b82525050565b60006020820190506138da60008301846138b6565b92915050565b6138e9816138a4565b81146138f457600080fd5b50565b600081359050613906816138e0565b92915050565b60008060408385031215613923576139226136b4565b5b6000613931858286016138f7565b925050602061394285828601613842565b9150509250929050565b61395581613743565b811461396057600080fd5b50565b6000813590506139728161394c565b92915050565b6000806040838503121561398f5761398e6136b4565b5b600061399d858286016138f7565b92505060206139ae85828601613963565b9150509250929050565b6000806000606084860312156139d1576139d06136b4565b5b60006139df868287016138f7565b93505060206139f0868287016138f7565b9250506040613a0186828701613842565b9150509250925092565b6000819050919050565b613a1e81613a0b565b82525050565b6000602082019050613a396000830184613a15565b92915050565b613a4881613a0b565b8114613a5357600080fd5b50565b600081359050613a6581613a3f565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613aa8826137bf565b810181811067ffffffffffffffff82111715613ac757613ac6613a70565b5b80604052505050565b6000613ada6136aa565b9050613ae68282613a9f565b919050565b600067ffffffffffffffff821115613b0657613b05613a70565b5b602082029050602081019050919050565b600080fd5b6000613b2f613b2a84613aeb565b613ad0565b90508083825260208201905060208402830185811115613b5257613b51613b17565b5b835b81811015613b7b5780613b678882613a56565b845260208401935050602081019050613b54565b5050509392505050565b600082601f830112613b9a57613b99613a6b565b5b8135613baa848260208601613b1c565b91505092915050565b60008060408385031215613bca57613bc96136b4565b5b6000613bd885828601613a56565b925050602083013567ffffffffffffffff811115613bf957613bf86136b9565b5b613c0585828601613b85565b9150509250929050565b600067ffffffffffffffff821115613c2a57613c29613a70565b5b602082029050602081019050919050565b6000613c4e613c4984613c0f565b613ad0565b90508083825260208201905060208402830185811115613c7157613c70613b17565b5b835b81811015613c9a5780613c868882613842565b845260208401935050602081019050613c73565b5050509392505050565b600082601f830112613cb957613cb8613a6b565b5b8135613cc9848260208601613c3b565b91505092915050565b600060208284031215613ce857613ce76136b4565b5b600082013567ffffffffffffffff811115613d0657613d056136b9565b5b613d1284828501613ca4565b91505092915050565b600080fd5b600067ffffffffffffffff821115613d3b57613d3a613a70565b5b613d44826137bf565b9050602081019050919050565b82818337600083830152505050565b6000613d73613d6e84613d20565b613ad0565b905082815260208101848484011115613d8f57613d8e613d1b565b5b613d9a848285613d51565b509392505050565b600082601f830112613db757613db6613a6b565b5b8135613dc7848260208601613d60565b91505092915050565b600060208284031215613de657613de56136b4565b5b600082013567ffffffffffffffff811115613e0457613e036136b9565b5b613e1084828501613da2565b91505092915050565b600060208284031215613e2f57613e2e6136b4565b5b6000613e3d848285016138f7565b91505092915050565b600080600060608486031215613e5f57613e5e6136b4565b5b6000613e6d86828701613842565b935050602084013567ffffffffffffffff811115613e8e57613e8d6136b9565b5b613e9a86828701613ca4565b9250506040613eab86828701613963565b9150509250925092565b600060208284031215613ecb57613eca6136b4565b5b6000613ed984828501613a56565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613f1781613676565b82525050565b6000613f298383613f0e565b60208301905092915050565b6000602082019050919050565b6000613f4d82613ee2565b613f578185613eed565b9350613f6283613efe565b8060005b83811015613f93578151613f7a8882613f1d565b9750613f8583613f35565b925050600181019050613f66565b5085935050505092915050565b60006020820190508181036000830152613fba8184613f42565b905092915050565b600060208284031215613fd857613fd76136b4565b5b6000613fe684828501613963565b91505092915050565b600067ffffffffffffffff82111561400a57614009613a70565b5b614013826137bf565b9050602081019050919050565b600061403361402e84613fef565b613ad0565b90508281526020810184848401111561404f5761404e613d1b565b5b61405a848285613d51565b509392505050565b600082601f83011261407757614076613a6b565b5b8135614087848260208601614020565b91505092915050565b600080600080608085870312156140aa576140a96136b4565b5b60006140b8878288016138f7565b94505060206140c9878288016138f7565b93505060406140da87828801613842565b925050606085013567ffffffffffffffff8111156140fb576140fa6136b9565b5b61410787828801614062565b91505092959194509250565b60008060006060848603121561412c5761412b6136b4565b5b600061413a868287016138f7565b935050602061414b86828701613842565b925050604084013567ffffffffffffffff81111561416c5761416b6136b9565b5b61417886828701613ca4565b9150509250925092565b60008060408385031215614199576141986136b4565b5b60006141a7858286016138f7565b92505060206141b8858286016138f7565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061420957607f821691505b60208210810361421c5761421b6141c2565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061427e602183613784565b915061428982614222565b604082019050919050565b600060208201905081810360008301526142ad81614271565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000614310603e83613784565b915061431b826142b4565b604082019050919050565b6000602082019050818103600083015261433f81614303565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b60006143a2602e83613784565b91506143ad82614346565b604082019050919050565b600060208201905081810360008301526143d181614395565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614434602b83613784565b915061443f826143d8565b604082019050919050565b6000602082019050818103600083015261446381614427565b9050919050565b7f4d6178206d696e74206d6178696d756d20657863656564656400000000000000600082015250565b60006144a0601983613784565b91506144ab8261446a565b602082019050919050565b600060208201905081810360008301526144cf81614493565b9050919050565b7f546865206164647265737320616c7265616479206d696e746564000000000000600082015250565b600061450c601a83613784565b9150614517826144d6565b602082019050919050565b6000602082019050818103600083015261453b816144ff565b9050919050565b60008160601b9050919050565b600061455a82614542565b9050919050565b600061456c8261454f565b9050919050565b61458461457f826138a4565b614561565b82525050565b60006145968284614573565b60148201915081905092915050565b7f6e6f20657175616c000000000000000000000000000000000000000000000000600082015250565b60006145db600883613784565b91506145e6826145a5565b602082019050919050565b6000602082019050818103600083015261460a816145ce565b9050919050565b7f596f7520617265206e6f7420696e20746865206c697374000000000000000000600082015250565b6000614647601783613784565b915061465282614611565b602082019050919050565b600060208201905081810360008301526146768161463a565b9050919050565b7f696e76616c696420746f6b656e00000000000000000000000000000000000000600082015250565b60006146b3600d83613784565b91506146be8261467d565b602082019050919050565b600060208201905081810360008301526146e2816146a6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f726573657276656420746f6b656e000000000000000000000000000000000000600082015250565b600061474e600e83613784565b915061475982614718565b602082019050919050565b6000602082019050818103600083015261477d81614741565b9050919050565b7f72657365727665642061756374696f6e20746f6b656e00000000000000000000600082015250565b60006147ba601683613784565b91506147c582614784565b602082019050919050565b600060208201905081810360008301526147e9816147ad565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061482a82613676565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361485c5761485b6147f0565b5b600182019050919050565b7f696e76616c69642076616c756500000000000000000000000000000000000000600082015250565b600061489d600d83613784565b91506148a882614867565b602082019050919050565b600060208201905081810360008301526148cc81614890565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b600061492f602c83613784565b915061493a826148d3565b604082019050919050565b6000602082019050818103600083015261495e81614922565b9050919050565b7f656d707479000000000000000000000000000000000000000000000000000000600082015250565b600061499b600583613784565b91506149a682614965565b602082019050919050565b600060208201905081810360008301526149ca8161498e565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302614a337fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826149f6565b614a3d86836149f6565b95508019841693508086168417925050509392505050565b6000819050919050565b6000614a7a614a75614a7084613676565b614a55565b613676565b9050919050565b6000819050919050565b614a9483614a5f565b614aa8614aa082614a81565b848454614a03565b825550505050565b600090565b614abd614ab0565b614ac8818484614a8b565b505050565b5b81811015614aec57614ae1600082614ab5565b600181019050614ace565b5050565b601f821115614b3157614b02816149d1565b614b0b846149e6565b81016020851015614b1a578190505b614b2e614b26856149e6565b830182614acd565b50505b505050565b600082821c905092915050565b6000614b5460001984600802614b36565b1980831691505092915050565b6000614b6d8383614b43565b9150826002028217905092915050565b614b8682613779565b67ffffffffffffffff811115614b9f57614b9e613a70565b5b614ba982546141f1565b614bb4828285614af0565b600060209050601f831160018114614be75760008415614bd5578287015190505b614bdf8582614b61565b865550614c47565b601f198416614bf5866149d1565b60005b82811015614c1d57848901518255600182019150602085019450602081019050614bf8565b86831015614c3a5784890151614c36601f891682614b43565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000614c85601883613784565b9150614c9082614c4f565b602082019050919050565b60006020820190508181036000830152614cb481614c78565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000614d17602983613784565b9150614d2282614cbb565b604082019050919050565b60006020820190508181036000830152614d4681614d0a565b9050919050565b7f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00600082015250565b6000614d83601f83613784565b9150614d8e82614d4d565b602082019050919050565b60006020820190508181036000830152614db281614d76565b9050919050565b600081905092915050565b60008154614dd1816141f1565b614ddb8186614db9565b94506001821660008114614df65760018114614e0b57614e3e565b60ff1983168652811515820286019350614e3e565b614e14856149d1565b60005b83811015614e3657815481890152600182019150602081019050614e17565b838801955050505b50505092915050565b6000614e5282613779565b614e5c8185614db9565b9350614e6c818560208601613795565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000614eae600583614db9565b9150614eb982614e78565b600582019050919050565b6000614ed08285614dc4565b9150614edc8284614e47565b9150614ee782614ea1565b91508190509392505050565b7f696e76616c696420616464726573730000000000000000000000000000000000600082015250565b6000614f29600f83613784565b9150614f3482614ef3565b602082019050919050565b60006020820190508181036000830152614f5881614f1c565b9050919050565b7f696e76616c696420746f6b656e49640000000000000000000000000000000000600082015250565b6000614f95600f83613784565b9150614fa082614f5f565b602082019050919050565b60006020820190508181036000830152614fc481614f88565b9050919050565b7f696e76616c696420617661696c61626c6520746f6b656e730000000000000000600082015250565b6000615001601883613784565b915061500c82614fcb565b602082019050919050565b6000602082019050818103600083015261503081614ff4565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615093602683613784565b915061509e82615037565b604082019050919050565b600060208201905081810360008301526150c281615086565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006150ff602083613784565b915061510a826150c9565b602082019050919050565b6000602082019050818103600083015261512e816150f2565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000615191602583613784565b915061519c82615135565b604082019050919050565b600060208201905081810360008301526151c081615184565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615223602483613784565b915061522e826151c7565b604082019050919050565b6000602082019050818103600083015261525281615216565b9050919050565b600061526482613676565b915061526f83613676565b9250828203905081811115615287576152866147f0565b5b92915050565b600061529882613676565b91506152a383613676565b92508282019050808211156152bb576152ba6147f0565b5b92915050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006152f7601083613784565b9150615302826152c1565b602082019050919050565b60006020820190508181036000830152615326816152ea565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615363601983613784565b915061536e8261532d565b602082019050919050565b6000602082019050818103600083015261539281615356565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006153f5603283613784565b915061540082615399565b604082019050919050565b60006020820190508181036000830152615424816153e8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061546582613676565b915061547083613676565b9250826154805761547f61542b565b5b828204905092915050565b600061549682613676565b91506154a183613676565b9250826154b1576154b061542b565b5b828206905092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006154f2601483613784565b91506154fd826154bc565b602082019050919050565b60006020820190508181036000830152615521816154e5565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061554f82615528565b6155598185615533565b9350615569818560208601613795565b615572816137bf565b840191505092915050565b600060808201905061559260008301876138b6565b61559f60208301866138b6565b6155ac6040830185613680565b81810360608301526155be8184615544565b905095945050505050565b6000815190506155d8816136ea565b92915050565b6000602082840312156155f4576155f36136b4565b5b6000615602848285016155c9565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615641602083613784565b915061564c8261560b565b602082019050919050565b6000602082019050818103600083015261567081615634565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006156ad601c83613784565b91506156b882615677565b602082019050919050565b600060208201905081810360008301526156dc816156a0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220f9abdec1259441a9ed3af9843f2174b67f6433bd3f7bb3642f4c1312a6cf57a264736f6c6343000810003368747470733a2f2f6d657461646174612e77697a627564732e696f2f646174612f
Deployed Bytecode
0x6080604052600436106102e35760003560e01c80637501f74111610190578063b88d4fde116100dc578063da5ad00e11610095578063e985e9c51161006f578063e985e9c514610b3c578063f2fde38b14610b79578063f4da001914610ba2578063f71dded414610bcb576102e3565b8063da5ad00e14610a97578063e35568cb14610ad4578063e85f49f714610aff576102e3565b8063b88d4fde14610975578063c56551b61461099e578063c6b60ddf146109c9578063c87b56dd14610a06578063ce46e04614610a43578063d3a430de14610a6e576102e3565b80638f0cf8c011610149578063a035b1fe11610123578063a035b1fe146108bb578063a22cb465146108e6578063adcaf3b61461090f578063b4cfd16b1461094c576102e3565b80638f0cf8c01461083e57806391b7f5ed1461086757806395d89b4114610890576102e3565b80637501f741146107405780637cb647591461076b5780638456cb59146107945780638462151c146107ab5780638d75fe05146107e85780638da5cb5b14610813576102e3565b80633ccfd60b1161024f57806355f804b3116102085780636c0360eb116101e25780636c0360eb1461069857806370a08231146106c357806370d1c43314610700578063715018a614610729576102e3565b806355f804b3146106075780635c975abb146106305780636352211e1461065b576102e3565b80633ccfd60b146105215780633f4ba83a1461053857806342842e0e1461054f5780634307c4b2146105785780634f6ccce7146105a1578063547520fe146105de576102e3565b806315cfaacb116102a157806315cfaacb1461040c57806318160ddd1461043557806323b872dd146104605780632eb4a7ab146104895780632f745c59146104b4578063349b8ca0146104f1576102e3565b80629a9b7b146102e857806301ffc9a71461031357806306fdde0314610350578063081812fc1461037b578063095ea7b3146103b857806312065fe0146103e1575b600080fd5b3480156102f457600080fd5b506102fd610bf6565b60405161030a919061368f565b60405180910390f35b34801561031f57600080fd5b5061033a60048036038101906103359190613716565b610bfc565b604051610347919061375e565b60405180910390f35b34801561035c57600080fd5b50610365610c0e565b6040516103729190613809565b60405180910390f35b34801561038757600080fd5b506103a2600480360381019061039d9190613857565b610ca0565b6040516103af91906138c5565b60405180910390f35b3480156103c457600080fd5b506103df60048036038101906103da919061390c565b610ce6565b005b3480156103ed57600080fd5b506103f6610dfd565b604051610403919061368f565b60405180910390f35b34801561041857600080fd5b50610433600480360381019061042e9190613978565b610e05565b005b34801561044157600080fd5b5061044a610e68565b604051610457919061368f565b60405180910390f35b34801561046c57600080fd5b50610487600480360381019061048291906139b8565b610e75565b005b34801561049557600080fd5b5061049e610ed5565b6040516104ab9190613a24565b60405180910390f35b3480156104c057600080fd5b506104db60048036038101906104d6919061390c565b610edb565b6040516104e8919061368f565b60405180910390f35b61050b60048036038101906105069190613bb3565b610f80565b604051610518919061368f565b60405180910390f35b34801561052d57600080fd5b506105366114ca565b005b34801561054457600080fd5b5061054d61151b565b005b34801561055b57600080fd5b50610576600480360381019061057191906139b8565b61152d565b005b34801561058457600080fd5b5061059f600480360381019061059a9190613cd2565b61154d565b005b3480156105ad57600080fd5b506105c860048036038101906105c39190613857565b611577565b6040516105d5919061368f565b60405180910390f35b3480156105ea57600080fd5b5061060560048036038101906106009190613857565b6115e8565b005b34801561061357600080fd5b5061062e60048036038101906106299190613dd0565b6115fa565b005b34801561063c57600080fd5b50610645611659565b604051610652919061375e565b60405180910390f35b34801561066757600080fd5b50610682600480360381019061067d9190613857565b611670565b60405161068f91906138c5565b60405180910390f35b3480156106a457600080fd5b506106ad611721565b6040516106ba9190613809565b60405180910390f35b3480156106cf57600080fd5b506106ea60048036038101906106e59190613e19565b6117af565b6040516106f7919061368f565b60405180910390f35b34801561070c57600080fd5b5061072760048036038101906107229190613e46565b611866565b005b34801561073557600080fd5b5061073e6118bd565b005b34801561074c57600080fd5b506107556118c7565b604051610762919061368f565b60405180910390f35b34801561077757600080fd5b50610792600480360381019061078d9190613eb5565b6118cd565b005b3480156107a057600080fd5b506107a96118df565b005b3480156107b757600080fd5b506107d260048036038101906107cd9190613e19565b6118f1565b6040516107df9190613fa0565b60405180910390f35b3480156107f457600080fd5b506107fd611988565b60405161080a9190613fa0565b60405180910390f35b34801561081f57600080fd5b506108286119e0565b60405161083591906138c5565b60405180910390f35b34801561084a57600080fd5b5061086560048036038101906108609190613fc2565b611a0a565b005b34801561087357600080fd5b5061088e60048036038101906108899190613857565b611a2f565b005b34801561089c57600080fd5b506108a5611a41565b6040516108b29190613809565b60405180910390f35b3480156108c757600080fd5b506108d0611ad3565b6040516108dd919061368f565b60405180910390f35b3480156108f257600080fd5b5061090d60048036038101906109089190613978565b611ad9565b005b34801561091b57600080fd5b5061093660048036038101906109319190613e19565b611aef565b604051610943919061375e565b60405180910390f35b34801561095857600080fd5b50610973600480360381019061096e919061390c565b611b0f565b005b34801561098157600080fd5b5061099c60048036038101906109979190614090565b611b70565b005b3480156109aa57600080fd5b506109b3611bd2565b6040516109c0919061368f565b60405180910390f35b3480156109d557600080fd5b506109f060048036038101906109eb9190613857565b611bd8565b6040516109fd91906138c5565b60405180910390f35b348015610a1257600080fd5b50610a2d6004803603810190610a289190613857565b611c0b565b604051610a3a9190613809565b60405180910390f35b348015610a4f57600080fd5b50610a58611c8d565b604051610a65919061375e565b60405180910390f35b348015610a7a57600080fd5b50610a956004803603810190610a909190614113565b611ca0565b005b348015610aa357600080fd5b50610abe6004803603810190610ab99190613e19565b611f52565b604051610acb919061368f565b60405180910390f35b348015610ae057600080fd5b50610ae9611f6a565b604051610af69190613fa0565b60405180910390f35b348015610b0b57600080fd5b50610b266004803603810190610b219190613857565b611fc2565b604051610b33919061375e565b60405180910390f35b348015610b4857600080fd5b50610b636004803603810190610b5e9190614182565b611fe2565b604051610b70919061375e565b60405180910390f35b348015610b8557600080fd5b50610ba06004803603810190610b9b9190613e19565b612076565b005b348015610bae57600080fd5b50610bc96004803603810190610bc49190613fc2565b6120f9565b005b348015610bd757600080fd5b50610be061211e565b604051610bed919061375e565b60405180910390f35b600d5481565b6000610c0782612131565b9050919050565b606060008054610c1d906141f1565b80601f0160208091040260200160405190810160405280929190818152602001828054610c49906141f1565b8015610c965780601f10610c6b57610100808354040283529160200191610c96565b820191906000526020600020905b815481529060010190602001808311610c7957829003601f168201915b5050505050905090565b6000610cab826121ab565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cf182611670565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610d61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5890614294565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d806121f6565b73ffffffffffffffffffffffffffffffffffffffff161480610daf5750610dae81610da96121f6565b611fe2565b5b610dee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de590614326565b60405180910390fd5b610df883836121fe565b505050565b600047905090565b610e0d6122b7565b80601860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000600880549050905090565b610e86610e806121f6565b82612335565b610ec5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebc906143b8565b60405180910390fd5b610ed08383836123ca565b505050565b60135481565b6000610ee6836117af565b8210610f27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1e9061444a565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000610f8a612630565b600c54610f95610e68565b10610fd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcc906144b6565b60405180910390fd5b60001515601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514611068576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105f90614522565b60405180910390fd5b823360405160200161107a919061458a565b60405160208183030381529060405280519060200120146110d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c7906145f1565b60405180910390fd5b6110e7601354848461267a9092919063ffffffff16565b611126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111d9061465d565b60405180910390fd5b60011515601060009054906101000a900460ff16151514801561118857506000601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054115b156111d857601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600d8190555061136e565b600f80549050600e5410611221576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611218906146c9565b60405180910390fd5b600f600e5481548110611237576112366146e9565b5b9060005260206000200154600d81905550600073ffffffffffffffffffffffffffffffffffffffff1660156000600d54815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146112ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e390614764565b60405180910390fd5b6000151560166000600d54815260200190815260200160002060009054906101000a900460ff16151514611355576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134c906147d0565b60405180910390fd5b600e60008154809291906113689061481f565b91905055505b601060019054906101000a900460ff16156113c85760115434146113c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113be906148b3565b60405180910390fd5b5b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600d5490806001815401808255809150506001900390600052602060002001600090919091909150556012600d5490806001815401808255809150506001900390600052602060002001600090919091909150556001601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506114bf33600d54612691565b600d54905092915050565b6114d26122b7565b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611518573d6000803e3d6000fd5b50565b6115236122b7565b61152b6126af565b565b61154883838360405180602001604052806000815250611b70565b505050565b6115556122b7565b80600f908051906020019061156b92919061360c565b506000600e8190555050565b6000611581610e68565b82106115c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b990614945565b60405180910390fd5b600882815481106115d6576115d56146e9565b5b90600052602060002001549050919050565b6115f06122b7565b80600c8190555050565b6116026122b7565b6000815111611646576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163d906149b1565b60405180910390fd5b80600b90816116559190614b7d565b5050565b6000600a60149054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611718576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170f90614c9b565b60405180910390fd5b80915050919050565b600b805461172e906141f1565b80601f016020809104026020016040519081016040528092919081815260200182805461175a906141f1565b80156117a75780601f1061177c576101008083540402835291602001916117a7565b820191906000526020600020905b81548152906001019060200180831161178a57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361181f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181690614d2d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61186e6122b7565b806016600085815260200190815260200160002060006101000a81548160ff02191690831515021790555081600f90805190602001906118af92919061360c565b506000600e81905550505050565b6118c56122b7565b565b600c5481565b6118d56122b7565b8060138190555050565b6118e76122b7565b6118ef612712565b565b6060601760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080548060200260200160405190810160405280929190818152602001828054801561197c57602002820191906000526020600020905b815481526020019060010190808311611968575b50505050509050919050565b606060128054806020026020016040519081016040528092919081815260200182805480156119d657602002820191906000526020600020905b8154815260200190600101908083116119c2575b5050505050905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611a126122b7565b80601060006101000a81548160ff02191690831515021790555050565b611a376122b7565b8060118190555050565b606060018054611a50906141f1565b80601f0160208091040260200160405190810160405280929190818152602001828054611a7c906141f1565b8015611ac95780601f10611a9e57610100808354040283529160200191611ac9565b820191906000526020600020905b815481529060010190602001808311611aac57829003601f168201915b5050505050905090565b60115481565b611aeb611ae46121f6565b8383612775565b5050565b60186020528060005260406000206000915054906101000a900460ff1681565b611b176122b7565b600c54611b22610e68565b10611b62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b59906144b6565b60405180910390fd5b611b6c8282612691565b5050565b611b81611b7b6121f6565b83612335565b611bc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb7906143b8565b60405180910390fd5b611bcc848484846128e1565b50505050565b600e5481565b60156020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060611c168261293d565b611c55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4c90614d99565b60405180910390fd5b6000600b611c62846129a9565b604051602001611c73929190614ec4565b604051602081830303815290604052905080915050919050565b601060019054906101000a900460ff1681565b611ca86122b7565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611d17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0e90614f3f565b60405180910390fd5b60008211611d5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5190614fab565b60405180910390fd5b600081600081518110611d7057611d6f6146e9565b5b602002602001015111611db8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611daf90615017565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166015600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611e98576000601460006015600086815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b81601460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550826015600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600f9080519060200190611f4492919061360c565b506000600e81905550505050565b60146020528060005260406000206000915090505481565b6060600f805480602002602001604051908101604052809291908181526020018280548015611fb857602002820191906000526020600020905b815481526020019060010190808311611fa4575b5050505050905090565b60166020528060005260406000206000915054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61207e6122b7565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036120ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e4906150a9565b60405180910390fd5b6120f681612b09565b50565b6121016122b7565b80601060016101000a81548160ff02191690831515021790555050565b601060009054906101000a900460ff1681565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806121a457506121a382612bcf565b5b9050919050565b6121b48161293d565b6121f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ea90614c9b565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661227183611670565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6122bf6121f6565b73ffffffffffffffffffffffffffffffffffffffff166122dd6119e0565b73ffffffffffffffffffffffffffffffffffffffff1614612333576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232a90615115565b60405180910390fd5b565b60008061234183611670565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061238357506123828185611fe2565b5b806123c157508373ffffffffffffffffffffffffffffffffffffffff166123a984610ca0565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166123ea82611670565b73ffffffffffffffffffffffffffffffffffffffff1614612440576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612437906151a7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036124af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a690615239565b60405180910390fd5b6124ba838383612cb1565b6124c56000826121fe565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125159190615259565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461256c919061528d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461262b838383612cc1565b505050565b612638611659565b15612678576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266f9061530d565b60405180910390fd5b565b6000826126878584612cc6565b1490509392505050565b6126ab828260405180602001604052806000815250612d1c565b5050565b6126b7612d77565b6000600a60146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6126fb6121f6565b60405161270891906138c5565b60405180910390a1565b61271a612630565b6001600a60146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861275e6121f6565b60405161276b91906138c5565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036127e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127da90615379565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516128d4919061375e565b60405180910390a3505050565b6128ec8484846123ca565b6128f884848484612dc0565b612937576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292e9061540b565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060600082036129f0576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612b04565b600082905060005b60008214612a22578080612a0b9061481f565b915050600a82612a1b919061545a565b91506129f8565b60008167ffffffffffffffff811115612a3e57612a3d613a70565b5b6040519080825280601f01601f191660200182016040528015612a705781602001600182028036833780820191505090505b5090505b60008514612afd57600182612a899190615259565b9150600a85612a98919061548b565b6030612aa4919061528d565b60f81b818381518110612aba57612ab96146e9565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612af6919061545a565b9450612a74565b8093505050505b919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612c9a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612caa5750612ca982612f47565b5b9050919050565b612cbc838383612fb1565b505050565b505050565b60008082905060005b8451811015612d1157612cfc82868381518110612cef57612cee6146e9565b5b60200260200101516130c3565b91508080612d099061481f565b915050612ccf565b508091505092915050565b612d2683836130ee565b612d336000848484612dc0565b612d72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d699061540b565b60405180910390fd5b505050565b612d7f611659565b612dbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db590615508565b60405180910390fd5b565b6000612de18473ffffffffffffffffffffffffffffffffffffffff166132c7565b15612f3a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e0a6121f6565b8786866040518563ffffffff1660e01b8152600401612e2c949392919061557d565b6020604051808303816000875af1925050508015612e6857506040513d601f19601f82011682018060405250810190612e6591906155de565b60015b612eea573d8060008114612e98576040519150601f19603f3d011682016040523d82523d6000602084013e612e9d565b606091505b506000815103612ee2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed99061540b565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612f3f565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612fbc8383836132ea565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612ffe57612ff9816132ef565b61303d565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461303c5761303b8382613338565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361307f5761307a816134a5565b6130be565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146130bd576130bc8282613576565b5b5b505050565b60008183106130db576130d682846135f5565b6130e6565b6130e583836135f5565b5b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361315d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161315490615657565b60405180910390fd5b6131668161293d565b156131a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161319d906156c3565b60405180910390fd5b6131b260008383612cb1565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613202919061528d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46132c360008383612cc1565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613345846117af565b61334f9190615259565b9050600060076000848152602001908152602001600020549050818114613434576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506134b99190615259565b90506000600960008481526020019081526020016000205490506000600883815481106134e9576134e86146e9565b5b90600052602060002001549050806008838154811061350b5761350a6146e9565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061355a576135596156e3565b5b6001900381819060005260206000200160009055905550505050565b6000613581836117af565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600082600052816020526040600020905092915050565b828054828255906000526020600020908101928215613648579160200282015b8281111561364757825182559160200191906001019061362c565b5b5090506136559190613659565b5090565b5b8082111561367257600081600090555060010161365a565b5090565b6000819050919050565b61368981613676565b82525050565b60006020820190506136a46000830184613680565b92915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6136f3816136be565b81146136fe57600080fd5b50565b600081359050613710816136ea565b92915050565b60006020828403121561372c5761372b6136b4565b5b600061373a84828501613701565b91505092915050565b60008115159050919050565b61375881613743565b82525050565b6000602082019050613773600083018461374f565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156137b3578082015181840152602081019050613798565b60008484015250505050565b6000601f19601f8301169050919050565b60006137db82613779565b6137e58185613784565b93506137f5818560208601613795565b6137fe816137bf565b840191505092915050565b6000602082019050818103600083015261382381846137d0565b905092915050565b61383481613676565b811461383f57600080fd5b50565b6000813590506138518161382b565b92915050565b60006020828403121561386d5761386c6136b4565b5b600061387b84828501613842565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006138af82613884565b9050919050565b6138bf816138a4565b82525050565b60006020820190506138da60008301846138b6565b92915050565b6138e9816138a4565b81146138f457600080fd5b50565b600081359050613906816138e0565b92915050565b60008060408385031215613923576139226136b4565b5b6000613931858286016138f7565b925050602061394285828601613842565b9150509250929050565b61395581613743565b811461396057600080fd5b50565b6000813590506139728161394c565b92915050565b6000806040838503121561398f5761398e6136b4565b5b600061399d858286016138f7565b92505060206139ae85828601613963565b9150509250929050565b6000806000606084860312156139d1576139d06136b4565b5b60006139df868287016138f7565b93505060206139f0868287016138f7565b9250506040613a0186828701613842565b9150509250925092565b6000819050919050565b613a1e81613a0b565b82525050565b6000602082019050613a396000830184613a15565b92915050565b613a4881613a0b565b8114613a5357600080fd5b50565b600081359050613a6581613a3f565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613aa8826137bf565b810181811067ffffffffffffffff82111715613ac757613ac6613a70565b5b80604052505050565b6000613ada6136aa565b9050613ae68282613a9f565b919050565b600067ffffffffffffffff821115613b0657613b05613a70565b5b602082029050602081019050919050565b600080fd5b6000613b2f613b2a84613aeb565b613ad0565b90508083825260208201905060208402830185811115613b5257613b51613b17565b5b835b81811015613b7b5780613b678882613a56565b845260208401935050602081019050613b54565b5050509392505050565b600082601f830112613b9a57613b99613a6b565b5b8135613baa848260208601613b1c565b91505092915050565b60008060408385031215613bca57613bc96136b4565b5b6000613bd885828601613a56565b925050602083013567ffffffffffffffff811115613bf957613bf86136b9565b5b613c0585828601613b85565b9150509250929050565b600067ffffffffffffffff821115613c2a57613c29613a70565b5b602082029050602081019050919050565b6000613c4e613c4984613c0f565b613ad0565b90508083825260208201905060208402830185811115613c7157613c70613b17565b5b835b81811015613c9a5780613c868882613842565b845260208401935050602081019050613c73565b5050509392505050565b600082601f830112613cb957613cb8613a6b565b5b8135613cc9848260208601613c3b565b91505092915050565b600060208284031215613ce857613ce76136b4565b5b600082013567ffffffffffffffff811115613d0657613d056136b9565b5b613d1284828501613ca4565b91505092915050565b600080fd5b600067ffffffffffffffff821115613d3b57613d3a613a70565b5b613d44826137bf565b9050602081019050919050565b82818337600083830152505050565b6000613d73613d6e84613d20565b613ad0565b905082815260208101848484011115613d8f57613d8e613d1b565b5b613d9a848285613d51565b509392505050565b600082601f830112613db757613db6613a6b565b5b8135613dc7848260208601613d60565b91505092915050565b600060208284031215613de657613de56136b4565b5b600082013567ffffffffffffffff811115613e0457613e036136b9565b5b613e1084828501613da2565b91505092915050565b600060208284031215613e2f57613e2e6136b4565b5b6000613e3d848285016138f7565b91505092915050565b600080600060608486031215613e5f57613e5e6136b4565b5b6000613e6d86828701613842565b935050602084013567ffffffffffffffff811115613e8e57613e8d6136b9565b5b613e9a86828701613ca4565b9250506040613eab86828701613963565b9150509250925092565b600060208284031215613ecb57613eca6136b4565b5b6000613ed984828501613a56565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613f1781613676565b82525050565b6000613f298383613f0e565b60208301905092915050565b6000602082019050919050565b6000613f4d82613ee2565b613f578185613eed565b9350613f6283613efe565b8060005b83811015613f93578151613f7a8882613f1d565b9750613f8583613f35565b925050600181019050613f66565b5085935050505092915050565b60006020820190508181036000830152613fba8184613f42565b905092915050565b600060208284031215613fd857613fd76136b4565b5b6000613fe684828501613963565b91505092915050565b600067ffffffffffffffff82111561400a57614009613a70565b5b614013826137bf565b9050602081019050919050565b600061403361402e84613fef565b613ad0565b90508281526020810184848401111561404f5761404e613d1b565b5b61405a848285613d51565b509392505050565b600082601f83011261407757614076613a6b565b5b8135614087848260208601614020565b91505092915050565b600080600080608085870312156140aa576140a96136b4565b5b60006140b8878288016138f7565b94505060206140c9878288016138f7565b93505060406140da87828801613842565b925050606085013567ffffffffffffffff8111156140fb576140fa6136b9565b5b61410787828801614062565b91505092959194509250565b60008060006060848603121561412c5761412b6136b4565b5b600061413a868287016138f7565b935050602061414b86828701613842565b925050604084013567ffffffffffffffff81111561416c5761416b6136b9565b5b61417886828701613ca4565b9150509250925092565b60008060408385031215614199576141986136b4565b5b60006141a7858286016138f7565b92505060206141b8858286016138f7565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061420957607f821691505b60208210810361421c5761421b6141c2565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061427e602183613784565b915061428982614222565b604082019050919050565b600060208201905081810360008301526142ad81614271565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000614310603e83613784565b915061431b826142b4565b604082019050919050565b6000602082019050818103600083015261433f81614303565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b60006143a2602e83613784565b91506143ad82614346565b604082019050919050565b600060208201905081810360008301526143d181614395565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614434602b83613784565b915061443f826143d8565b604082019050919050565b6000602082019050818103600083015261446381614427565b9050919050565b7f4d6178206d696e74206d6178696d756d20657863656564656400000000000000600082015250565b60006144a0601983613784565b91506144ab8261446a565b602082019050919050565b600060208201905081810360008301526144cf81614493565b9050919050565b7f546865206164647265737320616c7265616479206d696e746564000000000000600082015250565b600061450c601a83613784565b9150614517826144d6565b602082019050919050565b6000602082019050818103600083015261453b816144ff565b9050919050565b60008160601b9050919050565b600061455a82614542565b9050919050565b600061456c8261454f565b9050919050565b61458461457f826138a4565b614561565b82525050565b60006145968284614573565b60148201915081905092915050565b7f6e6f20657175616c000000000000000000000000000000000000000000000000600082015250565b60006145db600883613784565b91506145e6826145a5565b602082019050919050565b6000602082019050818103600083015261460a816145ce565b9050919050565b7f596f7520617265206e6f7420696e20746865206c697374000000000000000000600082015250565b6000614647601783613784565b915061465282614611565b602082019050919050565b600060208201905081810360008301526146768161463a565b9050919050565b7f696e76616c696420746f6b656e00000000000000000000000000000000000000600082015250565b60006146b3600d83613784565b91506146be8261467d565b602082019050919050565b600060208201905081810360008301526146e2816146a6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f726573657276656420746f6b656e000000000000000000000000000000000000600082015250565b600061474e600e83613784565b915061475982614718565b602082019050919050565b6000602082019050818103600083015261477d81614741565b9050919050565b7f72657365727665642061756374696f6e20746f6b656e00000000000000000000600082015250565b60006147ba601683613784565b91506147c582614784565b602082019050919050565b600060208201905081810360008301526147e9816147ad565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061482a82613676565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361485c5761485b6147f0565b5b600182019050919050565b7f696e76616c69642076616c756500000000000000000000000000000000000000600082015250565b600061489d600d83613784565b91506148a882614867565b602082019050919050565b600060208201905081810360008301526148cc81614890565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b600061492f602c83613784565b915061493a826148d3565b604082019050919050565b6000602082019050818103600083015261495e81614922565b9050919050565b7f656d707479000000000000000000000000000000000000000000000000000000600082015250565b600061499b600583613784565b91506149a682614965565b602082019050919050565b600060208201905081810360008301526149ca8161498e565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302614a337fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826149f6565b614a3d86836149f6565b95508019841693508086168417925050509392505050565b6000819050919050565b6000614a7a614a75614a7084613676565b614a55565b613676565b9050919050565b6000819050919050565b614a9483614a5f565b614aa8614aa082614a81565b848454614a03565b825550505050565b600090565b614abd614ab0565b614ac8818484614a8b565b505050565b5b81811015614aec57614ae1600082614ab5565b600181019050614ace565b5050565b601f821115614b3157614b02816149d1565b614b0b846149e6565b81016020851015614b1a578190505b614b2e614b26856149e6565b830182614acd565b50505b505050565b600082821c905092915050565b6000614b5460001984600802614b36565b1980831691505092915050565b6000614b6d8383614b43565b9150826002028217905092915050565b614b8682613779565b67ffffffffffffffff811115614b9f57614b9e613a70565b5b614ba982546141f1565b614bb4828285614af0565b600060209050601f831160018114614be75760008415614bd5578287015190505b614bdf8582614b61565b865550614c47565b601f198416614bf5866149d1565b60005b82811015614c1d57848901518255600182019150602085019450602081019050614bf8565b86831015614c3a5784890151614c36601f891682614b43565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000614c85601883613784565b9150614c9082614c4f565b602082019050919050565b60006020820190508181036000830152614cb481614c78565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000614d17602983613784565b9150614d2282614cbb565b604082019050919050565b60006020820190508181036000830152614d4681614d0a565b9050919050565b7f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00600082015250565b6000614d83601f83613784565b9150614d8e82614d4d565b602082019050919050565b60006020820190508181036000830152614db281614d76565b9050919050565b600081905092915050565b60008154614dd1816141f1565b614ddb8186614db9565b94506001821660008114614df65760018114614e0b57614e3e565b60ff1983168652811515820286019350614e3e565b614e14856149d1565b60005b83811015614e3657815481890152600182019150602081019050614e17565b838801955050505b50505092915050565b6000614e5282613779565b614e5c8185614db9565b9350614e6c818560208601613795565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000614eae600583614db9565b9150614eb982614e78565b600582019050919050565b6000614ed08285614dc4565b9150614edc8284614e47565b9150614ee782614ea1565b91508190509392505050565b7f696e76616c696420616464726573730000000000000000000000000000000000600082015250565b6000614f29600f83613784565b9150614f3482614ef3565b602082019050919050565b60006020820190508181036000830152614f5881614f1c565b9050919050565b7f696e76616c696420746f6b656e49640000000000000000000000000000000000600082015250565b6000614f95600f83613784565b9150614fa082614f5f565b602082019050919050565b60006020820190508181036000830152614fc481614f88565b9050919050565b7f696e76616c696420617661696c61626c6520746f6b656e730000000000000000600082015250565b6000615001601883613784565b915061500c82614fcb565b602082019050919050565b6000602082019050818103600083015261503081614ff4565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615093602683613784565b915061509e82615037565b604082019050919050565b600060208201905081810360008301526150c281615086565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006150ff602083613784565b915061510a826150c9565b602082019050919050565b6000602082019050818103600083015261512e816150f2565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000615191602583613784565b915061519c82615135565b604082019050919050565b600060208201905081810360008301526151c081615184565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615223602483613784565b915061522e826151c7565b604082019050919050565b6000602082019050818103600083015261525281615216565b9050919050565b600061526482613676565b915061526f83613676565b9250828203905081811115615287576152866147f0565b5b92915050565b600061529882613676565b91506152a383613676565b92508282019050808211156152bb576152ba6147f0565b5b92915050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006152f7601083613784565b9150615302826152c1565b602082019050919050565b60006020820190508181036000830152615326816152ea565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615363601983613784565b915061536e8261532d565b602082019050919050565b6000602082019050818103600083015261539281615356565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006153f5603283613784565b915061540082615399565b604082019050919050565b60006020820190508181036000830152615424816153e8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061546582613676565b915061547083613676565b9250826154805761547f61542b565b5b828204905092915050565b600061549682613676565b91506154a183613676565b9250826154b1576154b061542b565b5b828206905092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006154f2601483613784565b91506154fd826154bc565b602082019050919050565b60006020820190508181036000830152615521816154e5565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061554f82615528565b6155598185615533565b9350615569818560208601613795565b615572816137bf565b840191505092915050565b600060808201905061559260008301876138b6565b61559f60208301866138b6565b6155ac6040830185613680565b81810360608301526155be8184615544565b905095945050505050565b6000815190506155d8816136ea565b92915050565b6000602082840312156155f4576155f36136b4565b5b6000615602848285016155c9565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615641602083613784565b915061564c8261560b565b602082019050919050565b6000602082019050818103600083015261567081615634565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006156ad601c83613784565b91506156b882615677565b602082019050919050565b600060208201905081810360008301526156dc816156a0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220f9abdec1259441a9ed3af9843f2174b67f6433bd3f7bb3642f4c1312a6cf57a264736f6c63430008100033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.