Overview
TokenID
172
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MonkeyNFTV1
Compiler Version
v0.8.1+commit.df193b15
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; // THIS IS THE ONE WE NEED: https://forum.openzeppelin.com/t/sign-it-like-you-mean-it-creating-and-verifying-ethereum-signatures/697 contract MonkeyNFTV1 is ERC721, Ownable { using Counters for Counters.Counter; Counters.Counter private _tokenIds; // Optional mapping for token URIs // Elements x <= 100 are element 1. // Elements 100 < x <= 200 are 2. // Elements 200 < x <= 300 are 3. // Elements 900 < x <= 1000 are 10. mapping(uint256 => string) private _baseURIForTokenRange; // The current number of tokens already minted. uint public numberOfTotalMints; // How many tokens do we allow in total? uint public maxNumberOfTotalMints; // We release tokens in batches. What is the current max number of tokens allowed for minting? This will be updated over time. uint public currentTokenNumberLimit; constructor() ERC721("NFTJungleApes S1", "NJAS1") { numberOfTotalMints = 0; maxNumberOfTotalMints = 1000; currentTokenNumberLimit = 1000; // We will append "https://" to the front and "/apes/metadata" to the end. _setBaseURIForTokenRange(1, "nft-lion-cubs-images.s3.eu-west-2.amazonaws.com"); _setBaseURIForTokenRange(2, "nft-lion-cubs-images.s3.eu-west-2.amazonaws.com"); _setBaseURIForTokenRange(3, "nft-lion-cubs-images.s3.eu-west-2.amazonaws.com"); _setBaseURIForTokenRange(4, "nft-lion-cubs-images.s3.eu-west-2.amazonaws.com"); _setBaseURIForTokenRange(5, "nft-lion-cubs-images.s3.eu-west-2.amazonaws.com"); _setBaseURIForTokenRange(6, "nft-lion-cubs-images.s3.eu-west-2.amazonaws.com"); _setBaseURIForTokenRange(7, "nft-lion-cubs-images.s3.eu-west-2.amazonaws.com"); _setBaseURIForTokenRange(8, "nft-lion-cubs-images.s3.eu-west-2.amazonaws.com"); _setBaseURIForTokenRange(9, "nft-lion-cubs-images.s3.eu-west-2.amazonaws.com"); _setBaseURIForTokenRange(10, "nft-lion-cubs-images.s3.eu-west-2.amazonaws.com"); } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = getBaseURIForTokenId(tokenId); return bytes(baseURI).length > 0 ? string(abi.encodePacked("https://", baseURI, "/apes/metadata/", Strings.toString(tokenId), ".json")) : ""; } // Elements x <= 100 are element 1. // Elements 100 < x <= 200 are 2. // Elements 200 < x <= 300 are 3. // Elements 900 < x <= 1000 are 10. function getBaseURIForTokenId(uint256 tokenId) public view virtual returns (string memory) { require(tokenId > 0, "Token Id must be > 0."); uint256 localToken = tokenId - 1; uint256 rangeIndex = localToken / 100; rangeIndex = rangeIndex + 1; return getBaseURIForTokenRange(rangeIndex); } function updateBaseURIForTokenRange(uint256 rangeIndex, string memory baseURI) public onlyOwner { _setBaseURIForTokenRange(rangeIndex, baseURI); } function getBaseURIForTokenRange(uint256 rangeIndex) public view returns (string memory) { uint256 localIndex = rangeIndex; if (localIndex < 1) { localIndex = 1; } if (localIndex > 10) { localIndex = 10; } return _baseURIForTokenRange[localIndex]; } function _setBaseURIForTokenRange(uint256 rangeIndex, string memory baseURI) internal virtual { _baseURIForTokenRange[rangeIndex] = baseURI; } function stringToUint(string memory numString) public pure returns(uint) { uint val=0; bytes memory stringBytes = bytes(numString); for (uint i = 0; i<stringBytes.length; i++) { uint exp = stringBytes.length - i; bytes1 ival = stringBytes[i]; uint8 uval = uint8(ival); uint jval = uval - uint(0x30); val += (uint(jval) * (10**(exp-1))); } return val; } /* 0.07 Eth = 70000000000000000 WEI */ function mintNFT(address recipient, uint256 weiPriceFromServerInt, uint256 numberOfMintsInt, bytes memory sig) public payable returns (uint256) { // uint256 numberOfMintsInt = stringToUint(numberOfMints); uint localNumberOfTotalMints = numberOfTotalMints; uint localMaxNumberOfTotalMints = maxNumberOfTotalMints; uint localCurrentTokenNumberLimit = currentTokenNumberLimit; require((localNumberOfTotalMints + numberOfMintsInt) <= localMaxNumberOfTotalMints, "Not enough tokens left."); require((localNumberOfTotalMints + numberOfMintsInt) <= localCurrentTokenNumberLimit, "Not enough tokens left in batch."); // uint256 expectedMintPriceInt = stringToUint(weiPriceFromServer); require(msg.value >= weiPriceFromServerInt, "Provide enough ETH."); bool isValid = isValidData(recipient, weiPriceFromServerInt, numberOfMintsInt, sig); require(isValid, "The minting data was invalid."); return mintInternal(recipient, numberOfMintsInt); } function mintInternal(address recipient, uint256 numberOfMints) internal returns (uint256) { for (uint counter = 0; counter < numberOfMints; counter++) { numberOfTotalMints = numberOfTotalMints + 1; _tokenIds.increment(); uint256 newItemId = _tokenIds.current(); _mint(recipient, newItemId); } uint256 tokensOwned = balanceOf(recipient); return tokensOwned; } function mintOwnerOnly(address recipient, uint256 numberOfMints) public onlyOwner returns (uint256) { return mintInternal(recipient, numberOfMints); } function ownerTransfer(address payable to, uint256 amount) public onlyOwner { to.transfer(amount); } function getCurrentTokenNumberLimit() public view returns(uint) { return currentTokenNumberLimit; } function setCurrentTokenNumberLimit(uint newValue) public onlyOwner { currentTokenNumberLimit = newValue; } function getNumberOfTotalMints() public view returns(uint) { return numberOfTotalMints; } function setNumberOfTotalMints(uint newValue) public onlyOwner { numberOfTotalMints = newValue; } function getMaxNumberOfTotalMints() public view returns(uint) { return maxNumberOfTotalMints; } function setMaxNumberOfTotalMints(uint newValue) public onlyOwner { maxNumberOfTotalMints = newValue; } function isValidData(address recipientAddress, uint256 weiPriceFromServer, uint256 numberOfMints, bytes memory sig) internal view returns(bool) { string memory addressOfBuyer = toAsciiString(recipientAddress); string memory numberOfMintsString = Strings.toString(numberOfMints); string memory weiPriceFromServerString = Strings.toString(weiPriceFromServer); // When the js script created the original message, it should have converted to lower case and removed the leading "0x" from the addressOfBuyer. bytes32 message = keccak256(abi.encodePacked(addressOfBuyer, weiPriceFromServerString, numberOfMintsString)); return (recoverSigner(message, sig) == owner()); } function toAsciiString(address x) internal pure returns (string memory) { bytes memory s = new bytes(40); for (uint i = 0; i < 20; i++) { bytes1 b = bytes1(uint8(uint(uint160(x)) / (2**(8*(19 - i))))); bytes1 hi = bytes1(uint8(b) / 16); bytes1 lo = bytes1(uint8(b) - 16 * uint8(hi)); s[2*i] = char(hi); s[2*i+1] = char(lo); } return string(s); } function char(bytes1 b) internal pure returns (bytes1 c) { if (uint8(b) < 10) return bytes1(uint8(b) + 0x30); else return bytes1(uint8(b) + 0x57); } function recoverSigner(bytes32 message, bytes memory sig) internal pure returns (address) { uint8 v; bytes32 r; bytes32 s; (v, r, s) = splitSignature(sig); return ecrecover(message, v, r, s); } function splitSignature(bytes memory sig) internal pure returns (uint8, bytes32, bytes32) { require(sig.length == 65); bytes32 r; bytes32 s; uint8 v; assembly { // first 32 bytes, after the length prefix r := mload(add(sig, 32)) // second 32 bytes s := mload(add(sig, 64)) // final byte (first byte of the next 32 bytes) v := byte(0, mload(add(sig, 96))) } return (v, r, s); } }
// 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 v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.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) (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) (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 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.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 v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentTokenNumberLimit","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getBaseURIForTokenId","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"rangeIndex","type":"uint256"}],"name":"getBaseURIForTokenRange","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentTokenNumberLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxNumberOfTotalMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfTotalMints","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":"maxNumberOfTotalMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"weiPriceFromServerInt","type":"uint256"},{"internalType":"uint256","name":"numberOfMintsInt","type":"uint256"},{"internalType":"bytes","name":"sig","type":"bytes"}],"name":"mintNFT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"numberOfMints","type":"uint256"}],"name":"mintOwnerOnly","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numberOfTotalMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ownerTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"setCurrentTokenNumberLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"setMaxNumberOfTotalMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"setNumberOfTotalMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"numString","type":"string"}],"name":"stringToUint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"rangeIndex","type":"uint256"},{"internalType":"string","name":"baseURI","type":"string"}],"name":"updateBaseURIForTokenRange","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040518060400160405280601081526020017f4e46544a756e676c6541706573205331000000000000000000000000000000008152506040518060400160405280600581526020017f4e4a415331000000000000000000000000000000000000000000000000000000815250816000908051906020019062000096929190620003a6565b508060019080519060200190620000af929190620003a6565b505050620000d2620000c6620002aa60201b60201c565b620002b260201b60201c565b60006009819055506103e8600a819055506103e8600b819055506200011860016040518060600160405280602f815260200162004347602f91396200037860201b60201c565b6200014460026040518060600160405280602f815260200162004347602f91396200037860201b60201c565b6200017060036040518060600160405280602f815260200162004347602f91396200037860201b60201c565b6200019c60046040518060600160405280602f815260200162004347602f91396200037860201b60201c565b620001c860056040518060600160405280602f815260200162004347602f91396200037860201b60201c565b620001f460066040518060600160405280602f815260200162004347602f91396200037860201b60201c565b6200022060076040518060600160405280602f815260200162004347602f91396200037860201b60201c565b6200024c60086040518060600160405280602f815260200162004347602f91396200037860201b60201c565b6200027860096040518060600160405280602f815260200162004347602f91396200037860201b60201c565b620002a4600a6040518060600160405280602f815260200162004347602f91396200037860201b60201c565b620004bb565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80600860008481526020019081526020016000209080519060200190620003a1929190620003a6565b505050565b828054620003b49062000456565b90600052602060002090601f016020900481019282620003d8576000855562000424565b82601f10620003f357805160ff191683800117855562000424565b8280016001018555821562000424579182015b828111156200042357825182559160200191906001019062000406565b5b50905062000433919062000437565b5090565b5b808211156200045257600081600090555060010162000438565b5090565b600060028204905060018216806200046f57607f821691505b602082108114156200048657620004856200048c565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b613e7c80620004cb6000396000f3fe6080604052600436106101e35760003560e01c80636352211e11610102578063b88d4fde11610095578063d85c896611610064578063d85c89661461071d578063e985e9c514610746578063f27e1c4014610783578063f2fde38b146107ae576101e3565b8063b88d4fde1461064f578063c87b56dd14610678578063ca745f6b146106b5578063d42b7c09146106e0576101e3565b80638da5cb5b116100d15780638da5cb5b146105a557806395d89b41146105d0578063a22cb465146105fb578063b01491ec14610624576101e3565b80636352211e146104d757806370a0823114610514578063715018a6146105515780638d7037e314610568576101e3565b8063340d005f1161017a5780634b641181116101495780634b641181146104145780634e9d7f64146104445780635de0e280146104815780635e682240146104ac576101e3565b8063340d005f1461037057806337f7e086146103995780633d2662c8146103c257806342842e0e146103eb576101e3565b80630d66d644116101b65780630d66d644146102b65780631bd95155146102e157806323b872dd1461031e5780632d61337d14610347576101e3565b806301ffc9a7146101e857806306fdde0314610225578063081812fc14610250578063095ea7b31461028d575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a91906129f2565b6107d7565b60405161021c9190612fac565b60405180910390f35b34801561023157600080fd5b5061023a6108b9565b604051610247919061300c565b60405180910390f35b34801561025c57600080fd5b5061027760048036038101906102729190612a85565b61094b565b6040516102849190612f45565b60405180910390f35b34801561029957600080fd5b506102b460048036038101906102af919061293b565b610991565b005b3480156102c257600080fd5b506102cb610aa9565b6040516102d8919061326e565b60405180910390f35b3480156102ed57600080fd5b5061030860048036038101906103039190612a44565b610aaf565b604051610315919061326e565b60405180910390f35b34801561032a57600080fd5b5061034560048036038101906103409190612835565b610b8f565b005b34801561035357600080fd5b5061036e60048036038101906103699190612aae565b610bef565b005b34801561037c57600080fd5b5061039760048036038101906103929190612a85565b610c05565b005b3480156103a557600080fd5b506103c060048036038101906103bb9190612a85565b610c17565b005b3480156103ce57600080fd5b506103e960048036038101906103e49190612a85565b610c29565b005b3480156103f757600080fd5b50610412600480360381019061040d9190612835565b610c3b565b005b61042e60048036038101906104299190612977565b610c5b565b60405161043b919061326e565b60405180910390f35b34801561045057600080fd5b5061046b60048036038101906104669190612a85565b610db8565b604051610478919061300c565b60405180910390f35b34801561048d57600080fd5b50610496610e7f565b6040516104a3919061326e565b60405180910390f35b3480156104b857600080fd5b506104c1610e85565b6040516104ce919061326e565b60405180910390f35b3480156104e357600080fd5b506104fe60048036038101906104f99190612a85565b610e8b565b60405161050b9190612f45565b60405180910390f35b34801561052057600080fd5b5061053b60048036038101906105369190612794565b610f3d565b604051610548919061326e565b60405180910390f35b34801561055d57600080fd5b50610566610ff5565b005b34801561057457600080fd5b5061058f600480360381019061058a919061293b565b611009565b60405161059c919061326e565b60405180910390f35b3480156105b157600080fd5b506105ba611025565b6040516105c79190612f45565b60405180910390f35b3480156105dc57600080fd5b506105e561104f565b6040516105f2919061300c565b60405180910390f35b34801561060757600080fd5b50610622600480360381019061061d91906128ff565b6110e1565b005b34801561063057600080fd5b506106396110f7565b604051610646919061326e565b60405180910390f35b34801561065b57600080fd5b5061067660048036038101906106719190612884565b611101565b005b34801561068457600080fd5b5061069f600480360381019061069a9190612a85565b611163565b6040516106ac919061300c565b60405180910390f35b3480156106c157600080fd5b506106ca6111cc565b6040516106d7919061326e565b60405180910390f35b3480156106ec57600080fd5b5061070760048036038101906107029190612a85565b6111d6565b604051610714919061300c565b60405180910390f35b34801561072957600080fd5b50610744600480360381019061073f91906127bd565b61125e565b005b34801561075257600080fd5b5061076d600480360381019061076891906127f9565b6112b1565b60405161077a9190612fac565b60405180910390f35b34801561078f57600080fd5b50610798611345565b6040516107a5919061326e565b60405180910390f35b3480156107ba57600080fd5b506107d560048036038101906107d09190612794565b61134f565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108a257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108b257506108b1826113d3565b5b9050919050565b6060600080546108c89061378f565b80601f01602080910402602001604051908101604052809291908181526020018280546108f49061378f565b80156109415780601f1061091657610100808354040283529160200191610941565b820191906000526020600020905b81548152906001019060200180831161092457829003601f168201915b5050505050905090565b60006109568261143d565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061099c82610e8b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a04906131ce565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a2c611488565b73ffffffffffffffffffffffffffffffffffffffff161480610a5b5750610a5a81610a55611488565b6112b1565b5b610a9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a919061314e565b60405180910390fd5b610aa48383611490565b505050565b600a5481565b60008060009050600083905060005b8151811015610b84576000818351610ad69190613648565b90506000838381518110610b13577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b905060008160f81c9050600060308260ff16610b3a9190613648565b9050600184610b499190613648565b600a610b559190613495565b81610b6091906135b3565b87610b6b9190613353565b9650505050508080610b7c906137f2565b915050610abe565b508192505050919050565b610ba0610b9a611488565b82611549565b610bdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd69061320e565b60405180910390fd5b610bea8383836115de565b505050565b610bf7611845565b610c0182826118c3565b5050565b610c0d611845565b8060098190555050565b610c1f611845565b80600b8190555050565b610c31611845565b80600a8190555050565b610c5683838360405180602001604052806000815250611101565b505050565b60008060095490506000600a5490506000600b549050818684610c7e9190613353565b1115610cbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb6906130ce565b60405180910390fd5b808684610ccc9190613353565b1115610d0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d04906130ae565b60405180910390fd5b86341015610d50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d47906131ee565b60405180910390fd5b6000610d5e898989896118ef565b905080610da0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d979061324e565b60405180910390fd5b610daa8988611993565b945050505050949350505050565b606060008290506001811015610dcd57600190505b600a811115610ddb57600a90505b600860008281526020019081526020016000208054610df99061378f565b80601f0160208091040260200160405190810160405280929190818152602001828054610e259061378f565b8015610e725780601f10610e4757610100808354040283529160200191610e72565b820191906000526020600020905b815481529060010190602001808311610e5557829003601f168201915b5050505050915050919050565b600b5481565b60095481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2b906131ae565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610fae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa59061312e565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610ffd611845565b6110076000611a06565b565b6000611013611845565b61101d8383611993565b905092915050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461105e9061378f565b80601f016020809104026020016040519081016040528092919081815260200182805461108a9061378f565b80156110d75780601f106110ac576101008083540402835291602001916110d7565b820191906000526020600020905b8154815290600101906020018083116110ba57829003601f168201915b5050505050905090565b6110f36110ec611488565b8383611acc565b5050565b6000600b54905090565b61111261110c611488565b83611549565b611151576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111489061320e565b60405180910390fd5b61115d84848484611c39565b50505050565b606061116e8261143d565b6000611179836111d6565b9050600081511161119957604051806020016040528060008152506111c4565b806111a384611c95565b6040516020016111b4929190612f00565b6040516020818303038152906040525b915050919050565b6000600954905090565b60606000821161121b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112129061322e565b60405180910390fd5b600060018361122a9190613648565b9050600060648261123b91906133e0565b905060018161124a9190613353565b905061125581610db8565b92505050919050565b611266611845565b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156112ac573d6000803e3d6000fd5b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000600a54905090565b611357611845565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156113c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113be9061304e565b60405180910390fd5b6113d081611a06565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61144681611e42565b611485576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147c906131ae565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661150383610e8b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061155583610e8b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611597575061159681856112b1565b5b806115d557508373ffffffffffffffffffffffffffffffffffffffff166115bd8461094b565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166115fe82610e8b565b73ffffffffffffffffffffffffffffffffffffffff1614611654576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164b9061306e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116bb906130ee565b60405180910390fd5b6116cf838383611eae565b6116da600082611490565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461172a9190613648565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117819190613353565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611840838383611eb3565b505050565b61184d611488565b73ffffffffffffffffffffffffffffffffffffffff1661186b611025565b73ffffffffffffffffffffffffffffffffffffffff16146118c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b89061318e565b60405180910390fd5b565b806008600084815260200190815260200160002090805190602001906118ea9291906125a3565b505050565b6000806118fb86611eb8565b9050600061190885611c95565b9050600061191587611c95565b9050600083828460405160200161192e93929190612ecf565b60405160208183030381529060405280519060200120905061194e611025565b73ffffffffffffffffffffffffffffffffffffffff1661196e82886120ed565b73ffffffffffffffffffffffffffffffffffffffff1614945050505050949350505050565b600080600090505b828110156119ee5760016009546119b29190613353565b6009819055506119c26007612162565b60006119ce6007612178565b90506119da8582612186565b5080806119e6906137f2565b91505061199b565b5060006119fa84610f3d565b90508091505092915050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611b3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b329061310e565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c2c9190612fac565b60405180910390a3505050565b611c448484846115de565b611c5084848484612360565b611c8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c869061302e565b60405180910390fd5b50505050565b60606000821415611cdd576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611e3d565b600082905060005b60008214611d0f578080611cf8906137f2565b915050600a82611d0891906133e0565b9150611ce5565b60008167ffffffffffffffff811115611d51577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611d835781602001600182028036833780820191505090505b5090505b60008514611e3657600182611d9c9190613648565b9150600a85611dab919061383b565b6030611db79190613353565b60f81b818381518110611df3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611e2f91906133e0565b9450611d87565b8093505050505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b505050565b60606000602867ffffffffffffffff811115611efd577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611f2f5781602001600182028036833780820191505090505b50905060005b60148110156120e3576000816013611f4d9190613648565b6008611f5991906135b3565b6002611f659190613495565b8573ffffffffffffffffffffffffffffffffffffffff16611f8691906133e0565b60f81b9050600060108260f81c611f9d9190613411565b60f81b905060008160f81c6010611fb4919061360d565b8360f81c611fc2919061367c565b60f81b9050611fd0826124f7565b85856002611fde91906135b3565b81518110612015577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061204d816124f7565b85600186600261205d91906135b3565b6120679190613353565b8151811061209e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535050505080806120db906137f2565b915050611f35565b5080915050919050565b6000806000806120fc8561253d565b8093508194508295505050506001868484846040516000815260200160405260405161212b9493929190612fc7565b6020604051602081039080840390855afa15801561214d573d6000803e3d6000fd5b50505060206040510351935050505092915050565b6001816000016000828254019250508190555050565b600081600001549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ed9061316e565b60405180910390fd5b6121ff81611e42565b1561223f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122369061308e565b60405180910390fd5b61224b60008383611eae565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461229b9190613353565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461235c60008383611eb3565b5050565b60006123818473ffffffffffffffffffffffffffffffffffffffff16612580565b156124ea578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026123aa611488565b8786866040518563ffffffff1660e01b81526004016123cc9493929190612f60565b602060405180830381600087803b1580156123e657600080fd5b505af192505050801561241757506040513d601f19601f820116820180604052508101906124149190612a1b565b60015b61249a573d8060008114612447576040519150601f19603f3d011682016040523d82523d6000602084013e61244c565b606091505b50600081511415612492576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124899061302e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506124ef565b600190505b949350505050565b6000600a8260f81c60ff1610156125225760308260f81c61251891906133a9565b60f81b9050612538565b60578260f81c61253291906133a9565b60f81b90505b919050565b6000806000604184511461255057600080fd5b60008060006020870151925060408701519150606087015160001a90508083839550955095505050509193909250565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8280546125af9061378f565b90600052602060002090601f0160209004810192826125d15760008555612618565b82601f106125ea57805160ff1916838001178555612618565b82800160010185558215612618579182015b828111156126175782518255916020019190600101906125fc565b5b5090506126259190612629565b5090565b5b8082111561264257600081600090555060010161262a565b5090565b6000612659612654846132ae565b613289565b90508281526020810184848401111561267157600080fd5b61267c84828561374d565b509392505050565b6000612697612692846132df565b613289565b9050828152602081018484840111156126af57600080fd5b6126ba84828561374d565b509392505050565b6000813590506126d181613dd3565b92915050565b6000813590506126e681613dea565b92915050565b6000813590506126fb81613e01565b92915050565b60008135905061271081613e18565b92915050565b60008151905061272581613e18565b92915050565b600082601f83011261273c57600080fd5b813561274c848260208601612646565b91505092915050565b600082601f83011261276657600080fd5b8135612776848260208601612684565b91505092915050565b60008135905061278e81613e2f565b92915050565b6000602082840312156127a657600080fd5b60006127b4848285016126c2565b91505092915050565b600080604083850312156127d057600080fd5b60006127de858286016126d7565b92505060206127ef8582860161277f565b9150509250929050565b6000806040838503121561280c57600080fd5b600061281a858286016126c2565b925050602061282b858286016126c2565b9150509250929050565b60008060006060848603121561284a57600080fd5b6000612858868287016126c2565b9350506020612869868287016126c2565b925050604061287a8682870161277f565b9150509250925092565b6000806000806080858703121561289a57600080fd5b60006128a8878288016126c2565b94505060206128b9878288016126c2565b93505060406128ca8782880161277f565b925050606085013567ffffffffffffffff8111156128e757600080fd5b6128f38782880161272b565b91505092959194509250565b6000806040838503121561291257600080fd5b6000612920858286016126c2565b9250506020612931858286016126ec565b9150509250929050565b6000806040838503121561294e57600080fd5b600061295c858286016126c2565b925050602061296d8582860161277f565b9150509250929050565b6000806000806080858703121561298d57600080fd5b600061299b878288016126c2565b94505060206129ac8782880161277f565b93505060406129bd8782880161277f565b925050606085013567ffffffffffffffff8111156129da57600080fd5b6129e68782880161272b565b91505092959194509250565b600060208284031215612a0457600080fd5b6000612a1284828501612701565b91505092915050565b600060208284031215612a2d57600080fd5b6000612a3b84828501612716565b91505092915050565b600060208284031215612a5657600080fd5b600082013567ffffffffffffffff811115612a7057600080fd5b612a7c84828501612755565b91505092915050565b600060208284031215612a9757600080fd5b6000612aa58482850161277f565b91505092915050565b60008060408385031215612ac157600080fd5b6000612acf8582860161277f565b925050602083013567ffffffffffffffff811115612aec57600080fd5b612af885828601612755565b9150509250929050565b612b0b816136b0565b82525050565b612b1a816136d4565b82525050565b612b29816136e0565b82525050565b6000612b3a82613310565b612b448185613326565b9350612b5481856020860161375c565b612b5d81613928565b840191505092915050565b6000612b738261331b565b612b7d8185613337565b9350612b8d81856020860161375c565b612b9681613928565b840191505092915050565b6000612bac8261331b565b612bb68185613348565b9350612bc681856020860161375c565b80840191505092915050565b6000612bdf603283613337565b9150612bea82613946565b604082019050919050565b6000612c02600883613348565b9150612c0d82613995565b600882019050919050565b6000612c25602683613337565b9150612c30826139be565b604082019050919050565b6000612c48602583613337565b9150612c5382613a0d565b604082019050919050565b6000612c6b601c83613337565b9150612c7682613a5c565b602082019050919050565b6000612c8e600f83613348565b9150612c9982613a85565b600f82019050919050565b6000612cb1602083613337565b9150612cbc82613aae565b602082019050919050565b6000612cd4601783613337565b9150612cdf82613ad7565b602082019050919050565b6000612cf7602483613337565b9150612d0282613b00565b604082019050919050565b6000612d1a601983613337565b9150612d2582613b4f565b602082019050919050565b6000612d3d602983613337565b9150612d4882613b78565b604082019050919050565b6000612d60603e83613337565b9150612d6b82613bc7565b604082019050919050565b6000612d83602083613337565b9150612d8e82613c16565b602082019050919050565b6000612da6600583613348565b9150612db182613c3f565b600582019050919050565b6000612dc9602083613337565b9150612dd482613c68565b602082019050919050565b6000612dec601883613337565b9150612df782613c91565b602082019050919050565b6000612e0f602183613337565b9150612e1a82613cba565b604082019050919050565b6000612e32601383613337565b9150612e3d82613d09565b602082019050919050565b6000612e55602e83613337565b9150612e6082613d32565b604082019050919050565b6000612e78601583613337565b9150612e8382613d81565b602082019050919050565b6000612e9b601d83613337565b9150612ea682613daa565b602082019050919050565b612eba81613736565b82525050565b612ec981613740565b82525050565b6000612edb8286612ba1565b9150612ee78285612ba1565b9150612ef38284612ba1565b9150819050949350505050565b6000612f0b82612bf5565b9150612f178285612ba1565b9150612f2282612c81565b9150612f2e8284612ba1565b9150612f3982612d99565b91508190509392505050565b6000602082019050612f5a6000830184612b02565b92915050565b6000608082019050612f756000830187612b02565b612f826020830186612b02565b612f8f6040830185612eb1565b8181036060830152612fa18184612b2f565b905095945050505050565b6000602082019050612fc16000830184612b11565b92915050565b6000608082019050612fdc6000830187612b20565b612fe96020830186612ec0565b612ff66040830185612b20565b6130036060830184612b20565b95945050505050565b600060208201905081810360008301526130268184612b68565b905092915050565b6000602082019050818103600083015261304781612bd2565b9050919050565b6000602082019050818103600083015261306781612c18565b9050919050565b6000602082019050818103600083015261308781612c3b565b9050919050565b600060208201905081810360008301526130a781612c5e565b9050919050565b600060208201905081810360008301526130c781612ca4565b9050919050565b600060208201905081810360008301526130e781612cc7565b9050919050565b6000602082019050818103600083015261310781612cea565b9050919050565b6000602082019050818103600083015261312781612d0d565b9050919050565b6000602082019050818103600083015261314781612d30565b9050919050565b6000602082019050818103600083015261316781612d53565b9050919050565b6000602082019050818103600083015261318781612d76565b9050919050565b600060208201905081810360008301526131a781612dbc565b9050919050565b600060208201905081810360008301526131c781612ddf565b9050919050565b600060208201905081810360008301526131e781612e02565b9050919050565b6000602082019050818103600083015261320781612e25565b9050919050565b6000602082019050818103600083015261322781612e48565b9050919050565b6000602082019050818103600083015261324781612e6b565b9050919050565b6000602082019050818103600083015261326781612e8e565b9050919050565b60006020820190506132836000830184612eb1565b92915050565b60006132936132a4565b905061329f82826137c1565b919050565b6000604051905090565b600067ffffffffffffffff8211156132c9576132c86138f9565b5b6132d282613928565b9050602081019050919050565b600067ffffffffffffffff8211156132fa576132f96138f9565b5b61330382613928565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061335e82613736565b915061336983613736565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561339e5761339d61386c565b5b828201905092915050565b60006133b482613740565b91506133bf83613740565b92508260ff038211156133d5576133d461386c565b5b828201905092915050565b60006133eb82613736565b91506133f683613736565b9250826134065761340561389b565b5b828204905092915050565b600061341c82613740565b915061342783613740565b9250826134375761343661389b565b5b828204905092915050565b6000808291508390505b600185111561348c578086048111156134685761346761386c565b5b60018516156134775780820291505b808102905061348585613939565b945061344c565b94509492505050565b60006134a082613736565b91506134ab83613736565b92506134d87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84846134e0565b905092915050565b6000826134f057600190506135ac565b816134fe57600090506135ac565b8160018114613514576002811461351e5761354d565b60019150506135ac565b60ff8411156135305761352f61386c565b5b8360020a9150848211156135475761354661386c565b5b506135ac565b5060208310610133831016604e8410600b84101617156135825782820a90508381111561357d5761357c61386c565b5b6135ac565b61358f8484846001613442565b925090508184048111156135a6576135a561386c565b5b81810290505b9392505050565b60006135be82613736565b91506135c983613736565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156136025761360161386c565b5b828202905092915050565b600061361882613740565b915061362383613740565b92508160ff048311821515161561363d5761363c61386c565b5b828202905092915050565b600061365382613736565b915061365e83613736565b9250828210156136715761367061386c565b5b828203905092915050565b600061368782613740565b915061369283613740565b9250828210156136a5576136a461386c565b5b828203905092915050565b60006136bb82613716565b9050919050565b60006136cd82613716565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561377a57808201518184015260208101905061375f565b83811115613789576000848401525b50505050565b600060028204905060018216806137a757607f821691505b602082108114156137bb576137ba6138ca565b5b50919050565b6137ca82613928565b810181811067ffffffffffffffff821117156137e9576137e86138f9565b5b80604052505050565b60006137fd82613736565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156138305761382f61386c565b5b600182019050919050565b600061384682613736565b915061385183613736565b9250826138615761386061389b565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160011c9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f68747470733a2f2f000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f2f617065732f6d657461646174612f0000000000000000000000000000000000600082015250565b7f4e6f7420656e6f75676820746f6b656e73206c65667420696e2062617463682e600082015250565b7f4e6f7420656e6f75676820746f6b656e73206c6566742e000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f50726f7669646520656e6f756768204554482e00000000000000000000000000600082015250565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b7f546f6b656e204964206d757374206265203e20302e0000000000000000000000600082015250565b7f546865206d696e74696e6720646174612077617320696e76616c69642e000000600082015250565b613ddc816136b0565b8114613de757600080fd5b50565b613df3816136c2565b8114613dfe57600080fd5b50565b613e0a816136d4565b8114613e1557600080fd5b50565b613e21816136ea565b8114613e2c57600080fd5b50565b613e3881613736565b8114613e4357600080fd5b5056fea2646970667358221220d2298969e3ae52c2863fb5f9518d16d428e268281e0ad0bd33a550b0b319988764736f6c634300080100336e66742d6c696f6e2d637562732d696d616765732e73332e65752d776573742d322e616d617a6f6e6177732e636f6d
Deployed Bytecode
0x6080604052600436106101e35760003560e01c80636352211e11610102578063b88d4fde11610095578063d85c896611610064578063d85c89661461071d578063e985e9c514610746578063f27e1c4014610783578063f2fde38b146107ae576101e3565b8063b88d4fde1461064f578063c87b56dd14610678578063ca745f6b146106b5578063d42b7c09146106e0576101e3565b80638da5cb5b116100d15780638da5cb5b146105a557806395d89b41146105d0578063a22cb465146105fb578063b01491ec14610624576101e3565b80636352211e146104d757806370a0823114610514578063715018a6146105515780638d7037e314610568576101e3565b8063340d005f1161017a5780634b641181116101495780634b641181146104145780634e9d7f64146104445780635de0e280146104815780635e682240146104ac576101e3565b8063340d005f1461037057806337f7e086146103995780633d2662c8146103c257806342842e0e146103eb576101e3565b80630d66d644116101b65780630d66d644146102b65780631bd95155146102e157806323b872dd1461031e5780632d61337d14610347576101e3565b806301ffc9a7146101e857806306fdde0314610225578063081812fc14610250578063095ea7b31461028d575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a91906129f2565b6107d7565b60405161021c9190612fac565b60405180910390f35b34801561023157600080fd5b5061023a6108b9565b604051610247919061300c565b60405180910390f35b34801561025c57600080fd5b5061027760048036038101906102729190612a85565b61094b565b6040516102849190612f45565b60405180910390f35b34801561029957600080fd5b506102b460048036038101906102af919061293b565b610991565b005b3480156102c257600080fd5b506102cb610aa9565b6040516102d8919061326e565b60405180910390f35b3480156102ed57600080fd5b5061030860048036038101906103039190612a44565b610aaf565b604051610315919061326e565b60405180910390f35b34801561032a57600080fd5b5061034560048036038101906103409190612835565b610b8f565b005b34801561035357600080fd5b5061036e60048036038101906103699190612aae565b610bef565b005b34801561037c57600080fd5b5061039760048036038101906103929190612a85565b610c05565b005b3480156103a557600080fd5b506103c060048036038101906103bb9190612a85565b610c17565b005b3480156103ce57600080fd5b506103e960048036038101906103e49190612a85565b610c29565b005b3480156103f757600080fd5b50610412600480360381019061040d9190612835565b610c3b565b005b61042e60048036038101906104299190612977565b610c5b565b60405161043b919061326e565b60405180910390f35b34801561045057600080fd5b5061046b60048036038101906104669190612a85565b610db8565b604051610478919061300c565b60405180910390f35b34801561048d57600080fd5b50610496610e7f565b6040516104a3919061326e565b60405180910390f35b3480156104b857600080fd5b506104c1610e85565b6040516104ce919061326e565b60405180910390f35b3480156104e357600080fd5b506104fe60048036038101906104f99190612a85565b610e8b565b60405161050b9190612f45565b60405180910390f35b34801561052057600080fd5b5061053b60048036038101906105369190612794565b610f3d565b604051610548919061326e565b60405180910390f35b34801561055d57600080fd5b50610566610ff5565b005b34801561057457600080fd5b5061058f600480360381019061058a919061293b565b611009565b60405161059c919061326e565b60405180910390f35b3480156105b157600080fd5b506105ba611025565b6040516105c79190612f45565b60405180910390f35b3480156105dc57600080fd5b506105e561104f565b6040516105f2919061300c565b60405180910390f35b34801561060757600080fd5b50610622600480360381019061061d91906128ff565b6110e1565b005b34801561063057600080fd5b506106396110f7565b604051610646919061326e565b60405180910390f35b34801561065b57600080fd5b5061067660048036038101906106719190612884565b611101565b005b34801561068457600080fd5b5061069f600480360381019061069a9190612a85565b611163565b6040516106ac919061300c565b60405180910390f35b3480156106c157600080fd5b506106ca6111cc565b6040516106d7919061326e565b60405180910390f35b3480156106ec57600080fd5b5061070760048036038101906107029190612a85565b6111d6565b604051610714919061300c565b60405180910390f35b34801561072957600080fd5b50610744600480360381019061073f91906127bd565b61125e565b005b34801561075257600080fd5b5061076d600480360381019061076891906127f9565b6112b1565b60405161077a9190612fac565b60405180910390f35b34801561078f57600080fd5b50610798611345565b6040516107a5919061326e565b60405180910390f35b3480156107ba57600080fd5b506107d560048036038101906107d09190612794565b61134f565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108a257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108b257506108b1826113d3565b5b9050919050565b6060600080546108c89061378f565b80601f01602080910402602001604051908101604052809291908181526020018280546108f49061378f565b80156109415780601f1061091657610100808354040283529160200191610941565b820191906000526020600020905b81548152906001019060200180831161092457829003601f168201915b5050505050905090565b60006109568261143d565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061099c82610e8b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a04906131ce565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a2c611488565b73ffffffffffffffffffffffffffffffffffffffff161480610a5b5750610a5a81610a55611488565b6112b1565b5b610a9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a919061314e565b60405180910390fd5b610aa48383611490565b505050565b600a5481565b60008060009050600083905060005b8151811015610b84576000818351610ad69190613648565b90506000838381518110610b13577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b905060008160f81c9050600060308260ff16610b3a9190613648565b9050600184610b499190613648565b600a610b559190613495565b81610b6091906135b3565b87610b6b9190613353565b9650505050508080610b7c906137f2565b915050610abe565b508192505050919050565b610ba0610b9a611488565b82611549565b610bdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd69061320e565b60405180910390fd5b610bea8383836115de565b505050565b610bf7611845565b610c0182826118c3565b5050565b610c0d611845565b8060098190555050565b610c1f611845565b80600b8190555050565b610c31611845565b80600a8190555050565b610c5683838360405180602001604052806000815250611101565b505050565b60008060095490506000600a5490506000600b549050818684610c7e9190613353565b1115610cbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb6906130ce565b60405180910390fd5b808684610ccc9190613353565b1115610d0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d04906130ae565b60405180910390fd5b86341015610d50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d47906131ee565b60405180910390fd5b6000610d5e898989896118ef565b905080610da0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d979061324e565b60405180910390fd5b610daa8988611993565b945050505050949350505050565b606060008290506001811015610dcd57600190505b600a811115610ddb57600a90505b600860008281526020019081526020016000208054610df99061378f565b80601f0160208091040260200160405190810160405280929190818152602001828054610e259061378f565b8015610e725780601f10610e4757610100808354040283529160200191610e72565b820191906000526020600020905b815481529060010190602001808311610e5557829003601f168201915b5050505050915050919050565b600b5481565b60095481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2b906131ae565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610fae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa59061312e565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610ffd611845565b6110076000611a06565b565b6000611013611845565b61101d8383611993565b905092915050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461105e9061378f565b80601f016020809104026020016040519081016040528092919081815260200182805461108a9061378f565b80156110d75780601f106110ac576101008083540402835291602001916110d7565b820191906000526020600020905b8154815290600101906020018083116110ba57829003601f168201915b5050505050905090565b6110f36110ec611488565b8383611acc565b5050565b6000600b54905090565b61111261110c611488565b83611549565b611151576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111489061320e565b60405180910390fd5b61115d84848484611c39565b50505050565b606061116e8261143d565b6000611179836111d6565b9050600081511161119957604051806020016040528060008152506111c4565b806111a384611c95565b6040516020016111b4929190612f00565b6040516020818303038152906040525b915050919050565b6000600954905090565b60606000821161121b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112129061322e565b60405180910390fd5b600060018361122a9190613648565b9050600060648261123b91906133e0565b905060018161124a9190613353565b905061125581610db8565b92505050919050565b611266611845565b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156112ac573d6000803e3d6000fd5b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000600a54905090565b611357611845565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156113c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113be9061304e565b60405180910390fd5b6113d081611a06565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61144681611e42565b611485576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147c906131ae565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661150383610e8b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061155583610e8b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611597575061159681856112b1565b5b806115d557508373ffffffffffffffffffffffffffffffffffffffff166115bd8461094b565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166115fe82610e8b565b73ffffffffffffffffffffffffffffffffffffffff1614611654576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164b9061306e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116bb906130ee565b60405180910390fd5b6116cf838383611eae565b6116da600082611490565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461172a9190613648565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117819190613353565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611840838383611eb3565b505050565b61184d611488565b73ffffffffffffffffffffffffffffffffffffffff1661186b611025565b73ffffffffffffffffffffffffffffffffffffffff16146118c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b89061318e565b60405180910390fd5b565b806008600084815260200190815260200160002090805190602001906118ea9291906125a3565b505050565b6000806118fb86611eb8565b9050600061190885611c95565b9050600061191587611c95565b9050600083828460405160200161192e93929190612ecf565b60405160208183030381529060405280519060200120905061194e611025565b73ffffffffffffffffffffffffffffffffffffffff1661196e82886120ed565b73ffffffffffffffffffffffffffffffffffffffff1614945050505050949350505050565b600080600090505b828110156119ee5760016009546119b29190613353565b6009819055506119c26007612162565b60006119ce6007612178565b90506119da8582612186565b5080806119e6906137f2565b91505061199b565b5060006119fa84610f3d565b90508091505092915050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611b3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b329061310e565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c2c9190612fac565b60405180910390a3505050565b611c448484846115de565b611c5084848484612360565b611c8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c869061302e565b60405180910390fd5b50505050565b60606000821415611cdd576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611e3d565b600082905060005b60008214611d0f578080611cf8906137f2565b915050600a82611d0891906133e0565b9150611ce5565b60008167ffffffffffffffff811115611d51577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611d835781602001600182028036833780820191505090505b5090505b60008514611e3657600182611d9c9190613648565b9150600a85611dab919061383b565b6030611db79190613353565b60f81b818381518110611df3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611e2f91906133e0565b9450611d87565b8093505050505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b505050565b60606000602867ffffffffffffffff811115611efd577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611f2f5781602001600182028036833780820191505090505b50905060005b60148110156120e3576000816013611f4d9190613648565b6008611f5991906135b3565b6002611f659190613495565b8573ffffffffffffffffffffffffffffffffffffffff16611f8691906133e0565b60f81b9050600060108260f81c611f9d9190613411565b60f81b905060008160f81c6010611fb4919061360d565b8360f81c611fc2919061367c565b60f81b9050611fd0826124f7565b85856002611fde91906135b3565b81518110612015577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061204d816124f7565b85600186600261205d91906135b3565b6120679190613353565b8151811061209e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535050505080806120db906137f2565b915050611f35565b5080915050919050565b6000806000806120fc8561253d565b8093508194508295505050506001868484846040516000815260200160405260405161212b9493929190612fc7565b6020604051602081039080840390855afa15801561214d573d6000803e3d6000fd5b50505060206040510351935050505092915050565b6001816000016000828254019250508190555050565b600081600001549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ed9061316e565b60405180910390fd5b6121ff81611e42565b1561223f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122369061308e565b60405180910390fd5b61224b60008383611eae565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461229b9190613353565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461235c60008383611eb3565b5050565b60006123818473ffffffffffffffffffffffffffffffffffffffff16612580565b156124ea578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026123aa611488565b8786866040518563ffffffff1660e01b81526004016123cc9493929190612f60565b602060405180830381600087803b1580156123e657600080fd5b505af192505050801561241757506040513d601f19601f820116820180604052508101906124149190612a1b565b60015b61249a573d8060008114612447576040519150601f19603f3d011682016040523d82523d6000602084013e61244c565b606091505b50600081511415612492576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124899061302e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506124ef565b600190505b949350505050565b6000600a8260f81c60ff1610156125225760308260f81c61251891906133a9565b60f81b9050612538565b60578260f81c61253291906133a9565b60f81b90505b919050565b6000806000604184511461255057600080fd5b60008060006020870151925060408701519150606087015160001a90508083839550955095505050509193909250565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8280546125af9061378f565b90600052602060002090601f0160209004810192826125d15760008555612618565b82601f106125ea57805160ff1916838001178555612618565b82800160010185558215612618579182015b828111156126175782518255916020019190600101906125fc565b5b5090506126259190612629565b5090565b5b8082111561264257600081600090555060010161262a565b5090565b6000612659612654846132ae565b613289565b90508281526020810184848401111561267157600080fd5b61267c84828561374d565b509392505050565b6000612697612692846132df565b613289565b9050828152602081018484840111156126af57600080fd5b6126ba84828561374d565b509392505050565b6000813590506126d181613dd3565b92915050565b6000813590506126e681613dea565b92915050565b6000813590506126fb81613e01565b92915050565b60008135905061271081613e18565b92915050565b60008151905061272581613e18565b92915050565b600082601f83011261273c57600080fd5b813561274c848260208601612646565b91505092915050565b600082601f83011261276657600080fd5b8135612776848260208601612684565b91505092915050565b60008135905061278e81613e2f565b92915050565b6000602082840312156127a657600080fd5b60006127b4848285016126c2565b91505092915050565b600080604083850312156127d057600080fd5b60006127de858286016126d7565b92505060206127ef8582860161277f565b9150509250929050565b6000806040838503121561280c57600080fd5b600061281a858286016126c2565b925050602061282b858286016126c2565b9150509250929050565b60008060006060848603121561284a57600080fd5b6000612858868287016126c2565b9350506020612869868287016126c2565b925050604061287a8682870161277f565b9150509250925092565b6000806000806080858703121561289a57600080fd5b60006128a8878288016126c2565b94505060206128b9878288016126c2565b93505060406128ca8782880161277f565b925050606085013567ffffffffffffffff8111156128e757600080fd5b6128f38782880161272b565b91505092959194509250565b6000806040838503121561291257600080fd5b6000612920858286016126c2565b9250506020612931858286016126ec565b9150509250929050565b6000806040838503121561294e57600080fd5b600061295c858286016126c2565b925050602061296d8582860161277f565b9150509250929050565b6000806000806080858703121561298d57600080fd5b600061299b878288016126c2565b94505060206129ac8782880161277f565b93505060406129bd8782880161277f565b925050606085013567ffffffffffffffff8111156129da57600080fd5b6129e68782880161272b565b91505092959194509250565b600060208284031215612a0457600080fd5b6000612a1284828501612701565b91505092915050565b600060208284031215612a2d57600080fd5b6000612a3b84828501612716565b91505092915050565b600060208284031215612a5657600080fd5b600082013567ffffffffffffffff811115612a7057600080fd5b612a7c84828501612755565b91505092915050565b600060208284031215612a9757600080fd5b6000612aa58482850161277f565b91505092915050565b60008060408385031215612ac157600080fd5b6000612acf8582860161277f565b925050602083013567ffffffffffffffff811115612aec57600080fd5b612af885828601612755565b9150509250929050565b612b0b816136b0565b82525050565b612b1a816136d4565b82525050565b612b29816136e0565b82525050565b6000612b3a82613310565b612b448185613326565b9350612b5481856020860161375c565b612b5d81613928565b840191505092915050565b6000612b738261331b565b612b7d8185613337565b9350612b8d81856020860161375c565b612b9681613928565b840191505092915050565b6000612bac8261331b565b612bb68185613348565b9350612bc681856020860161375c565b80840191505092915050565b6000612bdf603283613337565b9150612bea82613946565b604082019050919050565b6000612c02600883613348565b9150612c0d82613995565b600882019050919050565b6000612c25602683613337565b9150612c30826139be565b604082019050919050565b6000612c48602583613337565b9150612c5382613a0d565b604082019050919050565b6000612c6b601c83613337565b9150612c7682613a5c565b602082019050919050565b6000612c8e600f83613348565b9150612c9982613a85565b600f82019050919050565b6000612cb1602083613337565b9150612cbc82613aae565b602082019050919050565b6000612cd4601783613337565b9150612cdf82613ad7565b602082019050919050565b6000612cf7602483613337565b9150612d0282613b00565b604082019050919050565b6000612d1a601983613337565b9150612d2582613b4f565b602082019050919050565b6000612d3d602983613337565b9150612d4882613b78565b604082019050919050565b6000612d60603e83613337565b9150612d6b82613bc7565b604082019050919050565b6000612d83602083613337565b9150612d8e82613c16565b602082019050919050565b6000612da6600583613348565b9150612db182613c3f565b600582019050919050565b6000612dc9602083613337565b9150612dd482613c68565b602082019050919050565b6000612dec601883613337565b9150612df782613c91565b602082019050919050565b6000612e0f602183613337565b9150612e1a82613cba565b604082019050919050565b6000612e32601383613337565b9150612e3d82613d09565b602082019050919050565b6000612e55602e83613337565b9150612e6082613d32565b604082019050919050565b6000612e78601583613337565b9150612e8382613d81565b602082019050919050565b6000612e9b601d83613337565b9150612ea682613daa565b602082019050919050565b612eba81613736565b82525050565b612ec981613740565b82525050565b6000612edb8286612ba1565b9150612ee78285612ba1565b9150612ef38284612ba1565b9150819050949350505050565b6000612f0b82612bf5565b9150612f178285612ba1565b9150612f2282612c81565b9150612f2e8284612ba1565b9150612f3982612d99565b91508190509392505050565b6000602082019050612f5a6000830184612b02565b92915050565b6000608082019050612f756000830187612b02565b612f826020830186612b02565b612f8f6040830185612eb1565b8181036060830152612fa18184612b2f565b905095945050505050565b6000602082019050612fc16000830184612b11565b92915050565b6000608082019050612fdc6000830187612b20565b612fe96020830186612ec0565b612ff66040830185612b20565b6130036060830184612b20565b95945050505050565b600060208201905081810360008301526130268184612b68565b905092915050565b6000602082019050818103600083015261304781612bd2565b9050919050565b6000602082019050818103600083015261306781612c18565b9050919050565b6000602082019050818103600083015261308781612c3b565b9050919050565b600060208201905081810360008301526130a781612c5e565b9050919050565b600060208201905081810360008301526130c781612ca4565b9050919050565b600060208201905081810360008301526130e781612cc7565b9050919050565b6000602082019050818103600083015261310781612cea565b9050919050565b6000602082019050818103600083015261312781612d0d565b9050919050565b6000602082019050818103600083015261314781612d30565b9050919050565b6000602082019050818103600083015261316781612d53565b9050919050565b6000602082019050818103600083015261318781612d76565b9050919050565b600060208201905081810360008301526131a781612dbc565b9050919050565b600060208201905081810360008301526131c781612ddf565b9050919050565b600060208201905081810360008301526131e781612e02565b9050919050565b6000602082019050818103600083015261320781612e25565b9050919050565b6000602082019050818103600083015261322781612e48565b9050919050565b6000602082019050818103600083015261324781612e6b565b9050919050565b6000602082019050818103600083015261326781612e8e565b9050919050565b60006020820190506132836000830184612eb1565b92915050565b60006132936132a4565b905061329f82826137c1565b919050565b6000604051905090565b600067ffffffffffffffff8211156132c9576132c86138f9565b5b6132d282613928565b9050602081019050919050565b600067ffffffffffffffff8211156132fa576132f96138f9565b5b61330382613928565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061335e82613736565b915061336983613736565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561339e5761339d61386c565b5b828201905092915050565b60006133b482613740565b91506133bf83613740565b92508260ff038211156133d5576133d461386c565b5b828201905092915050565b60006133eb82613736565b91506133f683613736565b9250826134065761340561389b565b5b828204905092915050565b600061341c82613740565b915061342783613740565b9250826134375761343661389b565b5b828204905092915050565b6000808291508390505b600185111561348c578086048111156134685761346761386c565b5b60018516156134775780820291505b808102905061348585613939565b945061344c565b94509492505050565b60006134a082613736565b91506134ab83613736565b92506134d87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84846134e0565b905092915050565b6000826134f057600190506135ac565b816134fe57600090506135ac565b8160018114613514576002811461351e5761354d565b60019150506135ac565b60ff8411156135305761352f61386c565b5b8360020a9150848211156135475761354661386c565b5b506135ac565b5060208310610133831016604e8410600b84101617156135825782820a90508381111561357d5761357c61386c565b5b6135ac565b61358f8484846001613442565b925090508184048111156135a6576135a561386c565b5b81810290505b9392505050565b60006135be82613736565b91506135c983613736565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156136025761360161386c565b5b828202905092915050565b600061361882613740565b915061362383613740565b92508160ff048311821515161561363d5761363c61386c565b5b828202905092915050565b600061365382613736565b915061365e83613736565b9250828210156136715761367061386c565b5b828203905092915050565b600061368782613740565b915061369283613740565b9250828210156136a5576136a461386c565b5b828203905092915050565b60006136bb82613716565b9050919050565b60006136cd82613716565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561377a57808201518184015260208101905061375f565b83811115613789576000848401525b50505050565b600060028204905060018216806137a757607f821691505b602082108114156137bb576137ba6138ca565b5b50919050565b6137ca82613928565b810181811067ffffffffffffffff821117156137e9576137e86138f9565b5b80604052505050565b60006137fd82613736565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156138305761382f61386c565b5b600182019050919050565b600061384682613736565b915061385183613736565b9250826138615761386061389b565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160011c9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f68747470733a2f2f000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f2f617065732f6d657461646174612f0000000000000000000000000000000000600082015250565b7f4e6f7420656e6f75676820746f6b656e73206c65667420696e2062617463682e600082015250565b7f4e6f7420656e6f75676820746f6b656e73206c6566742e000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f50726f7669646520656e6f756768204554482e00000000000000000000000000600082015250565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b7f546f6b656e204964206d757374206265203e20302e0000000000000000000000600082015250565b7f546865206d696e74696e6720646174612077617320696e76616c69642e000000600082015250565b613ddc816136b0565b8114613de757600080fd5b50565b613df3816136c2565b8114613dfe57600080fd5b50565b613e0a816136d4565b8114613e1557600080fd5b50565b613e21816136ea565b8114613e2c57600080fd5b50565b613e3881613736565b8114613e4357600080fd5b5056fea2646970667358221220d2298969e3ae52c2863fb5f9518d16d428e268281e0ad0bd33a550b0b319988764736f6c63430008010033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.