ERC-721
NFT
Overview
Max Total Supply
0 FWBFEST
Holders
299
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
15 FWBFESTLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
FWBFest
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT pragma solidity ^0.8.9; /* . . . . . . . . * . . . . . . . * August 12 - 14, 2022 . ____ . . . . Idyllwild, CA >> . . . . . /WWWI; \ . . . ____ . . . * /WWWWII; \=====; . /WI; \ * . /\_ . . /WWWWWII;.. \_ . ___/WI;:. \ . _/M; \ . . . /WWWWWIIIIi;.. \__/WWWIIII:.. \____ . . /MMI: \ * . . _/WWWWWIIIi;;;:...: ;\WWWWWWIIIII;. \ /MMWII; \ . . . /WWWWWIWIiii;;;.:.. : ;\WWWWWIII;;;:: \___/MMWIIII; \ . /WWWWWIIIIiii;;::.... : ;|WWWWWWII;;::.: :;IMWIIIII;: \___ * /WWWWWWWWWIIIIIWIIii;;::;..;\WWWWWWIII;;;:::... ;IMIII;; :: \ . WWWWWWWWWIIIIIIIIIii;;::.;..;\WWWWWWWWIIIII;;.. :;IMIII;::: : \ WWWWWWWWWWWWWIIIIIIii;;::..;..;\WWWWWWWWIIII;::; :::::::::.....:: \ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%XXXXXXX ▄████ ▄ ▄ ███ ▄████ ▄███▄ ▄▄▄▄▄ ▄▄▄▄▀ █▀ ▀ █ █ █ █ █▀ ▀ █▀ ▀ █ ▀▄ ▀▀▀ █ █▀▀ █ ▄ █ █ ▀ ▄ █▀▀ ██▄▄ ▄ ▀▀▀▀▄ █ █ █ █ █ █ ▄▀ █ █▄ ▄▀ ▀▄▄▄▄▀ █ █ █ █ █ ███ █ ▀███▀ ▀ ▀ ▀ ▀ ▀ */ import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/interfaces/IERC2981.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import './SignedAllowance.sol'; interface IERC20 { function balanceOf(address owner) external view returns (uint256 balance); } contract FWBFest is ERC721, IERC2981, Ownable, ReentrancyGuard, SignedAllowance { using Counters for Counters.Counter; using Strings for uint256; Counters.Counter private tokenCounter; string private baseURI = 'https://fest.fwb.help/api'; bool public isPublicSaleActive = false; bool public isSignedSaleActive = false; uint256 public MAX_TICKETS = 250; uint256 public MAX_PER_WALLET = 1; uint256 public PUBLIC_SALE_PRICE = 0.5 ether; uint256 public ROYALTY = 10; // 10% - don't resell friends uint256 public FWB_THRESHOLD = 75000000000000000000; // 75 FWB address public FWB_ADDRESS = 0x35bD01FC9d6D5D81CA9E055Db88Dc49aa2c699A8; // FWB PRO // Modifiers modifier publicSaleActive() { require(isPublicSaleActive, "Public sale is not open"); _; } modifier signedSaleActive() { require(isSignedSaleActive, "Sale is not open"); _; } modifier canMintTicket() { require( tokenCounter.current() <= MAX_TICKETS, "Not enough tickets remaining to mint" ); _; } modifier isCorrectPayment(uint256 price) { require( price <= msg.value, "Incorrect ETH value sent" ); _; } modifier hasFWB() { require( IERC20(FWB_ADDRESS).balanceOf(msg.sender) >= FWB_THRESHOLD, "You must hold FWB to purchase a ticket" ); _; } modifier hasMinted() { require( balanceOf(msg.sender) < MAX_PER_WALLET, "This address has already minted a ticket." ); _; } constructor() ERC721("FWB Fest", "FWBFEST") {} function mint() external payable nonReentrant isCorrectPayment(PUBLIC_SALE_PRICE) publicSaleActive hasFWB canMintTicket hasMinted { _safeMint(msg.sender, nextTokenId()); } // Minty function mintSigned(uint256 nonce, bytes memory signature) external payable nonReentrant isCorrectPayment(PUBLIC_SALE_PRICE) canMintTicket signedSaleActive { _useAllowance(msg.sender, nonce, signature); _safeMint(msg.sender, nextTokenId()); } function mintOwner(uint256 numberOfTokens) public onlyOwner { for (uint256 i = 0; i < numberOfTokens; i++) { _safeMint(msg.sender, nextTokenId()); } } // Public function getBaseURI() external view returns (string memory) { return baseURI; } function getFWBBalance() external view returns (uint256) { return IERC20(FWB_ADDRESS).balanceOf(msg.sender); } function getLastTokenId() external view returns (uint256) { return tokenCounter.current(); } // Admin function setBaseURI(string memory _baseURI) external onlyOwner { baseURI = _baseURI; } function setFWBAddress(address _address) external onlyOwner { FWB_ADDRESS = _address; } function setThreshold(uint256 _num) external onlyOwner { FWB_THRESHOLD = _num; } function setNumTickets(uint256 _num) external onlyOwner { MAX_TICKETS = _num; } function setPrice(uint256 _price) external onlyOwner { PUBLIC_SALE_PRICE = _price; } function setMaxPerWallet(uint256 _max) external onlyOwner { MAX_PER_WALLET = _max; } function setRoyalty(uint256 _royalty) external onlyOwner { ROYALTY = _royalty; } function withdraw() public onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } function setIsPublicSaleActive(bool _isPublicSaleActive) external onlyOwner { isPublicSaleActive = _isPublicSaleActive; } // signature stuff function setIsSignedSaleActive(bool _isSignedSaleActive) external onlyOwner { isSignedSaleActive = _isSignedSaleActive; } function setAllowancesSigner(address newSigner) external onlyOwner { _setAllowancesSigner(newSigner); } // Counter stuff function nextTokenId() private returns (uint256) { tokenCounter.increment(); return tokenCounter.current(); } // Royalties function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, IERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "Nonexistent token"); return string(abi.encodePacked(baseURI, "/", tokenId.toString())); } /** * @dev See {IERC165-royaltyInfo}. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view override returns (address receiver, uint256 royaltyAmount) { require(_exists(tokenId), "Nonexistent token"); return (address(this), SafeMath.div(SafeMath.mul(salePrice, ROYALTY), 100)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be payed in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// 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 v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
//SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import '@openzeppelin/contracts/utils/cryptography/ECDSA.sol'; /// @title SignedAllowance /// @author Simon Fremaux (@dievardump) contract SignedAllowance { using ECDSA for bytes32; // list of already used allowances mapping(bytes32 => bool) public usedAllowances; // address used to sign the allowances address private _allowancesSigner; /// @notice Helper to know allowancesSigner address /// @return the allowance signer address function allowancesSigner() public view virtual returns (address) { return _allowancesSigner; } /// @notice Helper that creates the message that signer needs to sign to allow a mint /// this is usually also used when creating the allowances, to ensure "message" /// is the same /// @param account the account to allow /// @param nonce the nonce /// @return the message to sign function createMessage(address account, uint256 nonce) public view returns (bytes32) { return keccak256(abi.encode(account, nonce, address(this))); } /// @notice Helper that creates a list of messages that signer needs to sign to allow mintings /// @param accounts the accounts to allow /// @param nonces the corresponding nonces /// @return messages the messages to sign function createMessages(address[] memory accounts, uint256[] memory nonces) external view returns (bytes32[] memory messages) { require(accounts.length == nonces.length, '!LENGTH_MISMATCH!'); messages = new bytes32[](accounts.length); for (uint256 i; i < accounts.length; i++) { messages[i] = createMessage(accounts[i], nonces[i]); } } /// @notice This function verifies that the current request is valid /// @dev It ensures that _allowancesSigner signed a message containing (account, nonce, address(this)) /// and that this message was not already used /// @param account the account the allowance is associated to /// @param nonce the nonce associated to this allowance /// @param signature the signature by the allowance signer wallet /// @return the message to mark as used function validateSignature( address account, uint256 nonce, bytes memory signature ) public view returns (bytes32) { return _validateSignature(account, nonce, signature, allowancesSigner()); } /// @dev It ensures that signer signed a message containing (account, nonce, address(this)) /// and that this message was not already used /// @param account the account the allowance is associated to /// @param nonce the nonce associated to this allowance /// @param signature the signature by the allowance signer wallet /// @param signer the signer /// @return the message to mark as used function _validateSignature( address account, uint256 nonce, bytes memory signature, address signer ) internal view returns (bytes32) { bytes32 message = createMessage(account, nonce) .toEthSignedMessageHash(); // verifies that the sha3(account, nonce, address(this)) has been signed by signer require(message.recover(signature) == signer, '!INVALID_SIGNATURE!'); // verifies that the allowances was not already used require(usedAllowances[message] == false, '!ALREADY_USED!'); return message; } /// @notice internal function that verifies an allowance and marks it as used /// this function throws if signature is wrong or this nonce for this user has already been used /// @param account the account the allowance is associated to /// @param nonce the nonce /// @param signature the signature by the allowance wallet function _useAllowance( address account, uint256 nonce, bytes memory signature ) internal { bytes32 message = validateSignature(account, nonce, signature); usedAllowances[message] = true; } /// @notice Allows to change the allowance signer. This can be used to revoke any signed allowance not already used /// @param newSigner the new signer address function _setAllowancesSigner(address newSigner) internal { _allowancesSigner = newSigner; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol";
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
{ "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":[],"name":"FWB_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FWB_THRESHOLD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TICKETS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_SALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROYALTY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowancesSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"}],"name":"createMessage","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"nonces","type":"uint256[]"}],"name":"createMessages","outputs":[{"internalType":"bytes32[]","name":"messages","type":"bytes32[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getFWBBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLastTokenId","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":"isPublicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSignedSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mintSigned","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"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":"newSigner","type":"address"}],"name":"setAllowancesSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setFWBAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPublicSaleActive","type":"bool"}],"name":"setIsPublicSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isSignedSaleActive","type":"bool"}],"name":"setIsSignedSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_num","type":"uint256"}],"name":"setNumTickets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_royalty","type":"uint256"}],"name":"setRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_num","type":"uint256"}],"name":"setThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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":"bytes32","name":"","type":"bytes32"}],"name":"usedAllowances","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"validateSignature","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526040518060400160405280601981526020017f68747470733a2f2f666573742e6677622e68656c702f61706900000000000000815250600b908051906020019062000051929190620002af565b506000600c60006101000a81548160ff0219169083151502179055506000600c60016101000a81548160ff02191690831515021790555060fa600d556001600e556706f05b59d3b20000600f55600a601055680410d586a20a4c00006011557335bd01fc9d6d5d81ca9e055db88dc49aa2c699a8601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200011257600080fd5b506040518060400160405280600881526020017f46574220466573740000000000000000000000000000000000000000000000008152506040518060400160405280600781526020017f4657424645535400000000000000000000000000000000000000000000000000815250816000908051906020019062000197929190620002af565b508060019080519060200190620001b0929190620002af565b505050620001d3620001c7620001e160201b60201c565b620001e960201b60201c565b6001600781905550620003c4565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002bd906200038e565b90600052602060002090601f016020900481019282620002e157600085556200032d565b82601f10620002fc57805160ff19168380011785556200032d565b828001600101855582156200032d579182015b828111156200032c5782518255916020019190600101906200030f565b5b5090506200033c919062000340565b5090565b5b808211156200035b57600081600090555060010162000341565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620003a757607f821691505b60208210811415620003be57620003bd6200035f565b5b50919050565b61577e80620003d46000396000f3fe6080604052600436106102885760003560e01c806370a082311161015a578063960bfe04116100c1578063e268e4d31161007a578063e268e4d31461099d578063e985e9c5146109c6578063eaf9ec8614610a03578063f2fde38b14610a2e578063fca846dc14610a57578063feff199914610a8257610288565b8063960bfe04146108935780639bbb7290146108bc578063a22cb465146108e5578063b77a15091461090e578063b88d4fde14610937578063c87b56dd1461096057610288565b80638838b5c3116101135780638838b5c314610790578063890621da146107bb5780638da5cb5b146107f8578063915db9841461082357806391b7f5ed1461083f57806395d89b411461086857610288565b806370a0823114610690578063714c5398146106cd578063715018a6146106f85780637e586f8c1461070f57806383c4c00d1461073a5780638704a2081461076557610288565b80632073447d116101fe5780633ccfd60b116101b75780633ccfd60b146105845780634209a2e11461059b57806342842e0e146105c457806355f804b3146105ed5780636352211e146106165780636c4a412c1461065357610288565b80632073447d1461047757806323b872dd146104a057806328cad13d146104c95780632a55205a146104f25780632c31b6291461053057806333f88d221461055b57610288565b80630f1d6a49116102505780630f1d6a49146103865780630f2cdd6c146103b157806310a6bdca146103dc5780631249c58b14610405578063195e87081461040f5780631e84c4131461044c57610288565b806301ffc9a71461028d57806306fdde03146102ca57806307e89ec0146102f5578063081812fc14610320578063095ea7b31461035d575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af91906136e7565b610abf565b6040516102c1919061372f565b60405180910390f35b3480156102d657600080fd5b506102df610b39565b6040516102ec91906137e3565b60405180910390f35b34801561030157600080fd5b5061030a610bcb565b604051610317919061381e565b60405180910390f35b34801561032c57600080fd5b5061034760048036038101906103429190613865565b610bd1565b60405161035491906138d3565b60405180910390f35b34801561036957600080fd5b50610384600480360381019061037f919061391a565b610c56565b005b34801561039257600080fd5b5061039b610d6e565b6040516103a891906138d3565b60405180910390f35b3480156103bd57600080fd5b506103c6610d94565b6040516103d3919061381e565b60405180910390f35b3480156103e857600080fd5b5061040360048036038101906103fe9190613986565b610d9a565b005b61040d610e33565b005b34801561041b57600080fd5b50610436600480360381019061043191906139e9565b6110bb565b604051610443919061372f565b60405180910390f35b34801561045857600080fd5b506104616110db565b60405161046e919061372f565b60405180910390f35b34801561048357600080fd5b5061049e60048036038101906104999190613a16565b6110ee565b005b3480156104ac57600080fd5b506104c760048036038101906104c29190613a43565b611176565b005b3480156104d557600080fd5b506104f060048036038101906104eb9190613986565b6111d6565b005b3480156104fe57600080fd5b5061051960048036038101906105149190613a96565b61126f565b604051610527929190613ad6565b60405180910390f35b34801561053c57600080fd5b506105456112dc565b604051610552919061381e565b60405180910390f35b34801561056757600080fd5b50610582600480360381019061057d9190613865565b6112e2565b005b34801561059057600080fd5b50610599611391565b005b3480156105a757600080fd5b506105c260048036038101906105bd9190613865565b61145c565b005b3480156105d057600080fd5b506105eb60048036038101906105e69190613a43565b6114e2565b005b3480156105f957600080fd5b50610614600480360381019061060f9190613c34565b611502565b005b34801561062257600080fd5b5061063d60048036038101906106389190613865565b611598565b60405161064a91906138d3565b60405180910390f35b34801561065f57600080fd5b5061067a60048036038101906106759190613e08565b61164a565b6040516106879190613f3e565b60405180910390f35b34801561069c57600080fd5b506106b760048036038101906106b29190613a16565b61175f565b6040516106c4919061381e565b60405180910390f35b3480156106d957600080fd5b506106e2611817565b6040516106ef91906137e3565b60405180910390f35b34801561070457600080fd5b5061070d6118a9565b005b34801561071b57600080fd5b50610724611931565b604051610731919061381e565b60405180910390f35b34801561074657600080fd5b5061074f6119e3565b60405161075c919061381e565b60405180910390f35b34801561077157600080fd5b5061077a6119f4565b604051610787919061381e565b60405180910390f35b34801561079c57600080fd5b506107a56119fa565b6040516107b291906138d3565b60405180910390f35b3480156107c757600080fd5b506107e260048036038101906107dd9190614001565b611a24565b6040516107ef919061407f565b60405180910390f35b34801561080457600080fd5b5061080d611a42565b60405161081a91906138d3565b60405180910390f35b61083d6004803603810190610838919061409a565b611a6c565b005b34801561084b57600080fd5b5061086660048036038101906108619190613865565b611bc6565b005b34801561087457600080fd5b5061087d611c4c565b60405161088a91906137e3565b60405180910390f35b34801561089f57600080fd5b506108ba60048036038101906108b59190613865565b611cde565b005b3480156108c857600080fd5b506108e360048036038101906108de9190613a16565b611d64565b005b3480156108f157600080fd5b5061090c600480360381019061090791906140f6565b611e24565b005b34801561091a57600080fd5b5061093560048036038101906109309190613865565b611e3a565b005b34801561094357600080fd5b5061095e60048036038101906109599190614136565b611ec0565b005b34801561096c57600080fd5b5061098760048036038101906109829190613865565b611f22565b60405161099491906137e3565b60405180910390f35b3480156109a957600080fd5b506109c460048036038101906109bf9190613865565b611f9e565b005b3480156109d257600080fd5b506109ed60048036038101906109e891906141b9565b612024565b6040516109fa919061372f565b60405180910390f35b348015610a0f57600080fd5b50610a186120b8565b604051610a25919061372f565b60405180910390f35b348015610a3a57600080fd5b50610a556004803603810190610a509190613a16565b6120cb565b005b348015610a6357600080fd5b50610a6c6121c3565b604051610a79919061381e565b60405180910390f35b348015610a8e57600080fd5b50610aa96004803603810190610aa4919061391a565b6121c9565b604051610ab6919061407f565b60405180910390f35b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b325750610b31826121fe565b5b9050919050565b606060008054610b4890614228565b80601f0160208091040260200160405190810160405280929190818152602001828054610b7490614228565b8015610bc15780601f10610b9657610100808354040283529160200191610bc1565b820191906000526020600020905b815481529060010190602001808311610ba457829003601f168201915b5050505050905090565b600f5481565b6000610bdc826122e0565b610c1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c12906142cc565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c6182611598565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc99061435e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cf161234c565b73ffffffffffffffffffffffffffffffffffffffff161480610d205750610d1f81610d1a61234c565b612024565b5b610d5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d56906143f0565b60405180910390fd5b610d698383612354565b505050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600e5481565b610da261234c565b73ffffffffffffffffffffffffffffffffffffffff16610dc0611a42565b73ffffffffffffffffffffffffffffffffffffffff1614610e16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0d9061445c565b60405180910390fd5b80600c60016101000a81548160ff02191690831515021790555050565b60026007541415610e79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e70906144c8565b60405180910390fd5b6002600781905550600f5434811115610ec7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebe90614534565b60405180910390fd5b600c60009054906101000a900460ff16610f16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0d906145a0565b60405180910390fd5b601154601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401610f7491906138d3565b60206040518083038186803b158015610f8c57600080fd5b505afa158015610fa0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc491906145d5565b1015611005576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffc90614674565b60405180910390fd5b600d54611012600a61240d565b1115611053576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104a90614706565b60405180910390fd5b600e5461105f3361175f565b1061109f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109690614798565b60405180910390fd5b6110b0336110ab61241b565b612436565b506001600781905550565b60086020528060005260406000206000915054906101000a900460ff1681565b600c60009054906101000a900460ff1681565b6110f661234c565b73ffffffffffffffffffffffffffffffffffffffff16611114611a42565b73ffffffffffffffffffffffffffffffffffffffff161461116a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111619061445c565b60405180910390fd5b61117381612454565b50565b61118761118161234c565b82612498565b6111c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111bd9061482a565b60405180910390fd5b6111d1838383612576565b505050565b6111de61234c565b73ffffffffffffffffffffffffffffffffffffffff166111fc611a42565b73ffffffffffffffffffffffffffffffffffffffff1614611252576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112499061445c565b60405180910390fd5b80600c60006101000a81548160ff02191690831515021790555050565b60008061127b846122e0565b6112ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b190614896565b60405180910390fd5b306112d16112ca856010546127dd565b60646127f3565b915091509250929050565b60115481565b6112ea61234c565b73ffffffffffffffffffffffffffffffffffffffff16611308611a42565b73ffffffffffffffffffffffffffffffffffffffff161461135e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113559061445c565b60405180910390fd5b60005b8181101561138d5761137a3361137561241b565b612436565b8080611385906148e5565b915050611361565b5050565b61139961234c565b73ffffffffffffffffffffffffffffffffffffffff166113b7611a42565b73ffffffffffffffffffffffffffffffffffffffff161461140d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114049061445c565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611458573d6000803e3d6000fd5b5050565b61146461234c565b73ffffffffffffffffffffffffffffffffffffffff16611482611a42565b73ffffffffffffffffffffffffffffffffffffffff16146114d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114cf9061445c565b60405180910390fd5b8060108190555050565b6114fd83838360405180602001604052806000815250611ec0565b505050565b61150a61234c565b73ffffffffffffffffffffffffffffffffffffffff16611528611a42565b73ffffffffffffffffffffffffffffffffffffffff161461157e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115759061445c565b60405180910390fd5b80600b90805190602001906115949291906135d8565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611641576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611638906149a0565b60405180910390fd5b80915050919050565b60608151835114611690576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168790614a0c565b60405180910390fd5b825167ffffffffffffffff8111156116ab576116aa613b09565b5b6040519080825280602002602001820160405280156116d95781602001602082028036833780820191505090505b50905060005b8351811015611758576117268482815181106116fe576116fd614a2c565b5b602002602001015184838151811061171957611718614a2c565b5b60200260200101516121c9565b82828151811061173957611738614a2c565b5b6020026020010181815250508080611750906148e5565b9150506116df565b5092915050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c790614acd565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060600b805461182690614228565b80601f016020809104026020016040519081016040528092919081815260200182805461185290614228565b801561189f5780601f106118745761010080835404028352916020019161189f565b820191906000526020600020905b81548152906001019060200180831161188257829003601f168201915b5050505050905090565b6118b161234c565b73ffffffffffffffffffffffffffffffffffffffff166118cf611a42565b73ffffffffffffffffffffffffffffffffffffffff1614611925576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191c9061445c565b60405180910390fd5b61192f6000612809565b565b6000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161198e91906138d3565b60206040518083038186803b1580156119a657600080fd5b505afa1580156119ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119de91906145d5565b905090565b60006119ef600a61240d565b905090565b60105481565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000611a39848484611a346119fa565b6128cf565b90509392505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60026007541415611ab2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa9906144c8565b60405180910390fd5b6002600781905550600f5434811115611b00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af790614534565b60405180910390fd5b600d54611b0d600a61240d565b1115611b4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4590614706565b60405180910390fd5b600c60019054906101000a900460ff16611b9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9490614b39565b60405180910390fd5b611ba83384846129d9565b611bb933611bb461241b565b612436565b5060016007819055505050565b611bce61234c565b73ffffffffffffffffffffffffffffffffffffffff16611bec611a42565b73ffffffffffffffffffffffffffffffffffffffff1614611c42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c399061445c565b60405180910390fd5b80600f8190555050565b606060018054611c5b90614228565b80601f0160208091040260200160405190810160405280929190818152602001828054611c8790614228565b8015611cd45780601f10611ca957610100808354040283529160200191611cd4565b820191906000526020600020905b815481529060010190602001808311611cb757829003601f168201915b5050505050905090565b611ce661234c565b73ffffffffffffffffffffffffffffffffffffffff16611d04611a42565b73ffffffffffffffffffffffffffffffffffffffff1614611d5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d519061445c565b60405180910390fd5b8060118190555050565b611d6c61234c565b73ffffffffffffffffffffffffffffffffffffffff16611d8a611a42565b73ffffffffffffffffffffffffffffffffffffffff1614611de0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd79061445c565b60405180910390fd5b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611e36611e2f61234c565b8383612a1a565b5050565b611e4261234c565b73ffffffffffffffffffffffffffffffffffffffff16611e60611a42565b73ffffffffffffffffffffffffffffffffffffffff1614611eb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ead9061445c565b60405180910390fd5b80600d8190555050565b611ed1611ecb61234c565b83612498565b611f10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f079061482a565b60405180910390fd5b611f1c84848484612b87565b50505050565b6060611f2d826122e0565b611f6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6390614896565b60405180910390fd5b600b611f7783612be3565b604051602001611f88929190614c75565b6040516020818303038152906040529050919050565b611fa661234c565b73ffffffffffffffffffffffffffffffffffffffff16611fc4611a42565b73ffffffffffffffffffffffffffffffffffffffff161461201a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120119061445c565b60405180910390fd5b80600e8190555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c60019054906101000a900460ff1681565b6120d361234c565b73ffffffffffffffffffffffffffffffffffffffff166120f1611a42565b73ffffffffffffffffffffffffffffffffffffffff1614612147576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213e9061445c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156121b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ae90614d16565b60405180910390fd5b6121c081612809565b50565b600d5481565b60008282306040516020016121e093929190614d36565b60405160208183030381529060405280519060200120905092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806122c957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806122d957506122d882612d44565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166123c783611598565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b6000612427600a612dae565b612431600a61240d565b905090565b612450828260405180602001604052806000815250612dc4565b5050565b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006124a3826122e0565b6124e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d990614ddf565b60405180910390fd5b60006124ed83611598565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061255c57508373ffffffffffffffffffffffffffffffffffffffff1661254484610bd1565b73ffffffffffffffffffffffffffffffffffffffff16145b8061256d575061256c8185612024565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661259682611598565b73ffffffffffffffffffffffffffffffffffffffff16146125ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e390614e71565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561265c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265390614f03565b60405180910390fd5b612667838383612e1f565b612672600082612354565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126c29190614f23565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127199190614f57565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127d8838383612e24565b505050565b600081836127eb9190614fad565b905092915050565b600081836128019190615036565b905092915050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000806128e46128df87876121c9565b612e29565b90508273ffffffffffffffffffffffffffffffffffffffff166129108583612e5990919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff1614612966576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295d906150b3565b60405180910390fd5b600015156008600083815260200190815260200160002060009054906101000a900460ff161515146129cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129c49061511f565b60405180910390fd5b80915050949350505050565b60006129e6848484611a24565b905060016008600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612a89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a809061518b565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612b7a919061372f565b60405180910390a3505050565b612b92848484612576565b612b9e84848484612e80565b612bdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bd49061521d565b60405180910390fd5b50505050565b60606000821415612c2b576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d3f565b600082905060005b60008214612c5d578080612c46906148e5565b915050600a82612c569190615036565b9150612c33565b60008167ffffffffffffffff811115612c7957612c78613b09565b5b6040519080825280601f01601f191660200182016040528015612cab5781602001600182028036833780820191505090505b5090505b60008514612d3857600182612cc49190614f23565b9150600a85612cd3919061523d565b6030612cdf9190614f57565b60f81b818381518110612cf557612cf4614a2c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612d319190615036565b9450612caf565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6001816000016000828254019250508190555050565b612dce8383613017565b612ddb6000848484612e80565b612e1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e119061521d565b60405180910390fd5b505050565b505050565b505050565b600081604051602001612e3c91906152db565b604051602081830303815290604052805190602001209050919050565b6000806000612e6885856131f1565b91509150612e7581613274565b819250505092915050565b6000612ea18473ffffffffffffffffffffffffffffffffffffffff16613449565b1561300a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612eca61234c565b8786866040518563ffffffff1660e01b8152600401612eec9493929190615356565b602060405180830381600087803b158015612f0657600080fd5b505af1925050508015612f3757506040513d601f19601f82011682018060405250810190612f3491906153b7565b60015b612fba573d8060008114612f67576040519150601f19603f3d011682016040523d82523d6000602084013e612f6c565b606091505b50600081511415612fb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fa99061521d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061300f565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613087576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161307e90615430565b60405180910390fd5b613090816122e0565b156130d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130c79061549c565b60405180910390fd5b6130dc60008383612e1f565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461312c9190614f57565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46131ed60008383612e24565b5050565b6000806041835114156132335760008060006020860151925060408601519150606086015160001a90506132278782858561346c565b9450945050505061326d565b604083511415613264576000806020850151915060408501519050613259868383613579565b93509350505061326d565b60006002915091505b9250929050565b60006004811115613288576132876154bc565b5b81600481111561329b5761329a6154bc565b5b14156132a657613446565b600160048111156132ba576132b96154bc565b5b8160048111156132cd576132cc6154bc565b5b141561330e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161330590615537565b60405180910390fd5b60026004811115613322576133216154bc565b5b816004811115613335576133346154bc565b5b1415613376576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161336d906155a3565b60405180910390fd5b6003600481111561338a576133896154bc565b5b81600481111561339d5761339c6154bc565b5b14156133de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133d590615635565b60405180910390fd5b6004808111156133f1576133f06154bc565b5b816004811115613404576134036154bc565b5b1415613445576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161343c906156c7565b60405180910390fd5b5b50565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156134a7576000600391509150613570565b601b8560ff16141580156134bf5750601c8560ff1614155b156134d1576000600491509150613570565b6000600187878787604051600081526020016040526040516134f69493929190615703565b6020604051602081039080840390855afa158015613518573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561356757600060019250925050613570565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c6135bc9190614f57565b90506135ca8782888561346c565b935093505050935093915050565b8280546135e490614228565b90600052602060002090601f016020900481019282613606576000855561364d565b82601f1061361f57805160ff191683800117855561364d565b8280016001018555821561364d579182015b8281111561364c578251825591602001919060010190613631565b5b50905061365a919061365e565b5090565b5b8082111561367757600081600090555060010161365f565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6136c48161368f565b81146136cf57600080fd5b50565b6000813590506136e1816136bb565b92915050565b6000602082840312156136fd576136fc613685565b5b600061370b848285016136d2565b91505092915050565b60008115159050919050565b61372981613714565b82525050565b60006020820190506137446000830184613720565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613784578082015181840152602081019050613769565b83811115613793576000848401525b50505050565b6000601f19601f8301169050919050565b60006137b58261374a565b6137bf8185613755565b93506137cf818560208601613766565b6137d881613799565b840191505092915050565b600060208201905081810360008301526137fd81846137aa565b905092915050565b6000819050919050565b61381881613805565b82525050565b6000602082019050613833600083018461380f565b92915050565b61384281613805565b811461384d57600080fd5b50565b60008135905061385f81613839565b92915050565b60006020828403121561387b5761387a613685565b5b600061388984828501613850565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006138bd82613892565b9050919050565b6138cd816138b2565b82525050565b60006020820190506138e860008301846138c4565b92915050565b6138f7816138b2565b811461390257600080fd5b50565b600081359050613914816138ee565b92915050565b6000806040838503121561393157613930613685565b5b600061393f85828601613905565b925050602061395085828601613850565b9150509250929050565b61396381613714565b811461396e57600080fd5b50565b6000813590506139808161395a565b92915050565b60006020828403121561399c5761399b613685565b5b60006139aa84828501613971565b91505092915050565b6000819050919050565b6139c6816139b3565b81146139d157600080fd5b50565b6000813590506139e3816139bd565b92915050565b6000602082840312156139ff576139fe613685565b5b6000613a0d848285016139d4565b91505092915050565b600060208284031215613a2c57613a2b613685565b5b6000613a3a84828501613905565b91505092915050565b600080600060608486031215613a5c57613a5b613685565b5b6000613a6a86828701613905565b9350506020613a7b86828701613905565b9250506040613a8c86828701613850565b9150509250925092565b60008060408385031215613aad57613aac613685565b5b6000613abb85828601613850565b9250506020613acc85828601613850565b9150509250929050565b6000604082019050613aeb60008301856138c4565b613af8602083018461380f565b9392505050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613b4182613799565b810181811067ffffffffffffffff82111715613b6057613b5f613b09565b5b80604052505050565b6000613b7361367b565b9050613b7f8282613b38565b919050565b600067ffffffffffffffff821115613b9f57613b9e613b09565b5b613ba882613799565b9050602081019050919050565b82818337600083830152505050565b6000613bd7613bd284613b84565b613b69565b905082815260208101848484011115613bf357613bf2613b04565b5b613bfe848285613bb5565b509392505050565b600082601f830112613c1b57613c1a613aff565b5b8135613c2b848260208601613bc4565b91505092915050565b600060208284031215613c4a57613c49613685565b5b600082013567ffffffffffffffff811115613c6857613c6761368a565b5b613c7484828501613c06565b91505092915050565b600067ffffffffffffffff821115613c9857613c97613b09565b5b602082029050602081019050919050565b600080fd5b6000613cc1613cbc84613c7d565b613b69565b90508083825260208201905060208402830185811115613ce457613ce3613ca9565b5b835b81811015613d0d5780613cf98882613905565b845260208401935050602081019050613ce6565b5050509392505050565b600082601f830112613d2c57613d2b613aff565b5b8135613d3c848260208601613cae565b91505092915050565b600067ffffffffffffffff821115613d6057613d5f613b09565b5b602082029050602081019050919050565b6000613d84613d7f84613d45565b613b69565b90508083825260208201905060208402830185811115613da757613da6613ca9565b5b835b81811015613dd05780613dbc8882613850565b845260208401935050602081019050613da9565b5050509392505050565b600082601f830112613def57613dee613aff565b5b8135613dff848260208601613d71565b91505092915050565b60008060408385031215613e1f57613e1e613685565b5b600083013567ffffffffffffffff811115613e3d57613e3c61368a565b5b613e4985828601613d17565b925050602083013567ffffffffffffffff811115613e6a57613e6961368a565b5b613e7685828601613dda565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613eb5816139b3565b82525050565b6000613ec78383613eac565b60208301905092915050565b6000602082019050919050565b6000613eeb82613e80565b613ef58185613e8b565b9350613f0083613e9c565b8060005b83811015613f31578151613f188882613ebb565b9750613f2383613ed3565b925050600181019050613f04565b5085935050505092915050565b60006020820190508181036000830152613f588184613ee0565b905092915050565b600067ffffffffffffffff821115613f7b57613f7a613b09565b5b613f8482613799565b9050602081019050919050565b6000613fa4613f9f84613f60565b613b69565b905082815260208101848484011115613fc057613fbf613b04565b5b613fcb848285613bb5565b509392505050565b600082601f830112613fe857613fe7613aff565b5b8135613ff8848260208601613f91565b91505092915050565b60008060006060848603121561401a57614019613685565b5b600061402886828701613905565b935050602061403986828701613850565b925050604084013567ffffffffffffffff81111561405a5761405961368a565b5b61406686828701613fd3565b9150509250925092565b614079816139b3565b82525050565b60006020820190506140946000830184614070565b92915050565b600080604083850312156140b1576140b0613685565b5b60006140bf85828601613850565b925050602083013567ffffffffffffffff8111156140e0576140df61368a565b5b6140ec85828601613fd3565b9150509250929050565b6000806040838503121561410d5761410c613685565b5b600061411b85828601613905565b925050602061412c85828601613971565b9150509250929050565b600080600080608085870312156141505761414f613685565b5b600061415e87828801613905565b945050602061416f87828801613905565b935050604061418087828801613850565b925050606085013567ffffffffffffffff8111156141a1576141a061368a565b5b6141ad87828801613fd3565b91505092959194509250565b600080604083850312156141d0576141cf613685565b5b60006141de85828601613905565b92505060206141ef85828601613905565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061424057607f821691505b60208210811415614254576142536141f9565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006142b6602c83613755565b91506142c18261425a565b604082019050919050565b600060208201905081810360008301526142e5816142a9565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614348602183613755565b9150614353826142ec565b604082019050919050565b600060208201905081810360008301526143778161433b565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006143da603883613755565b91506143e58261437e565b604082019050919050565b60006020820190508181036000830152614409816143cd565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614446602083613755565b915061445182614410565b602082019050919050565b6000602082019050818103600083015261447581614439565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006144b2601f83613755565b91506144bd8261447c565b602082019050919050565b600060208201905081810360008301526144e1816144a5565b9050919050565b7f496e636f7272656374204554482076616c75652073656e740000000000000000600082015250565b600061451e601883613755565b9150614529826144e8565b602082019050919050565b6000602082019050818103600083015261454d81614511565b9050919050565b7f5075626c69632073616c65206973206e6f74206f70656e000000000000000000600082015250565b600061458a601783613755565b915061459582614554565b602082019050919050565b600060208201905081810360008301526145b98161457d565b9050919050565b6000815190506145cf81613839565b92915050565b6000602082840312156145eb576145ea613685565b5b60006145f9848285016145c0565b91505092915050565b7f596f75206d75737420686f6c642046574220746f20707572636861736520612060008201527f7469636b65740000000000000000000000000000000000000000000000000000602082015250565b600061465e602683613755565b915061466982614602565b604082019050919050565b6000602082019050818103600083015261468d81614651565b9050919050565b7f4e6f7420656e6f756768207469636b6574732072656d61696e696e6720746f2060008201527f6d696e7400000000000000000000000000000000000000000000000000000000602082015250565b60006146f0602483613755565b91506146fb82614694565b604082019050919050565b6000602082019050818103600083015261471f816146e3565b9050919050565b7f5468697320616464726573732068617320616c7265616479206d696e7465642060008201527f61207469636b65742e0000000000000000000000000000000000000000000000602082015250565b6000614782602983613755565b915061478d82614726565b604082019050919050565b600060208201905081810360008301526147b181614775565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614814603183613755565b915061481f826147b8565b604082019050919050565b6000602082019050818103600083015261484381614807565b9050919050565b7f4e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b6000614880601183613755565b915061488b8261484a565b602082019050919050565b600060208201905081810360008301526148af81614873565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006148f082613805565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614923576149226148b6565b5b600182019050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b600061498a602983613755565b91506149958261492e565b604082019050919050565b600060208201905081810360008301526149b98161497d565b9050919050565b7f214c454e4754485f4d49534d4154434821000000000000000000000000000000600082015250565b60006149f6601183613755565b9150614a01826149c0565b602082019050919050565b60006020820190508181036000830152614a25816149e9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614ab7602a83613755565b9150614ac282614a5b565b604082019050919050565b60006020820190508181036000830152614ae681614aaa565b9050919050565b7f53616c65206973206e6f74206f70656e00000000000000000000000000000000600082015250565b6000614b23601083613755565b9150614b2e82614aed565b602082019050919050565b60006020820190508181036000830152614b5281614b16565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154614b8681614228565b614b908186614b59565b94506001821660008114614bab5760018114614bbc57614bef565b60ff19831686528186019350614bef565b614bc585614b64565b60005b83811015614be757815481890152600182019150602081019050614bc8565b838801955050505b50505092915050565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614c2e600183614b59565b9150614c3982614bf8565b600182019050919050565b6000614c4f8261374a565b614c598185614b59565b9350614c69818560208601613766565b80840191505092915050565b6000614c818285614b79565b9150614c8c82614c21565b9150614c988284614c44565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614d00602683613755565b9150614d0b82614ca4565b604082019050919050565b60006020820190508181036000830152614d2f81614cf3565b9050919050565b6000606082019050614d4b60008301866138c4565b614d58602083018561380f565b614d6560408301846138c4565b949350505050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614dc9602c83613755565b9150614dd482614d6d565b604082019050919050565b60006020820190508181036000830152614df881614dbc565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614e5b602583613755565b9150614e6682614dff565b604082019050919050565b60006020820190508181036000830152614e8a81614e4e565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614eed602483613755565b9150614ef882614e91565b604082019050919050565b60006020820190508181036000830152614f1c81614ee0565b9050919050565b6000614f2e82613805565b9150614f3983613805565b925082821015614f4c57614f4b6148b6565b5b828203905092915050565b6000614f6282613805565b9150614f6d83613805565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614fa257614fa16148b6565b5b828201905092915050565b6000614fb882613805565b9150614fc383613805565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614ffc57614ffb6148b6565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061504182613805565b915061504c83613805565b92508261505c5761505b615007565b5b828204905092915050565b7f21494e56414c49445f5349474e41545552452100000000000000000000000000600082015250565b600061509d601383613755565b91506150a882615067565b602082019050919050565b600060208201905081810360008301526150cc81615090565b9050919050565b7f21414c52454144595f5553454421000000000000000000000000000000000000600082015250565b6000615109600e83613755565b9150615114826150d3565b602082019050919050565b60006020820190508181036000830152615138816150fc565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615175601983613755565b91506151808261513f565b602082019050919050565b600060208201905081810360008301526151a481615168565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615207603283613755565b9150615212826151ab565b604082019050919050565b60006020820190508181036000830152615236816151fa565b9050919050565b600061524882613805565b915061525383613805565b92508261526357615262615007565b5b828206905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b60006152a4601c83614b59565b91506152af8261526e565b601c82019050919050565b6000819050919050565b6152d56152d0826139b3565b6152ba565b82525050565b60006152e682615297565b91506152f282846152c4565b60208201915081905092915050565b600081519050919050565b600082825260208201905092915050565b600061532882615301565b615332818561530c565b9350615342818560208601613766565b61534b81613799565b840191505092915050565b600060808201905061536b60008301876138c4565b61537860208301866138c4565b615385604083018561380f565b8181036060830152615397818461531d565b905095945050505050565b6000815190506153b1816136bb565b92915050565b6000602082840312156153cd576153cc613685565b5b60006153db848285016153a2565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061541a602083613755565b9150615425826153e4565b602082019050919050565b600060208201905081810360008301526154498161540d565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615486601c83613755565b915061549182615450565b602082019050919050565b600060208201905081810360008301526154b581615479565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615521601883613755565b915061552c826154eb565b602082019050919050565b6000602082019050818103600083015261555081615514565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b600061558d601f83613755565b915061559882615557565b602082019050919050565b600060208201905081810360008301526155bc81615580565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b600061561f602283613755565b915061562a826155c3565b604082019050919050565b6000602082019050818103600083015261564e81615612565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006156b1602283613755565b91506156bc82615655565b604082019050919050565b600060208201905081810360008301526156e0816156a4565b9050919050565b600060ff82169050919050565b6156fd816156e7565b82525050565b60006080820190506157186000830187614070565b61572560208301866156f4565b6157326040830185614070565b61573f6060830184614070565b9594505050505056fea26469706673582212206b35410628dc4dd09dd34c5364bda9bff88a237308bac6c2ba912a30a7ca084a64736f6c63430008090033
Deployed Bytecode
0x6080604052600436106102885760003560e01c806370a082311161015a578063960bfe04116100c1578063e268e4d31161007a578063e268e4d31461099d578063e985e9c5146109c6578063eaf9ec8614610a03578063f2fde38b14610a2e578063fca846dc14610a57578063feff199914610a8257610288565b8063960bfe04146108935780639bbb7290146108bc578063a22cb465146108e5578063b77a15091461090e578063b88d4fde14610937578063c87b56dd1461096057610288565b80638838b5c3116101135780638838b5c314610790578063890621da146107bb5780638da5cb5b146107f8578063915db9841461082357806391b7f5ed1461083f57806395d89b411461086857610288565b806370a0823114610690578063714c5398146106cd578063715018a6146106f85780637e586f8c1461070f57806383c4c00d1461073a5780638704a2081461076557610288565b80632073447d116101fe5780633ccfd60b116101b75780633ccfd60b146105845780634209a2e11461059b57806342842e0e146105c457806355f804b3146105ed5780636352211e146106165780636c4a412c1461065357610288565b80632073447d1461047757806323b872dd146104a057806328cad13d146104c95780632a55205a146104f25780632c31b6291461053057806333f88d221461055b57610288565b80630f1d6a49116102505780630f1d6a49146103865780630f2cdd6c146103b157806310a6bdca146103dc5780631249c58b14610405578063195e87081461040f5780631e84c4131461044c57610288565b806301ffc9a71461028d57806306fdde03146102ca57806307e89ec0146102f5578063081812fc14610320578063095ea7b31461035d575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af91906136e7565b610abf565b6040516102c1919061372f565b60405180910390f35b3480156102d657600080fd5b506102df610b39565b6040516102ec91906137e3565b60405180910390f35b34801561030157600080fd5b5061030a610bcb565b604051610317919061381e565b60405180910390f35b34801561032c57600080fd5b5061034760048036038101906103429190613865565b610bd1565b60405161035491906138d3565b60405180910390f35b34801561036957600080fd5b50610384600480360381019061037f919061391a565b610c56565b005b34801561039257600080fd5b5061039b610d6e565b6040516103a891906138d3565b60405180910390f35b3480156103bd57600080fd5b506103c6610d94565b6040516103d3919061381e565b60405180910390f35b3480156103e857600080fd5b5061040360048036038101906103fe9190613986565b610d9a565b005b61040d610e33565b005b34801561041b57600080fd5b50610436600480360381019061043191906139e9565b6110bb565b604051610443919061372f565b60405180910390f35b34801561045857600080fd5b506104616110db565b60405161046e919061372f565b60405180910390f35b34801561048357600080fd5b5061049e60048036038101906104999190613a16565b6110ee565b005b3480156104ac57600080fd5b506104c760048036038101906104c29190613a43565b611176565b005b3480156104d557600080fd5b506104f060048036038101906104eb9190613986565b6111d6565b005b3480156104fe57600080fd5b5061051960048036038101906105149190613a96565b61126f565b604051610527929190613ad6565b60405180910390f35b34801561053c57600080fd5b506105456112dc565b604051610552919061381e565b60405180910390f35b34801561056757600080fd5b50610582600480360381019061057d9190613865565b6112e2565b005b34801561059057600080fd5b50610599611391565b005b3480156105a757600080fd5b506105c260048036038101906105bd9190613865565b61145c565b005b3480156105d057600080fd5b506105eb60048036038101906105e69190613a43565b6114e2565b005b3480156105f957600080fd5b50610614600480360381019061060f9190613c34565b611502565b005b34801561062257600080fd5b5061063d60048036038101906106389190613865565b611598565b60405161064a91906138d3565b60405180910390f35b34801561065f57600080fd5b5061067a60048036038101906106759190613e08565b61164a565b6040516106879190613f3e565b60405180910390f35b34801561069c57600080fd5b506106b760048036038101906106b29190613a16565b61175f565b6040516106c4919061381e565b60405180910390f35b3480156106d957600080fd5b506106e2611817565b6040516106ef91906137e3565b60405180910390f35b34801561070457600080fd5b5061070d6118a9565b005b34801561071b57600080fd5b50610724611931565b604051610731919061381e565b60405180910390f35b34801561074657600080fd5b5061074f6119e3565b60405161075c919061381e565b60405180910390f35b34801561077157600080fd5b5061077a6119f4565b604051610787919061381e565b60405180910390f35b34801561079c57600080fd5b506107a56119fa565b6040516107b291906138d3565b60405180910390f35b3480156107c757600080fd5b506107e260048036038101906107dd9190614001565b611a24565b6040516107ef919061407f565b60405180910390f35b34801561080457600080fd5b5061080d611a42565b60405161081a91906138d3565b60405180910390f35b61083d6004803603810190610838919061409a565b611a6c565b005b34801561084b57600080fd5b5061086660048036038101906108619190613865565b611bc6565b005b34801561087457600080fd5b5061087d611c4c565b60405161088a91906137e3565b60405180910390f35b34801561089f57600080fd5b506108ba60048036038101906108b59190613865565b611cde565b005b3480156108c857600080fd5b506108e360048036038101906108de9190613a16565b611d64565b005b3480156108f157600080fd5b5061090c600480360381019061090791906140f6565b611e24565b005b34801561091a57600080fd5b5061093560048036038101906109309190613865565b611e3a565b005b34801561094357600080fd5b5061095e60048036038101906109599190614136565b611ec0565b005b34801561096c57600080fd5b5061098760048036038101906109829190613865565b611f22565b60405161099491906137e3565b60405180910390f35b3480156109a957600080fd5b506109c460048036038101906109bf9190613865565b611f9e565b005b3480156109d257600080fd5b506109ed60048036038101906109e891906141b9565b612024565b6040516109fa919061372f565b60405180910390f35b348015610a0f57600080fd5b50610a186120b8565b604051610a25919061372f565b60405180910390f35b348015610a3a57600080fd5b50610a556004803603810190610a509190613a16565b6120cb565b005b348015610a6357600080fd5b50610a6c6121c3565b604051610a79919061381e565b60405180910390f35b348015610a8e57600080fd5b50610aa96004803603810190610aa4919061391a565b6121c9565b604051610ab6919061407f565b60405180910390f35b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b325750610b31826121fe565b5b9050919050565b606060008054610b4890614228565b80601f0160208091040260200160405190810160405280929190818152602001828054610b7490614228565b8015610bc15780601f10610b9657610100808354040283529160200191610bc1565b820191906000526020600020905b815481529060010190602001808311610ba457829003601f168201915b5050505050905090565b600f5481565b6000610bdc826122e0565b610c1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c12906142cc565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c6182611598565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc99061435e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cf161234c565b73ffffffffffffffffffffffffffffffffffffffff161480610d205750610d1f81610d1a61234c565b612024565b5b610d5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d56906143f0565b60405180910390fd5b610d698383612354565b505050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600e5481565b610da261234c565b73ffffffffffffffffffffffffffffffffffffffff16610dc0611a42565b73ffffffffffffffffffffffffffffffffffffffff1614610e16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0d9061445c565b60405180910390fd5b80600c60016101000a81548160ff02191690831515021790555050565b60026007541415610e79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e70906144c8565b60405180910390fd5b6002600781905550600f5434811115610ec7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebe90614534565b60405180910390fd5b600c60009054906101000a900460ff16610f16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0d906145a0565b60405180910390fd5b601154601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401610f7491906138d3565b60206040518083038186803b158015610f8c57600080fd5b505afa158015610fa0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc491906145d5565b1015611005576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffc90614674565b60405180910390fd5b600d54611012600a61240d565b1115611053576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104a90614706565b60405180910390fd5b600e5461105f3361175f565b1061109f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109690614798565b60405180910390fd5b6110b0336110ab61241b565b612436565b506001600781905550565b60086020528060005260406000206000915054906101000a900460ff1681565b600c60009054906101000a900460ff1681565b6110f661234c565b73ffffffffffffffffffffffffffffffffffffffff16611114611a42565b73ffffffffffffffffffffffffffffffffffffffff161461116a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111619061445c565b60405180910390fd5b61117381612454565b50565b61118761118161234c565b82612498565b6111c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111bd9061482a565b60405180910390fd5b6111d1838383612576565b505050565b6111de61234c565b73ffffffffffffffffffffffffffffffffffffffff166111fc611a42565b73ffffffffffffffffffffffffffffffffffffffff1614611252576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112499061445c565b60405180910390fd5b80600c60006101000a81548160ff02191690831515021790555050565b60008061127b846122e0565b6112ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b190614896565b60405180910390fd5b306112d16112ca856010546127dd565b60646127f3565b915091509250929050565b60115481565b6112ea61234c565b73ffffffffffffffffffffffffffffffffffffffff16611308611a42565b73ffffffffffffffffffffffffffffffffffffffff161461135e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113559061445c565b60405180910390fd5b60005b8181101561138d5761137a3361137561241b565b612436565b8080611385906148e5565b915050611361565b5050565b61139961234c565b73ffffffffffffffffffffffffffffffffffffffff166113b7611a42565b73ffffffffffffffffffffffffffffffffffffffff161461140d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114049061445c565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611458573d6000803e3d6000fd5b5050565b61146461234c565b73ffffffffffffffffffffffffffffffffffffffff16611482611a42565b73ffffffffffffffffffffffffffffffffffffffff16146114d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114cf9061445c565b60405180910390fd5b8060108190555050565b6114fd83838360405180602001604052806000815250611ec0565b505050565b61150a61234c565b73ffffffffffffffffffffffffffffffffffffffff16611528611a42565b73ffffffffffffffffffffffffffffffffffffffff161461157e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115759061445c565b60405180910390fd5b80600b90805190602001906115949291906135d8565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611641576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611638906149a0565b60405180910390fd5b80915050919050565b60608151835114611690576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168790614a0c565b60405180910390fd5b825167ffffffffffffffff8111156116ab576116aa613b09565b5b6040519080825280602002602001820160405280156116d95781602001602082028036833780820191505090505b50905060005b8351811015611758576117268482815181106116fe576116fd614a2c565b5b602002602001015184838151811061171957611718614a2c565b5b60200260200101516121c9565b82828151811061173957611738614a2c565b5b6020026020010181815250508080611750906148e5565b9150506116df565b5092915050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c790614acd565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060600b805461182690614228565b80601f016020809104026020016040519081016040528092919081815260200182805461185290614228565b801561189f5780601f106118745761010080835404028352916020019161189f565b820191906000526020600020905b81548152906001019060200180831161188257829003601f168201915b5050505050905090565b6118b161234c565b73ffffffffffffffffffffffffffffffffffffffff166118cf611a42565b73ffffffffffffffffffffffffffffffffffffffff1614611925576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191c9061445c565b60405180910390fd5b61192f6000612809565b565b6000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161198e91906138d3565b60206040518083038186803b1580156119a657600080fd5b505afa1580156119ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119de91906145d5565b905090565b60006119ef600a61240d565b905090565b60105481565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000611a39848484611a346119fa565b6128cf565b90509392505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60026007541415611ab2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa9906144c8565b60405180910390fd5b6002600781905550600f5434811115611b00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af790614534565b60405180910390fd5b600d54611b0d600a61240d565b1115611b4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4590614706565b60405180910390fd5b600c60019054906101000a900460ff16611b9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9490614b39565b60405180910390fd5b611ba83384846129d9565b611bb933611bb461241b565b612436565b5060016007819055505050565b611bce61234c565b73ffffffffffffffffffffffffffffffffffffffff16611bec611a42565b73ffffffffffffffffffffffffffffffffffffffff1614611c42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c399061445c565b60405180910390fd5b80600f8190555050565b606060018054611c5b90614228565b80601f0160208091040260200160405190810160405280929190818152602001828054611c8790614228565b8015611cd45780601f10611ca957610100808354040283529160200191611cd4565b820191906000526020600020905b815481529060010190602001808311611cb757829003601f168201915b5050505050905090565b611ce661234c565b73ffffffffffffffffffffffffffffffffffffffff16611d04611a42565b73ffffffffffffffffffffffffffffffffffffffff1614611d5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d519061445c565b60405180910390fd5b8060118190555050565b611d6c61234c565b73ffffffffffffffffffffffffffffffffffffffff16611d8a611a42565b73ffffffffffffffffffffffffffffffffffffffff1614611de0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd79061445c565b60405180910390fd5b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611e36611e2f61234c565b8383612a1a565b5050565b611e4261234c565b73ffffffffffffffffffffffffffffffffffffffff16611e60611a42565b73ffffffffffffffffffffffffffffffffffffffff1614611eb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ead9061445c565b60405180910390fd5b80600d8190555050565b611ed1611ecb61234c565b83612498565b611f10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f079061482a565b60405180910390fd5b611f1c84848484612b87565b50505050565b6060611f2d826122e0565b611f6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6390614896565b60405180910390fd5b600b611f7783612be3565b604051602001611f88929190614c75565b6040516020818303038152906040529050919050565b611fa661234c565b73ffffffffffffffffffffffffffffffffffffffff16611fc4611a42565b73ffffffffffffffffffffffffffffffffffffffff161461201a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120119061445c565b60405180910390fd5b80600e8190555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c60019054906101000a900460ff1681565b6120d361234c565b73ffffffffffffffffffffffffffffffffffffffff166120f1611a42565b73ffffffffffffffffffffffffffffffffffffffff1614612147576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213e9061445c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156121b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ae90614d16565b60405180910390fd5b6121c081612809565b50565b600d5481565b60008282306040516020016121e093929190614d36565b60405160208183030381529060405280519060200120905092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806122c957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806122d957506122d882612d44565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166123c783611598565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b6000612427600a612dae565b612431600a61240d565b905090565b612450828260405180602001604052806000815250612dc4565b5050565b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006124a3826122e0565b6124e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d990614ddf565b60405180910390fd5b60006124ed83611598565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061255c57508373ffffffffffffffffffffffffffffffffffffffff1661254484610bd1565b73ffffffffffffffffffffffffffffffffffffffff16145b8061256d575061256c8185612024565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661259682611598565b73ffffffffffffffffffffffffffffffffffffffff16146125ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e390614e71565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561265c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265390614f03565b60405180910390fd5b612667838383612e1f565b612672600082612354565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126c29190614f23565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127199190614f57565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127d8838383612e24565b505050565b600081836127eb9190614fad565b905092915050565b600081836128019190615036565b905092915050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000806128e46128df87876121c9565b612e29565b90508273ffffffffffffffffffffffffffffffffffffffff166129108583612e5990919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff1614612966576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295d906150b3565b60405180910390fd5b600015156008600083815260200190815260200160002060009054906101000a900460ff161515146129cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129c49061511f565b60405180910390fd5b80915050949350505050565b60006129e6848484611a24565b905060016008600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612a89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a809061518b565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612b7a919061372f565b60405180910390a3505050565b612b92848484612576565b612b9e84848484612e80565b612bdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bd49061521d565b60405180910390fd5b50505050565b60606000821415612c2b576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d3f565b600082905060005b60008214612c5d578080612c46906148e5565b915050600a82612c569190615036565b9150612c33565b60008167ffffffffffffffff811115612c7957612c78613b09565b5b6040519080825280601f01601f191660200182016040528015612cab5781602001600182028036833780820191505090505b5090505b60008514612d3857600182612cc49190614f23565b9150600a85612cd3919061523d565b6030612cdf9190614f57565b60f81b818381518110612cf557612cf4614a2c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612d319190615036565b9450612caf565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6001816000016000828254019250508190555050565b612dce8383613017565b612ddb6000848484612e80565b612e1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e119061521d565b60405180910390fd5b505050565b505050565b505050565b600081604051602001612e3c91906152db565b604051602081830303815290604052805190602001209050919050565b6000806000612e6885856131f1565b91509150612e7581613274565b819250505092915050565b6000612ea18473ffffffffffffffffffffffffffffffffffffffff16613449565b1561300a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612eca61234c565b8786866040518563ffffffff1660e01b8152600401612eec9493929190615356565b602060405180830381600087803b158015612f0657600080fd5b505af1925050508015612f3757506040513d601f19601f82011682018060405250810190612f3491906153b7565b60015b612fba573d8060008114612f67576040519150601f19603f3d011682016040523d82523d6000602084013e612f6c565b606091505b50600081511415612fb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fa99061521d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061300f565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613087576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161307e90615430565b60405180910390fd5b613090816122e0565b156130d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130c79061549c565b60405180910390fd5b6130dc60008383612e1f565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461312c9190614f57565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46131ed60008383612e24565b5050565b6000806041835114156132335760008060006020860151925060408601519150606086015160001a90506132278782858561346c565b9450945050505061326d565b604083511415613264576000806020850151915060408501519050613259868383613579565b93509350505061326d565b60006002915091505b9250929050565b60006004811115613288576132876154bc565b5b81600481111561329b5761329a6154bc565b5b14156132a657613446565b600160048111156132ba576132b96154bc565b5b8160048111156132cd576132cc6154bc565b5b141561330e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161330590615537565b60405180910390fd5b60026004811115613322576133216154bc565b5b816004811115613335576133346154bc565b5b1415613376576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161336d906155a3565b60405180910390fd5b6003600481111561338a576133896154bc565b5b81600481111561339d5761339c6154bc565b5b14156133de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133d590615635565b60405180910390fd5b6004808111156133f1576133f06154bc565b5b816004811115613404576134036154bc565b5b1415613445576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161343c906156c7565b60405180910390fd5b5b50565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156134a7576000600391509150613570565b601b8560ff16141580156134bf5750601c8560ff1614155b156134d1576000600491509150613570565b6000600187878787604051600081526020016040526040516134f69493929190615703565b6020604051602081039080840390855afa158015613518573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561356757600060019250925050613570565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c6135bc9190614f57565b90506135ca8782888561346c565b935093505050935093915050565b8280546135e490614228565b90600052602060002090601f016020900481019282613606576000855561364d565b82601f1061361f57805160ff191683800117855561364d565b8280016001018555821561364d579182015b8281111561364c578251825591602001919060010190613631565b5b50905061365a919061365e565b5090565b5b8082111561367757600081600090555060010161365f565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6136c48161368f565b81146136cf57600080fd5b50565b6000813590506136e1816136bb565b92915050565b6000602082840312156136fd576136fc613685565b5b600061370b848285016136d2565b91505092915050565b60008115159050919050565b61372981613714565b82525050565b60006020820190506137446000830184613720565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613784578082015181840152602081019050613769565b83811115613793576000848401525b50505050565b6000601f19601f8301169050919050565b60006137b58261374a565b6137bf8185613755565b93506137cf818560208601613766565b6137d881613799565b840191505092915050565b600060208201905081810360008301526137fd81846137aa565b905092915050565b6000819050919050565b61381881613805565b82525050565b6000602082019050613833600083018461380f565b92915050565b61384281613805565b811461384d57600080fd5b50565b60008135905061385f81613839565b92915050565b60006020828403121561387b5761387a613685565b5b600061388984828501613850565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006138bd82613892565b9050919050565b6138cd816138b2565b82525050565b60006020820190506138e860008301846138c4565b92915050565b6138f7816138b2565b811461390257600080fd5b50565b600081359050613914816138ee565b92915050565b6000806040838503121561393157613930613685565b5b600061393f85828601613905565b925050602061395085828601613850565b9150509250929050565b61396381613714565b811461396e57600080fd5b50565b6000813590506139808161395a565b92915050565b60006020828403121561399c5761399b613685565b5b60006139aa84828501613971565b91505092915050565b6000819050919050565b6139c6816139b3565b81146139d157600080fd5b50565b6000813590506139e3816139bd565b92915050565b6000602082840312156139ff576139fe613685565b5b6000613a0d848285016139d4565b91505092915050565b600060208284031215613a2c57613a2b613685565b5b6000613a3a84828501613905565b91505092915050565b600080600060608486031215613a5c57613a5b613685565b5b6000613a6a86828701613905565b9350506020613a7b86828701613905565b9250506040613a8c86828701613850565b9150509250925092565b60008060408385031215613aad57613aac613685565b5b6000613abb85828601613850565b9250506020613acc85828601613850565b9150509250929050565b6000604082019050613aeb60008301856138c4565b613af8602083018461380f565b9392505050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613b4182613799565b810181811067ffffffffffffffff82111715613b6057613b5f613b09565b5b80604052505050565b6000613b7361367b565b9050613b7f8282613b38565b919050565b600067ffffffffffffffff821115613b9f57613b9e613b09565b5b613ba882613799565b9050602081019050919050565b82818337600083830152505050565b6000613bd7613bd284613b84565b613b69565b905082815260208101848484011115613bf357613bf2613b04565b5b613bfe848285613bb5565b509392505050565b600082601f830112613c1b57613c1a613aff565b5b8135613c2b848260208601613bc4565b91505092915050565b600060208284031215613c4a57613c49613685565b5b600082013567ffffffffffffffff811115613c6857613c6761368a565b5b613c7484828501613c06565b91505092915050565b600067ffffffffffffffff821115613c9857613c97613b09565b5b602082029050602081019050919050565b600080fd5b6000613cc1613cbc84613c7d565b613b69565b90508083825260208201905060208402830185811115613ce457613ce3613ca9565b5b835b81811015613d0d5780613cf98882613905565b845260208401935050602081019050613ce6565b5050509392505050565b600082601f830112613d2c57613d2b613aff565b5b8135613d3c848260208601613cae565b91505092915050565b600067ffffffffffffffff821115613d6057613d5f613b09565b5b602082029050602081019050919050565b6000613d84613d7f84613d45565b613b69565b90508083825260208201905060208402830185811115613da757613da6613ca9565b5b835b81811015613dd05780613dbc8882613850565b845260208401935050602081019050613da9565b5050509392505050565b600082601f830112613def57613dee613aff565b5b8135613dff848260208601613d71565b91505092915050565b60008060408385031215613e1f57613e1e613685565b5b600083013567ffffffffffffffff811115613e3d57613e3c61368a565b5b613e4985828601613d17565b925050602083013567ffffffffffffffff811115613e6a57613e6961368a565b5b613e7685828601613dda565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613eb5816139b3565b82525050565b6000613ec78383613eac565b60208301905092915050565b6000602082019050919050565b6000613eeb82613e80565b613ef58185613e8b565b9350613f0083613e9c565b8060005b83811015613f31578151613f188882613ebb565b9750613f2383613ed3565b925050600181019050613f04565b5085935050505092915050565b60006020820190508181036000830152613f588184613ee0565b905092915050565b600067ffffffffffffffff821115613f7b57613f7a613b09565b5b613f8482613799565b9050602081019050919050565b6000613fa4613f9f84613f60565b613b69565b905082815260208101848484011115613fc057613fbf613b04565b5b613fcb848285613bb5565b509392505050565b600082601f830112613fe857613fe7613aff565b5b8135613ff8848260208601613f91565b91505092915050565b60008060006060848603121561401a57614019613685565b5b600061402886828701613905565b935050602061403986828701613850565b925050604084013567ffffffffffffffff81111561405a5761405961368a565b5b61406686828701613fd3565b9150509250925092565b614079816139b3565b82525050565b60006020820190506140946000830184614070565b92915050565b600080604083850312156140b1576140b0613685565b5b60006140bf85828601613850565b925050602083013567ffffffffffffffff8111156140e0576140df61368a565b5b6140ec85828601613fd3565b9150509250929050565b6000806040838503121561410d5761410c613685565b5b600061411b85828601613905565b925050602061412c85828601613971565b9150509250929050565b600080600080608085870312156141505761414f613685565b5b600061415e87828801613905565b945050602061416f87828801613905565b935050604061418087828801613850565b925050606085013567ffffffffffffffff8111156141a1576141a061368a565b5b6141ad87828801613fd3565b91505092959194509250565b600080604083850312156141d0576141cf613685565b5b60006141de85828601613905565b92505060206141ef85828601613905565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061424057607f821691505b60208210811415614254576142536141f9565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006142b6602c83613755565b91506142c18261425a565b604082019050919050565b600060208201905081810360008301526142e5816142a9565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614348602183613755565b9150614353826142ec565b604082019050919050565b600060208201905081810360008301526143778161433b565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006143da603883613755565b91506143e58261437e565b604082019050919050565b60006020820190508181036000830152614409816143cd565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614446602083613755565b915061445182614410565b602082019050919050565b6000602082019050818103600083015261447581614439565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006144b2601f83613755565b91506144bd8261447c565b602082019050919050565b600060208201905081810360008301526144e1816144a5565b9050919050565b7f496e636f7272656374204554482076616c75652073656e740000000000000000600082015250565b600061451e601883613755565b9150614529826144e8565b602082019050919050565b6000602082019050818103600083015261454d81614511565b9050919050565b7f5075626c69632073616c65206973206e6f74206f70656e000000000000000000600082015250565b600061458a601783613755565b915061459582614554565b602082019050919050565b600060208201905081810360008301526145b98161457d565b9050919050565b6000815190506145cf81613839565b92915050565b6000602082840312156145eb576145ea613685565b5b60006145f9848285016145c0565b91505092915050565b7f596f75206d75737420686f6c642046574220746f20707572636861736520612060008201527f7469636b65740000000000000000000000000000000000000000000000000000602082015250565b600061465e602683613755565b915061466982614602565b604082019050919050565b6000602082019050818103600083015261468d81614651565b9050919050565b7f4e6f7420656e6f756768207469636b6574732072656d61696e696e6720746f2060008201527f6d696e7400000000000000000000000000000000000000000000000000000000602082015250565b60006146f0602483613755565b91506146fb82614694565b604082019050919050565b6000602082019050818103600083015261471f816146e3565b9050919050565b7f5468697320616464726573732068617320616c7265616479206d696e7465642060008201527f61207469636b65742e0000000000000000000000000000000000000000000000602082015250565b6000614782602983613755565b915061478d82614726565b604082019050919050565b600060208201905081810360008301526147b181614775565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614814603183613755565b915061481f826147b8565b604082019050919050565b6000602082019050818103600083015261484381614807565b9050919050565b7f4e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b6000614880601183613755565b915061488b8261484a565b602082019050919050565b600060208201905081810360008301526148af81614873565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006148f082613805565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614923576149226148b6565b5b600182019050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b600061498a602983613755565b91506149958261492e565b604082019050919050565b600060208201905081810360008301526149b98161497d565b9050919050565b7f214c454e4754485f4d49534d4154434821000000000000000000000000000000600082015250565b60006149f6601183613755565b9150614a01826149c0565b602082019050919050565b60006020820190508181036000830152614a25816149e9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614ab7602a83613755565b9150614ac282614a5b565b604082019050919050565b60006020820190508181036000830152614ae681614aaa565b9050919050565b7f53616c65206973206e6f74206f70656e00000000000000000000000000000000600082015250565b6000614b23601083613755565b9150614b2e82614aed565b602082019050919050565b60006020820190508181036000830152614b5281614b16565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154614b8681614228565b614b908186614b59565b94506001821660008114614bab5760018114614bbc57614bef565b60ff19831686528186019350614bef565b614bc585614b64565b60005b83811015614be757815481890152600182019150602081019050614bc8565b838801955050505b50505092915050565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614c2e600183614b59565b9150614c3982614bf8565b600182019050919050565b6000614c4f8261374a565b614c598185614b59565b9350614c69818560208601613766565b80840191505092915050565b6000614c818285614b79565b9150614c8c82614c21565b9150614c988284614c44565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614d00602683613755565b9150614d0b82614ca4565b604082019050919050565b60006020820190508181036000830152614d2f81614cf3565b9050919050565b6000606082019050614d4b60008301866138c4565b614d58602083018561380f565b614d6560408301846138c4565b949350505050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614dc9602c83613755565b9150614dd482614d6d565b604082019050919050565b60006020820190508181036000830152614df881614dbc565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614e5b602583613755565b9150614e6682614dff565b604082019050919050565b60006020820190508181036000830152614e8a81614e4e565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614eed602483613755565b9150614ef882614e91565b604082019050919050565b60006020820190508181036000830152614f1c81614ee0565b9050919050565b6000614f2e82613805565b9150614f3983613805565b925082821015614f4c57614f4b6148b6565b5b828203905092915050565b6000614f6282613805565b9150614f6d83613805565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614fa257614fa16148b6565b5b828201905092915050565b6000614fb882613805565b9150614fc383613805565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614ffc57614ffb6148b6565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061504182613805565b915061504c83613805565b92508261505c5761505b615007565b5b828204905092915050565b7f21494e56414c49445f5349474e41545552452100000000000000000000000000600082015250565b600061509d601383613755565b91506150a882615067565b602082019050919050565b600060208201905081810360008301526150cc81615090565b9050919050565b7f21414c52454144595f5553454421000000000000000000000000000000000000600082015250565b6000615109600e83613755565b9150615114826150d3565b602082019050919050565b60006020820190508181036000830152615138816150fc565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615175601983613755565b91506151808261513f565b602082019050919050565b600060208201905081810360008301526151a481615168565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615207603283613755565b9150615212826151ab565b604082019050919050565b60006020820190508181036000830152615236816151fa565b9050919050565b600061524882613805565b915061525383613805565b92508261526357615262615007565b5b828206905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b60006152a4601c83614b59565b91506152af8261526e565b601c82019050919050565b6000819050919050565b6152d56152d0826139b3565b6152ba565b82525050565b60006152e682615297565b91506152f282846152c4565b60208201915081905092915050565b600081519050919050565b600082825260208201905092915050565b600061532882615301565b615332818561530c565b9350615342818560208601613766565b61534b81613799565b840191505092915050565b600060808201905061536b60008301876138c4565b61537860208301866138c4565b615385604083018561380f565b8181036060830152615397818461531d565b905095945050505050565b6000815190506153b1816136bb565b92915050565b6000602082840312156153cd576153cc613685565b5b60006153db848285016153a2565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061541a602083613755565b9150615425826153e4565b602082019050919050565b600060208201905081810360008301526154498161540d565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615486601c83613755565b915061549182615450565b602082019050919050565b600060208201905081810360008301526154b581615479565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615521601883613755565b915061552c826154eb565b602082019050919050565b6000602082019050818103600083015261555081615514565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b600061558d601f83613755565b915061559882615557565b602082019050919050565b600060208201905081810360008301526155bc81615580565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b600061561f602283613755565b915061562a826155c3565b604082019050919050565b6000602082019050818103600083015261564e81615612565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006156b1602283613755565b91506156bc82615655565b604082019050919050565b600060208201905081810360008301526156e0816156a4565b9050919050565b600060ff82169050919050565b6156fd816156e7565b82525050565b60006080820190506157186000830187614070565b61572560208301866156f4565b6157326040830185614070565b61573f6060830184614070565b9594505050505056fea26469706673582212206b35410628dc4dd09dd34c5364bda9bff88a237308bac6c2ba912a30a7ca084a64736f6c63430008090033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.