Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
6,666 C
Holders
3,258
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 CLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Companions
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-10-22 */ // File: Companions_flat.sol // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // 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 (last updated v4.7.0) (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 Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // 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 (last updated v4.7.0) (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`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); } // 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: utils/ERC721A.sol // Creator: Chiru Labs pragma solidity ^0.8.4; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintedQueryForZeroAddress(); error BurnedQueryForZeroAddress(); error AuxQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerIndexOutOfBounds(); error OwnerQueryForNonexistentToken(); error TokenIndexOutOfBounds(); 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 See {IERC721Enumerable-totalSupply}. * @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) { if (owner == address(0)) revert MintedQueryForZeroAddress(); 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) { if (owner == address(0)) revert BurnedQueryForZeroAddress(); 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) { if (owner == address(0)) revert AuxQueryForZeroAddress(); 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 { if (owner == address(0)) revert AuxQueryForZeroAddress(); _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 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); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || isApprovedForAll(prevOwnership.addr, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // 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; _ownerships[tokenId].addr = to; _ownerships[tokenId].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; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @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 { TokenOwnership memory prevOwnership = ownershipOf(tokenId); _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // 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[prevOwnership.addr].balance -= 1; _addressData[prevOwnership.addr].numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. _ownerships[tokenId].addr = prevOwnership.addr; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); _ownerships[tokenId].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; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(prevOwnership.addr, address(0), tokenId); _afterTokenTransfers(prevOwnership.addr, 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: Companions.sol pragma solidity 0.8.7; contract Companions is ERC721A, Ownable { using Strings for uint256; // Supply uint256 public maxSupply = 10000; // URI string public baseURI = "https://bafybeigl7qudjnyfiejvmnfdhefmjtpxe26nk7pwcwibwpcajiyaoxyqsa.ipfs.w3s.link/"; string public hiddenURI = "https://spacecadetsnft.com/companion/collection/placeholder.json"; // Costs uint256 public publicSaleCost = 0.0015 ether; // Per Address Limits uint256 public nftPublicSalePerAddressLimit = 2; // States bool public paused = true; bool public revealed = false; // Balances mapping(address => uint256) public addressPublicSaleMintedBalance; // Constructor constructor() ERC721A("Companions", "C") {} // Public Sale Mint - Functions function publicSaleMint(uint256 _mintAmount) public payable publicSaleMintCompliance(_mintAmount) { require(!paused, "MSG: The contract is paused"); require(msg.value >= publicSaleCost * _mintAmount, "MSG: Insufficient funds"); _safeMint(msg.sender, _mintAmount); for (uint256 i = 0; i < _mintAmount; i++) { addressPublicSaleMintedBalance[msg.sender]++; } withdraw(); } modifier publicSaleMintCompliance(uint256 _mintAmount) { uint256 ownerMintedCount = addressPublicSaleMintedBalance[msg.sender]; require(ownerMintedCount + _mintAmount <= nftPublicSalePerAddressLimit, "MSG: Max NFT per address exceeded for public sale"); require(totalSupply() + _mintAmount <= maxSupply, "MSG: Max supply exceeded"); _; } // Owner Mint - Functions function ownerMint(uint256 _mintAmount) public onlyOwner { require(!paused, "MSG: The contract is paused"); _safeMint(msg.sender, _mintAmount); } function ownerMintForOthers(address _receiver, uint256 _mintAmount) public onlyOwner { require(!paused, "MSG: The contract is paused"); _safeMint(_receiver, _mintAmount); } // Supply - Functions function setMaxSupply(uint256 _supply) public onlyOwner { maxSupply = _supply; } // URI - Functions function _baseURI() internal view override returns (string memory) { return baseURI; } function setBaseURI(string memory _uri) public onlyOwner { baseURI = _uri; } function setHiddenURI(string memory _uri) public onlyOwner { hiddenURI = _uri; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), "MSG: URI query for nonexistent token."); if (revealed == false) { return hiddenURI; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), ".json")) : ""; } // Cost - Functions function setPublicSaleCost(uint256 _cost) public onlyOwner { publicSaleCost = _cost; } function setRevealed(bool _state) public onlyOwner { revealed = _state; } // Per Address Limit - Functions function setNFTPublicSalePerAddressLimit(uint256 _limit) public onlyOwner { nftPublicSalePerAddressLimit = _limit; } // State - Functions function setPaused(bool _state) public onlyOwner { paused = _state; } // Other Functions function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount); uint256 currentTokenId = _startTokenId(); uint256 ownedTokenIndex = 0; address latestOwnerAddress; while (ownedTokenIndex < ownerTokenCount && currentTokenId <= maxSupply) { TokenOwnership memory ownership = _ownerships[currentTokenId]; if (!ownership.burned && ownership.addr != address(0)) { latestOwnerAddress = ownership.addr; } if (latestOwnerAddress == _owner) { ownedTokenIds[ownedTokenIndex] = currentTokenId; ownedTokenIndex++; } currentTokenId++; } return ownedTokenIds; } // Withdraw - Function function withdraw() public payable { payable(owner()).transfer(address(this).balance); } }
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":"","type":"address"}],"name":"addressPublicSaleMintedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftPublicSalePerAddressLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"ownerMintForOthers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"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":"string","name":"_uri","type":"string"}],"name":"setHiddenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setNFTPublicSalePerAddressLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setPublicSaleCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","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":"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":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
61271060095561010060405260526080818152906200219260a03980516200003091600a9160209091019062000159565b50604051806060016040528060408152602001620021e46040913980516200006191600b9160209091019062000159565b506605543df729c000600c556002600d55600e805461ffff191660011790553480156200008d57600080fd5b50604080518082018252600a815269436f6d70616e696f6e7360b01b6020808301918252835180850190945260018452604360f81b908401528151919291620000d99160029162000159565b508051620000ef90600390602084019062000159565b50506000805550620001013362000107565b6200023c565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200016790620001ff565b90600052602060002090601f0160209004810192826200018b5760008555620001d6565b82601f10620001a657805160ff1916838001178555620001d6565b82800160010185558215620001d6579182015b82811115620001d6578251825591602001919060010190620001b9565b50620001e4929150620001e8565b5090565b5b80821115620001e45760008155600101620001e9565b600181811c908216806200021457607f821691505b602082108114156200023657634e487b7160e01b600052602260045260246000fd5b50919050565b611f46806200024c6000396000f3fe60806040526004361061021a5760003560e01c80636c0360eb11610123578063b3ab66b0116100ab578063d5abeb011161006f578063d5abeb01146105ff578063e0a8085314610615578063e985e9c514610635578063f19e75d41461067e578063f2fde38b1461069e57600080fd5b8063b3ab66b01461056c578063b88d4fde1461057f578063bbaac02f1461059f578063bd3a17f5146105bf578063c87b56dd146105df57600080fd5b80638cc54e7f116100f25780638cc54e7f146104e45780638da5cb5b146104f95780638dbb7c061461051757806395d89b4114610537578063a22cb4651461054c57600080fd5b80636c0360eb1461047a5780636f8b44b01461048f57806370a08231146104af578063715018a6146104cf57600080fd5b80633b5ffa6d116101a6578063453afb0f11610175578063453afb0f146103eb578063518302271461040157806355f804b3146104205780635c975abb146104405780636352211e1461045a57600080fd5b80633b5ffa6d146103695780633ccfd60b1461039657806342842e0e1461039e578063438b6300146103be57600080fd5b806316c38b3c116101ed57806316c38b3c146102d057806318160ddd146102f057806323b872dd146103135780633837080c146103335780633ac4e0301461034957600080fd5b806301ffc9a71461021f57806306fdde0314610254578063081812fc14610276578063095ea7b3146102ae575b600080fd5b34801561022b57600080fd5b5061023f61023a366004611bd8565b6106be565b60405190151581526020015b60405180910390f35b34801561026057600080fd5b50610269610710565b60405161024b9190611d60565b34801561028257600080fd5b50610296610291366004611c5b565b6107a2565b6040516001600160a01b03909116815260200161024b565b3480156102ba57600080fd5b506102ce6102c9366004611b93565b6107e6565b005b3480156102dc57600080fd5b506102ce6102eb366004611bbd565b610874565b3480156102fc57600080fd5b50600154600054035b60405190815260200161024b565b34801561031f57600080fd5b506102ce61032e366004611ab1565b61088f565b34801561033f57600080fd5b50610305600d5481565b34801561035557600080fd5b506102ce610364366004611c5b565b61089a565b34801561037557600080fd5b50610305610384366004611a63565b600f6020526000908152604090205481565b6102ce6108a7565b3480156103aa57600080fd5b506102ce6103b9366004611ab1565b6108e3565b3480156103ca57600080fd5b506103de6103d9366004611a63565b6108fe565b60405161024b9190611d1c565b3480156103f757600080fd5b50610305600c5481565b34801561040d57600080fd5b50600e5461023f90610100900460ff1681565b34801561042c57600080fd5b506102ce61043b366004611c12565b610a46565b34801561044c57600080fd5b50600e5461023f9060ff1681565b34801561046657600080fd5b50610296610475366004611c5b565b610a65565b34801561048657600080fd5b50610269610a77565b34801561049b57600080fd5b506102ce6104aa366004611c5b565b610b05565b3480156104bb57600080fd5b506103056104ca366004611a63565b610b12565b3480156104db57600080fd5b506102ce610b61565b3480156104f057600080fd5b50610269610b75565b34801561050557600080fd5b506008546001600160a01b0316610296565b34801561052357600080fd5b506102ce610532366004611c5b565b610b82565b34801561054357600080fd5b50610269610b8f565b34801561055857600080fd5b506102ce610567366004611b69565b610b9e565b6102ce61057a366004611c5b565b610c34565b34801561058b57600080fd5b506102ce61059a366004611aed565b610dfb565b3480156105ab57600080fd5b506102ce6105ba366004611c12565b610e4c565b3480156105cb57600080fd5b506102ce6105da366004611b93565b610e67565b3480156105eb57600080fd5b506102696105fa366004611c5b565b610e9c565b34801561060b57600080fd5b5061030560095481565b34801561062157600080fd5b506102ce610630366004611bbd565b610ffe565b34801561064157600080fd5b5061023f610650366004611a7e565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561068a57600080fd5b506102ce610699366004611c5b565b611020565b3480156106aa57600080fd5b506102ce6106b9366004611a63565b611055565b60006001600160e01b031982166380ac58cd60e01b14806106ef57506001600160e01b03198216635b5e139f60e01b145b8061070a57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002805461071f90611e38565b80601f016020809104026020016040519081016040528092919081815260200182805461074b90611e38565b80156107985780601f1061076d57610100808354040283529160200191610798565b820191906000526020600020905b81548152906001019060200180831161077b57829003601f168201915b5050505050905090565b60006107ad826110cb565b6107ca576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006107f182610a65565b9050806001600160a01b0316836001600160a01b031614156108265760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061084657506108448133610650565b155b15610864576040516367d9dca160e11b815260040160405180910390fd5b61086f8383836110f6565b505050565b61087c611152565b600e805460ff1916911515919091179055565b61086f8383836111ac565b6108a2611152565b600d55565b6008546040516001600160a01b03909116904780156108fc02916000818181858888f193505050501580156108e0573d6000803e3d6000fd5b50565b61086f83838360405180602001604052806000815250610dfb565b6060600061090b83610b12565b905060008167ffffffffffffffff81111561092857610928611ee4565b604051908082528060200260200182016040528015610951578160200160208202803683370190505b509050600080805b848210801561096a57506009548311155b15610a3b57600083815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff1615801592820183905290916109d8575080516001600160a01b031615155b156109e257805191505b876001600160a01b0316826001600160a01b03161415610a285783858481518110610a0f57610a0f611ece565b602090810291909101015282610a2481611e73565b9350505b83610a3281611e73565b94505050610959565b509195945050505050565b610a4e611152565b8051610a6190600a906020840190611928565b5050565b6000610a70826113c2565b5192915050565b600a8054610a8490611e38565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab090611e38565b8015610afd5780601f10610ad257610100808354040283529160200191610afd565b820191906000526020600020905b815481529060010190602001808311610ae057829003601f168201915b505050505081565b610b0d611152565b600955565b60006001600160a01b038216610b3b576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610b69611152565b610b7360006114de565b565b600b8054610a8490611e38565b610b8a611152565b600c55565b60606003805461071f90611e38565b6001600160a01b038216331415610bc85760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b336000908152600f6020526040902054600d54829190610c548383611daa565b1115610cc15760405162461bcd60e51b815260206004820152603160248201527f4d53473a204d6178204e465420706572206164647265737320657863656564656044820152706420666f72207075626c69632073616c6560781b60648201526084015b60405180910390fd5b60095482610cd26001546000540390565b610cdc9190611daa565b1115610d2a5760405162461bcd60e51b815260206004820152601860248201527f4d53473a204d617820737570706c7920657863656564656400000000000000006044820152606401610cb8565b600e5460ff1615610d4d5760405162461bcd60e51b8152600401610cb890611d73565b82600c54610d5b9190611dd6565b341015610daa5760405162461bcd60e51b815260206004820152601760248201527f4d53473a20496e73756666696369656e742066756e64730000000000000000006044820152606401610cb8565b610db43384611530565b60005b83811015610df257336000908152600f60205260408120805491610dda83611e73565b91905055508080610dea90611e73565b915050610db7565b5061086f6108a7565b610e068484846111ac565b6001600160a01b0383163b15158015610e285750610e268484848461154a565b155b15610e46576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b610e54611152565b8051610a6190600b906020840190611928565b610e6f611152565b600e5460ff1615610e925760405162461bcd60e51b8152600401610cb890611d73565b610a618282611530565b6060610ea7826110cb565b610f015760405162461bcd60e51b815260206004820152602560248201527f4d53473a2055524920717565727920666f72206e6f6e6578697374656e74207460448201526437b5b2b71760d91b6064820152608401610cb8565b600e54610100900460ff16610fa257600b8054610f1d90611e38565b80601f0160208091040260200160405190810160405280929190818152602001828054610f4990611e38565b8015610f965780601f10610f6b57610100808354040283529160200191610f96565b820191906000526020600020905b815481529060010190602001808311610f7957829003601f168201915b50505050509050919050565b6000610fac611642565b90506000815111610fcc5760405180602001604052806000815250610ff7565b80610fd684611651565b604051602001610fe7929190611ca0565b6040516020818303038152906040525b9392505050565b611006611152565b600e80549115156101000261ff0019909216919091179055565b611028611152565b600e5460ff161561104b5760405162461bcd60e51b8152600401610cb890611d73565b6108e03382611530565b61105d611152565b6001600160a01b0381166110c25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610cb8565b6108e0816114de565b600080548210801561070a575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b03163314610b735760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cb8565b60006111b7826113c2565b80519091506000906001600160a01b0316336001600160a01b031614806111e5575081516111e59033610650565b806112005750336111f5846107a2565b6001600160a01b0316145b90508061122057604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146112555760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03841661127c57604051633a954ecd60e21b815260040160405180910390fd5b61128c60008484600001516110f6565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021790925590860180835291205490911661137857600054811015611378578251600082815260046020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6040805160608101825260008082526020820181905291810191909152816000548110156114c557600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906114c35780516001600160a01b031615611459579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff16151592810192909252156114be579392505050565b611459565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610a6182826040518060200160405280600081525061174f565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061157f903390899088908890600401611cdf565b602060405180830381600087803b15801561159957600080fd5b505af19250505080156115c9575060408051601f3d908101601f191682019092526115c691810190611bf5565b60015b611624573d8080156115f7576040519150601f19603f3d011682016040523d82523d6000602084013e6115fc565b606091505b50805161161c576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a805461071f90611e38565b6060816116755750506040805180820190915260018152600360fc1b602082015290565b8160005b811561169f578061168981611e73565b91506116989050600a83611dc2565b9150611679565b60008167ffffffffffffffff8111156116ba576116ba611ee4565b6040519080825280601f01601f1916602001820160405280156116e4576020820181803683370190505b5090505b841561163a576116f9600183611df5565b9150611706600a86611e8e565b611711906030611daa565b60f81b81838151811061172657611726611ece565b60200101906001600160f81b031916908160001a905350611748600a86611dc2565b94506116e8565b61086f83838360016000546001600160a01b03851661178057604051622e076360e81b815260040160405180910390fd5b8361179e5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561185057506001600160a01b0387163b15155b156118d9575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46118a1600088848060010195508861154a565b6118be576040516368d2bf6b60e11b815260040160405180910390fd5b808214156118565782600054146118d457600080fd5b61191f565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808214156118da575b506000556113bb565b82805461193490611e38565b90600052602060002090601f016020900481019282611956576000855561199c565b82601f1061196f57805160ff191683800117855561199c565b8280016001018555821561199c579182015b8281111561199c578251825591602001919060010190611981565b506119a89291506119ac565b5090565b5b808211156119a857600081556001016119ad565b600067ffffffffffffffff808411156119dc576119dc611ee4565b604051601f8501601f19908116603f01168101908282118183101715611a0457611a04611ee4565b81604052809350858152868686011115611a1d57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611a4e57600080fd5b919050565b80358015158114611a4e57600080fd5b600060208284031215611a7557600080fd5b610ff782611a37565b60008060408385031215611a9157600080fd5b611a9a83611a37565b9150611aa860208401611a37565b90509250929050565b600080600060608486031215611ac657600080fd5b611acf84611a37565b9250611add60208501611a37565b9150604084013590509250925092565b60008060008060808587031215611b0357600080fd5b611b0c85611a37565b9350611b1a60208601611a37565b925060408501359150606085013567ffffffffffffffff811115611b3d57600080fd5b8501601f81018713611b4e57600080fd5b611b5d878235602084016119c1565b91505092959194509250565b60008060408385031215611b7c57600080fd5b611b8583611a37565b9150611aa860208401611a53565b60008060408385031215611ba657600080fd5b611baf83611a37565b946020939093013593505050565b600060208284031215611bcf57600080fd5b610ff782611a53565b600060208284031215611bea57600080fd5b8135610ff781611efa565b600060208284031215611c0757600080fd5b8151610ff781611efa565b600060208284031215611c2457600080fd5b813567ffffffffffffffff811115611c3b57600080fd5b8201601f81018413611c4c57600080fd5b61163a848235602084016119c1565b600060208284031215611c6d57600080fd5b5035919050565b60008151808452611c8c816020860160208601611e0c565b601f01601f19169290920160200192915050565b60008351611cb2818460208801611e0c565b835190830190611cc6818360208801611e0c565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611d1290830184611c74565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611d5457835183529284019291840191600101611d38565b50909695505050505050565b602081526000610ff76020830184611c74565b6020808252601b908201527f4d53473a2054686520636f6e7472616374206973207061757365640000000000604082015260600190565b60008219821115611dbd57611dbd611ea2565b500190565b600082611dd157611dd1611eb8565b500490565b6000816000190483118215151615611df057611df0611ea2565b500290565b600082821015611e0757611e07611ea2565b500390565b60005b83811015611e27578181015183820152602001611e0f565b83811115610e465750506000910152565b600181811c90821680611e4c57607f821691505b60208210811415611e6d57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611e8757611e87611ea2565b5060010190565b600082611e9d57611e9d611eb8565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146108e057600080fdfea2646970667358221220aabe0b2cf8fc7e1a86357b563c94141037fa61b3f680757ad576f3ad22e2b5c064736f6c6343000807003368747470733a2f2f62616679626569676c377175646a6e796669656a766d6e66646865666d6a7470786532366e6b37707763776962777063616a6979616f78797173612e697066732e7733732e6c696e6b2f68747470733a2f2f73706163656361646574736e66742e636f6d2f636f6d70616e696f6e2f636f6c6c656374696f6e2f706c616365686f6c6465722e6a736f6e
Deployed Bytecode
0x60806040526004361061021a5760003560e01c80636c0360eb11610123578063b3ab66b0116100ab578063d5abeb011161006f578063d5abeb01146105ff578063e0a8085314610615578063e985e9c514610635578063f19e75d41461067e578063f2fde38b1461069e57600080fd5b8063b3ab66b01461056c578063b88d4fde1461057f578063bbaac02f1461059f578063bd3a17f5146105bf578063c87b56dd146105df57600080fd5b80638cc54e7f116100f25780638cc54e7f146104e45780638da5cb5b146104f95780638dbb7c061461051757806395d89b4114610537578063a22cb4651461054c57600080fd5b80636c0360eb1461047a5780636f8b44b01461048f57806370a08231146104af578063715018a6146104cf57600080fd5b80633b5ffa6d116101a6578063453afb0f11610175578063453afb0f146103eb578063518302271461040157806355f804b3146104205780635c975abb146104405780636352211e1461045a57600080fd5b80633b5ffa6d146103695780633ccfd60b1461039657806342842e0e1461039e578063438b6300146103be57600080fd5b806316c38b3c116101ed57806316c38b3c146102d057806318160ddd146102f057806323b872dd146103135780633837080c146103335780633ac4e0301461034957600080fd5b806301ffc9a71461021f57806306fdde0314610254578063081812fc14610276578063095ea7b3146102ae575b600080fd5b34801561022b57600080fd5b5061023f61023a366004611bd8565b6106be565b60405190151581526020015b60405180910390f35b34801561026057600080fd5b50610269610710565b60405161024b9190611d60565b34801561028257600080fd5b50610296610291366004611c5b565b6107a2565b6040516001600160a01b03909116815260200161024b565b3480156102ba57600080fd5b506102ce6102c9366004611b93565b6107e6565b005b3480156102dc57600080fd5b506102ce6102eb366004611bbd565b610874565b3480156102fc57600080fd5b50600154600054035b60405190815260200161024b565b34801561031f57600080fd5b506102ce61032e366004611ab1565b61088f565b34801561033f57600080fd5b50610305600d5481565b34801561035557600080fd5b506102ce610364366004611c5b565b61089a565b34801561037557600080fd5b50610305610384366004611a63565b600f6020526000908152604090205481565b6102ce6108a7565b3480156103aa57600080fd5b506102ce6103b9366004611ab1565b6108e3565b3480156103ca57600080fd5b506103de6103d9366004611a63565b6108fe565b60405161024b9190611d1c565b3480156103f757600080fd5b50610305600c5481565b34801561040d57600080fd5b50600e5461023f90610100900460ff1681565b34801561042c57600080fd5b506102ce61043b366004611c12565b610a46565b34801561044c57600080fd5b50600e5461023f9060ff1681565b34801561046657600080fd5b50610296610475366004611c5b565b610a65565b34801561048657600080fd5b50610269610a77565b34801561049b57600080fd5b506102ce6104aa366004611c5b565b610b05565b3480156104bb57600080fd5b506103056104ca366004611a63565b610b12565b3480156104db57600080fd5b506102ce610b61565b3480156104f057600080fd5b50610269610b75565b34801561050557600080fd5b506008546001600160a01b0316610296565b34801561052357600080fd5b506102ce610532366004611c5b565b610b82565b34801561054357600080fd5b50610269610b8f565b34801561055857600080fd5b506102ce610567366004611b69565b610b9e565b6102ce61057a366004611c5b565b610c34565b34801561058b57600080fd5b506102ce61059a366004611aed565b610dfb565b3480156105ab57600080fd5b506102ce6105ba366004611c12565b610e4c565b3480156105cb57600080fd5b506102ce6105da366004611b93565b610e67565b3480156105eb57600080fd5b506102696105fa366004611c5b565b610e9c565b34801561060b57600080fd5b5061030560095481565b34801561062157600080fd5b506102ce610630366004611bbd565b610ffe565b34801561064157600080fd5b5061023f610650366004611a7e565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561068a57600080fd5b506102ce610699366004611c5b565b611020565b3480156106aa57600080fd5b506102ce6106b9366004611a63565b611055565b60006001600160e01b031982166380ac58cd60e01b14806106ef57506001600160e01b03198216635b5e139f60e01b145b8061070a57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002805461071f90611e38565b80601f016020809104026020016040519081016040528092919081815260200182805461074b90611e38565b80156107985780601f1061076d57610100808354040283529160200191610798565b820191906000526020600020905b81548152906001019060200180831161077b57829003601f168201915b5050505050905090565b60006107ad826110cb565b6107ca576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006107f182610a65565b9050806001600160a01b0316836001600160a01b031614156108265760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061084657506108448133610650565b155b15610864576040516367d9dca160e11b815260040160405180910390fd5b61086f8383836110f6565b505050565b61087c611152565b600e805460ff1916911515919091179055565b61086f8383836111ac565b6108a2611152565b600d55565b6008546040516001600160a01b03909116904780156108fc02916000818181858888f193505050501580156108e0573d6000803e3d6000fd5b50565b61086f83838360405180602001604052806000815250610dfb565b6060600061090b83610b12565b905060008167ffffffffffffffff81111561092857610928611ee4565b604051908082528060200260200182016040528015610951578160200160208202803683370190505b509050600080805b848210801561096a57506009548311155b15610a3b57600083815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff1615801592820183905290916109d8575080516001600160a01b031615155b156109e257805191505b876001600160a01b0316826001600160a01b03161415610a285783858481518110610a0f57610a0f611ece565b602090810291909101015282610a2481611e73565b9350505b83610a3281611e73565b94505050610959565b509195945050505050565b610a4e611152565b8051610a6190600a906020840190611928565b5050565b6000610a70826113c2565b5192915050565b600a8054610a8490611e38565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab090611e38565b8015610afd5780601f10610ad257610100808354040283529160200191610afd565b820191906000526020600020905b815481529060010190602001808311610ae057829003601f168201915b505050505081565b610b0d611152565b600955565b60006001600160a01b038216610b3b576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610b69611152565b610b7360006114de565b565b600b8054610a8490611e38565b610b8a611152565b600c55565b60606003805461071f90611e38565b6001600160a01b038216331415610bc85760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b336000908152600f6020526040902054600d54829190610c548383611daa565b1115610cc15760405162461bcd60e51b815260206004820152603160248201527f4d53473a204d6178204e465420706572206164647265737320657863656564656044820152706420666f72207075626c69632073616c6560781b60648201526084015b60405180910390fd5b60095482610cd26001546000540390565b610cdc9190611daa565b1115610d2a5760405162461bcd60e51b815260206004820152601860248201527f4d53473a204d617820737570706c7920657863656564656400000000000000006044820152606401610cb8565b600e5460ff1615610d4d5760405162461bcd60e51b8152600401610cb890611d73565b82600c54610d5b9190611dd6565b341015610daa5760405162461bcd60e51b815260206004820152601760248201527f4d53473a20496e73756666696369656e742066756e64730000000000000000006044820152606401610cb8565b610db43384611530565b60005b83811015610df257336000908152600f60205260408120805491610dda83611e73565b91905055508080610dea90611e73565b915050610db7565b5061086f6108a7565b610e068484846111ac565b6001600160a01b0383163b15158015610e285750610e268484848461154a565b155b15610e46576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b610e54611152565b8051610a6190600b906020840190611928565b610e6f611152565b600e5460ff1615610e925760405162461bcd60e51b8152600401610cb890611d73565b610a618282611530565b6060610ea7826110cb565b610f015760405162461bcd60e51b815260206004820152602560248201527f4d53473a2055524920717565727920666f72206e6f6e6578697374656e74207460448201526437b5b2b71760d91b6064820152608401610cb8565b600e54610100900460ff16610fa257600b8054610f1d90611e38565b80601f0160208091040260200160405190810160405280929190818152602001828054610f4990611e38565b8015610f965780601f10610f6b57610100808354040283529160200191610f96565b820191906000526020600020905b815481529060010190602001808311610f7957829003601f168201915b50505050509050919050565b6000610fac611642565b90506000815111610fcc5760405180602001604052806000815250610ff7565b80610fd684611651565b604051602001610fe7929190611ca0565b6040516020818303038152906040525b9392505050565b611006611152565b600e80549115156101000261ff0019909216919091179055565b611028611152565b600e5460ff161561104b5760405162461bcd60e51b8152600401610cb890611d73565b6108e03382611530565b61105d611152565b6001600160a01b0381166110c25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610cb8565b6108e0816114de565b600080548210801561070a575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b03163314610b735760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cb8565b60006111b7826113c2565b80519091506000906001600160a01b0316336001600160a01b031614806111e5575081516111e59033610650565b806112005750336111f5846107a2565b6001600160a01b0316145b90508061122057604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146112555760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03841661127c57604051633a954ecd60e21b815260040160405180910390fd5b61128c60008484600001516110f6565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021790925590860180835291205490911661137857600054811015611378578251600082815260046020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6040805160608101825260008082526020820181905291810191909152816000548110156114c557600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906114c35780516001600160a01b031615611459579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff16151592810192909252156114be579392505050565b611459565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610a6182826040518060200160405280600081525061174f565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061157f903390899088908890600401611cdf565b602060405180830381600087803b15801561159957600080fd5b505af19250505080156115c9575060408051601f3d908101601f191682019092526115c691810190611bf5565b60015b611624573d8080156115f7576040519150601f19603f3d011682016040523d82523d6000602084013e6115fc565b606091505b50805161161c576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a805461071f90611e38565b6060816116755750506040805180820190915260018152600360fc1b602082015290565b8160005b811561169f578061168981611e73565b91506116989050600a83611dc2565b9150611679565b60008167ffffffffffffffff8111156116ba576116ba611ee4565b6040519080825280601f01601f1916602001820160405280156116e4576020820181803683370190505b5090505b841561163a576116f9600183611df5565b9150611706600a86611e8e565b611711906030611daa565b60f81b81838151811061172657611726611ece565b60200101906001600160f81b031916908160001a905350611748600a86611dc2565b94506116e8565b61086f83838360016000546001600160a01b03851661178057604051622e076360e81b815260040160405180910390fd5b8361179e5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561185057506001600160a01b0387163b15155b156118d9575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46118a1600088848060010195508861154a565b6118be576040516368d2bf6b60e11b815260040160405180910390fd5b808214156118565782600054146118d457600080fd5b61191f565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808214156118da575b506000556113bb565b82805461193490611e38565b90600052602060002090601f016020900481019282611956576000855561199c565b82601f1061196f57805160ff191683800117855561199c565b8280016001018555821561199c579182015b8281111561199c578251825591602001919060010190611981565b506119a89291506119ac565b5090565b5b808211156119a857600081556001016119ad565b600067ffffffffffffffff808411156119dc576119dc611ee4565b604051601f8501601f19908116603f01168101908282118183101715611a0457611a04611ee4565b81604052809350858152868686011115611a1d57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611a4e57600080fd5b919050565b80358015158114611a4e57600080fd5b600060208284031215611a7557600080fd5b610ff782611a37565b60008060408385031215611a9157600080fd5b611a9a83611a37565b9150611aa860208401611a37565b90509250929050565b600080600060608486031215611ac657600080fd5b611acf84611a37565b9250611add60208501611a37565b9150604084013590509250925092565b60008060008060808587031215611b0357600080fd5b611b0c85611a37565b9350611b1a60208601611a37565b925060408501359150606085013567ffffffffffffffff811115611b3d57600080fd5b8501601f81018713611b4e57600080fd5b611b5d878235602084016119c1565b91505092959194509250565b60008060408385031215611b7c57600080fd5b611b8583611a37565b9150611aa860208401611a53565b60008060408385031215611ba657600080fd5b611baf83611a37565b946020939093013593505050565b600060208284031215611bcf57600080fd5b610ff782611a53565b600060208284031215611bea57600080fd5b8135610ff781611efa565b600060208284031215611c0757600080fd5b8151610ff781611efa565b600060208284031215611c2457600080fd5b813567ffffffffffffffff811115611c3b57600080fd5b8201601f81018413611c4c57600080fd5b61163a848235602084016119c1565b600060208284031215611c6d57600080fd5b5035919050565b60008151808452611c8c816020860160208601611e0c565b601f01601f19169290920160200192915050565b60008351611cb2818460208801611e0c565b835190830190611cc6818360208801611e0c565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611d1290830184611c74565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611d5457835183529284019291840191600101611d38565b50909695505050505050565b602081526000610ff76020830184611c74565b6020808252601b908201527f4d53473a2054686520636f6e7472616374206973207061757365640000000000604082015260600190565b60008219821115611dbd57611dbd611ea2565b500190565b600082611dd157611dd1611eb8565b500490565b6000816000190483118215151615611df057611df0611ea2565b500290565b600082821015611e0757611e07611ea2565b500390565b60005b83811015611e27578181015183820152602001611e0f565b83811115610e465750506000910152565b600181811c90821680611e4c57607f821691505b60208210811415611e6d57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611e8757611e87611ea2565b5060010190565b600082611e9d57611e9d611eb8565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146108e057600080fdfea2646970667358221220aabe0b2cf8fc7e1a86357b563c94141037fa61b3f680757ad576f3ad22e2b5c064736f6c63430008070033
Deployed Bytecode Sourcemap
46442:4551:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28922:305;;;;;;;;;;-1:-1:-1;28922:305:0;;;;;:::i;:::-;;:::i;:::-;;;6707:14:1;;6700:22;6682:41;;6670:2;6655:18;28922:305:0;;;;;;;;32307:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;33810:204::-;;;;;;;;;;-1:-1:-1;33810:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5368:32:1;;;5350:51;;5338:2;5323:18;33810:204:0;5204:203:1;33373:371:0;;;;;;;;;;-1:-1:-1;33373:371:0;;;;;:::i;:::-;;:::i;:::-;;49847:83;;;;;;;;;;-1:-1:-1;49847:83:0;;;;;:::i;:::-;;:::i;28171:303::-;;;;;;;;;;-1:-1:-1;28425:12:0;;28215:7;28409:13;:28;28171:303;;;9757:25:1;;;9745:2;9730:18;28171:303:0;9611:177:1;34667:170:0;;;;;;;;;;-1:-1:-1;34667:170:0;;;;;:::i;:::-;;:::i;46901:47::-;;;;;;;;;;;;;;;;49683:130;;;;;;;;;;-1:-1:-1;49683:130:0;;;;;:::i;:::-;;:::i;47060:65::-;;;;;;;;;;-1:-1:-1;47060:65:0;;;;;:::i;:::-;;;;;;;;;;;;;;50888:102;;;:::i;34908:185::-;;;;;;;;;;-1:-1:-1;34908:185:0;;;;;:::i;:::-;;:::i;49962:890::-;;;;;;;;;;-1:-1:-1;49962:890:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;46821:44::-;;;;;;;;;;;;;;;;47006:28;;;;;;;;;;-1:-1:-1;47006:28:0;;;;;;;;;;;48770:90;;;;;;;;;;-1:-1:-1;48770:90:0;;;;;:::i;:::-;;:::i;46972:25::-;;;;;;;;;;-1:-1:-1;46972:25:0;;;;;;;;32116:124;;;;;;;;;;-1:-1:-1;32116:124:0;;;;;:::i;:::-;;:::i;46591:108::-;;;;;;;;;;;;;:::i;48536:94::-;;;;;;;;;;-1:-1:-1;48536:94:0;;;;;:::i;:::-;;:::i;29291:206::-;;;;;;;;;;-1:-1:-1;29291:206:0;;;;;:::i;:::-;;:::i;5307:103::-;;;;;;;;;;;;;:::i;46706:92::-;;;;;;;;;;;;;:::i;4659:87::-;;;;;;;;;;-1:-1:-1;4732:6:0;;-1:-1:-1;;;;;4732:6:0;4659:87;;49442:100;;;;;;;;;;-1:-1:-1;49442:100:0;;;;;:::i;:::-;;:::i;32476:104::-;;;;;;;;;;;;;:::i;34086:279::-;;;;;;;;;;-1:-1:-1;34086:279:0;;;;;:::i;:::-;;:::i;47242:457::-;;;;;;:::i;:::-;;:::i;35164:369::-;;;;;;;;;;-1:-1:-1;35164:369:0;;;;;:::i;:::-;;:::i;48872:94::-;;;;;;;;;;-1:-1:-1;48872:94:0;;;;;:::i;:::-;;:::i;48304:197::-;;;;;;;;;;-1:-1:-1;48304:197:0;;;;;:::i;:::-;;:::i;48974:435::-;;;;;;;;;;-1:-1:-1;48974:435:0;;;;;:::i;:::-;;:::i;46538:32::-;;;;;;;;;;;;;;;;49550:87;;;;;;;;;;-1:-1:-1;49550:87:0;;;;;:::i;:::-;;:::i;34436:164::-;;;;;;;;;;-1:-1:-1;34436:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;34557:25:0;;;34533:4;34557:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;34436:164;48126:170;;;;;;;;;;-1:-1:-1;48126:170:0;;;;;:::i;:::-;;:::i;5565:201::-;;;;;;;;;;-1:-1:-1;5565:201:0;;;;;:::i;:::-;;:::i;28922:305::-;29024:4;-1:-1:-1;;;;;;29061:40:0;;-1:-1:-1;;;29061:40:0;;:105;;-1:-1:-1;;;;;;;29118:48:0;;-1:-1:-1;;;29118:48:0;29061:105;:158;;;-1:-1:-1;;;;;;;;;;17622:40:0;;;29183:36;29041:178;28922:305;-1:-1:-1;;28922:305:0:o;32307:100::-;32361:13;32394:5;32387:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32307:100;:::o;33810:204::-;33878:7;33903:16;33911:7;33903;:16::i;:::-;33898:64;;33928:34;;-1:-1:-1;;;33928:34:0;;;;;;;;;;;33898:64;-1:-1:-1;33982:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;33982:24:0;;33810:204::o;33373:371::-;33446:13;33462:24;33478:7;33462:15;:24::i;:::-;33446:40;;33507:5;-1:-1:-1;;;;;33501:11:0;:2;-1:-1:-1;;;;;33501:11:0;;33497:48;;;33521:24;;-1:-1:-1;;;33521:24:0;;;;;;;;;;;33497:48;3290:10;-1:-1:-1;;;;;33562:21:0;;;;;;:63;;-1:-1:-1;33588:37:0;33605:5;3290:10;34436:164;:::i;33588:37::-;33587:38;33562:63;33558:138;;;33649:35;;-1:-1:-1;;;33649:35:0;;;;;;;;;;;33558:138;33708:28;33717:2;33721:7;33730:5;33708:8;:28::i;:::-;33435:309;33373:371;;:::o;49847:83::-;4545:13;:11;:13::i;:::-;49907:6:::1;:15:::0;;-1:-1:-1;;49907:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;49847:83::o;34667:170::-;34801:28;34811:4;34817:2;34821:7;34801:9;:28::i;49683:130::-;4545:13;:11;:13::i;:::-;49768:28:::1;:37:::0;49683:130::o;50888:102::-;4732:6;;50934:48;;-1:-1:-1;;;;;4732:6:0;;;;50960:21;50934:48;;;;;;;;;50960:21;4732:6;50934:48;;;;;;;;;;;;;;;;;;;;;50888:102::o;34908:185::-;35046:39;35063:4;35069:2;35073:7;35046:39;;;;;;;;;;;;:16;:39::i;49962:890::-;50022:16;50051:23;50077:17;50087:6;50077:9;:17::i;:::-;50051:43;;50105:30;50152:15;50138:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50138:30:0;-1:-1:-1;50105:63:0;-1:-1:-1;50179:22:0;50230:23;50268:26;50307:505;50332:15;50314;:33;:64;;;;;50369:9;;50351:14;:27;;50314:64;50307:505;;;50395:31;50429:27;;;:11;:27;;;;;;;;;50395:61;;;;;;;;;-1:-1:-1;;;;;50395:61:0;;;;-1:-1:-1;;;50395:61:0;;;;;;;;;;;-1:-1:-1;;;50395:61:0;;;;;;;;;;;;;;;;50477:49;;-1:-1:-1;50498:14:0;;-1:-1:-1;;;;;50498:28:0;;;50477:49;50473:125;;;50568:14;;;-1:-1:-1;50473:125:0;50640:6;-1:-1:-1;;;;;50618:28:0;:18;-1:-1:-1;;;;;50618:28:0;;50614:154;;;50700:14;50667:13;50681:15;50667:30;;;;;;;;:::i;:::-;;;;;;;;;;:47;50735:17;;;;:::i;:::-;;;;50614:154;50784:16;;;;:::i;:::-;;;;50380:432;50307:505;;;-1:-1:-1;50831:13:0;;49962:890;-1:-1:-1;;;;;49962:890:0:o;48770:90::-;4545:13;:11;:13::i;:::-;48838:14;;::::1;::::0;:7:::1;::::0;:14:::1;::::0;::::1;::::0;::::1;:::i;:::-;;48770:90:::0;:::o;32116:124::-;32180:7;32207:20;32219:7;32207:11;:20::i;:::-;:25;;32116:124;-1:-1:-1;;32116:124:0:o;46591:108::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;48536:94::-;4545:13;:11;:13::i;:::-;48603:9:::1;:19:::0;48536:94::o;29291:206::-;29355:7;-1:-1:-1;;;;;29379:19:0;;29375:60;;29407:28;;-1:-1:-1;;;29407:28:0;;;;;;;;;;;29375:60;-1:-1:-1;;;;;;29461:19:0;;;;;:12;:19;;;;;:27;;;;29291:206::o;5307:103::-;4545:13;:11;:13::i;:::-;5372:30:::1;5399:1;5372:18;:30::i;:::-;5307:103::o:0;46706:92::-;;;;;;;:::i;49442:100::-;4545:13;:11;:13::i;:::-;49512:14:::1;:22:::0;49442:100::o;32476:104::-;32532:13;32565:7;32558:14;;;;;:::i;34086:279::-;-1:-1:-1;;;;;34177:24:0;;3290:10;34177:24;34173:54;;;34210:17;;-1:-1:-1;;;34210:17:0;;;;;;;;;;;34173:54;3290:10;34240:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;34240:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;34240:53:0;;;;;;;;;;34309:48;;6682:41:1;;;34240:42:0;;3290:10;34309:48;;6655:18:1;34309:48:0;;;;;;;34086:279;;:::o;47242:457::-;47831:10;47773:24;47800:42;;;:30;:42;;;;;;47895:28;;47327:11;;47800:42;47861:30;47327:11;47800:42;47861:30;:::i;:::-;:62;;47853:124;;;;-1:-1:-1;;;47853:124:0;;9042:2:1;47853:124:0;;;9024:21:1;9081:2;9061:18;;;9054:30;9120:34;9100:18;;;9093:62;-1:-1:-1;;;9171:18:1;;;9164:47;9228:19;;47853:124:0;;;;;;;;;48029:9;;48014:11;47998:13;28425:12;;28215:7;28409:13;:28;;28171:303;47998:13;:27;;;;:::i;:::-;:40;;47990:77;;;;-1:-1:-1;;;47990:77:0;;9460:2:1;47990:77:0;;;9442:21:1;9499:2;9479:18;;;9472:30;9538:26;9518:18;;;9511:54;9582:18;;47990:77:0;9258:348:1;47990:77:0;47360:6:::1;::::0;::::1;;47359:7;47351:47;;;;-1:-1:-1::0;;;47351:47:0::1;;;;;;;:::i;:::-;47449:11;47432:14;;:28;;;;:::i;:::-;47419:9;:41;;47411:77;;;::::0;-1:-1:-1;;;47411:77:0;;8329:2:1;47411:77:0::1;::::0;::::1;8311:21:1::0;8368:2;8348:18;;;8341:30;8407:25;8387:18;;;8380:53;8450:18;;47411:77:0::1;8127:347:1::0;47411:77:0::1;47509:34;47519:10;47531:11;47509:9;:34::i;:::-;47561:9;47556:113;47580:11;47576:1;:15;47556:113;;;47644:10;47613:42;::::0;;;:30:::1;:42;::::0;;;;:44;;;::::1;::::0;::::1;:::i;:::-;;;;;;47593:3;;;;;:::i;:::-;;;;47556:113;;;;47681:10;:8;:10::i;35164:369::-:0;35331:28;35341:4;35347:2;35351:7;35331:9;:28::i;:::-;-1:-1:-1;;;;;35374:13:0;;7652:19;:23;;35374:76;;;;;35394:56;35425:4;35431:2;35435:7;35444:5;35394:30;:56::i;:::-;35393:57;35374:76;35370:156;;;35474:40;;-1:-1:-1;;;35474:40:0;;;;;;;;;;;35370:156;35164:369;;;;:::o;48872:94::-;4545:13;:11;:13::i;:::-;48942:16;;::::1;::::0;:9:::1;::::0;:16:::1;::::0;::::1;::::0;::::1;:::i;48304:197::-:0;4545:13;:11;:13::i;:::-;48409:6:::1;::::0;::::1;;48408:7;48400:47;;;;-1:-1:-1::0;;;48400:47:0::1;;;;;;;:::i;:::-;48460:33;48470:9;48481:11;48460:9;:33::i;48974:435::-:0;49048:13;49082:17;49090:8;49082:7;:17::i;:::-;49074:67;;;;-1:-1:-1;;;49074:67:0;;7160:2:1;49074:67:0;;;7142:21:1;7199:2;7179:18;;;7172:30;7238:34;7218:18;;;7211:62;-1:-1:-1;;;7289:18:1;;;7282:35;7334:19;;49074:67:0;6958:401:1;49074:67:0;49158:8;;;;;;;49154:66;;49199:9;49192:16;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48974:435;;;:::o;49154:66::-;49232:28;49263:10;:8;:10::i;:::-;49232:41;;49322:1;49297:14;49291:28;:32;:110;;;;;;;;;;;;;;;;;49350:14;49366:19;:8;:17;:19::i;:::-;49333:62;;;;;;;;;:::i;:::-;;;;;;;;;;;;;49291:110;49284:117;48974:435;-1:-1:-1;;;48974:435:0:o;49550:87::-;4545:13;:11;:13::i;:::-;49612:8:::1;:17:::0;;;::::1;;;;-1:-1:-1::0;;49612:17:0;;::::1;::::0;;;::::1;::::0;;49550:87::o;48126:170::-;4545:13;:11;:13::i;:::-;48203:6:::1;::::0;::::1;;48202:7;48194:47;;;;-1:-1:-1::0;;;48194:47:0::1;;;;;;;:::i;:::-;48254:34;48264:10;48276:11;48254:9;:34::i;5565:201::-:0;4545:13;:11;:13::i;:::-;-1:-1:-1;;;;;5654:22:0;::::1;5646:73;;;::::0;-1:-1:-1;;;5646:73:0;;7566:2:1;5646:73:0::1;::::0;::::1;7548:21:1::0;7605:2;7585:18;;;7578:30;7644:34;7624:18;;;7617:62;-1:-1:-1;;;7695:18:1;;;7688:36;7741:19;;5646:73:0::1;7364:402:1::0;5646:73:0::1;5730:28;5749:8;5730:18;:28::i;35788:187::-:0;35845:4;35909:13;;35899:7;:23;35869:98;;;;-1:-1:-1;;35940:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;35940:27:0;;;;35939:28;;35788:187::o;43399:196::-;43514:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;43514:29:0;-1:-1:-1;;;;;43514:29:0;;;;;;;;;43559:28;;43514:24;;43559:28;;;;;;;43399:196;;;:::o;4824:132::-;4732:6;;-1:-1:-1;;;;;4732:6:0;3290:10;4888:23;4880:68;;;;-1:-1:-1;;;4880:68:0;;8681:2:1;4880:68:0;;;8663:21:1;;;8700:18;;;8693:30;8759:34;8739:18;;;8732:62;8811:18;;4880:68:0;8479:356:1;38901:2112:0;39016:35;39054:20;39066:7;39054:11;:20::i;:::-;39129:18;;39016:58;;-1:-1:-1;39087:22:0;;-1:-1:-1;;;;;39113:34:0;3290:10;-1:-1:-1;;;;;39113:34:0;;:101;;;-1:-1:-1;39181:18:0;;39164:50;;3290:10;34436:164;:::i;39164:50::-;39113:154;;;-1:-1:-1;3290:10:0;39231:20;39243:7;39231:11;:20::i;:::-;-1:-1:-1;;;;;39231:36:0;;39113:154;39087:181;;39286:17;39281:66;;39312:35;;-1:-1:-1;;;39312:35:0;;;;;;;;;;;39281:66;39384:4;-1:-1:-1;;;;;39362:26:0;:13;:18;;;-1:-1:-1;;;;;39362:26:0;;39358:67;;39397:28;;-1:-1:-1;;;39397:28:0;;;;;;;;;;;39358:67;-1:-1:-1;;;;;39440:16:0;;39436:52;;39465:23;;-1:-1:-1;;;39465:23:0;;;;;;;;;;;39436:52;39609:49;39626:1;39630:7;39639:13;:18;;;39609:8;:49::i;:::-;-1:-1:-1;;;;;39954:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;39954:31:0;;;;;;;-1:-1:-1;;39954:31:0;;;;;;;40000:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;40000:29:0;;;;;;;;;;;40046:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;40091:61:0;;;;-1:-1:-1;;;40136:15:0;40091:61;;;;;;;;;;;40426:11;;;40456:24;;;;;:29;40426:11;;40456:29;40452:445;;40681:13;;40667:11;:27;40663:219;;;40751:18;;;40719:24;;;:11;:24;;;;;;;;:50;;40834:28;;;;40792:70;;-1:-1:-1;;;40792:70:0;-1:-1:-1;;;;;;40792:70:0;;;-1:-1:-1;;;;;40719:50:0;;;40792:70;;;;;;;40663:219;39929:979;40944:7;40940:2;-1:-1:-1;;;;;40925:27:0;40934:4;-1:-1:-1;;;;;40925:27:0;;;;;;;;;;;40963:42;39005:2008;;38901:2112;;;:::o;30946:1108::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;31056:7:0;31139:13;;31132:4;:20;31101:886;;;31173:31;31207:17;;;:11;:17;;;;;;;;;31173:51;;;;;;;;;-1:-1:-1;;;;;31173:51:0;;;;-1:-1:-1;;;31173:51:0;;;;;;;;;;;-1:-1:-1;;;31173:51:0;;;;;;;;;;;;;;31243:729;;31293:14;;-1:-1:-1;;;;;31293:28:0;;31289:101;;31357:9;30946:1108;-1:-1:-1;;;30946:1108:0:o;31289:101::-;-1:-1:-1;;;31732:6:0;31777:17;;;;:11;:17;;;;;;;;;31765:29;;;;;;;;;-1:-1:-1;;;;;31765:29:0;;;;;-1:-1:-1;;;31765:29:0;;;;;;;;;;;-1:-1:-1;;;31765:29:0;;;;;;;;;;;;;31825:28;31821:109;;31893:9;30946:1108;-1:-1:-1;;;30946:1108:0:o;31821:109::-;31692:261;;;31154:833;31101:886;32015:31;;-1:-1:-1;;;32015:31:0;;;;;;;;;;;5926:191;6019:6;;;-1:-1:-1;;;;;6036:17:0;;;-1:-1:-1;;;;;;6036:17:0;;;;;;;6069:40;;6019:6;;;6036:17;6019:6;;6069:40;;6000:16;;6069:40;5989:128;5926:191;:::o;35983:104::-;36052:27;36062:2;36066:8;36052:27;;;;;;;;;;;;:9;:27::i;44087:667::-;44271:72;;-1:-1:-1;;;44271:72:0;;44250:4;;-1:-1:-1;;;;;44271:36:0;;;;;:72;;3290:10;;44322:4;;44328:7;;44337:5;;44271:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44271:72:0;;;;;;;;-1:-1:-1;;44271:72:0;;;;;;;;;;;;:::i;:::-;;;44267:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44505:13:0;;44501:235;;44551:40;;-1:-1:-1;;;44551:40:0;;;;;;;;;;;44501:235;44694:6;44688:13;44679:6;44675:2;44671:15;44664:38;44267:480;-1:-1:-1;;;;;;44390:55:0;-1:-1:-1;;;44390:55:0;;-1:-1:-1;44267:480:0;44087:667;;;;;;:::o;48662:100::-;48714:13;48747:7;48740:14;;;;;:::i;464:723::-;520:13;741:10;737:53;;-1:-1:-1;;768:10:0;;;;;;;;;;;;-1:-1:-1;;;768:10:0;;;;;464:723::o;737:53::-;815:5;800:12;856:78;863:9;;856:78;;889:8;;;;:::i;:::-;;-1:-1:-1;912:10:0;;-1:-1:-1;920:2:0;912:10;;:::i;:::-;;;856:78;;;944:19;976:6;966:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;966:17:0;;944:39;;994:154;1001:10;;994:154;;1028:11;1038:1;1028:11;;:::i;:::-;;-1:-1:-1;1097:10:0;1105:2;1097:5;:10;:::i;:::-;1084:24;;:2;:24;:::i;:::-;1071:39;;1054:6;1061;1054:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;1054:56:0;;;;;;;;-1:-1:-1;1125:11:0;1134:2;1125:11;;:::i;:::-;;;994:154;;36450:163;36573:32;36579:2;36583:8;36593:5;36600:4;37011:20;37034:13;-1:-1:-1;;;;;37062:16:0;;37058:48;;37087:19;;-1:-1:-1;;;37087:19:0;;;;;;;;;;;37058:48;37121:13;37117:44;;37143:18;;-1:-1:-1;;;37143:18:0;;;;;;;;;;;37117:44;-1:-1:-1;;;;;37512:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;37571:49:0;;37512:44;;;;;;;;37571:49;;;;-1:-1:-1;;37512:44:0;;;;;;37571:49;;;;;;;;;;;;;;;;37637:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;37687:66:0;;;;-1:-1:-1;;;37737:15:0;37687:66;;;;;;;;;;37637:25;37834:23;;;37878:4;:23;;;;-1:-1:-1;;;;;;37886:13:0;;7652:19;:23;;37886:15;37874:641;;;37922:314;37953:38;;37978:12;;-1:-1:-1;;;;;37953:38:0;;;37970:1;;37953:38;;37970:1;;37953:38;38019:69;38058:1;38062:2;38066:14;;;;;;38082:5;38019:30;:69::i;:::-;38014:174;;38124:40;;-1:-1:-1;;;38124:40:0;;;;;;;;;;;38014:174;38231:3;38215:12;:19;;37922:314;;38317:12;38300:13;;:29;38296:43;;38331:8;;;38296:43;37874:641;;;38380:120;38411:40;;38436:14;;;;;-1:-1:-1;;;;;38411:40:0;;;38428:1;;38411:40;;38428:1;;38411:40;38495:3;38479:12;:19;;38380:120;;37874:641;-1:-1:-1;38529:13:0;:28;38579:60;35164:369;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:160::-;893:20;;949:13;;942:21;932:32;;922:60;;978:1;975;968:12;993:186;1052:6;1105:2;1093:9;1084:7;1080:23;1076:32;1073:52;;;1121:1;1118;1111:12;1073:52;1144:29;1163:9;1144:29;:::i;1184:260::-;1252:6;1260;1313:2;1301:9;1292:7;1288:23;1284:32;1281:52;;;1329:1;1326;1319:12;1281:52;1352:29;1371:9;1352:29;:::i;:::-;1342:39;;1400:38;1434:2;1423:9;1419:18;1400:38;:::i;:::-;1390:48;;1184:260;;;;;:::o;1449:328::-;1526:6;1534;1542;1595:2;1583:9;1574:7;1570:23;1566:32;1563:52;;;1611:1;1608;1601:12;1563:52;1634:29;1653:9;1634:29;:::i;:::-;1624:39;;1682:38;1716:2;1705:9;1701:18;1682:38;:::i;:::-;1672:48;;1767:2;1756:9;1752:18;1739:32;1729:42;;1449:328;;;;;:::o;1782:666::-;1877:6;1885;1893;1901;1954:3;1942:9;1933:7;1929:23;1925:33;1922:53;;;1971:1;1968;1961:12;1922:53;1994:29;2013:9;1994:29;:::i;:::-;1984:39;;2042:38;2076:2;2065:9;2061:18;2042:38;:::i;:::-;2032:48;;2127:2;2116:9;2112:18;2099:32;2089:42;;2182:2;2171:9;2167:18;2154:32;2209:18;2201:6;2198:30;2195:50;;;2241:1;2238;2231:12;2195:50;2264:22;;2317:4;2309:13;;2305:27;-1:-1:-1;2295:55:1;;2346:1;2343;2336:12;2295:55;2369:73;2434:7;2429:2;2416:16;2411:2;2407;2403:11;2369:73;:::i;:::-;2359:83;;;1782:666;;;;;;;:::o;2453:254::-;2518:6;2526;2579:2;2567:9;2558:7;2554:23;2550:32;2547:52;;;2595:1;2592;2585:12;2547:52;2618:29;2637:9;2618:29;:::i;:::-;2608:39;;2666:35;2697:2;2686:9;2682:18;2666:35;:::i;2712:254::-;2780:6;2788;2841:2;2829:9;2820:7;2816:23;2812:32;2809:52;;;2857:1;2854;2847:12;2809:52;2880:29;2899:9;2880:29;:::i;:::-;2870:39;2956:2;2941:18;;;;2928:32;;-1:-1:-1;;;2712:254:1:o;2971:180::-;3027:6;3080:2;3068:9;3059:7;3055:23;3051:32;3048:52;;;3096:1;3093;3086:12;3048:52;3119:26;3135:9;3119:26;:::i;3156:245::-;3214:6;3267:2;3255:9;3246:7;3242:23;3238:32;3235:52;;;3283:1;3280;3273:12;3235:52;3322:9;3309:23;3341:30;3365:5;3341:30;:::i;3406:249::-;3475:6;3528:2;3516:9;3507:7;3503:23;3499:32;3496:52;;;3544:1;3541;3534:12;3496:52;3576:9;3570:16;3595:30;3619:5;3595:30;:::i;3660:450::-;3729:6;3782:2;3770:9;3761:7;3757:23;3753:32;3750:52;;;3798:1;3795;3788:12;3750:52;3838:9;3825:23;3871:18;3863:6;3860:30;3857:50;;;3903:1;3900;3893:12;3857:50;3926:22;;3979:4;3971:13;;3967:27;-1:-1:-1;3957:55:1;;4008:1;4005;3998:12;3957:55;4031:73;4096:7;4091:2;4078:16;4073:2;4069;4065:11;4031:73;:::i;4115:180::-;4174:6;4227:2;4215:9;4206:7;4202:23;4198:32;4195:52;;;4243:1;4240;4233:12;4195:52;-1:-1:-1;4266:23:1;;4115:180;-1:-1:-1;4115:180:1:o;4300:257::-;4341:3;4379:5;4373:12;4406:6;4401:3;4394:19;4422:63;4478:6;4471:4;4466:3;4462:14;4455:4;4448:5;4444:16;4422:63;:::i;:::-;4539:2;4518:15;-1:-1:-1;;4514:29:1;4505:39;;;;4546:4;4501:50;;4300:257;-1:-1:-1;;4300:257:1:o;4562:637::-;4842:3;4880:6;4874:13;4896:53;4942:6;4937:3;4930:4;4922:6;4918:17;4896:53;:::i;:::-;5012:13;;4971:16;;;;5034:57;5012:13;4971:16;5068:4;5056:17;;5034:57;:::i;:::-;-1:-1:-1;;;5113:20:1;;5142:22;;;5191:1;5180:13;;4562:637;-1:-1:-1;;;;4562:637:1:o;5412:488::-;-1:-1:-1;;;;;5681:15:1;;;5663:34;;5733:15;;5728:2;5713:18;;5706:43;5780:2;5765:18;;5758:34;;;5828:3;5823:2;5808:18;;5801:31;;;5606:4;;5849:45;;5874:19;;5866:6;5849:45;:::i;:::-;5841:53;5412:488;-1:-1:-1;;;;;;5412:488:1:o;5905:632::-;6076:2;6128:21;;;6198:13;;6101:18;;;6220:22;;;6047:4;;6076:2;6299:15;;;;6273:2;6258:18;;;6047:4;6342:169;6356:6;6353:1;6350:13;6342:169;;;6417:13;;6405:26;;6486:15;;;;6451:12;;;;6378:1;6371:9;6342:169;;;-1:-1:-1;6528:3:1;;5905:632;-1:-1:-1;;;;;;5905:632:1:o;6734:219::-;6883:2;6872:9;6865:21;6846:4;6903:44;6943:2;6932:9;6928:18;6920:6;6903:44;:::i;7771:351::-;7973:2;7955:21;;;8012:2;7992:18;;;7985:30;8051:29;8046:2;8031:18;;8024:57;8113:2;8098:18;;7771:351::o;9793:128::-;9833:3;9864:1;9860:6;9857:1;9854:13;9851:39;;;9870:18;;:::i;:::-;-1:-1:-1;9906:9:1;;9793:128::o;9926:120::-;9966:1;9992;9982:35;;9997:18;;:::i;:::-;-1:-1:-1;10031:9:1;;9926:120::o;10051:168::-;10091:7;10157:1;10153;10149:6;10145:14;10142:1;10139:21;10134:1;10127:9;10120:17;10116:45;10113:71;;;10164:18;;:::i;:::-;-1:-1:-1;10204:9:1;;10051:168::o;10224:125::-;10264:4;10292:1;10289;10286:8;10283:34;;;10297:18;;:::i;:::-;-1:-1:-1;10334:9:1;;10224:125::o;10354:258::-;10426:1;10436:113;10450:6;10447:1;10444:13;10436:113;;;10526:11;;;10520:18;10507:11;;;10500:39;10472:2;10465:10;10436:113;;;10567:6;10564:1;10561:13;10558:48;;;-1:-1:-1;;10602:1:1;10584:16;;10577:27;10354:258::o;10617:380::-;10696:1;10692:12;;;;10739;;;10760:61;;10814:4;10806:6;10802:17;10792:27;;10760:61;10867:2;10859:6;10856:14;10836:18;10833:38;10830:161;;;10913:10;10908:3;10904:20;10901:1;10894:31;10948:4;10945:1;10938:15;10976:4;10973:1;10966:15;10830:161;;10617:380;;;:::o;11002:135::-;11041:3;-1:-1:-1;;11062:17:1;;11059:43;;;11082:18;;:::i;:::-;-1:-1:-1;11129:1:1;11118:13;;11002:135::o;11142:112::-;11174:1;11200;11190:35;;11205:18;;:::i;:::-;-1:-1:-1;11239:9:1;;11142:112::o;11259:127::-;11320:10;11315:3;11311:20;11308:1;11301:31;11351:4;11348:1;11341:15;11375:4;11372:1;11365:15;11391:127;11452:10;11447:3;11443:20;11440:1;11433:31;11483:4;11480:1;11473:15;11507:4;11504:1;11497:15;11523:127;11584:10;11579:3;11575:20;11572:1;11565:31;11615:4;11612:1;11605:15;11639:4;11636:1;11629:15;11655:127;11716:10;11711:3;11707:20;11704:1;11697:31;11747:4;11744:1;11737:15;11771:4;11768:1;11761:15;11787:131;-1:-1:-1;;;;;;11861:32:1;;11851:43;;11841:71;;11908:1;11905;11898:12
Swarm Source
ipfs://aabe0b2cf8fc7e1a86357b563c94141037fa61b3f680757ad576f3ad22e2b5c0
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.