ERC-721
Overview
Max Total Supply
1,336 GPHT
Holders
187
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
10 GPHTLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
GoblinPaperhandsTown
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-06-06 */ /** *Submitted for verification at Etherscan.io on 2022-06-04 */ /** *Submitted for verification at Etherscan.io on 2022-05-30 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/Counters.sol // 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; } } // File: @openzeppelin/contracts/utils/Strings.sol // 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); } } // File: @openzeppelin/contracts/utils/Context.sol // 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; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @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); } } // File: @openzeppelin/contracts/utils/Address.sol // 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); } } } } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // 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); } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // 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); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @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; } } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @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; } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @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); } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @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 {} } // File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } } // File: erc721a/contracts/ERC721A.sol // Creator: Chiru Labs pragma solidity ^0.8.4; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerQueryForNonexistentToken(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // 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; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @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 override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _ownershipOf(tokenId).addr; } /** * @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) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); 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 override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _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 { _transfer(from, to, tokenId); if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @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`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) private { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev This is equivalent to _burn(tokenId, false) */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * 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, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} } // File: contracts/GOBLIN.sol pragma solidity ^0.8.4; contract GoblinPaperhandsTown is ERC721A, Ownable { using Strings for uint256; string private baseURI; uint256 public price = 0.005 ether; uint256 public maxPerTx = 5; uint256 public maxPerWallet = 20; uint256 public totalFree = 1000; uint256 public maxSupply = 5555; bool public mintEnabled = false; mapping(address => uint256) private _mintedAmount; constructor() ERC721A("Goblin Paperhands Town", "GPHT") { setBaseURI("ipfs://QmcD77jQcTxTU5nwVehDQAcbYQAmuEXZGcuo6L89z3nXxL/metadata2/"); } function mint(uint256 count) external payable { uint256 cost = price; bool isFree = ((totalSupply() + count < totalFree + 1) && (_mintedAmount[msg.sender] + count <= maxPerWallet) && (count <= maxPerTx)); if (isFree) { cost = 0; } else { require(msg.value >= count * price, "Please send the exact amount."); require(totalSupply() + count <= maxSupply, "No more Goblins"); require(mintEnabled, "Minting is not live yet"); require(count <= maxPerTx, "Max per TX reached."); require(_mintedAmount[msg.sender] + count <= maxPerWallet, "Max per wallet reached."); } if (isFree) { _mintedAmount[msg.sender] += count; } _safeMint(msg.sender, count); } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); return string(abi.encodePacked(baseURI, tokenId.toString())); } function setBaseURI(string memory uri) public onlyOwner { baseURI = uri; } function setFreeAmount(uint256 amount) external onlyOwner { totalFree = amount; } function setPrice(uint256 _newPrice) external onlyOwner { price = _newPrice; } function flipSale() external onlyOwner { mintEnabled = !mintEnabled; } function _startTokenId() internal pure override returns (uint256) { return 0; } function withdraw() external onlyOwner { (bool success, ) = payable(msg.sender).call{ value: address(this).balance }(""); require(success, "Transfer failed."); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setFreeAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","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":[],"name":"totalFree","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526611c37937e08000600a556005600b556014600c556103e8600d556115b3600e556000600f60006101000a81548160ff0219169083151502179055503480156200004d57600080fd5b506040518060400160405280601681526020017f476f626c696e20506170657268616e647320546f776e000000000000000000008152506040518060400160405280600481526020017f47504854000000000000000000000000000000000000000000000000000000008152508160029080519060200190620000d2929190620002fc565b508060039080519060200190620000eb929190620002fc565b50620000fc6200015460201b60201c565b600081905550505062000124620001186200015960201b60201c565b6200016160201b60201c565b6200014e60405180606001604052806040815260200162003c2c604091396200022760201b60201c565b62000494565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002376200015960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200025d620002d260201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620002b6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002ad90620003d3565b60405180910390fd5b8060099080519060200190620002ce929190620002fc565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200030a9062000406565b90600052602060002090601f0160209004810192826200032e57600085556200037a565b82601f106200034957805160ff19168380011785556200037a565b828001600101855582156200037a579182015b82811115620003795782518255916020019190600101906200035c565b5b5090506200038991906200038d565b5090565b5b80821115620003a85760008160009055506001016200038e565b5090565b6000620003bb602083620003f5565b9150620003c8826200046b565b602082019050919050565b60006020820190508181036000830152620003ee81620003ac565b9050919050565b600082825260208201905092915050565b600060028204905060018216806200041f57607f821691505b602082108114156200043657620004356200043c565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b61378880620004a46000396000f3fe6080604052600436106101c25760003560e01c80637ba5e621116100f7578063a22cb46511610095578063d5abeb0111610064578063d5abeb01146105f9578063e985e9c514610624578063f2fde38b14610661578063f968adbe1461068a576101c2565b8063a22cb4651461053f578063b88d4fde14610568578063c87b56dd14610591578063d1239730146105ce576101c2565b806392910eec116100d157806392910eec146104a457806395d89b41146104cd578063a035b1fe146104f8578063a0712d6814610523576101c2565b80637ba5e621146104395780638da5cb5b1461045057806391b7f5ed1461047b576101c2565b80633ccfd60b1161016457806355f804b31161013e57806355f804b31461037f5780636352211e146103a857806370a08231146103e5578063715018a614610422576101c2565b80633ccfd60b1461031457806342842e0e1461032b578063453c231014610354576101c2565b8063095ea7b3116101a0578063095ea7b31461026c57806318160ddd1461029557806323b872dd146102c0578063333e44e6146102e9576101c2565b806301ffc9a7146101c757806306fdde0314610204578063081812fc1461022f575b600080fd5b3480156101d357600080fd5b506101ee60048036038101906101e99190612aff565b6106b5565b6040516101fb9190612f1c565b60405180910390f35b34801561021057600080fd5b50610219610797565b6040516102269190612f37565b60405180910390f35b34801561023b57600080fd5b5061025660048036038101906102519190612ba2565b610829565b6040516102639190612eb5565b60405180910390f35b34801561027857600080fd5b50610293600480360381019061028e9190612abf565b6108a5565b005b3480156102a157600080fd5b506102aa6109b0565b6040516102b79190613079565b60405180910390f35b3480156102cc57600080fd5b506102e760048036038101906102e291906129a9565b6109c7565b005b3480156102f557600080fd5b506102fe6109d7565b60405161030b9190613079565b60405180910390f35b34801561032057600080fd5b506103296109dd565b005b34801561033757600080fd5b50610352600480360381019061034d91906129a9565b610b08565b005b34801561036057600080fd5b50610369610b28565b6040516103769190613079565b60405180910390f35b34801561038b57600080fd5b506103a660048036038101906103a19190612b59565b610b2e565b005b3480156103b457600080fd5b506103cf60048036038101906103ca9190612ba2565b610bc4565b6040516103dc9190612eb5565b60405180910390f35b3480156103f157600080fd5b5061040c6004803603810190610407919061293c565b610bda565b6040516104199190613079565b60405180910390f35b34801561042e57600080fd5b50610437610caa565b005b34801561044557600080fd5b5061044e610d32565b005b34801561045c57600080fd5b50610465610dda565b6040516104729190612eb5565b60405180910390f35b34801561048757600080fd5b506104a2600480360381019061049d9190612ba2565b610e04565b005b3480156104b057600080fd5b506104cb60048036038101906104c69190612ba2565b610e8a565b005b3480156104d957600080fd5b506104e2610f10565b6040516104ef9190612f37565b60405180910390f35b34801561050457600080fd5b5061050d610fa2565b60405161051a9190613079565b60405180910390f35b61053d60048036038101906105389190612ba2565b610fa8565b005b34801561054b57600080fd5b5061056660048036038101906105619190612a7f565b611282565b005b34801561057457600080fd5b5061058f600480360381019061058a91906129fc565b6113fa565b005b34801561059d57600080fd5b506105b860048036038101906105b39190612ba2565b611476565b6040516105c59190612f37565b60405180910390f35b3480156105da57600080fd5b506105e36114f2565b6040516105f09190612f1c565b60405180910390f35b34801561060557600080fd5b5061060e611505565b60405161061b9190613079565b60405180910390f35b34801561063057600080fd5b5061064b60048036038101906106469190612969565b61150b565b6040516106589190612f1c565b60405180910390f35b34801561066d57600080fd5b506106886004803603810190610683919061293c565b61159f565b005b34801561069657600080fd5b5061069f611697565b6040516106ac9190613079565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061078057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610790575061078f8261169d565b5b9050919050565b6060600280546107a690613349565b80601f01602080910402602001604051908101604052809291908181526020018280546107d290613349565b801561081f5780601f106107f45761010080835404028352916020019161081f565b820191906000526020600020905b81548152906001019060200180831161080257829003601f168201915b5050505050905090565b600061083482611707565b61086a576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108b082610bc4565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610918576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610937611755565b73ffffffffffffffffffffffffffffffffffffffff1614158015610969575061096781610962611755565b61150b565b155b156109a0576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6109ab83838361175d565b505050565b60006109ba61180f565b6001546000540303905090565b6109d2838383611814565b505050565b600d5481565b6109e5611755565b73ffffffffffffffffffffffffffffffffffffffff16610a03610dda565b73ffffffffffffffffffffffffffffffffffffffff1614610a59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5090612f99565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610a7f90612ea0565b60006040518083038185875af1925050503d8060008114610abc576040519150601f19603f3d011682016040523d82523d6000602084013e610ac1565b606091505b5050905080610b05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610afc90612ff9565b60405180910390fd5b50565b610b23838383604051806020016040528060008152506113fa565b505050565b600c5481565b610b36611755565b73ffffffffffffffffffffffffffffffffffffffff16610b54610dda565b73ffffffffffffffffffffffffffffffffffffffff1614610baa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba190612f99565b60405180910390fd5b8060099080519060200190610bc092919061270d565b5050565b6000610bcf82611cca565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610c42576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b610cb2611755565b73ffffffffffffffffffffffffffffffffffffffff16610cd0610dda565b73ffffffffffffffffffffffffffffffffffffffff1614610d26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1d90612f99565b60405180910390fd5b610d306000611f59565b565b610d3a611755565b73ffffffffffffffffffffffffffffffffffffffff16610d58610dda565b73ffffffffffffffffffffffffffffffffffffffff1614610dae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da590612f99565b60405180910390fd5b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610e0c611755565b73ffffffffffffffffffffffffffffffffffffffff16610e2a610dda565b73ffffffffffffffffffffffffffffffffffffffff1614610e80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7790612f99565b60405180910390fd5b80600a8190555050565b610e92611755565b73ffffffffffffffffffffffffffffffffffffffff16610eb0610dda565b73ffffffffffffffffffffffffffffffffffffffff1614610f06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efd90612f99565b60405180910390fd5b80600d8190555050565b606060038054610f1f90613349565b80601f0160208091040260200160405190810160405280929190818152602001828054610f4b90613349565b8015610f985780601f10610f6d57610100808354040283529160200191610f98565b820191906000526020600020905b815481529060010190602001808311610f7b57829003601f168201915b5050505050905090565b600a5481565b6000600a54905060006001600d54610fc0919061317e565b83610fc96109b0565b610fd3919061317e565b10801561102c5750600c5483601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611029919061317e565b11155b801561103a5750600b548311155b9050801561104b5760009150611216565b600a54836110599190613205565b34101561109b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109290612fd9565b60405180910390fd5b600e54836110a76109b0565b6110b1919061317e565b11156110f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e990613059565b60405180910390fd5b600f60009054906101000a900460ff16611141576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113890612f59565b60405180910390fd5b600b54831115611186576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117d90613019565b60405180910390fd5b600c5483601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546111d4919061317e565b1115611215576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120c90613039565b60405180910390fd5b5b80156112735782601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461126b919061317e565b925050819055505b61127d338461201f565b505050565b61128a611755565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112ef576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006112fc611755565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166113a9611755565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516113ee9190612f1c565b60405180910390a35050565b611405848484611814565b6114248373ffffffffffffffffffffffffffffffffffffffff1661203d565b8015611439575061143784848484612060565b155b15611470576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b606061148182611707565b6114c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b790612fb9565b60405180910390fd5b60096114cb836121c0565b6040516020016114dc929190612e7c565b6040516020818303038152906040529050919050565b600f60009054906101000a900460ff1681565b600e5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6115a7611755565b73ffffffffffffffffffffffffffffffffffffffff166115c5610dda565b73ffffffffffffffffffffffffffffffffffffffff161461161b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161290612f99565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561168b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168290612f79565b60405180910390fd5b61169481611f59565b50565b600b5481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008161171261180f565b11158015611721575060005482105b801561174e575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b600061181f82611cca565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461188a576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166118ab611755565b73ffffffffffffffffffffffffffffffffffffffff1614806118da57506118d9856118d4611755565b61150b565b5b8061191f57506118e8611755565b73ffffffffffffffffffffffffffffffffffffffff1661190784610829565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611958576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156119bf576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6119cc8585856001612321565b6119d86000848761175d565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611c58576000548214611c5757878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611cc38585856001612327565b5050505050565b611cd2612793565b600082905080611ce061180f565b11158015611cef575060005481105b15611f22576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151611f2057600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611e04578092505050611f54565b5b600115611f1f57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611f1a578092505050611f54565b611e05565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61203982826040518060200160405280600081525061232d565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612086611755565b8786866040518563ffffffff1660e01b81526004016120a89493929190612ed0565b602060405180830381600087803b1580156120c257600080fd5b505af19250505080156120f357506040513d601f19601f820116820180604052508101906120f09190612b2c565b60015b61216d573d8060008114612123576040519150601f19603f3d011682016040523d82523d6000602084013e612128565b606091505b50600081511415612165576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415612208576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061231c565b600082905060005b6000821461223a578080612223906133ac565b915050600a8261223391906131d4565b9150612210565b60008167ffffffffffffffff811115612256576122556134e2565b5b6040519080825280601f01601f1916602001820160405280156122885781602001600182028036833780820191505090505b5090505b60008514612315576001826122a1919061325f565b9150600a856122b091906133f5565b60306122bc919061317e565b60f81b8183815181106122d2576122d16134b3565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561230e91906131d4565b945061228c565b8093505050505b919050565b50505050565b50505050565b61233a838383600161233f565b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156123ac576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008414156123e7576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123f46000868387612321565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600085820190508380156125be57506125bd8773ffffffffffffffffffffffffffffffffffffffff1661203d565b5b15612684575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46126336000888480600101955088612060565b612669576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156125c457826000541461267f57600080fd5b6126f0565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415612685575b8160008190555050506127066000868387612327565b5050505050565b82805461271990613349565b90600052602060002090601f01602090048101928261273b5760008555612782565b82601f1061275457805160ff1916838001178555612782565b82800160010185558215612782579182015b82811115612781578251825591602001919060010190612766565b5b50905061278f91906127d6565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156127ef5760008160009055506001016127d7565b5090565b6000612806612801846130b9565b613094565b90508281526020810184848401111561282257612821613516565b5b61282d848285613307565b509392505050565b6000612848612843846130ea565b613094565b90508281526020810184848401111561286457612863613516565b5b61286f848285613307565b509392505050565b600081359050612886816136f6565b92915050565b60008135905061289b8161370d565b92915050565b6000813590506128b081613724565b92915050565b6000815190506128c581613724565b92915050565b600082601f8301126128e0576128df613511565b5b81356128f08482602086016127f3565b91505092915050565b600082601f83011261290e5761290d613511565b5b813561291e848260208601612835565b91505092915050565b6000813590506129368161373b565b92915050565b60006020828403121561295257612951613520565b5b600061296084828501612877565b91505092915050565b600080604083850312156129805761297f613520565b5b600061298e85828601612877565b925050602061299f85828601612877565b9150509250929050565b6000806000606084860312156129c2576129c1613520565b5b60006129d086828701612877565b93505060206129e186828701612877565b92505060406129f286828701612927565b9150509250925092565b60008060008060808587031215612a1657612a15613520565b5b6000612a2487828801612877565b9450506020612a3587828801612877565b9350506040612a4687828801612927565b925050606085013567ffffffffffffffff811115612a6757612a6661351b565b5b612a73878288016128cb565b91505092959194509250565b60008060408385031215612a9657612a95613520565b5b6000612aa485828601612877565b9250506020612ab58582860161288c565b9150509250929050565b60008060408385031215612ad657612ad5613520565b5b6000612ae485828601612877565b9250506020612af585828601612927565b9150509250929050565b600060208284031215612b1557612b14613520565b5b6000612b23848285016128a1565b91505092915050565b600060208284031215612b4257612b41613520565b5b6000612b50848285016128b6565b91505092915050565b600060208284031215612b6f57612b6e613520565b5b600082013567ffffffffffffffff811115612b8d57612b8c61351b565b5b612b99848285016128f9565b91505092915050565b600060208284031215612bb857612bb7613520565b5b6000612bc684828501612927565b91505092915050565b612bd881613293565b82525050565b612be7816132a5565b82525050565b6000612bf882613130565b612c028185613146565b9350612c12818560208601613316565b612c1b81613525565b840191505092915050565b6000612c318261313b565b612c3b8185613162565b9350612c4b818560208601613316565b612c5481613525565b840191505092915050565b6000612c6a8261313b565b612c748185613173565b9350612c84818560208601613316565b80840191505092915050565b60008154612c9d81613349565b612ca78186613173565b94506001821660008114612cc25760018114612cd357612d06565b60ff19831686528186019350612d06565b612cdc8561311b565b60005b83811015612cfe57815481890152600182019150602081019050612cdf565b838801955050505b50505092915050565b6000612d1c601783613162565b9150612d2782613536565b602082019050919050565b6000612d3f602683613162565b9150612d4a8261355f565b604082019050919050565b6000612d62602083613162565b9150612d6d826135ae565b602082019050919050565b6000612d85602f83613162565b9150612d90826135d7565b604082019050919050565b6000612da8601d83613162565b9150612db382613626565b602082019050919050565b6000612dcb600083613157565b9150612dd68261364f565b600082019050919050565b6000612dee601083613162565b9150612df982613652565b602082019050919050565b6000612e11601383613162565b9150612e1c8261367b565b602082019050919050565b6000612e34601783613162565b9150612e3f826136a4565b602082019050919050565b6000612e57600f83613162565b9150612e62826136cd565b602082019050919050565b612e76816132fd565b82525050565b6000612e888285612c90565b9150612e948284612c5f565b91508190509392505050565b6000612eab82612dbe565b9150819050919050565b6000602082019050612eca6000830184612bcf565b92915050565b6000608082019050612ee56000830187612bcf565b612ef26020830186612bcf565b612eff6040830185612e6d565b8181036060830152612f118184612bed565b905095945050505050565b6000602082019050612f316000830184612bde565b92915050565b60006020820190508181036000830152612f518184612c26565b905092915050565b60006020820190508181036000830152612f7281612d0f565b9050919050565b60006020820190508181036000830152612f9281612d32565b9050919050565b60006020820190508181036000830152612fb281612d55565b9050919050565b60006020820190508181036000830152612fd281612d78565b9050919050565b60006020820190508181036000830152612ff281612d9b565b9050919050565b6000602082019050818103600083015261301281612de1565b9050919050565b6000602082019050818103600083015261303281612e04565b9050919050565b6000602082019050818103600083015261305281612e27565b9050919050565b6000602082019050818103600083015261307281612e4a565b9050919050565b600060208201905061308e6000830184612e6d565b92915050565b600061309e6130af565b90506130aa828261337b565b919050565b6000604051905090565b600067ffffffffffffffff8211156130d4576130d36134e2565b5b6130dd82613525565b9050602081019050919050565b600067ffffffffffffffff821115613105576131046134e2565b5b61310e82613525565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613189826132fd565b9150613194836132fd565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156131c9576131c8613426565b5b828201905092915050565b60006131df826132fd565b91506131ea836132fd565b9250826131fa576131f9613455565b5b828204905092915050565b6000613210826132fd565b915061321b836132fd565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561325457613253613426565b5b828202905092915050565b600061326a826132fd565b9150613275836132fd565b92508282101561328857613287613426565b5b828203905092915050565b600061329e826132dd565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613334578082015181840152602081019050613319565b83811115613343576000848401525b50505050565b6000600282049050600182168061336157607f821691505b6020821081141561337557613374613484565b5b50919050565b61338482613525565b810181811067ffffffffffffffff821117156133a3576133a26134e2565b5b80604052505050565b60006133b7826132fd565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156133ea576133e9613426565b5b600182019050919050565b6000613400826132fd565b915061340b836132fd565b92508261341b5761341a613455565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4d696e74696e67206973206e6f74206c69766520796574000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f506c656173652073656e642074686520657861637420616d6f756e742e000000600082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f4d61782070657220545820726561636865642e00000000000000000000000000600082015250565b7f4d6178207065722077616c6c657420726561636865642e000000000000000000600082015250565b7f4e6f206d6f726520476f626c696e730000000000000000000000000000000000600082015250565b6136ff81613293565b811461370a57600080fd5b50565b613716816132a5565b811461372157600080fd5b50565b61372d816132b1565b811461373857600080fd5b50565b613744816132fd565b811461374f57600080fd5b5056fea2646970667358221220cf182de7768bcad8100b202c95593e25177ca053c81baacb2989a73def45552564736f6c63430008070033697066733a2f2f516d634437376a516354785455356e7756656844514163625951416d7545585a4763756f364c38397a336e58784c2f6d65746164617461322f
Deployed Bytecode
0x6080604052600436106101c25760003560e01c80637ba5e621116100f7578063a22cb46511610095578063d5abeb0111610064578063d5abeb01146105f9578063e985e9c514610624578063f2fde38b14610661578063f968adbe1461068a576101c2565b8063a22cb4651461053f578063b88d4fde14610568578063c87b56dd14610591578063d1239730146105ce576101c2565b806392910eec116100d157806392910eec146104a457806395d89b41146104cd578063a035b1fe146104f8578063a0712d6814610523576101c2565b80637ba5e621146104395780638da5cb5b1461045057806391b7f5ed1461047b576101c2565b80633ccfd60b1161016457806355f804b31161013e57806355f804b31461037f5780636352211e146103a857806370a08231146103e5578063715018a614610422576101c2565b80633ccfd60b1461031457806342842e0e1461032b578063453c231014610354576101c2565b8063095ea7b3116101a0578063095ea7b31461026c57806318160ddd1461029557806323b872dd146102c0578063333e44e6146102e9576101c2565b806301ffc9a7146101c757806306fdde0314610204578063081812fc1461022f575b600080fd5b3480156101d357600080fd5b506101ee60048036038101906101e99190612aff565b6106b5565b6040516101fb9190612f1c565b60405180910390f35b34801561021057600080fd5b50610219610797565b6040516102269190612f37565b60405180910390f35b34801561023b57600080fd5b5061025660048036038101906102519190612ba2565b610829565b6040516102639190612eb5565b60405180910390f35b34801561027857600080fd5b50610293600480360381019061028e9190612abf565b6108a5565b005b3480156102a157600080fd5b506102aa6109b0565b6040516102b79190613079565b60405180910390f35b3480156102cc57600080fd5b506102e760048036038101906102e291906129a9565b6109c7565b005b3480156102f557600080fd5b506102fe6109d7565b60405161030b9190613079565b60405180910390f35b34801561032057600080fd5b506103296109dd565b005b34801561033757600080fd5b50610352600480360381019061034d91906129a9565b610b08565b005b34801561036057600080fd5b50610369610b28565b6040516103769190613079565b60405180910390f35b34801561038b57600080fd5b506103a660048036038101906103a19190612b59565b610b2e565b005b3480156103b457600080fd5b506103cf60048036038101906103ca9190612ba2565b610bc4565b6040516103dc9190612eb5565b60405180910390f35b3480156103f157600080fd5b5061040c6004803603810190610407919061293c565b610bda565b6040516104199190613079565b60405180910390f35b34801561042e57600080fd5b50610437610caa565b005b34801561044557600080fd5b5061044e610d32565b005b34801561045c57600080fd5b50610465610dda565b6040516104729190612eb5565b60405180910390f35b34801561048757600080fd5b506104a2600480360381019061049d9190612ba2565b610e04565b005b3480156104b057600080fd5b506104cb60048036038101906104c69190612ba2565b610e8a565b005b3480156104d957600080fd5b506104e2610f10565b6040516104ef9190612f37565b60405180910390f35b34801561050457600080fd5b5061050d610fa2565b60405161051a9190613079565b60405180910390f35b61053d60048036038101906105389190612ba2565b610fa8565b005b34801561054b57600080fd5b5061056660048036038101906105619190612a7f565b611282565b005b34801561057457600080fd5b5061058f600480360381019061058a91906129fc565b6113fa565b005b34801561059d57600080fd5b506105b860048036038101906105b39190612ba2565b611476565b6040516105c59190612f37565b60405180910390f35b3480156105da57600080fd5b506105e36114f2565b6040516105f09190612f1c565b60405180910390f35b34801561060557600080fd5b5061060e611505565b60405161061b9190613079565b60405180910390f35b34801561063057600080fd5b5061064b60048036038101906106469190612969565b61150b565b6040516106589190612f1c565b60405180910390f35b34801561066d57600080fd5b506106886004803603810190610683919061293c565b61159f565b005b34801561069657600080fd5b5061069f611697565b6040516106ac9190613079565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061078057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610790575061078f8261169d565b5b9050919050565b6060600280546107a690613349565b80601f01602080910402602001604051908101604052809291908181526020018280546107d290613349565b801561081f5780601f106107f45761010080835404028352916020019161081f565b820191906000526020600020905b81548152906001019060200180831161080257829003601f168201915b5050505050905090565b600061083482611707565b61086a576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108b082610bc4565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610918576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610937611755565b73ffffffffffffffffffffffffffffffffffffffff1614158015610969575061096781610962611755565b61150b565b155b156109a0576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6109ab83838361175d565b505050565b60006109ba61180f565b6001546000540303905090565b6109d2838383611814565b505050565b600d5481565b6109e5611755565b73ffffffffffffffffffffffffffffffffffffffff16610a03610dda565b73ffffffffffffffffffffffffffffffffffffffff1614610a59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5090612f99565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610a7f90612ea0565b60006040518083038185875af1925050503d8060008114610abc576040519150601f19603f3d011682016040523d82523d6000602084013e610ac1565b606091505b5050905080610b05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610afc90612ff9565b60405180910390fd5b50565b610b23838383604051806020016040528060008152506113fa565b505050565b600c5481565b610b36611755565b73ffffffffffffffffffffffffffffffffffffffff16610b54610dda565b73ffffffffffffffffffffffffffffffffffffffff1614610baa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba190612f99565b60405180910390fd5b8060099080519060200190610bc092919061270d565b5050565b6000610bcf82611cca565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610c42576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b610cb2611755565b73ffffffffffffffffffffffffffffffffffffffff16610cd0610dda565b73ffffffffffffffffffffffffffffffffffffffff1614610d26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1d90612f99565b60405180910390fd5b610d306000611f59565b565b610d3a611755565b73ffffffffffffffffffffffffffffffffffffffff16610d58610dda565b73ffffffffffffffffffffffffffffffffffffffff1614610dae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da590612f99565b60405180910390fd5b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610e0c611755565b73ffffffffffffffffffffffffffffffffffffffff16610e2a610dda565b73ffffffffffffffffffffffffffffffffffffffff1614610e80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7790612f99565b60405180910390fd5b80600a8190555050565b610e92611755565b73ffffffffffffffffffffffffffffffffffffffff16610eb0610dda565b73ffffffffffffffffffffffffffffffffffffffff1614610f06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efd90612f99565b60405180910390fd5b80600d8190555050565b606060038054610f1f90613349565b80601f0160208091040260200160405190810160405280929190818152602001828054610f4b90613349565b8015610f985780601f10610f6d57610100808354040283529160200191610f98565b820191906000526020600020905b815481529060010190602001808311610f7b57829003601f168201915b5050505050905090565b600a5481565b6000600a54905060006001600d54610fc0919061317e565b83610fc96109b0565b610fd3919061317e565b10801561102c5750600c5483601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611029919061317e565b11155b801561103a5750600b548311155b9050801561104b5760009150611216565b600a54836110599190613205565b34101561109b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109290612fd9565b60405180910390fd5b600e54836110a76109b0565b6110b1919061317e565b11156110f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e990613059565b60405180910390fd5b600f60009054906101000a900460ff16611141576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113890612f59565b60405180910390fd5b600b54831115611186576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117d90613019565b60405180910390fd5b600c5483601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546111d4919061317e565b1115611215576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120c90613039565b60405180910390fd5b5b80156112735782601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461126b919061317e565b925050819055505b61127d338461201f565b505050565b61128a611755565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112ef576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006112fc611755565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166113a9611755565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516113ee9190612f1c565b60405180910390a35050565b611405848484611814565b6114248373ffffffffffffffffffffffffffffffffffffffff1661203d565b8015611439575061143784848484612060565b155b15611470576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b606061148182611707565b6114c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b790612fb9565b60405180910390fd5b60096114cb836121c0565b6040516020016114dc929190612e7c565b6040516020818303038152906040529050919050565b600f60009054906101000a900460ff1681565b600e5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6115a7611755565b73ffffffffffffffffffffffffffffffffffffffff166115c5610dda565b73ffffffffffffffffffffffffffffffffffffffff161461161b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161290612f99565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561168b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168290612f79565b60405180910390fd5b61169481611f59565b50565b600b5481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008161171261180f565b11158015611721575060005482105b801561174e575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b600061181f82611cca565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461188a576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166118ab611755565b73ffffffffffffffffffffffffffffffffffffffff1614806118da57506118d9856118d4611755565b61150b565b5b8061191f57506118e8611755565b73ffffffffffffffffffffffffffffffffffffffff1661190784610829565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611958576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156119bf576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6119cc8585856001612321565b6119d86000848761175d565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611c58576000548214611c5757878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611cc38585856001612327565b5050505050565b611cd2612793565b600082905080611ce061180f565b11158015611cef575060005481105b15611f22576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151611f2057600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611e04578092505050611f54565b5b600115611f1f57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614611f1a578092505050611f54565b611e05565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61203982826040518060200160405280600081525061232d565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612086611755565b8786866040518563ffffffff1660e01b81526004016120a89493929190612ed0565b602060405180830381600087803b1580156120c257600080fd5b505af19250505080156120f357506040513d601f19601f820116820180604052508101906120f09190612b2c565b60015b61216d573d8060008114612123576040519150601f19603f3d011682016040523d82523d6000602084013e612128565b606091505b50600081511415612165576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415612208576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061231c565b600082905060005b6000821461223a578080612223906133ac565b915050600a8261223391906131d4565b9150612210565b60008167ffffffffffffffff811115612256576122556134e2565b5b6040519080825280601f01601f1916602001820160405280156122885781602001600182028036833780820191505090505b5090505b60008514612315576001826122a1919061325f565b9150600a856122b091906133f5565b60306122bc919061317e565b60f81b8183815181106122d2576122d16134b3565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561230e91906131d4565b945061228c565b8093505050505b919050565b50505050565b50505050565b61233a838383600161233f565b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156123ac576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008414156123e7576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123f46000868387612321565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600085820190508380156125be57506125bd8773ffffffffffffffffffffffffffffffffffffffff1661203d565b5b15612684575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46126336000888480600101955088612060565b612669576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156125c457826000541461267f57600080fd5b6126f0565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415612685575b8160008190555050506127066000868387612327565b5050505050565b82805461271990613349565b90600052602060002090601f01602090048101928261273b5760008555612782565b82601f1061275457805160ff1916838001178555612782565b82800160010185558215612782579182015b82811115612781578251825591602001919060010190612766565b5b50905061278f91906127d6565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156127ef5760008160009055506001016127d7565b5090565b6000612806612801846130b9565b613094565b90508281526020810184848401111561282257612821613516565b5b61282d848285613307565b509392505050565b6000612848612843846130ea565b613094565b90508281526020810184848401111561286457612863613516565b5b61286f848285613307565b509392505050565b600081359050612886816136f6565b92915050565b60008135905061289b8161370d565b92915050565b6000813590506128b081613724565b92915050565b6000815190506128c581613724565b92915050565b600082601f8301126128e0576128df613511565b5b81356128f08482602086016127f3565b91505092915050565b600082601f83011261290e5761290d613511565b5b813561291e848260208601612835565b91505092915050565b6000813590506129368161373b565b92915050565b60006020828403121561295257612951613520565b5b600061296084828501612877565b91505092915050565b600080604083850312156129805761297f613520565b5b600061298e85828601612877565b925050602061299f85828601612877565b9150509250929050565b6000806000606084860312156129c2576129c1613520565b5b60006129d086828701612877565b93505060206129e186828701612877565b92505060406129f286828701612927565b9150509250925092565b60008060008060808587031215612a1657612a15613520565b5b6000612a2487828801612877565b9450506020612a3587828801612877565b9350506040612a4687828801612927565b925050606085013567ffffffffffffffff811115612a6757612a6661351b565b5b612a73878288016128cb565b91505092959194509250565b60008060408385031215612a9657612a95613520565b5b6000612aa485828601612877565b9250506020612ab58582860161288c565b9150509250929050565b60008060408385031215612ad657612ad5613520565b5b6000612ae485828601612877565b9250506020612af585828601612927565b9150509250929050565b600060208284031215612b1557612b14613520565b5b6000612b23848285016128a1565b91505092915050565b600060208284031215612b4257612b41613520565b5b6000612b50848285016128b6565b91505092915050565b600060208284031215612b6f57612b6e613520565b5b600082013567ffffffffffffffff811115612b8d57612b8c61351b565b5b612b99848285016128f9565b91505092915050565b600060208284031215612bb857612bb7613520565b5b6000612bc684828501612927565b91505092915050565b612bd881613293565b82525050565b612be7816132a5565b82525050565b6000612bf882613130565b612c028185613146565b9350612c12818560208601613316565b612c1b81613525565b840191505092915050565b6000612c318261313b565b612c3b8185613162565b9350612c4b818560208601613316565b612c5481613525565b840191505092915050565b6000612c6a8261313b565b612c748185613173565b9350612c84818560208601613316565b80840191505092915050565b60008154612c9d81613349565b612ca78186613173565b94506001821660008114612cc25760018114612cd357612d06565b60ff19831686528186019350612d06565b612cdc8561311b565b60005b83811015612cfe57815481890152600182019150602081019050612cdf565b838801955050505b50505092915050565b6000612d1c601783613162565b9150612d2782613536565b602082019050919050565b6000612d3f602683613162565b9150612d4a8261355f565b604082019050919050565b6000612d62602083613162565b9150612d6d826135ae565b602082019050919050565b6000612d85602f83613162565b9150612d90826135d7565b604082019050919050565b6000612da8601d83613162565b9150612db382613626565b602082019050919050565b6000612dcb600083613157565b9150612dd68261364f565b600082019050919050565b6000612dee601083613162565b9150612df982613652565b602082019050919050565b6000612e11601383613162565b9150612e1c8261367b565b602082019050919050565b6000612e34601783613162565b9150612e3f826136a4565b602082019050919050565b6000612e57600f83613162565b9150612e62826136cd565b602082019050919050565b612e76816132fd565b82525050565b6000612e888285612c90565b9150612e948284612c5f565b91508190509392505050565b6000612eab82612dbe565b9150819050919050565b6000602082019050612eca6000830184612bcf565b92915050565b6000608082019050612ee56000830187612bcf565b612ef26020830186612bcf565b612eff6040830185612e6d565b8181036060830152612f118184612bed565b905095945050505050565b6000602082019050612f316000830184612bde565b92915050565b60006020820190508181036000830152612f518184612c26565b905092915050565b60006020820190508181036000830152612f7281612d0f565b9050919050565b60006020820190508181036000830152612f9281612d32565b9050919050565b60006020820190508181036000830152612fb281612d55565b9050919050565b60006020820190508181036000830152612fd281612d78565b9050919050565b60006020820190508181036000830152612ff281612d9b565b9050919050565b6000602082019050818103600083015261301281612de1565b9050919050565b6000602082019050818103600083015261303281612e04565b9050919050565b6000602082019050818103600083015261305281612e27565b9050919050565b6000602082019050818103600083015261307281612e4a565b9050919050565b600060208201905061308e6000830184612e6d565b92915050565b600061309e6130af565b90506130aa828261337b565b919050565b6000604051905090565b600067ffffffffffffffff8211156130d4576130d36134e2565b5b6130dd82613525565b9050602081019050919050565b600067ffffffffffffffff821115613105576131046134e2565b5b61310e82613525565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613189826132fd565b9150613194836132fd565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156131c9576131c8613426565b5b828201905092915050565b60006131df826132fd565b91506131ea836132fd565b9250826131fa576131f9613455565b5b828204905092915050565b6000613210826132fd565b915061321b836132fd565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561325457613253613426565b5b828202905092915050565b600061326a826132fd565b9150613275836132fd565b92508282101561328857613287613426565b5b828203905092915050565b600061329e826132dd565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613334578082015181840152602081019050613319565b83811115613343576000848401525b50505050565b6000600282049050600182168061336157607f821691505b6020821081141561337557613374613484565b5b50919050565b61338482613525565b810181811067ffffffffffffffff821117156133a3576133a26134e2565b5b80604052505050565b60006133b7826132fd565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156133ea576133e9613426565b5b600182019050919050565b6000613400826132fd565b915061340b836132fd565b92508261341b5761341a613455565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4d696e74696e67206973206e6f74206c69766520796574000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f506c656173652073656e642074686520657861637420616d6f756e742e000000600082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f4d61782070657220545820726561636865642e00000000000000000000000000600082015250565b7f4d6178207065722077616c6c657420726561636865642e000000000000000000600082015250565b7f4e6f206d6f726520476f626c696e730000000000000000000000000000000000600082015250565b6136ff81613293565b811461370a57600080fd5b50565b613716816132a5565b811461372157600080fd5b50565b61372d816132b1565b811461373857600080fd5b50565b613744816132fd565b811461374f57600080fd5b5056fea2646970667358221220cf182de7768bcad8100b202c95593e25177ca053c81baacb2989a73def45552564736f6c63430008070033
Deployed Bytecode Sourcemap
69191:2550:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51374:305;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;54487:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;55990:204;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;55553:371;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;50623:303;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;56855:170;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;69433:31;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;71532:206;;;;;;;;;;;;;:::i;:::-;;57096:185;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;69392:32;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;71040:88;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;54295:125;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;51743:206;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;6372:103;;;;;;;;;;;;;:::i;:::-;;71339:84;;;;;;;;;;;;;:::i;:::-;;5721:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;71239:92;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;71136:95;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;54656:104;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;69313:34;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;69772:789;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;56266:287;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;57352:369;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;70685:347;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;69513:31;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;69473;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;56624:164;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;6630:201;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;69356:27;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;51374:305;51476:4;51528:25;51513:40;;;:11;:40;;;;:105;;;;51585:33;51570:48;;;:11;:48;;;;51513:105;:158;;;;51635:36;51659:11;51635:23;:36::i;:::-;51513:158;51493:178;;51374:305;;;:::o;54487:100::-;54541:13;54574:5;54567:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54487:100;:::o;55990:204::-;56058:7;56083:16;56091:7;56083;:16::i;:::-;56078:64;;56108:34;;;;;;;;;;;;;;56078:64;56162:15;:24;56178:7;56162:24;;;;;;;;;;;;;;;;;;;;;56155:31;;55990:204;;;:::o;55553:371::-;55626:13;55642:24;55658:7;55642:15;:24::i;:::-;55626:40;;55687:5;55681:11;;:2;:11;;;55677:48;;;55701:24;;;;;;;;;;;;;;55677:48;55758:5;55742:21;;:12;:10;:12::i;:::-;:21;;;;:63;;;;;55768:37;55785:5;55792:12;:10;:12::i;:::-;55768:16;:37::i;:::-;55767:38;55742:63;55738:138;;;55829:35;;;;;;;;;;;;;;55738:138;55888:28;55897:2;55901:7;55910:5;55888:8;:28::i;:::-;55615:309;55553:371;;:::o;50623:303::-;50667:7;50892:15;:13;:15::i;:::-;50877:12;;50861:13;;:28;:46;50854:53;;50623:303;:::o;56855:170::-;56989:28;56999:4;57005:2;57009:7;56989:9;:28::i;:::-;56855:170;;;:::o;69433:31::-;;;;:::o;71532:206::-;5952:12;:10;:12::i;:::-;5941:23;;:7;:5;:7::i;:::-;:23;;;5933:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;71583:12:::1;71609:10;71601:24;;71647:21;71601:82;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71582:101;;;71702:7;71694:36;;;;;;;;;;;;:::i;:::-;;;;;;;;;71571:167;71532:206::o:0;57096:185::-;57234:39;57251:4;57257:2;57261:7;57234:39;;;;;;;;;;;;:16;:39::i;:::-;57096:185;;;:::o;69392:32::-;;;;:::o;71040:88::-;5952:12;:10;:12::i;:::-;5941:23;;:7;:5;:7::i;:::-;:23;;;5933:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;71117:3:::1;71107:7;:13;;;;;;;;;;;;:::i;:::-;;71040:88:::0;:::o;54295:125::-;54359:7;54386:21;54399:7;54386:12;:21::i;:::-;:26;;;54379:33;;54295:125;;;:::o;51743:206::-;51807:7;51848:1;51831:19;;:5;:19;;;51827:60;;;51859:28;;;;;;;;;;;;;;51827:60;51913:12;:19;51926:5;51913:19;;;;;;;;;;;;;;;:27;;;;;;;;;;;;51905:36;;51898:43;;51743:206;;;:::o;6372:103::-;5952:12;:10;:12::i;:::-;5941:23;;:7;:5;:7::i;:::-;:23;;;5933:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;6437:30:::1;6464:1;6437:18;:30::i;:::-;6372:103::o:0;71339:84::-;5952:12;:10;:12::i;:::-;5941:23;;:7;:5;:7::i;:::-;:23;;;5933:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;71404:11:::1;;;;;;;;;;;71403:12;71389:11;;:26;;;;;;;;;;;;;;;;;;71339:84::o:0;5721:87::-;5767:7;5794:6;;;;;;;;;;;5787:13;;5721:87;:::o;71239:92::-;5952:12;:10;:12::i;:::-;5941:23;;:7;:5;:7::i;:::-;:23;;;5933:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;71314:9:::1;71306:5;:17;;;;71239:92:::0;:::o;71136:95::-;5952:12;:10;:12::i;:::-;5941:23;;:7;:5;:7::i;:::-;:23;;;5933:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;71217:6:::1;71205:9;:18;;;;71136:95:::0;:::o;54656:104::-;54712:13;54745:7;54738:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54656:104;:::o;69313:34::-;;;;:::o;69772:789::-;69827:12;69842:5;;69827:20;;69856:11;69915:1;69903:9;;:13;;;;:::i;:::-;69895:5;69879:13;:11;:13::i;:::-;:21;;;;:::i;:::-;:37;69878:101;;;;;69966:12;;69957:5;69929:13;:25;69943:10;69929:25;;;;;;;;;;;;;;;;:33;;;;:::i;:::-;:49;;69878:101;:131;;;;;70000:8;;69991:5;:17;;69878:131;69856:154;;70025:6;70021:417;;;70049:1;70042:8;;70021:417;;;70111:5;;70103;:13;;;;:::i;:::-;70090:9;:26;;70082:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;70192:9;;70183:5;70167:13;:11;:13::i;:::-;:21;;;;:::i;:::-;:34;;70159:62;;;;;;;;;;;;:::i;:::-;;;;;;;;;70238:11;;;;;;;;;;;70230:47;;;;;;;;;;;;:::i;:::-;;;;;;;;;70303:8;;70294:5;:17;;70286:49;;;;;;;;;;;;:::i;:::-;;;;;;;;;70389:12;;70380:5;70352:13;:25;70366:10;70352:25;;;;;;;;;;;;;;;;:33;;;;:::i;:::-;:49;;70344:85;;;;;;;;;;;;:::i;:::-;;;;;;;;;70021:417;70452:6;70448:68;;;70501:5;70472:13;:25;70486:10;70472:25;;;;;;;;;;;;;;;;:34;;;;;;;:::i;:::-;;;;;;;;70448:68;70525:28;70535:10;70547:5;70525:9;:28::i;:::-;69818:743;;69772:789;:::o;56266:287::-;56377:12;:10;:12::i;:::-;56365:24;;:8;:24;;;56361:54;;;56398:17;;;;;;;;;;;;;;56361:54;56473:8;56428:18;:32;56447:12;:10;:12::i;:::-;56428:32;;;;;;;;;;;;;;;:42;56461:8;56428:42;;;;;;;;;;;;;;;;:53;;;;;;;;;;;;;;;;;;56526:8;56497:48;;56512:12;:10;:12::i;:::-;56497:48;;;56536:8;56497:48;;;;;;:::i;:::-;;;;;;;;56266:287;;:::o;57352:369::-;57519:28;57529:4;57535:2;57539:7;57519:9;:28::i;:::-;57562:15;:2;:13;;;:15::i;:::-;:76;;;;;57582:56;57613:4;57619:2;57623:7;57632:5;57582:30;:56::i;:::-;57581:57;57562:76;57558:156;;;57662:40;;;;;;;;;;;;;;57558:156;57352:369;;;;:::o;70685:347::-;70803:13;70856:16;70864:7;70856;:16::i;:::-;70834:113;;;;;;;;;;;;:::i;:::-;;;;;;;;;70995:7;71004:18;:7;:16;:18::i;:::-;70978:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;70964:60;;70685:347;;;:::o;69513:31::-;;;;;;;;;;;;;:::o;69473:::-;;;;:::o;56624:164::-;56721:4;56745:18;:25;56764:5;56745:25;;;;;;;;;;;;;;;:35;56771:8;56745:35;;;;;;;;;;;;;;;;;;;;;;;;;56738:42;;56624:164;;;;:::o;6630:201::-;5952:12;:10;:12::i;:::-;5941:23;;:7;:5;:7::i;:::-;:23;;;5933:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;6739:1:::1;6719:22;;:8;:22;;;;6711:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;6795:28;6814:8;6795:18;:28::i;:::-;6630:201:::0;:::o;69356:27::-;;;;:::o;18505:157::-;18590:4;18629:25;18614:40;;;:11;:40;;;;18607:47;;18505:157;;;:::o;57976:174::-;58033:4;58076:7;58057:15;:13;:15::i;:::-;:26;;:53;;;;;58097:13;;58087:7;:23;58057:53;:85;;;;;58115:11;:20;58127:7;58115:20;;;;;;;;;;;:27;;;;;;;;;;;;58114:28;58057:85;58050:92;;57976:174;;;:::o;4445:98::-;4498:7;4525:10;4518:17;;4445:98;:::o;66133:196::-;66275:2;66248:15;:24;66264:7;66248:24;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;66313:7;66309:2;66293:28;;66302:5;66293:28;;;;;;;;;;;;66133:196;;;:::o;71431:93::-;71488:7;71431:93;:::o;61076:2130::-;61191:35;61229:21;61242:7;61229:12;:21::i;:::-;61191:59;;61289:4;61267:26;;:13;:18;;;:26;;;61263:67;;61302:28;;;;;;;;;;;;;;61263:67;61343:22;61385:4;61369:20;;:12;:10;:12::i;:::-;:20;;;:73;;;;61406:36;61423:4;61429:12;:10;:12::i;:::-;61406:16;:36::i;:::-;61369:73;:126;;;;61483:12;:10;:12::i;:::-;61459:36;;:20;61471:7;61459:11;:20::i;:::-;:36;;;61369:126;61343:153;;61514:17;61509:66;;61540:35;;;;;;;;;;;;;;61509:66;61604:1;61590:16;;:2;:16;;;61586:52;;;61615:23;;;;;;;;;;;;;;61586:52;61651:43;61673:4;61679:2;61683:7;61692:1;61651:21;:43::i;:::-;61759:35;61776:1;61780:7;61789:4;61759:8;:35::i;:::-;62120:1;62090:12;:18;62103:4;62090:18;;;;;;;;;;;;;;;:26;;;:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62164:1;62136:12;:16;62149:2;62136:16;;;;;;;;;;;;;;;:24;;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62182:31;62216:11;:20;62228:7;62216:20;;;;;;;;;;;62182:54;;62267:2;62251:8;:13;;;:18;;;;;;;;;;;;;;;;;;62317:15;62284:8;:23;;;:49;;;;;;;;;;;;;;;;;;62585:19;62617:1;62607:7;:11;62585:33;;62633:31;62667:11;:24;62679:11;62667:24;;;;;;;;;;;62633:58;;62735:1;62710:27;;:8;:13;;;;;;;;;;;;:27;;;62706:384;;;62920:13;;62905:11;:28;62901:174;;62974:4;62958:8;:13;;;:20;;;;;;;;;;;;;;;;;;63027:13;:28;;;63001:8;:23;;;:54;;;;;;;;;;;;;;;;;;62901:174;62706:384;62065:1036;;;63137:7;63133:2;63118:27;;63127:4;63118:27;;;;;;;;;;;;63156:42;63177:4;63183:2;63187:7;63196:1;63156:20;:42::i;:::-;61180:2026;;61076:2130;;;:::o;53124:1109::-;53186:21;;:::i;:::-;53220:12;53235:7;53220:22;;53303:4;53284:15;:13;:15::i;:::-;:23;;:47;;;;;53318:13;;53311:4;:20;53284:47;53280:886;;;53352:31;53386:11;:17;53398:4;53386:17;;;;;;;;;;;53352:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53427:9;:16;;;53422:729;;53498:1;53472:28;;:9;:14;;;:28;;;53468:101;;53536:9;53529:16;;;;;;53468:101;53871:261;53878:4;53871:261;;;53911:6;;;;;;;;53956:11;:17;53968:4;53956:17;;;;;;;;;;;53944:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54030:1;54004:28;;:9;:14;;;:28;;;54000:109;;54072:9;54065:16;;;;;;54000:109;53871:261;;;53422:729;53333:833;53280:886;54194:31;;;;;;;;;;;;;;53124:1109;;;;:::o;6991:191::-;7065:16;7084:6;;;;;;;;;;;7065:25;;7110:8;7101:6;;:17;;;;;;;;;;;;;;;;;;7165:8;7134:40;;7155:8;7134:40;;;;;;;;;;;;7054:128;6991:191;:::o;58158:104::-;58227:27;58237:2;58241:8;58227:27;;;;;;;;;;;;:9;:27::i;:::-;58158:104;;:::o;8422:326::-;8482:4;8739:1;8717:7;:19;;;:23;8710:30;;8422:326;;;:::o;66821:667::-;66984:4;67021:2;67005:36;;;67042:12;:10;:12::i;:::-;67056:4;67062:7;67071:5;67005:72;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;67001:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67256:1;67239:6;:13;:18;67235:235;;;67285:40;;;;;;;;;;;;;;67235:235;67428:6;67422:13;67413:6;67409:2;67405:15;67398:38;67001:480;67134:45;;;67124:55;;;:6;:55;;;;67117:62;;;66821:667;;;;;;:::o;2007:723::-;2063:13;2293:1;2284:5;:10;2280:53;;;2311:10;;;;;;;;;;;;;;;;;;;;;2280:53;2343:12;2358:5;2343:20;;2374:14;2399:78;2414:1;2406:4;:9;2399:78;;2432:8;;;;;:::i;:::-;;;;2463:2;2455:10;;;;;:::i;:::-;;;2399:78;;;2487:19;2519:6;2509:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2487:39;;2537:154;2553:1;2544:5;:10;2537:154;;2581:1;2571:11;;;;;:::i;:::-;;;2648:2;2640:5;:10;;;;:::i;:::-;2627:2;:24;;;;:::i;:::-;2614:39;;2597:6;2604;2597:14;;;;;;;;:::i;:::-;;;;;:56;;;;;;;;;;;2677:2;2668:11;;;;;:::i;:::-;;;2537:154;;;2715:6;2701:21;;;;;2007:723;;;;:::o;68136:159::-;;;;;:::o;68954:158::-;;;;;:::o;58625:163::-;58748:32;58754:2;58758:8;58768:5;58775:4;58748:5;:32::i;:::-;58625:163;;;:::o;59047:1775::-;59186:20;59209:13;;59186:36;;59251:1;59237:16;;:2;:16;;;59233:48;;;59262:19;;;;;;;;;;;;;;59233:48;59308:1;59296:8;:13;59292:44;;;59318:18;;;;;;;;;;;;;;59292:44;59349:61;59379:1;59383:2;59387:12;59401:8;59349:21;:61::i;:::-;59722:8;59687:12;:16;59700:2;59687:16;;;;;;;;;;;;;;;:24;;;:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59786:8;59746:12;:16;59759:2;59746:16;;;;;;;;;;;;;;;:29;;;:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59845:2;59812:11;:25;59824:12;59812:25;;;;;;;;;;;:30;;;:35;;;;;;;;;;;;;;;;;;59912:15;59862:11;:25;59874:12;59862:25;;;;;;;;;;;:40;;;:66;;;;;;;;;;;;;;;;;;59945:20;59968:12;59945:35;;59995:11;60024:8;60009:12;:23;59995:37;;60053:4;:23;;;;;60061:15;:2;:13;;;:15::i;:::-;60053:23;60049:641;;;60097:314;60153:12;60149:2;60128:38;;60145:1;60128:38;;;;;;;;;;;;60194:69;60233:1;60237:2;60241:14;;;;;;60257:5;60194:30;:69::i;:::-;60189:174;;60299:40;;;;;;;;;;;;;;60189:174;60406:3;60390:12;:19;;60097:314;;60492:12;60475:13;;:29;60471:43;;60506:8;;;60471:43;60049:641;;;60555:120;60611:14;;;;;;60607:2;60586:40;;60603:1;60586:40;;;;;;;;;;;;60670:3;60654:12;:19;;60555:120;;60049:641;60720:12;60704:13;:28;;;;59662:1082;;60754:60;60783:1;60787:2;60791:12;60805:8;60754:20;:60::i;:::-;59175:1647;59047:1775;;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:410:1:-;84:5;109:65;125:48;166:6;125:48;:::i;:::-;109:65;:::i;:::-;100:74;;197:6;190:5;183:21;235:4;228:5;224:16;273:3;264:6;259:3;255:16;252:25;249:112;;;280:79;;:::i;:::-;249:112;370:41;404:6;399:3;394;370:41;:::i;:::-;90:327;7:410;;;;;:::o;423:412::-;501:5;526:66;542:49;584:6;542:49;:::i;:::-;526:66;:::i;:::-;517:75;;615:6;608:5;601:21;653:4;646:5;642:16;691:3;682:6;677:3;673:16;670:25;667:112;;;698:79;;:::i;:::-;667:112;788:41;822:6;817:3;812;788:41;:::i;:::-;507:328;423:412;;;;;:::o;841:139::-;887:5;925:6;912:20;903:29;;941:33;968:5;941:33;:::i;:::-;841:139;;;;:::o;986:133::-;1029:5;1067:6;1054:20;1045:29;;1083:30;1107:5;1083:30;:::i;:::-;986:133;;;;:::o;1125:137::-;1170:5;1208:6;1195:20;1186:29;;1224:32;1250:5;1224:32;:::i;:::-;1125:137;;;;:::o;1268:141::-;1324:5;1355:6;1349:13;1340:22;;1371:32;1397:5;1371:32;:::i;:::-;1268:141;;;;:::o;1428:338::-;1483:5;1532:3;1525:4;1517:6;1513:17;1509:27;1499:122;;1540:79;;:::i;:::-;1499:122;1657:6;1644:20;1682:78;1756:3;1748:6;1741:4;1733:6;1729:17;1682:78;:::i;:::-;1673:87;;1489:277;1428:338;;;;:::o;1786:340::-;1842:5;1891:3;1884:4;1876:6;1872:17;1868:27;1858:122;;1899:79;;:::i;:::-;1858:122;2016:6;2003:20;2041:79;2116:3;2108:6;2101:4;2093:6;2089:17;2041:79;:::i;:::-;2032:88;;1848:278;1786:340;;;;:::o;2132:139::-;2178:5;2216:6;2203:20;2194:29;;2232:33;2259:5;2232:33;:::i;:::-;2132:139;;;;:::o;2277:329::-;2336:6;2385:2;2373:9;2364:7;2360:23;2356:32;2353:119;;;2391:79;;:::i;:::-;2353:119;2511:1;2536:53;2581:7;2572:6;2561:9;2557:22;2536:53;:::i;:::-;2526:63;;2482:117;2277:329;;;;:::o;2612:474::-;2680:6;2688;2737:2;2725:9;2716:7;2712:23;2708:32;2705:119;;;2743:79;;:::i;:::-;2705:119;2863:1;2888:53;2933:7;2924:6;2913:9;2909:22;2888:53;:::i;:::-;2878:63;;2834:117;2990:2;3016:53;3061:7;3052:6;3041:9;3037:22;3016:53;:::i;:::-;3006:63;;2961:118;2612:474;;;;;:::o;3092:619::-;3169:6;3177;3185;3234:2;3222:9;3213:7;3209:23;3205:32;3202:119;;;3240:79;;:::i;:::-;3202:119;3360:1;3385:53;3430:7;3421:6;3410:9;3406:22;3385:53;:::i;:::-;3375:63;;3331:117;3487:2;3513:53;3558:7;3549:6;3538:9;3534:22;3513:53;:::i;:::-;3503:63;;3458:118;3615:2;3641:53;3686:7;3677:6;3666:9;3662:22;3641:53;:::i;:::-;3631:63;;3586:118;3092:619;;;;;:::o;3717:943::-;3812:6;3820;3828;3836;3885:3;3873:9;3864:7;3860:23;3856:33;3853:120;;;3892:79;;:::i;:::-;3853:120;4012:1;4037:53;4082:7;4073:6;4062:9;4058:22;4037:53;:::i;:::-;4027:63;;3983:117;4139:2;4165:53;4210:7;4201:6;4190:9;4186:22;4165:53;:::i;:::-;4155:63;;4110:118;4267:2;4293:53;4338:7;4329:6;4318:9;4314:22;4293:53;:::i;:::-;4283:63;;4238:118;4423:2;4412:9;4408:18;4395:32;4454:18;4446:6;4443:30;4440:117;;;4476:79;;:::i;:::-;4440:117;4581:62;4635:7;4626:6;4615:9;4611:22;4581:62;:::i;:::-;4571:72;;4366:287;3717:943;;;;;;;:::o;4666:468::-;4731:6;4739;4788:2;4776:9;4767:7;4763:23;4759:32;4756:119;;;4794:79;;:::i;:::-;4756:119;4914:1;4939:53;4984:7;4975:6;4964:9;4960:22;4939:53;:::i;:::-;4929:63;;4885:117;5041:2;5067:50;5109:7;5100:6;5089:9;5085:22;5067:50;:::i;:::-;5057:60;;5012:115;4666:468;;;;;:::o;5140:474::-;5208:6;5216;5265:2;5253:9;5244:7;5240:23;5236:32;5233:119;;;5271:79;;:::i;:::-;5233:119;5391:1;5416:53;5461:7;5452:6;5441:9;5437:22;5416:53;:::i;:::-;5406:63;;5362:117;5518:2;5544:53;5589:7;5580:6;5569:9;5565:22;5544:53;:::i;:::-;5534:63;;5489:118;5140:474;;;;;:::o;5620:327::-;5678:6;5727:2;5715:9;5706:7;5702:23;5698:32;5695:119;;;5733:79;;:::i;:::-;5695:119;5853:1;5878:52;5922:7;5913:6;5902:9;5898:22;5878:52;:::i;:::-;5868:62;;5824:116;5620:327;;;;:::o;5953:349::-;6022:6;6071:2;6059:9;6050:7;6046:23;6042:32;6039:119;;;6077:79;;:::i;:::-;6039:119;6197:1;6222:63;6277:7;6268:6;6257:9;6253:22;6222:63;:::i;:::-;6212:73;;6168:127;5953:349;;;;:::o;6308:509::-;6377:6;6426:2;6414:9;6405:7;6401:23;6397:32;6394:119;;;6432:79;;:::i;:::-;6394:119;6580:1;6569:9;6565:17;6552:31;6610:18;6602:6;6599:30;6596:117;;;6632:79;;:::i;:::-;6596:117;6737:63;6792:7;6783:6;6772:9;6768:22;6737:63;:::i;:::-;6727:73;;6523:287;6308:509;;;;:::o;6823:329::-;6882:6;6931:2;6919:9;6910:7;6906:23;6902:32;6899:119;;;6937:79;;:::i;:::-;6899:119;7057:1;7082:53;7127:7;7118:6;7107:9;7103:22;7082:53;:::i;:::-;7072:63;;7028:117;6823:329;;;;:::o;7158:118::-;7245:24;7263:5;7245:24;:::i;:::-;7240:3;7233:37;7158:118;;:::o;7282:109::-;7363:21;7378:5;7363:21;:::i;:::-;7358:3;7351:34;7282:109;;:::o;7397:360::-;7483:3;7511:38;7543:5;7511:38;:::i;:::-;7565:70;7628:6;7623:3;7565:70;:::i;:::-;7558:77;;7644:52;7689:6;7684:3;7677:4;7670:5;7666:16;7644:52;:::i;:::-;7721:29;7743:6;7721:29;:::i;:::-;7716:3;7712:39;7705:46;;7487:270;7397:360;;;;:::o;7763:364::-;7851:3;7879:39;7912:5;7879:39;:::i;:::-;7934:71;7998:6;7993:3;7934:71;:::i;:::-;7927:78;;8014:52;8059:6;8054:3;8047:4;8040:5;8036:16;8014:52;:::i;:::-;8091:29;8113:6;8091:29;:::i;:::-;8086:3;8082:39;8075:46;;7855:272;7763:364;;;;:::o;8133:377::-;8239:3;8267:39;8300:5;8267:39;:::i;:::-;8322:89;8404:6;8399:3;8322:89;:::i;:::-;8315:96;;8420:52;8465:6;8460:3;8453:4;8446:5;8442:16;8420:52;:::i;:::-;8497:6;8492:3;8488:16;8481:23;;8243:267;8133:377;;;;:::o;8540:845::-;8643:3;8680:5;8674:12;8709:36;8735:9;8709:36;:::i;:::-;8761:89;8843:6;8838:3;8761:89;:::i;:::-;8754:96;;8881:1;8870:9;8866:17;8897:1;8892:137;;;;9043:1;9038:341;;;;8859:520;;8892:137;8976:4;8972:9;8961;8957:25;8952:3;8945:38;9012:6;9007:3;9003:16;8996:23;;8892:137;;9038:341;9105:38;9137:5;9105:38;:::i;:::-;9165:1;9179:154;9193:6;9190:1;9187:13;9179:154;;;9267:7;9261:14;9257:1;9252:3;9248:11;9241:35;9317:1;9308:7;9304:15;9293:26;;9215:4;9212:1;9208:12;9203:17;;9179:154;;;9362:6;9357:3;9353:16;9346:23;;9045:334;;8859:520;;8647:738;;8540:845;;;;:::o;9391:366::-;9533:3;9554:67;9618:2;9613:3;9554:67;:::i;:::-;9547:74;;9630:93;9719:3;9630:93;:::i;:::-;9748:2;9743:3;9739:12;9732:19;;9391:366;;;:::o;9763:::-;9905:3;9926:67;9990:2;9985:3;9926:67;:::i;:::-;9919:74;;10002:93;10091:3;10002:93;:::i;:::-;10120:2;10115:3;10111:12;10104:19;;9763:366;;;:::o;10135:::-;10277:3;10298:67;10362:2;10357:3;10298:67;:::i;:::-;10291:74;;10374:93;10463:3;10374:93;:::i;:::-;10492:2;10487:3;10483:12;10476:19;;10135:366;;;:::o;10507:::-;10649:3;10670:67;10734:2;10729:3;10670:67;:::i;:::-;10663:74;;10746:93;10835:3;10746:93;:::i;:::-;10864:2;10859:3;10855:12;10848:19;;10507:366;;;:::o;10879:::-;11021:3;11042:67;11106:2;11101:3;11042:67;:::i;:::-;11035:74;;11118:93;11207:3;11118:93;:::i;:::-;11236:2;11231:3;11227:12;11220:19;;10879:366;;;:::o;11251:398::-;11410:3;11431:83;11512:1;11507:3;11431:83;:::i;:::-;11424:90;;11523:93;11612:3;11523:93;:::i;:::-;11641:1;11636:3;11632:11;11625:18;;11251:398;;;:::o;11655:366::-;11797:3;11818:67;11882:2;11877:3;11818:67;:::i;:::-;11811:74;;11894:93;11983:3;11894:93;:::i;:::-;12012:2;12007:3;12003:12;11996:19;;11655:366;;;:::o;12027:::-;12169:3;12190:67;12254:2;12249:3;12190:67;:::i;:::-;12183:74;;12266:93;12355:3;12266:93;:::i;:::-;12384:2;12379:3;12375:12;12368:19;;12027:366;;;:::o;12399:::-;12541:3;12562:67;12626:2;12621:3;12562:67;:::i;:::-;12555:74;;12638:93;12727:3;12638:93;:::i;:::-;12756:2;12751:3;12747:12;12740:19;;12399:366;;;:::o;12771:::-;12913:3;12934:67;12998:2;12993:3;12934:67;:::i;:::-;12927:74;;13010:93;13099:3;13010:93;:::i;:::-;13128:2;13123:3;13119:12;13112:19;;12771:366;;;:::o;13143:118::-;13230:24;13248:5;13230:24;:::i;:::-;13225:3;13218:37;13143:118;;:::o;13267:429::-;13444:3;13466:92;13554:3;13545:6;13466:92;:::i;:::-;13459:99;;13575:95;13666:3;13657:6;13575:95;:::i;:::-;13568:102;;13687:3;13680:10;;13267:429;;;;;:::o;13702:379::-;13886:3;13908:147;14051:3;13908:147;:::i;:::-;13901:154;;14072:3;14065:10;;13702:379;;;:::o;14087:222::-;14180:4;14218:2;14207:9;14203:18;14195:26;;14231:71;14299:1;14288:9;14284:17;14275:6;14231:71;:::i;:::-;14087:222;;;;:::o;14315:640::-;14510:4;14548:3;14537:9;14533:19;14525:27;;14562:71;14630:1;14619:9;14615:17;14606:6;14562:71;:::i;:::-;14643:72;14711:2;14700:9;14696:18;14687:6;14643:72;:::i;:::-;14725;14793:2;14782:9;14778:18;14769:6;14725:72;:::i;:::-;14844:9;14838:4;14834:20;14829:2;14818:9;14814:18;14807:48;14872:76;14943:4;14934:6;14872:76;:::i;:::-;14864:84;;14315:640;;;;;;;:::o;14961:210::-;15048:4;15086:2;15075:9;15071:18;15063:26;;15099:65;15161:1;15150:9;15146:17;15137:6;15099:65;:::i;:::-;14961:210;;;;:::o;15177:313::-;15290:4;15328:2;15317:9;15313:18;15305:26;;15377:9;15371:4;15367:20;15363:1;15352:9;15348:17;15341:47;15405:78;15478:4;15469:6;15405:78;:::i;:::-;15397:86;;15177:313;;;;:::o;15496:419::-;15662:4;15700:2;15689:9;15685:18;15677:26;;15749:9;15743:4;15739:20;15735:1;15724:9;15720:17;15713:47;15777:131;15903:4;15777:131;:::i;:::-;15769:139;;15496:419;;;:::o;15921:::-;16087:4;16125:2;16114:9;16110:18;16102:26;;16174:9;16168:4;16164:20;16160:1;16149:9;16145:17;16138:47;16202:131;16328:4;16202:131;:::i;:::-;16194:139;;15921:419;;;:::o;16346:::-;16512:4;16550:2;16539:9;16535:18;16527:26;;16599:9;16593:4;16589:20;16585:1;16574:9;16570:17;16563:47;16627:131;16753:4;16627:131;:::i;:::-;16619:139;;16346:419;;;:::o;16771:::-;16937:4;16975:2;16964:9;16960:18;16952:26;;17024:9;17018:4;17014:20;17010:1;16999:9;16995:17;16988:47;17052:131;17178:4;17052:131;:::i;:::-;17044:139;;16771:419;;;:::o;17196:::-;17362:4;17400:2;17389:9;17385:18;17377:26;;17449:9;17443:4;17439:20;17435:1;17424:9;17420:17;17413:47;17477:131;17603:4;17477:131;:::i;:::-;17469:139;;17196:419;;;:::o;17621:::-;17787:4;17825:2;17814:9;17810:18;17802:26;;17874:9;17868:4;17864:20;17860:1;17849:9;17845:17;17838:47;17902:131;18028:4;17902:131;:::i;:::-;17894:139;;17621:419;;;:::o;18046:::-;18212:4;18250:2;18239:9;18235:18;18227:26;;18299:9;18293:4;18289:20;18285:1;18274:9;18270:17;18263:47;18327:131;18453:4;18327:131;:::i;:::-;18319:139;;18046:419;;;:::o;18471:::-;18637:4;18675:2;18664:9;18660:18;18652:26;;18724:9;18718:4;18714:20;18710:1;18699:9;18695:17;18688:47;18752:131;18878:4;18752:131;:::i;:::-;18744:139;;18471:419;;;:::o;18896:::-;19062:4;19100:2;19089:9;19085:18;19077:26;;19149:9;19143:4;19139:20;19135:1;19124:9;19120:17;19113:47;19177:131;19303:4;19177:131;:::i;:::-;19169:139;;18896:419;;;:::o;19321:222::-;19414:4;19452:2;19441:9;19437:18;19429:26;;19465:71;19533:1;19522:9;19518:17;19509:6;19465:71;:::i;:::-;19321:222;;;;:::o;19549:129::-;19583:6;19610:20;;:::i;:::-;19600:30;;19639:33;19667:4;19659:6;19639:33;:::i;:::-;19549:129;;;:::o;19684:75::-;19717:6;19750:2;19744:9;19734:19;;19684:75;:::o;19765:307::-;19826:4;19916:18;19908:6;19905:30;19902:56;;;19938:18;;:::i;:::-;19902:56;19976:29;19998:6;19976:29;:::i;:::-;19968:37;;20060:4;20054;20050:15;20042:23;;19765:307;;;:::o;20078:308::-;20140:4;20230:18;20222:6;20219:30;20216:56;;;20252:18;;:::i;:::-;20216:56;20290:29;20312:6;20290:29;:::i;:::-;20282:37;;20374:4;20368;20364:15;20356:23;;20078:308;;;:::o;20392:141::-;20441:4;20464:3;20456:11;;20487:3;20484:1;20477:14;20521:4;20518:1;20508:18;20500:26;;20392:141;;;:::o;20539:98::-;20590:6;20624:5;20618:12;20608:22;;20539:98;;;:::o;20643:99::-;20695:6;20729:5;20723:12;20713:22;;20643:99;;;:::o;20748:168::-;20831:11;20865:6;20860:3;20853:19;20905:4;20900:3;20896:14;20881:29;;20748:168;;;;:::o;20922:147::-;21023:11;21060:3;21045:18;;20922:147;;;;:::o;21075:169::-;21159:11;21193:6;21188:3;21181:19;21233:4;21228:3;21224:14;21209:29;;21075:169;;;;:::o;21250:148::-;21352:11;21389:3;21374:18;;21250:148;;;;:::o;21404:305::-;21444:3;21463:20;21481:1;21463:20;:::i;:::-;21458:25;;21497:20;21515:1;21497:20;:::i;:::-;21492:25;;21651:1;21583:66;21579:74;21576:1;21573:81;21570:107;;;21657:18;;:::i;:::-;21570:107;21701:1;21698;21694:9;21687:16;;21404:305;;;;:::o;21715:185::-;21755:1;21772:20;21790:1;21772:20;:::i;:::-;21767:25;;21806:20;21824:1;21806:20;:::i;:::-;21801:25;;21845:1;21835:35;;21850:18;;:::i;:::-;21835:35;21892:1;21889;21885:9;21880:14;;21715:185;;;;:::o;21906:348::-;21946:7;21969:20;21987:1;21969:20;:::i;:::-;21964:25;;22003:20;22021:1;22003:20;:::i;:::-;21998:25;;22191:1;22123:66;22119:74;22116:1;22113:81;22108:1;22101:9;22094:17;22090:105;22087:131;;;22198:18;;:::i;:::-;22087:131;22246:1;22243;22239:9;22228:20;;21906:348;;;;:::o;22260:191::-;22300:4;22320:20;22338:1;22320:20;:::i;:::-;22315:25;;22354:20;22372:1;22354:20;:::i;:::-;22349:25;;22393:1;22390;22387:8;22384:34;;;22398:18;;:::i;:::-;22384:34;22443:1;22440;22436:9;22428:17;;22260:191;;;;:::o;22457:96::-;22494:7;22523:24;22541:5;22523:24;:::i;:::-;22512:35;;22457:96;;;:::o;22559:90::-;22593:7;22636:5;22629:13;22622:21;22611:32;;22559:90;;;:::o;22655:149::-;22691:7;22731:66;22724:5;22720:78;22709:89;;22655:149;;;:::o;22810:126::-;22847:7;22887:42;22880:5;22876:54;22865:65;;22810:126;;;:::o;22942:77::-;22979:7;23008:5;22997:16;;22942:77;;;:::o;23025:154::-;23109:6;23104:3;23099;23086:30;23171:1;23162:6;23157:3;23153:16;23146:27;23025:154;;;:::o;23185:307::-;23253:1;23263:113;23277:6;23274:1;23271:13;23263:113;;;23362:1;23357:3;23353:11;23347:18;23343:1;23338:3;23334:11;23327:39;23299:2;23296:1;23292:10;23287:15;;23263:113;;;23394:6;23391:1;23388:13;23385:101;;;23474:1;23465:6;23460:3;23456:16;23449:27;23385:101;23234:258;23185:307;;;:::o;23498:320::-;23542:6;23579:1;23573:4;23569:12;23559:22;;23626:1;23620:4;23616:12;23647:18;23637:81;;23703:4;23695:6;23691:17;23681:27;;23637:81;23765:2;23757:6;23754:14;23734:18;23731:38;23728:84;;;23784:18;;:::i;:::-;23728:84;23549:269;23498:320;;;:::o;23824:281::-;23907:27;23929:4;23907:27;:::i;:::-;23899:6;23895:40;24037:6;24025:10;24022:22;24001:18;23989:10;23986:34;23983:62;23980:88;;;24048:18;;:::i;:::-;23980:88;24088:10;24084:2;24077:22;23867:238;23824:281;;:::o;24111:233::-;24150:3;24173:24;24191:5;24173:24;:::i;:::-;24164:33;;24219:66;24212:5;24209:77;24206:103;;;24289:18;;:::i;:::-;24206:103;24336:1;24329:5;24325:13;24318:20;;24111:233;;;:::o;24350:176::-;24382:1;24399:20;24417:1;24399:20;:::i;:::-;24394:25;;24433:20;24451:1;24433:20;:::i;:::-;24428:25;;24472:1;24462:35;;24477:18;;:::i;:::-;24462:35;24518:1;24515;24511:9;24506:14;;24350:176;;;;:::o;24532:180::-;24580:77;24577:1;24570:88;24677:4;24674:1;24667:15;24701:4;24698:1;24691:15;24718:180;24766:77;24763:1;24756:88;24863:4;24860:1;24853:15;24887:4;24884:1;24877:15;24904:180;24952:77;24949:1;24942:88;25049:4;25046:1;25039:15;25073:4;25070:1;25063:15;25090:180;25138:77;25135:1;25128:88;25235:4;25232:1;25225:15;25259:4;25256:1;25249:15;25276:180;25324:77;25321:1;25314:88;25421:4;25418:1;25411:15;25445:4;25442:1;25435:15;25462:117;25571:1;25568;25561:12;25585:117;25694:1;25691;25684:12;25708:117;25817:1;25814;25807:12;25831:117;25940:1;25937;25930:12;25954:102;25995:6;26046:2;26042:7;26037:2;26030:5;26026:14;26022:28;26012:38;;25954:102;;;:::o;26062:173::-;26202:25;26198:1;26190:6;26186:14;26179:49;26062:173;:::o;26241:225::-;26381:34;26377:1;26369:6;26365:14;26358:58;26450:8;26445:2;26437:6;26433:15;26426:33;26241:225;:::o;26472:182::-;26612:34;26608:1;26600:6;26596:14;26589:58;26472:182;:::o;26660:234::-;26800:34;26796:1;26788:6;26784:14;26777:58;26869:17;26864:2;26856:6;26852:15;26845:42;26660:234;:::o;26900:179::-;27040:31;27036:1;27028:6;27024:14;27017:55;26900:179;:::o;27085:114::-;;:::o;27205:166::-;27345:18;27341:1;27333:6;27329:14;27322:42;27205:166;:::o;27377:169::-;27517:21;27513:1;27505:6;27501:14;27494:45;27377:169;:::o;27552:173::-;27692:25;27688:1;27680:6;27676:14;27669:49;27552:173;:::o;27731:165::-;27871:17;27867:1;27859:6;27855:14;27848:41;27731:165;:::o;27902:122::-;27975:24;27993:5;27975:24;:::i;:::-;27968:5;27965:35;27955:63;;28014:1;28011;28004:12;27955:63;27902:122;:::o;28030:116::-;28100:21;28115:5;28100:21;:::i;:::-;28093:5;28090:32;28080:60;;28136:1;28133;28126:12;28080:60;28030:116;:::o;28152:120::-;28224:23;28241:5;28224:23;:::i;:::-;28217:5;28214:34;28204:62;;28262:1;28259;28252:12;28204:62;28152:120;:::o;28278:122::-;28351:24;28369:5;28351:24;:::i;:::-;28344:5;28341:35;28331:63;;28390:1;28387;28380:12;28331:63;28278:122;:::o
Swarm Source
ipfs://cf182de7768bcad8100b202c95593e25177ca053c81baacb2989a73def455525
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.