ERC-721
Overview
Max Total Supply
388 DiCK
Holders
84
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
10 DiCKLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Dickheads
Compiler Version
v0.8.13+commit.abaa5c0e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-04-22 */ // SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.13; // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) /** * @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); } // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; } // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) /** * @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; } } // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // Creator: Chiru Labs error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerQueryForNonexistentToken(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev This is equivalent to _burn(tokenId, false) */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} } // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } error PriceNotCorrect(); error SoldOut(); uint256 constant MAX_SUPPLY = 9999; uint256 constant MINT_PRICE = 69000000000000000; // 0.069 ETH address payable constant PAYOUT_1 = payable(0xd3B6FD46d15e5993A890B2cf1d1DC9Bdf52075b3); // BT address payable constant PAYOUT_2 = payable(0x49fF29a7FdC931DCba3b0a6e7578aC3Ae4257523); // GZ address payable constant PAYOUT_3 = payable(0xCC9Ea622fD95816793d52017b36be7EFa6f718ab); // GZ address payable constant PAYOUT_4 = payable(0xF042081ED0AcBd9c581a2EEF0cbEF9F2dF2ab9d2); // DH address payable constant PAYOUT_5 = payable(0x12ADbfB5ea004F088E3C2B915FDb4e002407fDEb); // DH uint256 constant PERCENTAGE_1 = 15000; // 15.000% (total: 15.00%) uint256 constant PERCENTAGE_2_3 = 19125; // 19.125% (total: 38.25%) uint256 constant PERCENTAGE_4_5 = 23375; // 23.375% (total: 46.75%) contract Dickheads is ERC721A("DiCKHEADS", "DiCK"), ReentrancyGuard { using Address for address; // Batch mint NFTs. function mint(uint256 count) external payable nonReentrant { if (msg.value != (count * MINT_PRICE)) { revert PriceNotCorrect(); } if ((count + totalSupply()) > MAX_SUPPLY) { revert SoldOut(); } _mint(msg.sender, count, "", false); } function _baseURI() internal pure override returns (string memory) { return "ipfs://QmfFdJ6ba6CoxkGnm3MvJVLtM5KnzgERrNNsyRVYarX9cb/"; } function _startTokenId() internal pure override returns (uint256) { return 1; } // Withdraw funds. No restrictions are put on who can call as the payout addresse is forced. function withdraw() external nonReentrant { require(address(this).balance > 0); uint256 amount_1 = (address(this).balance * PERCENTAGE_1) / 100000; uint256 amount_2_3 = (address(this).balance * PERCENTAGE_2_3) / 100000; uint256 amount_4 = (address(this).balance * PERCENTAGE_4_5) / 100000; uint256 amount_5 = address(this).balance - amount_1 - amount_2_3 - amount_2_3 - amount_4; Address.sendValue(PAYOUT_1, amount_1); Address.sendValue(PAYOUT_2, amount_2_3); Address.sendValue(PAYOUT_3, amount_2_3); Address.sendValue(PAYOUT_4, amount_4); Address.sendValue(PAYOUT_5, amount_5); } // For OpenSea function maxSupply() external pure returns (uint256) { return MAX_SUPPLY; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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":"PriceNotCorrect","type":"error"},{"inputs":[],"name":"SoldOut","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","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":"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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060408051808201825260098152684469434b484541445360b81b6020808301918252835180850190945260048452634469434b60e01b9084015281519192916200005f9160029162000088565b5080516200007590600390602084019062000088565b506001600055505060016008556200016a565b82805462000096906200012e565b90600052602060002090601f016020900481019282620000ba576000855562000105565b82601f10620000d557805160ff191683800117855562000105565b8280016001018555821562000105579182015b8281111562000105578251825591602001919060010190620000e8565b506200011392915062000117565b5090565b5b8082111562000113576000815560010162000118565b600181811c908216806200014357607f821691505b6020821081036200016457634e487b7160e01b600052602260045260246000fd5b50919050565b6116dd806200017a6000396000f3fe6080604052600436106100fe5760003560e01c80636352211e11610095578063a22cb46511610064578063a22cb46514610298578063b88d4fde146102b8578063c87b56dd146102d8578063d5abeb01146102f8578063e985e9c51461030d57600080fd5b80636352211e1461023057806370a082311461025057806395d89b4114610270578063a0712d681461028557600080fd5b806318160ddd116100d157806318160ddd146101b457806323b872dd146101db5780633ccfd60b146101fb57806342842e0e1461021057600080fd5b806301ffc9a71461010357806306fdde0314610138578063081812fc1461015a578063095ea7b314610192575b600080fd5b34801561010f57600080fd5b5061012361011e36600461123e565b610356565b60405190151581526020015b60405180910390f35b34801561014457600080fd5b5061014d6103a8565b60405161012f91906112b3565b34801561016657600080fd5b5061017a6101753660046112c6565b61043a565b6040516001600160a01b03909116815260200161012f565b34801561019e57600080fd5b506101b26101ad3660046112fb565b61047e565b005b3480156101c057600080fd5b5060015460005403600019015b60405190815260200161012f565b3480156101e757600080fd5b506101b26101f6366004611325565b61050b565b34801561020757600080fd5b506101b2610516565b34801561021c57600080fd5b506101b261022b366004611325565b6106a6565b34801561023c57600080fd5b5061017a61024b3660046112c6565b6106c1565b34801561025c57600080fd5b506101cd61026b366004611361565b6106d3565b34801561027c57600080fd5b5061014d610722565b6101b26102933660046112c6565b610731565b3480156102a457600080fd5b506101b26102b336600461137c565b610815565b3480156102c457600080fd5b506101b26102d33660046113ce565b6108aa565b3480156102e457600080fd5b5061014d6102f33660046112c6565b6108fb565b34801561030457600080fd5b5061270f6101cd565b34801561031957600080fd5b506101236103283660046114aa565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b60006001600160e01b031982166380ac58cd60e01b148061038757506001600160e01b03198216635b5e139f60e01b145b806103a257506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546103b7906114dd565b80601f01602080910402602001604051908101604052809291908181526020018280546103e3906114dd565b80156104305780601f1061040557610100808354040283529160200191610430565b820191906000526020600020905b81548152906001019060200180831161041357829003601f168201915b5050505050905090565b60006104458261097f565b610462576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610489826106c1565b9050806001600160a01b0316836001600160a01b0316036104bd5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216148015906104dd57506104db8133610328565b155b156104fb576040516367d9dca160e11b815260040160405180910390fd5b6105068383836109b8565b505050565b610506838383610a14565b60026008540361056d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026008554761057c57600080fd5b6000620186a061058e613a984761152d565b6105989190611562565b90506000620186a06105ac614ab54761152d565b6105b69190611562565b90506000620186a06105ca615b4f4761152d565b6105d49190611562565b905060008183806105e58747611576565b6105ef9190611576565b6105f99190611576565b6106039190611576565b905061062373d3b6fd46d15e5993a890b2cf1d1dc9bdf52075b385610c04565b6106417349ff29a7fdc931dcba3b0a6e7578ac3ae425752384610c04565b61065f73cc9ea622fd95816793d52017b36be7efa6f718ab84610c04565b61067d73f042081ed0acbd9c581a2eef0cbef9f2df2ab9d283610c04565b61069b7312adbfb5ea004f088e3c2b915fdb4e002407fdeb82610c04565b505060016008555050565b610506838383604051806020016040528060008152506108aa565b60006106cc82610d1d565b5192915050565b60006001600160a01b0382166106fc576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6060600380546103b7906114dd565b6002600854036107835760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610564565b600260085561079966f52322698080008261152d565b34146107b85760405163648cbc4d60e11b815260040160405180910390fd5b60015460005461270f919003600019016107d2908361158d565b11156107f1576040516352df9fe560e01b815260040160405180910390fd5b61080d3382604051806020016040528060008152506000610e46565b506001600855565b336001600160a01b0383160361083e5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6108b5848484610a14565b6001600160a01b0383163b151580156108d757506108d584848484611018565b155b156108f5576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606109068261097f565b61092357604051630a14c4b560e41b815260040160405180910390fd5b600061092d611104565b9050805160000361094d5760405180602001604052806000815250610978565b8061095784611124565b6040516020016109689291906115a5565b6040516020818303038152906040525b9392505050565b600081600111158015610993575060005482105b80156103a2575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610a1f82610d1d565b9050836001600160a01b031681600001516001600160a01b031614610a565760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480610a745750610a748533610328565b80610a8f575033610a848461043a565b6001600160a01b0316145b905080610aaf57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610ad657604051633a954ecd60e21b815260040160405180910390fd5b610ae2600084876109b8565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116610bb8576000548214610bb8578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b80471015610c545760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610564565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610ca1576040519150601f19603f3d011682016040523d82523d6000602084013e610ca6565b606091505b50509050806105065760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610564565b60408051606081018252600080825260208201819052918101919091528180600111158015610d4d575060005481105b15610e2d57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290610e2b5780516001600160a01b031615610dc1579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215610e26579392505050565b610dc1565b505b604051636f96cda160e11b815260040160405180910390fd5b6000546001600160a01b038516610e6f57604051622e076360e81b815260040160405180910390fd5b83600003610e905760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b429092169190910217905580808501838015610f4257506001600160a01b0387163b15155b15610fca575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4610f936000888480600101955088611018565b610fb0576040516368d2bf6b60e11b815260040160405180910390fd5b808203610f48578260005414610fc557600080fd5b61100f565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808203610fcb575b50600055610bfd565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061104d9033908990889088906004016115d4565b6020604051808303816000875af1925050508015611088575060408051601f3d908101601f1916820190925261108591810190611611565b60015b6110e6573d8080156110b6576040519150601f19603f3d011682016040523d82523d6000602084013e6110bb565b606091505b5080516000036110de576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060405180606001604052806036815260200161167260369139905090565b60608160000361114b5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611175578061115f8161162e565b915061116e9050600a83611562565b915061114f565b60008167ffffffffffffffff811115611190576111906113b8565b6040519080825280601f01601f1916602001820160405280156111ba576020820181803683370190505b5090505b84156110fc576111cf600183611576565b91506111dc600a86611647565b6111e790603061158d565b60f81b8183815181106111fc576111fc61165b565b60200101906001600160f81b031916908160001a90535061121e600a86611562565b94506111be565b6001600160e01b03198116811461123b57600080fd5b50565b60006020828403121561125057600080fd5b813561097881611225565b60005b8381101561127657818101518382015260200161125e565b838111156108f55750506000910152565b6000815180845261129f81602086016020860161125b565b601f01601f19169290920160200192915050565b6020815260006109786020830184611287565b6000602082840312156112d857600080fd5b5035919050565b80356001600160a01b03811681146112f657600080fd5b919050565b6000806040838503121561130e57600080fd5b611317836112df565b946020939093013593505050565b60008060006060848603121561133a57600080fd5b611343846112df565b9250611351602085016112df565b9150604084013590509250925092565b60006020828403121561137357600080fd5b610978826112df565b6000806040838503121561138f57600080fd5b611398836112df565b9150602083013580151581146113ad57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156113e457600080fd5b6113ed856112df565b93506113fb602086016112df565b925060408501359150606085013567ffffffffffffffff8082111561141f57600080fd5b818701915087601f83011261143357600080fd5b813581811115611445576114456113b8565b604051601f8201601f19908116603f0116810190838211818310171561146d5761146d6113b8565b816040528281528a602084870101111561148657600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156114bd57600080fd5b6114c6836112df565b91506114d4602084016112df565b90509250929050565b600181811c908216806114f157607f821691505b60208210810361151157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561154757611547611517565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826115715761157161154c565b500490565b60008282101561158857611588611517565b500390565b600082198211156115a0576115a0611517565b500190565b600083516115b781846020880161125b565b8351908301906115cb81836020880161125b565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061160790830184611287565b9695505050505050565b60006020828403121561162357600080fd5b815161097881611225565b60006001820161164057611640611517565b5060010190565b6000826116565761165661154c565b500690565b634e487b7160e01b600052603260045260246000fdfe697066733a2f2f516d6646644a36626136436f786b476e6d334d764a564c744d354b6e7a674552724e4e73795256596172583963622fa2646970667358221220b5f4b9e57e2417d3875392a4c943cfdb5252f09a319c1c01a199b09a1155eb0864736f6c634300080d0033
Deployed Bytecode
0x6080604052600436106100fe5760003560e01c80636352211e11610095578063a22cb46511610064578063a22cb46514610298578063b88d4fde146102b8578063c87b56dd146102d8578063d5abeb01146102f8578063e985e9c51461030d57600080fd5b80636352211e1461023057806370a082311461025057806395d89b4114610270578063a0712d681461028557600080fd5b806318160ddd116100d157806318160ddd146101b457806323b872dd146101db5780633ccfd60b146101fb57806342842e0e1461021057600080fd5b806301ffc9a71461010357806306fdde0314610138578063081812fc1461015a578063095ea7b314610192575b600080fd5b34801561010f57600080fd5b5061012361011e36600461123e565b610356565b60405190151581526020015b60405180910390f35b34801561014457600080fd5b5061014d6103a8565b60405161012f91906112b3565b34801561016657600080fd5b5061017a6101753660046112c6565b61043a565b6040516001600160a01b03909116815260200161012f565b34801561019e57600080fd5b506101b26101ad3660046112fb565b61047e565b005b3480156101c057600080fd5b5060015460005403600019015b60405190815260200161012f565b3480156101e757600080fd5b506101b26101f6366004611325565b61050b565b34801561020757600080fd5b506101b2610516565b34801561021c57600080fd5b506101b261022b366004611325565b6106a6565b34801561023c57600080fd5b5061017a61024b3660046112c6565b6106c1565b34801561025c57600080fd5b506101cd61026b366004611361565b6106d3565b34801561027c57600080fd5b5061014d610722565b6101b26102933660046112c6565b610731565b3480156102a457600080fd5b506101b26102b336600461137c565b610815565b3480156102c457600080fd5b506101b26102d33660046113ce565b6108aa565b3480156102e457600080fd5b5061014d6102f33660046112c6565b6108fb565b34801561030457600080fd5b5061270f6101cd565b34801561031957600080fd5b506101236103283660046114aa565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b60006001600160e01b031982166380ac58cd60e01b148061038757506001600160e01b03198216635b5e139f60e01b145b806103a257506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546103b7906114dd565b80601f01602080910402602001604051908101604052809291908181526020018280546103e3906114dd565b80156104305780601f1061040557610100808354040283529160200191610430565b820191906000526020600020905b81548152906001019060200180831161041357829003601f168201915b5050505050905090565b60006104458261097f565b610462576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610489826106c1565b9050806001600160a01b0316836001600160a01b0316036104bd5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216148015906104dd57506104db8133610328565b155b156104fb576040516367d9dca160e11b815260040160405180910390fd5b6105068383836109b8565b505050565b610506838383610a14565b60026008540361056d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026008554761057c57600080fd5b6000620186a061058e613a984761152d565b6105989190611562565b90506000620186a06105ac614ab54761152d565b6105b69190611562565b90506000620186a06105ca615b4f4761152d565b6105d49190611562565b905060008183806105e58747611576565b6105ef9190611576565b6105f99190611576565b6106039190611576565b905061062373d3b6fd46d15e5993a890b2cf1d1dc9bdf52075b385610c04565b6106417349ff29a7fdc931dcba3b0a6e7578ac3ae425752384610c04565b61065f73cc9ea622fd95816793d52017b36be7efa6f718ab84610c04565b61067d73f042081ed0acbd9c581a2eef0cbef9f2df2ab9d283610c04565b61069b7312adbfb5ea004f088e3c2b915fdb4e002407fdeb82610c04565b505060016008555050565b610506838383604051806020016040528060008152506108aa565b60006106cc82610d1d565b5192915050565b60006001600160a01b0382166106fc576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6060600380546103b7906114dd565b6002600854036107835760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610564565b600260085561079966f52322698080008261152d565b34146107b85760405163648cbc4d60e11b815260040160405180910390fd5b60015460005461270f919003600019016107d2908361158d565b11156107f1576040516352df9fe560e01b815260040160405180910390fd5b61080d3382604051806020016040528060008152506000610e46565b506001600855565b336001600160a01b0383160361083e5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6108b5848484610a14565b6001600160a01b0383163b151580156108d757506108d584848484611018565b155b156108f5576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606109068261097f565b61092357604051630a14c4b560e41b815260040160405180910390fd5b600061092d611104565b9050805160000361094d5760405180602001604052806000815250610978565b8061095784611124565b6040516020016109689291906115a5565b6040516020818303038152906040525b9392505050565b600081600111158015610993575060005482105b80156103a2575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610a1f82610d1d565b9050836001600160a01b031681600001516001600160a01b031614610a565760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480610a745750610a748533610328565b80610a8f575033610a848461043a565b6001600160a01b0316145b905080610aaf57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610ad657604051633a954ecd60e21b815260040160405180910390fd5b610ae2600084876109b8565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116610bb8576000548214610bb8578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b80471015610c545760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610564565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610ca1576040519150601f19603f3d011682016040523d82523d6000602084013e610ca6565b606091505b50509050806105065760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610564565b60408051606081018252600080825260208201819052918101919091528180600111158015610d4d575060005481105b15610e2d57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290610e2b5780516001600160a01b031615610dc1579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215610e26579392505050565b610dc1565b505b604051636f96cda160e11b815260040160405180910390fd5b6000546001600160a01b038516610e6f57604051622e076360e81b815260040160405180910390fd5b83600003610e905760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b429092169190910217905580808501838015610f4257506001600160a01b0387163b15155b15610fca575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4610f936000888480600101955088611018565b610fb0576040516368d2bf6b60e11b815260040160405180910390fd5b808203610f48578260005414610fc557600080fd5b61100f565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808203610fcb575b50600055610bfd565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061104d9033908990889088906004016115d4565b6020604051808303816000875af1925050508015611088575060408051601f3d908101601f1916820190925261108591810190611611565b60015b6110e6573d8080156110b6576040519150601f19603f3d011682016040523d82523d6000602084013e6110bb565b606091505b5080516000036110de576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060405180606001604052806036815260200161167260369139905090565b60608160000361114b5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611175578061115f8161162e565b915061116e9050600a83611562565b915061114f565b60008167ffffffffffffffff811115611190576111906113b8565b6040519080825280601f01601f1916602001820160405280156111ba576020820181803683370190505b5090505b84156110fc576111cf600183611576565b91506111dc600a86611647565b6111e790603061158d565b60f81b8183815181106111fc576111fc61165b565b60200101906001600160f81b031916908160001a90535061121e600a86611562565b94506111be565b6001600160e01b03198116811461123b57600080fd5b50565b60006020828403121561125057600080fd5b813561097881611225565b60005b8381101561127657818101518382015260200161125e565b838111156108f55750506000910152565b6000815180845261129f81602086016020860161125b565b601f01601f19169290920160200192915050565b6020815260006109786020830184611287565b6000602082840312156112d857600080fd5b5035919050565b80356001600160a01b03811681146112f657600080fd5b919050565b6000806040838503121561130e57600080fd5b611317836112df565b946020939093013593505050565b60008060006060848603121561133a57600080fd5b611343846112df565b9250611351602085016112df565b9150604084013590509250925092565b60006020828403121561137357600080fd5b610978826112df565b6000806040838503121561138f57600080fd5b611398836112df565b9150602083013580151581146113ad57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156113e457600080fd5b6113ed856112df565b93506113fb602086016112df565b925060408501359150606085013567ffffffffffffffff8082111561141f57600080fd5b818701915087601f83011261143357600080fd5b813581811115611445576114456113b8565b604051601f8201601f19908116603f0116810190838211818310171561146d5761146d6113b8565b816040528281528a602084870101111561148657600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156114bd57600080fd5b6114c6836112df565b91506114d4602084016112df565b90509250929050565b600181811c908216806114f157607f821691505b60208210810361151157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561154757611547611517565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826115715761157161154c565b500490565b60008282101561158857611588611517565b500390565b600082198211156115a0576115a0611517565b500190565b600083516115b781846020880161125b565b8351908301906115cb81836020880161125b565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061160790830184611287565b9695505050505050565b60006020828403121561162357600080fd5b815161097881611225565b60006001820161164057611640611517565b5060010190565b6000826116565761165661154c565b500690565b634e487b7160e01b600052603260045260246000fdfe697066733a2f2f516d6646644a36626136436f786b476e6d334d764a564c744d354b6e7a674552724e4e73795256596172583963622fa2646970667358221220b5f4b9e57e2417d3875392a4c943cfdb5252f09a319c1c01a199b09a1155eb0864736f6c634300080d0033
Deployed Bytecode Sourcemap
44953:1613:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23698:305;;;;;;;;;;-1:-1:-1;23698:305:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;23698:305:0;;;;;;;;26811:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;28314:204::-;;;;;;;;;;-1:-1:-1;28314:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;28314:204:0;1528:203:1;27877:371:0;;;;;;;;;;-1:-1:-1;27877:371:0;;;;;:::i;:::-;;:::i;:::-;;22947:303;;;;;;;;;;-1:-1:-1;45646:1:0;23201:12;22991:7;23185:13;:28;-1:-1:-1;;23185:46:0;22947:303;;;2319:25:1;;;2307:2;2292:18;22947:303:0;2173:177:1;29179:170:0;;;;;;;;;;-1:-1:-1;29179:170:0;;;;;:::i;:::-;;:::i;45761:685::-;;;;;;;;;;;;;:::i;29420:185::-;;;;;;;;;;-1:-1:-1;29420:185:0;;;;;:::i;:::-;;:::i;26619:125::-;;;;;;;;;;-1:-1:-1;26619:125:0;;;;;:::i;:::-;;:::i;24067:206::-;;;;;;;;;;-1:-1:-1;24067:206:0;;;;;:::i;:::-;;:::i;26980:104::-;;;;;;;;;;;;;:::i;45087:310::-;;;;;;:::i;:::-;;:::i;28590:287::-;;;;;;;;;;-1:-1:-1;28590:287:0;;;;;:::i;:::-;;:::i;29676:369::-;;;;;;;;;;-1:-1:-1;29676:369:0;;;;;:::i;:::-;;:::i;27155:318::-;;;;;;;;;;-1:-1:-1;27155:318:0;;;;;:::i;:::-;;:::i;46474:89::-;;;;;;;;;;-1:-1:-1;44190:4:0;46474:89;;28948:164;;;;;;;;;;-1:-1:-1;28948:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;29069:25:0;;;29045:4;29069:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;28948:164;23698:305;23800:4;-1:-1:-1;;;;;;23837:40:0;;-1:-1:-1;;;23837:40:0;;:105;;-1:-1:-1;;;;;;;23894:48:0;;-1:-1:-1;;;23894:48:0;23837:105;:158;;;-1:-1:-1;;;;;;;;;;19456:40:0;;;23959:36;23817:178;23698:305;-1:-1:-1;;23698:305:0:o;26811:100::-;26865:13;26898:5;26891:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26811:100;:::o;28314:204::-;28382:7;28407:16;28415:7;28407;:16::i;:::-;28402:64;;28432:34;;-1:-1:-1;;;28432:34:0;;;;;;;;;;;28402:64;-1:-1:-1;28486:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;28486:24:0;;28314:204::o;27877:371::-;27950:13;27966:24;27982:7;27966:15;:24::i;:::-;27950:40;;28011:5;-1:-1:-1;;;;;28005:11:0;:2;-1:-1:-1;;;;;28005:11:0;;28001:48;;28025:24;;-1:-1:-1;;;28025:24:0;;;;;;;;;;;28001:48;16401:10;-1:-1:-1;;;;;28066:21:0;;;;;;:63;;-1:-1:-1;28092:37:0;28109:5;16401:10;28948:164;:::i;28092:37::-;28091:38;28066:63;28062:138;;;28153:35;;-1:-1:-1;;;28153:35:0;;;;;;;;;;;28062:138;28212:28;28221:2;28225:7;28234:5;28212:8;:28::i;:::-;27939:309;27877:371;;:::o;29179:170::-;29313:28;29323:4;29329:2;29333:7;29313:9;:28::i;45761:685::-;43163:1;43761:7;;:19;43753:63;;;;-1:-1:-1;;;43753:63:0;;5358:2:1;43753:63:0;;;5340:21:1;5397:2;5377:18;;;5370:30;5436:33;5416:18;;;5409:61;5487:18;;43753:63:0;;;;;;;;;43163:1;43894:7;:18;45822:21:::1;45814:34;;;::::0;::::1;;45861:16;45923:6;45883:36;44778:5;45883:21;:36;:::i;:::-;45882:47;;;;:::i;:::-;45861:68:::0;-1:-1:-1;45940:18:0::1;46004:6;45962:38;44847:5;45962:21;:38;:::i;:::-;45961:49;;;;:::i;:::-;45940:70:::0;-1:-1:-1;46021:16:0::1;46085:6;46043:38;44916:5;46043:21;:38;:::i;:::-;46042:49;;;;:::i;:::-;46021:70:::0;-1:-1:-1;46102:16:0::1;46021:70:::0;46171:10;;46123:32:::1;46147:8:::0;46123:21:::1;:32;:::i;:::-;:45;;;;:::i;:::-;:58;;;;:::i;:::-;:69;;;;:::i;:::-;46102:90;;46205:37;44306:42;46233:8;46205:17;:37::i;:::-;46253:39;44402:42;46281:10;46253:17;:39::i;:::-;46303;44498:42;46331:10;46303:17;:39::i;:::-;46353:37;44594:42;46381:8;46353:17;:37::i;:::-;46401;44690:42;46429:8;46401:17;:37::i;:::-;-1:-1:-1::0;;43119:1:0;44073:7;:22;-1:-1:-1;;45761:685:0:o;29420:185::-;29558:39;29575:4;29581:2;29585:7;29558:39;;;;;;;;;;;;:16;:39::i;26619:125::-;26683:7;26710:21;26723:7;26710:12;:21::i;:::-;:26;;26619:125;-1:-1:-1;;26619:125:0:o;24067:206::-;24131:7;-1:-1:-1;;;;;24155:19:0;;24151:60;;24183:28;;-1:-1:-1;;;24183:28:0;;;;;;;;;;;24151:60;-1:-1:-1;;;;;;24237:19:0;;;;;:12;:19;;;;;:27;;;;24067:206::o;26980:104::-;27036:13;27069:7;27062:14;;;;;:::i;45087:310::-;43163:1;43761:7;;:19;43753:63;;;;-1:-1:-1;;;43753:63:0;;5358:2:1;43753:63:0;;;5340:21:1;5397:2;5377:18;;;5370:30;5436:33;5416:18;;;5409:61;5487:18;;43753:63:0;5156:355:1;43753:63:0;43163:1;43894:7;:18;45175::::1;44227:17;45175:5:::0;:18:::1;:::i;:::-;45161:9;:33;45157:90;;45218:17;;-1:-1:-1::0;;;45218:17:0::1;;;;;;;;;;;45157:90;45646:1:::0;23201:12;22991:7;23185:13;44190:4:::1;::::0;23185:28;;-1:-1:-1;;23185:46:0;45262:21:::1;::::0;:5;:21:::1;:::i;:::-;45261:36;45257:85;;;45321:9;;-1:-1:-1::0;;;45321:9:0::1;;;;;;;;;;;45257:85;45354:35;45360:10;45372:5;45354:35;;;;;;;;;;;::::0;45383:5:::1;45354;:35::i;:::-;-1:-1:-1::0;43119:1:0;44073:7;:22;45087:310::o;28590:287::-;16401:10;-1:-1:-1;;;;;28689:24:0;;;28685:54;;28722:17;;-1:-1:-1;;;28722:17:0;;;;;;;;;;;28685:54;16401:10;28752:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;28752:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;28752:53:0;;;;;;;;;;28821:48;;540:41:1;;;28752:42:0;;16401:10;28821:48;;513:18:1;28821:48:0;;;;;;;28590:287;;:::o;29676:369::-;29843:28;29853:4;29859:2;29863:7;29843:9;:28::i;:::-;-1:-1:-1;;;;;29886:13:0;;8748:19;:23;;29886:76;;;;;29906:56;29937:4;29943:2;29947:7;29956:5;29906:30;:56::i;:::-;29905:57;29886:76;29882:156;;;29986:40;;-1:-1:-1;;;29986:40:0;;;;;;;;;;;29882:156;29676:369;;;;:::o;27155:318::-;27228:13;27259:16;27267:7;27259;:16::i;:::-;27254:59;;27284:29;;-1:-1:-1;;;27284:29:0;;;;;;;;;;;27254:59;27326:21;27350:10;:8;:10::i;:::-;27326:34;;27384:7;27378:21;27403:1;27378:26;:87;;;;;;;;;;;;;;;;;27431:7;27440:18;:7;:16;:18::i;:::-;27414:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;27378:87;27371:94;27155:318;-1:-1:-1;;;27155:318:0:o;30300:174::-;30357:4;30400:7;45646:1;30381:26;;:53;;;;;30421:13;;30411:7;:23;30381:53;:85;;;;-1:-1:-1;;30439:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;30439:27:0;;;;30438:28;;30300:174::o;38457:196::-;38572:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;38572:29:0;-1:-1:-1;;;;;38572:29:0;;;;;;;;;38617:28;;38572:24;;38617:28;;;;;;;38457:196;;;:::o;33400:2130::-;33515:35;33553:21;33566:7;33553:12;:21::i;:::-;33515:59;;33613:4;-1:-1:-1;;;;;33591:26:0;:13;:18;;;-1:-1:-1;;;;;33591:26:0;;33587:67;;33626:28;;-1:-1:-1;;;33626:28:0;;;;;;;;;;;33587:67;33667:22;16401:10;-1:-1:-1;;;;;33693:20:0;;;;:73;;-1:-1:-1;33730:36:0;33747:4;16401:10;28948:164;:::i;33730:36::-;33693:126;;;-1:-1:-1;16401:10:0;33783:20;33795:7;33783:11;:20::i;:::-;-1:-1:-1;;;;;33783:36:0;;33693:126;33667:153;;33838:17;33833:66;;33864:35;;-1:-1:-1;;;33864:35:0;;;;;;;;;;;33833:66;-1:-1:-1;;;;;33914:16:0;;33910:52;;33939:23;;-1:-1:-1;;;33939:23:0;;;;;;;;;;;33910:52;34083:35;34100:1;34104:7;34113:4;34083:8;:35::i;:::-;-1:-1:-1;;;;;34414:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;34414:31:0;;;;;;;-1:-1:-1;;34414:31:0;;;;;;;34460:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;34460:29:0;;;;;;;;;;;34540:20;;;:11;:20;;;;;;34575:18;;-1:-1:-1;;;;;;34608:49:0;;;;-1:-1:-1;;;34641:15:0;34608:49;;;;;;;;;;34931:11;;34991:24;;;;;35034:13;;34540:20;;34991:24;;35034:13;35030:384;;35244:13;;35229:11;:28;35225:174;;35282:20;;35351:28;;;;35325:54;;-1:-1:-1;;;35325:54:0;-1:-1:-1;;;;;;35325:54:0;;;-1:-1:-1;;;;;35282:20:0;;35325:54;;;;35225:174;34389:1036;;;35461:7;35457:2;-1:-1:-1;;;;;35442:27:0;35451:4;-1:-1:-1;;;;;35442:27:0;;;;;;;;;;;35480:42;33504:2026;;33400:2130;;;:::o;9714:317::-;9829:6;9804:21;:31;;9796:73;;;;-1:-1:-1;;;9796:73:0;;7018:2:1;9796:73:0;;;7000:21:1;7057:2;7037:18;;;7030:30;7096:31;7076:18;;;7069:59;7145:18;;9796:73:0;6816:353:1;9796:73:0;9883:12;9901:9;-1:-1:-1;;;;;9901:14:0;9923:6;9901:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9882:52;;;9953:7;9945:78;;;;-1:-1:-1;;;9945:78:0;;7586:2:1;9945:78:0;;;7568:21:1;7625:2;7605:18;;;7598:30;7664:34;7644:18;;;7637:62;7735:28;7715:18;;;7708:56;7781:19;;9945:78:0;7384:422:1;25448:1109:0;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;25559:7:0;;45646:1;25608:23;;:47;;;;;25642:13;;25635:4;:20;25608:47;25604:886;;;25676:31;25710:17;;;:11;:17;;;;;;;;;25676:51;;;;;;;;;-1:-1:-1;;;;;25676:51:0;;;;-1:-1:-1;;;25676:51:0;;;;;;;;;;;-1:-1:-1;;;25676:51:0;;;;;;;;;;;;;;25746:729;;25796:14;;-1:-1:-1;;;;;25796:28:0;;25792:101;;25860:9;25448:1109;-1:-1:-1;;;25448:1109:0:o;25792:101::-;-1:-1:-1;;;26235:6:0;26280:17;;;;:11;:17;;;;;;;;;26268:29;;;;;;;;;-1:-1:-1;;;;;26268:29:0;;;;;-1:-1:-1;;;26268:29:0;;;;;;;;;;;-1:-1:-1;;;26268:29:0;;;;;;;;;;;;;26328:28;26324:109;;26396:9;25448:1109;-1:-1:-1;;;25448:1109:0:o;26324:109::-;26195:261;;;25657:833;25604:886;26518:31;;-1:-1:-1;;;26518:31:0;;;;;;;;;;;31371:1775;31510:20;31533:13;-1:-1:-1;;;;;31561:16:0;;31557:48;;31586:19;;-1:-1:-1;;;31586:19:0;;;;;;;;;;;31557:48;31620:8;31632:1;31620:13;31616:44;;31642:18;;-1:-1:-1;;;31642:18:0;;;;;;;;;;;31616:44;-1:-1:-1;;;;;32011:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;32070:49:0;;32011:44;;;;;;;;32070:49;;;;-1:-1:-1;;32011:44:0;;;;;;32070:49;;;;;;;;;;;;;;;;32136:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;32186:66:0;;;;-1:-1:-1;;;32236:15:0;32186:66;;;;;;;;;;32136:25;32333:23;;;32377:4;:23;;;;-1:-1:-1;;;;;;32385:13:0;;8748:19;:23;;32385:15;32373:641;;;32421:314;32452:38;;32477:12;;-1:-1:-1;;;;;32452:38:0;;;32469:1;;32452:38;;32469:1;;32452:38;32518:69;32557:1;32561:2;32565:14;;;;;;32581:5;32518:30;:69::i;:::-;32513:174;;32623:40;;-1:-1:-1;;;32623:40:0;;;;;;;;;;;32513:174;32730:3;32714:12;:19;32421:314;;32816:12;32799:13;;:29;32795:43;;32830:8;;;32795:43;32373:641;;;32879:120;32910:40;;32935:14;;;;;-1:-1:-1;;;;;32910:40:0;;;32927:1;;32910:40;;32927:1;;32910:40;32994:3;32978:12;:19;32879:120;;32373:641;-1:-1:-1;33028:13:0;:28;33078:60;29676:369;39145:667;39329:72;;-1:-1:-1;;;39329:72:0;;39308:4;;-1:-1:-1;;;;;39329:36:0;;;;;:72;;16401:10;;39380:4;;39386:7;;39395:5;;39329:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39329:72:0;;;;;;;;-1:-1:-1;;39329:72:0;;;;;;;;;;;;:::i;:::-;;;39325:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39563:6;:13;39580:1;39563:18;39559:235;;39609:40;;-1:-1:-1;;;39609:40:0;;;;;;;;;;;39559:235;39752:6;39746:13;39737:6;39733:2;39729:15;39722:38;39325:480;-1:-1:-1;;;;;;39448:55:0;-1:-1:-1;;;39448:55:0;;-1:-1:-1;39325:480:0;39145:667;;;;;;:::o;45405:149::-;45457:13;45483:63;;;;;;;;;;;;;;;;;;;45405:149;:::o;16819:723::-;16875:13;17096:5;17105:1;17096:10;17092:53;;-1:-1:-1;;17123:10:0;;;;;;;;;;;;-1:-1:-1;;;17123:10:0;;;;;16819:723::o;17092:53::-;17170:5;17155:12;17211:78;17218:9;;17211:78;;17244:8;;;;:::i;:::-;;-1:-1:-1;17267:10:0;;-1:-1:-1;17275:2:0;17267:10;;:::i;:::-;;;17211:78;;;17299:19;17331:6;17321:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;17321:17:0;;17299:39;;17349:154;17356:10;;17349:154;;17383:11;17393:1;17383:11;;:::i;:::-;;-1:-1:-1;17452:10:0;17460:2;17452:5;:10;:::i;:::-;17439:24;;:2;:24;:::i;:::-;17426:39;;17409:6;17416;17409:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;17409:56:0;;;;;;;;-1:-1:-1;17480:11:0;17489:2;17480:11;;:::i;:::-;;;17349:154;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;68:71;14:131;:::o;150:245::-;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2688:186::-;2747:6;2800:2;2788:9;2779:7;2775:23;2771:32;2768:52;;;2816:1;2813;2806:12;2768:52;2839:29;2858:9;2839:29;:::i;2879:347::-;2944:6;2952;3005:2;2993:9;2984:7;2980:23;2976:32;2973:52;;;3021:1;3018;3011:12;2973:52;3044:29;3063:9;3044:29;:::i;:::-;3034:39;;3123:2;3112:9;3108:18;3095:32;3170:5;3163:13;3156:21;3149:5;3146:32;3136:60;;3192:1;3189;3182:12;3136:60;3215:5;3205:15;;;2879:347;;;;;:::o;3231:127::-;3292:10;3287:3;3283:20;3280:1;3273:31;3323:4;3320:1;3313:15;3347:4;3344:1;3337:15;3363:1138;3458:6;3466;3474;3482;3535:3;3523:9;3514:7;3510:23;3506:33;3503:53;;;3552:1;3549;3542:12;3503:53;3575:29;3594:9;3575:29;:::i;:::-;3565:39;;3623:38;3657:2;3646:9;3642:18;3623:38;:::i;:::-;3613:48;;3708:2;3697:9;3693:18;3680:32;3670:42;;3763:2;3752:9;3748:18;3735:32;3786:18;3827:2;3819:6;3816:14;3813:34;;;3843:1;3840;3833:12;3813:34;3881:6;3870:9;3866:22;3856:32;;3926:7;3919:4;3915:2;3911:13;3907:27;3897:55;;3948:1;3945;3938:12;3897:55;3984:2;3971:16;4006:2;4002;3999:10;3996:36;;;4012:18;;:::i;:::-;4087:2;4081:9;4055:2;4141:13;;-1:-1:-1;;4137:22:1;;;4161:2;4133:31;4129:40;4117:53;;;4185:18;;;4205:22;;;4182:46;4179:72;;;4231:18;;:::i;:::-;4271:10;4267:2;4260:22;4306:2;4298:6;4291:18;4346:7;4341:2;4336;4332;4328:11;4324:20;4321:33;4318:53;;;4367:1;4364;4357:12;4318:53;4423:2;4418;4414;4410:11;4405:2;4397:6;4393:15;4380:46;4468:1;4463:2;4458;4450:6;4446:15;4442:24;4435:35;4489:6;4479:16;;;;;;;3363:1138;;;;;;;:::o;4506:260::-;4574:6;4582;4635:2;4623:9;4614:7;4610:23;4606:32;4603:52;;;4651:1;4648;4641:12;4603:52;4674:29;4693:9;4674:29;:::i;:::-;4664:39;;4722:38;4756:2;4745:9;4741:18;4722:38;:::i;:::-;4712:48;;4506:260;;;;;:::o;4771:380::-;4850:1;4846:12;;;;4893;;;4914:61;;4968:4;4960:6;4956:17;4946:27;;4914:61;5021:2;5013:6;5010:14;4990:18;4987:38;4984:161;;5067:10;5062:3;5058:20;5055:1;5048:31;5102:4;5099:1;5092:15;5130:4;5127:1;5120:15;4984:161;;4771:380;;;:::o;5516:127::-;5577:10;5572:3;5568:20;5565:1;5558:31;5608:4;5605:1;5598:15;5632:4;5629:1;5622:15;5648:168;5688:7;5754:1;5750;5746:6;5742:14;5739:1;5736:21;5731:1;5724:9;5717:17;5713:45;5710:71;;;5761:18;;:::i;:::-;-1:-1:-1;5801:9:1;;5648:168::o;5821:127::-;5882:10;5877:3;5873:20;5870:1;5863:31;5913:4;5910:1;5903:15;5937:4;5934:1;5927:15;5953:120;5993:1;6019;6009:35;;6024:18;;:::i;:::-;-1:-1:-1;6058:9:1;;5953:120::o;6078:125::-;6118:4;6146:1;6143;6140:8;6137:34;;;6151:18;;:::i;:::-;-1:-1:-1;6188:9:1;;6078:125::o;6208:128::-;6248:3;6279:1;6275:6;6272:1;6269:13;6266:39;;;6285:18;;:::i;:::-;-1:-1:-1;6321:9:1;;6208:128::o;6341:470::-;6520:3;6558:6;6552:13;6574:53;6620:6;6615:3;6608:4;6600:6;6596:17;6574:53;:::i;:::-;6690:13;;6649:16;;;;6712:57;6690:13;6649:16;6746:4;6734:17;;6712:57;:::i;:::-;6785:20;;6341:470;-1:-1:-1;;;;6341:470:1:o;7811:489::-;-1:-1:-1;;;;;8080:15:1;;;8062:34;;8132:15;;8127:2;8112:18;;8105:43;8179:2;8164:18;;8157:34;;;8227:3;8222:2;8207:18;;8200:31;;;8005:4;;8248:46;;8274:19;;8266:6;8248:46;:::i;:::-;8240:54;7811:489;-1:-1:-1;;;;;;7811:489:1:o;8305:249::-;8374:6;8427:2;8415:9;8406:7;8402:23;8398:32;8395:52;;;8443:1;8440;8433:12;8395:52;8475:9;8469:16;8494:30;8518:5;8494:30;:::i;8559:135::-;8598:3;8619:17;;;8616:43;;8639:18;;:::i;:::-;-1:-1:-1;8686:1:1;8675:13;;8559:135::o;8699:112::-;8731:1;8757;8747:35;;8762:18;;:::i;:::-;-1:-1:-1;8796:9:1;;8699:112::o;8816:127::-;8877:10;8872:3;8868:20;8865:1;8858:31;8908:4;8905:1;8898:15;8932:4;8929:1;8922:15
Swarm Source
ipfs://b5f4b9e57e2417d3875392a4c943cfdb5252f09a319c1c01a199b09a1155eb08
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.