Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
4,444 DGCOMP
Holders
2,258
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 DGCOMPLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DegenCompanions
Compiler Version
v0.8.14+commit.80d49f37
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-06-07 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * The caller cannot approve to the current owner. */ error ApprovalToCurrentOwner(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); 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; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // 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); // ============================== // IERC721 // ============================== /** * @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 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 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); // ============================== // IERC721Metadata // ============================== /** * @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: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @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 IERC721A { // Mask of an entry in packed address data. uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225; // The tokenId of the next token to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _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 `_packedOwnershipOf` implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // 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(); } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see `_totalMinted`. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev 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 Returns the total number of tokens burned. */ function _totalBurned() internal view returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes of the XOR of // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165 // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)` return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> BITPOS_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 { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; assembly { // Cast aux without masking. auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & BITMASK_BURNED == 0) { // 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. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP); ownership.burned = packed & BITMASK_BURNED != 0; } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * 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) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @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, _toString(tokenId))) : ''; } /** * @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 Casts the address to uint256 without masking. */ function _addressToUint256(address value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev Casts the boolean to uint256 without branching. */ function _boolToUint256(bool value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = address(uint160(_packedOwnershipOf(tokenId))); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @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 == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), 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.code.length != 0) if (!_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 && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ 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 { 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 { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (to.code.length != 0) { 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 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) 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 { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; 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 { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // 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 { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_NEXT_INITIALIZED; // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev 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 { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); if (approvalCheck) { bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // 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 { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _addressToUint256(from) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_BURNED | BITMASK_NEXT_INITIALIZED; // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } 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 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 ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__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 {} /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function _toString(uint256 value) internal pure returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } } // File: contracts/DegenCompanions.sol pragma solidity ^0.8.14; contract DegenCompanions is ERC721A, Ownable { using Strings for uint256; string private _baseTokenURI; uint256 public constant maxSupply = 4444; uint256 public mintLimit = 2; bool public minting = false; mapping(address => uint256) private _minted; constructor() ERC721A("DegenCompanions", "DGCOMP") {} function mint(uint256 qty) external payable { require(minting); require(qty > 0 && qty <= mintLimit); require(totalSupply() + qty <= maxSupply); require(_minted[_msgSender()] + qty <= mintLimit); require(msg.sender == tx.origin); _minted[_msgSender()] += qty; _safeMint(msg.sender, qty); } function reserve(address creator, uint256 qty) external onlyOwner { require(!minting); require(totalSupply() + qty <= maxSupply); _safeMint(creator, qty); } function toggleMinting() external onlyOwner { minting = !minting; } function setMintLimit(uint256 qty) external onlyOwner { mintLimit = qty; } function setBaseURI(string calldata baseURI) external onlyOwner { _baseTokenURI = baseURI; } function withdraw() public payable onlyOwner { (bool success, ) = payable(msg.sender).call{value: address(this).balance}(""); require(success); } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } }
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"},{"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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minting","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"creator","type":"address"},{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"setMintLimit","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":[],"name":"toggleMinting","outputs":[],"stateMutability":"nonpayable","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":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60806040526002600a55600b805460ff191690553480156200002057600080fd5b50604080518082018252600f81526e446567656e436f6d70616e696f6e7360881b60208083019182528351808501909452600684526504447434f4d560d41b9084015281519192916200007691600291620000f6565b5080516200008c906003906020840190620000f6565b505060008055506200009e33620000a4565b620001d8565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805462000104906200019c565b90600052602060002090601f01602090048101928262000128576000855562000173565b82601f106200014357805160ff191683800117855562000173565b8280016001018555821562000173579182015b828111156200017357825182559160200191906001019062000156565b506200018192915062000185565b5090565b5b8082111562000181576000815560010162000186565b600181811c90821680620001b157607f821691505b602082108103620001d257634e487b7160e01b600052602260045260246000fd5b50919050565b61164280620001e86000396000f3fe6080604052600436106101815760003560e01c80637dc2268c116100d1578063a22cb4651161008a578063cc47a40b11610064578063cc47a40b14610422578063d5abeb0114610442578063e985e9c514610458578063f2fde38b146104a157600080fd5b8063a22cb465146103c2578063b88d4fde146103e2578063c87b56dd1461040257600080fd5b80637dc2268c1461032c5780638da5cb5b1461034657806395d89b4114610364578063996517cf146103795780639e6a1d7d1461038f578063a0712d68146103af57600080fd5b80633ccfd60b1161013e5780636352211e116101185780636352211e146102c257806370a08231146102e2578063715018a6146103025780637d55094d1461031757600080fd5b80633ccfd60b1461027a57806342842e0e1461028257806355f804b3146102a257600080fd5b806301ffc9a71461018657806306fdde03146101bb578063081812fc146101dd578063095ea7b31461021557806318160ddd1461023757806323b872dd1461025a575b600080fd5b34801561019257600080fd5b506101a66101a13660046111dd565b6104c1565b60405190151581526020015b60405180910390f35b3480156101c757600080fd5b506101d0610513565b6040516101b29190611252565b3480156101e957600080fd5b506101fd6101f8366004611265565b6105a5565b6040516001600160a01b0390911681526020016101b2565b34801561022157600080fd5b5061023561023036600461129a565b6105e9565b005b34801561024357600080fd5b50600154600054035b6040519081526020016101b2565b34801561026657600080fd5b506102356102753660046112c4565b6106bb565b6102356106cb565b34801561028e57600080fd5b5061023561029d3660046112c4565b610756565b3480156102ae57600080fd5b506102356102bd366004611300565b610771565b3480156102ce57600080fd5b506101fd6102dd366004611265565b6107a7565b3480156102ee57600080fd5b5061024c6102fd366004611372565b6107b2565b34801561030e57600080fd5b50610235610801565b34801561032357600080fd5b50610235610837565b34801561033857600080fd5b50600b546101a69060ff1681565b34801561035257600080fd5b506008546001600160a01b03166101fd565b34801561037057600080fd5b506101d0610875565b34801561038557600080fd5b5061024c600a5481565b34801561039b57600080fd5b506102356103aa366004611265565b610884565b6102356103bd366004611265565b6108b3565b3480156103ce57600080fd5b506102356103dd36600461138d565b610967565b3480156103ee57600080fd5b506102356103fd3660046113df565b6109fc565b34801561040e57600080fd5b506101d061041d366004611265565b610a46565b34801561042e57600080fd5b5061023561043d36600461129a565b610aca565b34801561044e57600080fd5b5061024c61115c81565b34801561046457600080fd5b506101a66104733660046114bb565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156104ad57600080fd5b506102356104bc366004611372565b610b38565b60006301ffc9a760e01b6001600160e01b0319831614806104f257506380ac58cd60e01b6001600160e01b03198316145b8061050d5750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610522906114ee565b80601f016020809104026020016040519081016040528092919081815260200182805461054e906114ee565b801561059b5780601f106105705761010080835404028352916020019161059b565b820191906000526020600020905b81548152906001019060200180831161057e57829003601f168201915b5050505050905090565b60006105b082610bd0565b6105cd576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006105f482610bf7565b9050806001600160a01b0316836001600160a01b0316036106285760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161461065f576106428133610473565b61065f576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6106c6838383610c5e565b505050565b6008546001600160a01b031633146106fe5760405162461bcd60e51b81526004016106f590611528565b60405180910390fd5b604051600090339047908381818185875af1925050503d8060008114610740576040519150601f19603f3d011682016040523d82523d6000602084013e610745565b606091505b505090508061075357600080fd5b50565b6106c6838383604051806020016040528060008152506109fc565b6008546001600160a01b0316331461079b5760405162461bcd60e51b81526004016106f590611528565b6106c66009838361112e565b600061050d82610bf7565b60006001600160a01b0382166107db576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b0316331461082b5760405162461bcd60e51b81526004016106f590611528565b6108356000610e05565b565b6008546001600160a01b031633146108615760405162461bcd60e51b81526004016106f590611528565b600b805460ff19811660ff90911615179055565b606060038054610522906114ee565b6008546001600160a01b031633146108ae5760405162461bcd60e51b81526004016106f590611528565b600a55565b600b5460ff166108c257600080fd5b6000811180156108d45750600a548111155b6108dd57600080fd5b61115c816108ee6001546000540390565b6108f8919061155d565b111561090357600080fd5b600a54336000908152600c602052604090205461092190839061155d565b111561092c57600080fd5b33321461093857600080fd5b336000908152600c60205260408120805483929061095790849061155d565b9091555061075390503382610e57565b336001600160a01b038316036109905760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610a07848484610c5e565b6001600160a01b0383163b15610a4057610a2384848484610e71565b610a40576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610a5182610bd0565b610a6e57604051630a14c4b560e41b815260040160405180910390fd5b6000610a78610f5c565b90508051600003610a985760405180602001604052806000815250610ac3565b80610aa284610f6b565b604051602001610ab3929190611583565b6040516020818303038152906040525b9392505050565b6008546001600160a01b03163314610af45760405162461bcd60e51b81526004016106f590611528565b600b5460ff1615610b0457600080fd5b61115c81610b156001546000540390565b610b1f919061155d565b1115610b2a57600080fd5b610b348282610e57565b5050565b6008546001600160a01b03163314610b625760405162461bcd60e51b81526004016106f590611528565b6001600160a01b038116610bc75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106f5565b61075381610e05565b600080548210801561050d575050600090815260046020526040902054600160e01b161590565b600081600054811015610c455760008181526004602052604081205490600160e01b82169003610c43575b80600003610ac3575060001901600081815260046020526040902054610c22565b505b604051636f96cda160e11b815260040160405180910390fd5b6000610c6982610bf7565b9050836001600160a01b0316816001600160a01b031614610c9c5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480610cba5750610cba8533610473565b80610cd5575033610cca846105a5565b6001600160a01b0316145b905080610cf557604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610d1c57604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091528120600160e11b4260a01b8717811790915583169003610dbd57600183016000818152600460205260408120549003610dbb576000548114610dbb5760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610b34828260405180602001604052806000815250610fba565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610ea69033908990889088906004016115b2565b6020604051808303816000875af1925050508015610ee1575060408051601f3d908101601f19168201909252610ede918101906115ef565b60015b610f3f573d808015610f0f576040519150601f19603f3d011682016040523d82523d6000602084013e610f14565b606091505b508051600003610f37576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606060098054610522906114ee565b604080516080810191829052607f0190826030600a8206018353600a90045b8015610fa857600183039250600a81066030018353600a9004610f8a565b50819003601f19909101908152919050565b6000546001600160a01b038416610fe357604051622e076360e81b815260040160405180910390fd5b826000036110045760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b156110d9575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46110a26000878480600101955087610e71565b6110bf576040516368d2bf6b60e11b815260040160405180910390fd5b8082106110575782600054146110d457600080fd5b61111e565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106110da575b506000908155610a409085838684565b82805461113a906114ee565b90600052602060002090601f01602090048101928261115c57600085556111a2565b82601f106111755782800160ff198235161785556111a2565b828001600101855582156111a2579182015b828111156111a2578235825591602001919060010190611187565b506111ae9291506111b2565b5090565b5b808211156111ae57600081556001016111b3565b6001600160e01b03198116811461075357600080fd5b6000602082840312156111ef57600080fd5b8135610ac3816111c7565b60005b838110156112155781810151838201526020016111fd565b83811115610a405750506000910152565b6000815180845261123e8160208601602086016111fa565b601f01601f19169290920160200192915050565b602081526000610ac36020830184611226565b60006020828403121561127757600080fd5b5035919050565b80356001600160a01b038116811461129557600080fd5b919050565b600080604083850312156112ad57600080fd5b6112b68361127e565b946020939093013593505050565b6000806000606084860312156112d957600080fd5b6112e28461127e565b92506112f06020850161127e565b9150604084013590509250925092565b6000806020838503121561131357600080fd5b823567ffffffffffffffff8082111561132b57600080fd5b818501915085601f83011261133f57600080fd5b81358181111561134e57600080fd5b86602082850101111561136057600080fd5b60209290920196919550909350505050565b60006020828403121561138457600080fd5b610ac38261127e565b600080604083850312156113a057600080fd5b6113a98361127e565b9150602083013580151581146113be57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156113f557600080fd5b6113fe8561127e565b935061140c6020860161127e565b925060408501359150606085013567ffffffffffffffff8082111561143057600080fd5b818701915087601f83011261144457600080fd5b813581811115611456576114566113c9565b604051601f8201601f19908116603f0116810190838211818310171561147e5761147e6113c9565b816040528281528a602084870101111561149757600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156114ce57600080fd5b6114d78361127e565b91506114e56020840161127e565b90509250929050565b600181811c9082168061150257607f821691505b60208210810361152257634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111561157e57634e487b7160e01b600052601160045260246000fd5b500190565b600083516115958184602088016111fa565b8351908301906115a98183602088016111fa565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906115e590830184611226565b9695505050505050565b60006020828403121561160157600080fd5b8151610ac3816111c756fea264697066735822122056597d50c67608222eadbc13860ac60349f5c958ad00ec0630111e7c97497d1c64736f6c634300080e0033
Deployed Bytecode
0x6080604052600436106101815760003560e01c80637dc2268c116100d1578063a22cb4651161008a578063cc47a40b11610064578063cc47a40b14610422578063d5abeb0114610442578063e985e9c514610458578063f2fde38b146104a157600080fd5b8063a22cb465146103c2578063b88d4fde146103e2578063c87b56dd1461040257600080fd5b80637dc2268c1461032c5780638da5cb5b1461034657806395d89b4114610364578063996517cf146103795780639e6a1d7d1461038f578063a0712d68146103af57600080fd5b80633ccfd60b1161013e5780636352211e116101185780636352211e146102c257806370a08231146102e2578063715018a6146103025780637d55094d1461031757600080fd5b80633ccfd60b1461027a57806342842e0e1461028257806355f804b3146102a257600080fd5b806301ffc9a71461018657806306fdde03146101bb578063081812fc146101dd578063095ea7b31461021557806318160ddd1461023757806323b872dd1461025a575b600080fd5b34801561019257600080fd5b506101a66101a13660046111dd565b6104c1565b60405190151581526020015b60405180910390f35b3480156101c757600080fd5b506101d0610513565b6040516101b29190611252565b3480156101e957600080fd5b506101fd6101f8366004611265565b6105a5565b6040516001600160a01b0390911681526020016101b2565b34801561022157600080fd5b5061023561023036600461129a565b6105e9565b005b34801561024357600080fd5b50600154600054035b6040519081526020016101b2565b34801561026657600080fd5b506102356102753660046112c4565b6106bb565b6102356106cb565b34801561028e57600080fd5b5061023561029d3660046112c4565b610756565b3480156102ae57600080fd5b506102356102bd366004611300565b610771565b3480156102ce57600080fd5b506101fd6102dd366004611265565b6107a7565b3480156102ee57600080fd5b5061024c6102fd366004611372565b6107b2565b34801561030e57600080fd5b50610235610801565b34801561032357600080fd5b50610235610837565b34801561033857600080fd5b50600b546101a69060ff1681565b34801561035257600080fd5b506008546001600160a01b03166101fd565b34801561037057600080fd5b506101d0610875565b34801561038557600080fd5b5061024c600a5481565b34801561039b57600080fd5b506102356103aa366004611265565b610884565b6102356103bd366004611265565b6108b3565b3480156103ce57600080fd5b506102356103dd36600461138d565b610967565b3480156103ee57600080fd5b506102356103fd3660046113df565b6109fc565b34801561040e57600080fd5b506101d061041d366004611265565b610a46565b34801561042e57600080fd5b5061023561043d36600461129a565b610aca565b34801561044e57600080fd5b5061024c61115c81565b34801561046457600080fd5b506101a66104733660046114bb565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156104ad57600080fd5b506102356104bc366004611372565b610b38565b60006301ffc9a760e01b6001600160e01b0319831614806104f257506380ac58cd60e01b6001600160e01b03198316145b8061050d5750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610522906114ee565b80601f016020809104026020016040519081016040528092919081815260200182805461054e906114ee565b801561059b5780601f106105705761010080835404028352916020019161059b565b820191906000526020600020905b81548152906001019060200180831161057e57829003601f168201915b5050505050905090565b60006105b082610bd0565b6105cd576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006105f482610bf7565b9050806001600160a01b0316836001600160a01b0316036106285760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161461065f576106428133610473565b61065f576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6106c6838383610c5e565b505050565b6008546001600160a01b031633146106fe5760405162461bcd60e51b81526004016106f590611528565b60405180910390fd5b604051600090339047908381818185875af1925050503d8060008114610740576040519150601f19603f3d011682016040523d82523d6000602084013e610745565b606091505b505090508061075357600080fd5b50565b6106c6838383604051806020016040528060008152506109fc565b6008546001600160a01b0316331461079b5760405162461bcd60e51b81526004016106f590611528565b6106c66009838361112e565b600061050d82610bf7565b60006001600160a01b0382166107db576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b0316331461082b5760405162461bcd60e51b81526004016106f590611528565b6108356000610e05565b565b6008546001600160a01b031633146108615760405162461bcd60e51b81526004016106f590611528565b600b805460ff19811660ff90911615179055565b606060038054610522906114ee565b6008546001600160a01b031633146108ae5760405162461bcd60e51b81526004016106f590611528565b600a55565b600b5460ff166108c257600080fd5b6000811180156108d45750600a548111155b6108dd57600080fd5b61115c816108ee6001546000540390565b6108f8919061155d565b111561090357600080fd5b600a54336000908152600c602052604090205461092190839061155d565b111561092c57600080fd5b33321461093857600080fd5b336000908152600c60205260408120805483929061095790849061155d565b9091555061075390503382610e57565b336001600160a01b038316036109905760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610a07848484610c5e565b6001600160a01b0383163b15610a4057610a2384848484610e71565b610a40576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610a5182610bd0565b610a6e57604051630a14c4b560e41b815260040160405180910390fd5b6000610a78610f5c565b90508051600003610a985760405180602001604052806000815250610ac3565b80610aa284610f6b565b604051602001610ab3929190611583565b6040516020818303038152906040525b9392505050565b6008546001600160a01b03163314610af45760405162461bcd60e51b81526004016106f590611528565b600b5460ff1615610b0457600080fd5b61115c81610b156001546000540390565b610b1f919061155d565b1115610b2a57600080fd5b610b348282610e57565b5050565b6008546001600160a01b03163314610b625760405162461bcd60e51b81526004016106f590611528565b6001600160a01b038116610bc75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106f5565b61075381610e05565b600080548210801561050d575050600090815260046020526040902054600160e01b161590565b600081600054811015610c455760008181526004602052604081205490600160e01b82169003610c43575b80600003610ac3575060001901600081815260046020526040902054610c22565b505b604051636f96cda160e11b815260040160405180910390fd5b6000610c6982610bf7565b9050836001600160a01b0316816001600160a01b031614610c9c5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480610cba5750610cba8533610473565b80610cd5575033610cca846105a5565b6001600160a01b0316145b905080610cf557604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610d1c57604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091528120600160e11b4260a01b8717811790915583169003610dbd57600183016000818152600460205260408120549003610dbb576000548114610dbb5760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610b34828260405180602001604052806000815250610fba565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610ea69033908990889088906004016115b2565b6020604051808303816000875af1925050508015610ee1575060408051601f3d908101601f19168201909252610ede918101906115ef565b60015b610f3f573d808015610f0f576040519150601f19603f3d011682016040523d82523d6000602084013e610f14565b606091505b508051600003610f37576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606060098054610522906114ee565b604080516080810191829052607f0190826030600a8206018353600a90045b8015610fa857600183039250600a81066030018353600a9004610f8a565b50819003601f19909101908152919050565b6000546001600160a01b038416610fe357604051622e076360e81b815260040160405180910390fd5b826000036110045760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b156110d9575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46110a26000878480600101955087610e71565b6110bf576040516368d2bf6b60e11b815260040160405180910390fd5b8082106110575782600054146110d457600080fd5b61111e565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106110da575b506000908155610a409085838684565b82805461113a906114ee565b90600052602060002090601f01602090048101928261115c57600085556111a2565b82601f106111755782800160ff198235161785556111a2565b828001600101855582156111a2579182015b828111156111a2578235825591602001919060010190611187565b506111ae9291506111b2565b5090565b5b808211156111ae57600081556001016111b3565b6001600160e01b03198116811461075357600080fd5b6000602082840312156111ef57600080fd5b8135610ac3816111c7565b60005b838110156112155781810151838201526020016111fd565b83811115610a405750506000910152565b6000815180845261123e8160208601602086016111fa565b601f01601f19169290920160200192915050565b602081526000610ac36020830184611226565b60006020828403121561127757600080fd5b5035919050565b80356001600160a01b038116811461129557600080fd5b919050565b600080604083850312156112ad57600080fd5b6112b68361127e565b946020939093013593505050565b6000806000606084860312156112d957600080fd5b6112e28461127e565b92506112f06020850161127e565b9150604084013590509250925092565b6000806020838503121561131357600080fd5b823567ffffffffffffffff8082111561132b57600080fd5b818501915085601f83011261133f57600080fd5b81358181111561134e57600080fd5b86602082850101111561136057600080fd5b60209290920196919550909350505050565b60006020828403121561138457600080fd5b610ac38261127e565b600080604083850312156113a057600080fd5b6113a98361127e565b9150602083013580151581146113be57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156113f557600080fd5b6113fe8561127e565b935061140c6020860161127e565b925060408501359150606085013567ffffffffffffffff8082111561143057600080fd5b818701915087601f83011261144457600080fd5b813581811115611456576114566113c9565b604051601f8201601f19908116603f0116810190838211818310171561147e5761147e6113c9565b816040528281528a602084870101111561149757600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156114ce57600080fd5b6114d78361127e565b91506114e56020840161127e565b90509250929050565b600181811c9082168061150257607f821691505b60208210810361152257634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111561157e57634e487b7160e01b600052601160045260246000fd5b500190565b600083516115958184602088016111fa565b8351908301906115a98183602088016111fa565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906115e590830184611226565b9695505050505050565b60006020828403121561160157600080fd5b8151610ac3816111c756fea264697066735822122056597d50c67608222eadbc13860ac60349f5c958ad00ec0630111e7c97497d1c64736f6c634300080e0033
Deployed Bytecode Sourcemap
43995:1397:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18651:615;;;;;;;;;;-1:-1:-1;18651:615:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;18651:615:0;;;;;;;;23664:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;25732:204::-;;;;;;;;;;-1:-1:-1;25732:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;25732:204:0;1528:203:1;25192:474:0;;;;;;;;;;-1:-1:-1;25192:474:0;;;;;:::i;:::-;;:::i;:::-;;17705:315;;;;;;;;;;-1:-1:-1;17971:12:0;;17758:7;17955:13;:28;17705:315;;;2319:25:1;;;2307:2;2292:18;17705:315:0;2173:177:1;26618:170:0;;;;;;;;;;-1:-1:-1;26618:170:0;;;;;:::i;:::-;;:::i;45117:158::-;;;:::i;26859:185::-;;;;;;;;;;-1:-1:-1;26859:185:0;;;;;:::i;:::-;;:::i;45011:100::-;;;;;;;;;;-1:-1:-1;45011:100:0;;;;;:::i;:::-;;:::i;23453:144::-;;;;;;;;;;-1:-1:-1;23453:144:0;;;;;:::i;:::-;;:::i;19330:224::-;;;;;;;;;;-1:-1:-1;19330:224:0;;;;;:::i;:::-;;:::i;4761:103::-;;;;;;;;;;;;;:::i;44842:75::-;;;;;;;;;;;;;:::i;44186:27::-;;;;;;;;;;-1:-1:-1;44186:27:0;;;;;;;;4110:87;;;;;;;;;;-1:-1:-1;4183:6:0;;-1:-1:-1;;;;;4183:6:0;4110:87;;23833:104;;;;;;;;;;;;;:::i;44153:28::-;;;;;;;;;;;;;;;;44923:82;;;;;;;;;;-1:-1:-1;44923:82:0;;;;;:::i;:::-;;:::i;44329:327::-;;;;;;:::i;:::-;;:::i;26008:308::-;;;;;;;;;;-1:-1:-1;26008:308:0;;;;;:::i;:::-;;:::i;27115:396::-;;;;;;;;;;-1:-1:-1;27115:396:0;;;;;:::i;:::-;;:::i;24008:318::-;;;;;;;;;;-1:-1:-1;24008:318:0;;;;;:::i;:::-;;:::i;44662:174::-;;;;;;;;;;-1:-1:-1;44662:174:0;;;;;:::i;:::-;;:::i;44108:40::-;;;;;;;;;;;;44144:4;44108:40;;26387:164;;;;;;;;;;-1:-1:-1;26387:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;26508:25:0;;;26484:4;26508:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;26387:164;5019:201;;;;;;;;;;-1:-1:-1;5019:201:0;;;;;:::i;:::-;;:::i;18651:615::-;18736:4;-1:-1:-1;;;;;;;;;19036:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;19113:25:0;;;19036:102;:179;;;-1:-1:-1;;;;;;;;;;19190:25:0;;;19036:179;19016:199;18651:615;-1:-1:-1;;18651:615:0:o;23664:100::-;23718:13;23751:5;23744:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23664:100;:::o;25732:204::-;25800:7;25825:16;25833:7;25825;:16::i;:::-;25820:64;;25850:34;;-1:-1:-1;;;25850:34:0;;;;;;;;;;;25820:64;-1:-1:-1;25904:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;25904:24:0;;25732:204::o;25192:474::-;25265:13;25297:27;25316:7;25297:18;:27::i;:::-;25265:61;;25347:5;-1:-1:-1;;;;;25341:11:0;:2;-1:-1:-1;;;;;25341:11:0;;25337:48;;25361:24;;-1:-1:-1;;;25361:24:0;;;;;;;;;;;25337:48;41835:10;-1:-1:-1;;;;;25402:28:0;;;25398:175;;25450:44;25467:5;41835:10;26387:164;:::i;25450:44::-;25445:128;;25522:35;;-1:-1:-1;;;25522:35:0;;;;;;;;;;;25445:128;25585:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;25585:29:0;-1:-1:-1;;;;;25585:29:0;;;;;;;;;25630:28;;25585:24;;25630:28;;;;;;;25254:412;25192:474;;:::o;26618:170::-;26752:28;26762:4;26768:2;26772:7;26752:9;:28::i;:::-;26618:170;;;:::o;45117:158::-;4183:6;;-1:-1:-1;;;;;4183:6:0;41835:10;4330:23;4322:68;;;;-1:-1:-1;;;4322:68:0;;;;;;;:::i;:::-;;;;;;;;;45188:58:::1;::::0;45170:12:::1;::::0;45196:10:::1;::::0;45220:21:::1;::::0;45170:12;45188:58;45170:12;45188:58;45220:21;45196:10;45188:58:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45169:77;;;45261:7;45253:16;;;::::0;::::1;;45162:113;45117:158::o:0;26859:185::-;26997:39;27014:4;27020:2;27024:7;26997:39;;;;;;;;;;;;:16;:39::i;45011:100::-;4183:6;;-1:-1:-1;;;;;4183:6:0;41835:10;4330:23;4322:68;;;;-1:-1:-1;;;4322:68:0;;;;;;;:::i;:::-;45082:23:::1;:13;45098:7:::0;;45082:23:::1;:::i;23453:144::-:0;23517:7;23560:27;23579:7;23560:18;:27::i;19330:224::-;19394:7;-1:-1:-1;;;;;19418:19:0;;19414:60;;19446:28;;-1:-1:-1;;;19446:28:0;;;;;;;;;;;19414:60;-1:-1:-1;;;;;;19492:25:0;;;;;:18;:25;;;;;;14669:13;19492:54;;19330:224::o;4761:103::-;4183:6;;-1:-1:-1;;;;;4183:6:0;41835:10;4330:23;4322:68;;;;-1:-1:-1;;;4322:68:0;;;;;;;:::i;:::-;4826:30:::1;4853:1;4826:18;:30::i;:::-;4761:103::o:0;44842:75::-;4183:6;;-1:-1:-1;;;;;4183:6:0;41835:10;4330:23;4322:68;;;;-1:-1:-1;;;4322:68:0;;;;;;;:::i;:::-;44904:7:::1;::::0;;-1:-1:-1;;44893:18:0;::::1;44904:7;::::0;;::::1;44903:8;44893:18;::::0;;44842:75::o;23833:104::-;23889:13;23922:7;23915:14;;;;;:::i;44923:82::-;4183:6;;-1:-1:-1;;;;;4183:6:0;41835:10;4330:23;4322:68;;;;-1:-1:-1;;;4322:68:0;;;;;;;:::i;:::-;44984:9:::1;:15:::0;44923:82::o;44329:327::-;44388:7;;;;44380:16;;;;;;44417:1;44411:3;:7;:27;;;;;44429:9;;44422:3;:16;;44411:27;44403:36;;;;;;44144:4;44470:3;44454:13;17971:12;;17758:7;17955:13;:28;;17705:315;44454:13;:19;;;;:::i;:::-;:32;;44446:41;;;;;;44533:9;;41835:10;44502:21;;;;:7;:21;;;;;;:27;;44526:3;;44502:27;:::i;:::-;:40;;44494:49;;;;;;44558:10;44572:9;44558:23;44550:32;;;;;;41835:10;44589:21;;;;:7;:21;;;;;:28;;44614:3;;44589:21;:28;;44614:3;;44589:28;:::i;:::-;;;;-1:-1:-1;44624:26:0;;-1:-1:-1;44634:10:0;44646:3;44624:9;:26::i;26008:308::-;41835:10;-1:-1:-1;;;;;26107:31:0;;;26103:61;;26147:17;;-1:-1:-1;;;26147:17:0;;;;;;;;;;;26103:61;41835:10;26177:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;26177:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;26177:60:0;;;;;;;;;;26253:55;;540:41:1;;;26177:49:0;;41835:10;26253:55;;513:18:1;26253:55:0;;;;;;;26008:308;;:::o;27115:396::-;27282:28;27292:4;27298:2;27302:7;27282:9;:28::i;:::-;-1:-1:-1;;;;;27325:14:0;;;:19;27321:183;;27364:56;27395:4;27401:2;27405:7;27414:5;27364:30;:56::i;:::-;27359:145;;27448:40;;-1:-1:-1;;;27448:40:0;;;;;;;;;;;27359:145;27115:396;;;;:::o;24008:318::-;24081:13;24112:16;24120:7;24112;:16::i;:::-;24107:59;;24137:29;;-1:-1:-1;;;24137:29:0;;;;;;;;;;;24107:59;24179:21;24203:10;:8;:10::i;:::-;24179:34;;24237:7;24231:21;24256:1;24231:26;:87;;;;;;;;;;;;;;;;;24284:7;24293:18;24303:7;24293:9;:18::i;:::-;24267:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;24231:87;24224:94;24008:318;-1:-1:-1;;;24008:318:0:o;44662:174::-;4183:6;;-1:-1:-1;;;;;4183:6:0;41835:10;4330:23;4322:68;;;;-1:-1:-1;;;4322:68:0;;;;;;;:::i;:::-;44744:7:::1;::::0;::::1;;44743:8;44735:17;;;::::0;::::1;;44144:4;44783:3;44767:13;17971:12:::0;;17758:7;17955:13;:28;;17705:315;44767:13:::1;:19;;;;:::i;:::-;:32;;44759:41;;;::::0;::::1;;44807:23;44817:7;44826:3;44807:9;:23::i;:::-;44662:174:::0;;:::o;5019:201::-;4183:6;;-1:-1:-1;;;;;4183:6:0;41835:10;4330:23;4322:68;;;;-1:-1:-1;;;4322:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;5108:22:0;::::1;5100:73;;;::::0;-1:-1:-1;;;5100:73:0;;7231:2:1;5100:73:0::1;::::0;::::1;7213:21:1::0;7270:2;7250:18;;;7243:30;7309:34;7289:18;;;7282:62;-1:-1:-1;;;7360:18:1;;;7353:36;7406:19;;5100:73:0::1;7029:402:1::0;5100:73:0::1;5184:28;5203:8;5184:18;:28::i;27766:273::-:0;27823:4;27913:13;;27903:7;:23;27860:152;;;;-1:-1:-1;;27964:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;27964:43:0;:48;;27766:273::o;20968:1129::-;21035:7;21070;21172:13;;21165:4;:20;21161:869;;;21210:14;21227:23;;;:17;:23;;;;;;;-1:-1:-1;;;21316:23:0;;:28;;21312:699;;21835:113;21842:6;21852:1;21842:11;21835:113;;-1:-1:-1;;;21913:6:0;21895:25;;;;:17;:25;;;;;;21835:113;;21312:699;21187:843;21161:869;22058:31;;-1:-1:-1;;;22058:31:0;;;;;;;;;;;33005:2515;33120:27;33150;33169:7;33150:18;:27::i;:::-;33120:57;;33235:4;-1:-1:-1;;;;;33194:45:0;33210:19;-1:-1:-1;;;;;33194:45:0;;33190:86;;33248:28;;-1:-1:-1;;;33248:28:0;;;;;;;;;;;33190:86;33289:22;41835:10;-1:-1:-1;;;;;33315:27:0;;;;:87;;-1:-1:-1;33359:43:0;33376:4;41835:10;26387:164;:::i;33359:43::-;33315:147;;;-1:-1:-1;41835:10:0;33419:20;33431:7;33419:11;:20::i;:::-;-1:-1:-1;;;;;33419:43:0;;33315:147;33289:174;;33481:17;33476:66;;33507:35;;-1:-1:-1;;;33507:35:0;;;;;;;;;;;33476:66;-1:-1:-1;;;;;33557:16:0;;33553:52;;33582:23;;-1:-1:-1;;;33582:23:0;;;;;;;;;;;33553:52;33734:24;;;;:15;:24;;;;;;;;33727:31;;-1:-1:-1;;;;;;33727:31:0;;;-1:-1:-1;;;;;34126:24:0;;;;;:18;:24;;;;;34124:26;;-1:-1:-1;;34124:26:0;;;34195:22;;;;;;;34193:24;;-1:-1:-1;34193:24:0;;;34488:26;;;:17;:26;;;;;-1:-1:-1;;;34576:15:0;15323:3;34576:41;34534:84;;:128;;34488:174;;;34782:46;;:51;;34778:626;;34886:1;34876:11;;34854:19;35009:30;;;:17;:30;;;;;;:35;;35005:384;;35147:13;;35132:11;:28;35128:242;;35294:30;;;;:17;:30;;;;;:52;;;35128:242;34835:569;34778:626;35451:7;35447:2;-1:-1:-1;;;;;35432:27:0;35441:4;-1:-1:-1;;;;;35432:27:0;;;;;;;;;;;33109:2411;;33005:2515;;;:::o;5380:191::-;5473:6;;;-1:-1:-1;;;;;5490:17:0;;;-1:-1:-1;;;;;;5490:17:0;;;;;;;5523:40;;5473:6;;;5490:17;5473:6;;5523:40;;5454:16;;5523:40;5443:128;5380:191;:::o;28123:104::-;28192:27;28202:2;28206:8;28192:27;;;;;;;;;;;;:9;:27::i;39217:716::-;39401:88;;-1:-1:-1;;;39401:88:0;;39380:4;;-1:-1:-1;;;;;39401:45:0;;;;;:88;;41835:10;;39468:4;;39474:7;;39483:5;;39401:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39401:88:0;;;;;;;;-1:-1:-1;;39401:88:0;;;;;;;;;;;;:::i;:::-;;;39397:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39684:6;:13;39701:1;39684:18;39680:235;;39730:40;;-1:-1:-1;;;39730:40:0;;;;;;;;;;;39680:235;39873:6;39867:13;39858:6;39854:2;39850:15;39843:38;39397:529;-1:-1:-1;;;;;;39560:64:0;-1:-1:-1;;;39560:64:0;;-1:-1:-1;39217:716:0;;;;;;:::o;45281:108::-;45341:13;45370;45363:20;;;;;:::i;41959:1959::-;42430:4;42424:11;;42437:3;42420:21;;42515:17;;;;43212:11;;;43091:5;43344:2;43358;43348:13;;43340:22;43212:11;43327:36;43399:2;43389:13;;42982:682;43418:4;42982:682;;;43593:1;43588:3;43584:11;43577:18;;43644:2;43638:4;43634:13;43630:2;43626:22;43621:3;43613:36;43514:2;43504:13;;42982:682;;;-1:-1:-1;43706:13:0;;;-1:-1:-1;;43821:12:0;;;43881:19;;;43821:12;41959:1959;-1:-1:-1;41959:1959:0:o;28600:2236::-;28723:20;28746:13;-1:-1:-1;;;;;28774:16:0;;28770:48;;28799:19;;-1:-1:-1;;;28799:19:0;;;;;;;;;;;28770:48;28833:8;28845:1;28833:13;28829:44;;28855:18;;-1:-1:-1;;;28855:18:0;;;;;;;;;;;28829:44;-1:-1:-1;;;;;29422:22:0;;;;;;:18;:22;;;;14806:2;29422:22;;;:70;;29460:31;29448:44;;29422:70;;;29735:31;;;:17;:31;;;;;29828:15;15323:3;29828:41;29786:84;;-1:-1:-1;29906:13:0;;15586:3;29891:56;29786:162;29735:213;;:31;;30029:23;;;;30073:14;:19;30069:635;;30113:313;30144:38;;30169:12;;-1:-1:-1;;;;;30144:38:0;;;30161:1;;30144:38;;30161:1;;30144:38;30210:69;30249:1;30253:2;30257:14;;;;;;30273:5;30210:30;:69::i;:::-;30205:174;;30315:40;;-1:-1:-1;;;30315:40:0;;;;;;;;;;;30205:174;30421:3;30406:12;:18;30113:313;;30507:12;30490:13;;:29;30486:43;;30521:8;;;30486:43;30069:635;;;30570:119;30601:40;;30626:14;;;;;-1:-1:-1;;;;;30601:40:0;;;30618:1;;30601:40;;30618:1;;30601:40;30684:3;30669:12;:18;30570:119;;30069:635;-1:-1:-1;30718:13:0;:28;;;30768:60;;30801:2;30805:12;30819:8;30768:60;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;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:592::-;2759:6;2767;2820:2;2808:9;2799:7;2795:23;2791:32;2788:52;;;2836:1;2833;2826:12;2788:52;2876:9;2863:23;2905:18;2946:2;2938:6;2935:14;2932:34;;;2962:1;2959;2952:12;2932:34;3000:6;2989:9;2985:22;2975:32;;3045:7;3038:4;3034:2;3030:13;3026:27;3016:55;;3067:1;3064;3057:12;3016:55;3107:2;3094:16;3133:2;3125:6;3122:14;3119:34;;;3149:1;3146;3139:12;3119:34;3194:7;3189:2;3180:6;3176:2;3172:15;3168:24;3165:37;3162:57;;;3215:1;3212;3205:12;3162:57;3246:2;3238:11;;;;;3268:6;;-1:-1:-1;2688:592:1;;-1:-1:-1;;;;2688:592:1:o;3285:186::-;3344:6;3397:2;3385:9;3376:7;3372:23;3368:32;3365:52;;;3413:1;3410;3403:12;3365:52;3436:29;3455:9;3436:29;:::i;3476:347::-;3541:6;3549;3602:2;3590:9;3581:7;3577:23;3573:32;3570:52;;;3618:1;3615;3608:12;3570:52;3641:29;3660:9;3641:29;:::i;:::-;3631:39;;3720:2;3709:9;3705:18;3692:32;3767:5;3760:13;3753:21;3746:5;3743:32;3733:60;;3789:1;3786;3779:12;3733:60;3812:5;3802:15;;;3476:347;;;;;:::o;3828:127::-;3889:10;3884:3;3880:20;3877:1;3870:31;3920:4;3917:1;3910:15;3944:4;3941:1;3934:15;3960:1138;4055:6;4063;4071;4079;4132:3;4120:9;4111:7;4107:23;4103:33;4100:53;;;4149:1;4146;4139:12;4100:53;4172:29;4191:9;4172:29;:::i;:::-;4162:39;;4220:38;4254:2;4243:9;4239:18;4220:38;:::i;:::-;4210:48;;4305:2;4294:9;4290:18;4277:32;4267:42;;4360:2;4349:9;4345:18;4332:32;4383:18;4424:2;4416:6;4413:14;4410:34;;;4440:1;4437;4430:12;4410:34;4478:6;4467:9;4463:22;4453:32;;4523:7;4516:4;4512:2;4508:13;4504:27;4494:55;;4545:1;4542;4535:12;4494:55;4581:2;4568:16;4603:2;4599;4596:10;4593:36;;;4609:18;;:::i;:::-;4684:2;4678:9;4652:2;4738:13;;-1:-1:-1;;4734:22:1;;;4758:2;4730:31;4726:40;4714:53;;;4782:18;;;4802:22;;;4779:46;4776:72;;;4828:18;;:::i;:::-;4868:10;4864:2;4857:22;4903:2;4895:6;4888:18;4943:7;4938:2;4933;4929;4925:11;4921:20;4918:33;4915:53;;;4964:1;4961;4954:12;4915:53;5020:2;5015;5011;5007:11;5002:2;4994:6;4990:15;4977:46;5065:1;5060:2;5055;5047:6;5043:15;5039:24;5032:35;5086:6;5076:16;;;;;;;3960:1138;;;;;;;:::o;5103:260::-;5171:6;5179;5232:2;5220:9;5211:7;5207:23;5203:32;5200:52;;;5248:1;5245;5238:12;5200:52;5271:29;5290:9;5271:29;:::i;:::-;5261:39;;5319:38;5353:2;5342:9;5338:18;5319:38;:::i;:::-;5309:48;;5103:260;;;;;:::o;5368:380::-;5447:1;5443:12;;;;5490;;;5511:61;;5565:4;5557:6;5553:17;5543:27;;5511:61;5618:2;5610:6;5607:14;5587:18;5584:38;5581:161;;5664:10;5659:3;5655:20;5652:1;5645:31;5699:4;5696:1;5689:15;5727:4;5724:1;5717:15;5581:161;;5368:380;;;:::o;5753:356::-;5955:2;5937:21;;;5974:18;;;5967:30;6033:34;6028:2;6013:18;;6006:62;6100:2;6085:18;;5753:356::o;6324:225::-;6364:3;6395:1;6391:6;6388:1;6385:13;6382:136;;;6440:10;6435:3;6431:20;6428:1;6421:31;6475:4;6472:1;6465:15;6503:4;6500:1;6493:15;6382:136;-1:-1:-1;6534:9:1;;6324:225::o;6554:470::-;6733:3;6771:6;6765:13;6787:53;6833:6;6828:3;6821:4;6813:6;6809:17;6787:53;:::i;:::-;6903:13;;6862:16;;;;6925:57;6903:13;6862:16;6959:4;6947:17;;6925:57;:::i;:::-;6998:20;;6554:470;-1:-1:-1;;;;6554:470:1:o;7436:489::-;-1:-1:-1;;;;;7705:15:1;;;7687:34;;7757:15;;7752:2;7737:18;;7730:43;7804:2;7789:18;;7782:34;;;7852:3;7847:2;7832:18;;7825:31;;;7630:4;;7873:46;;7899:19;;7891:6;7873:46;:::i;:::-;7865:54;7436:489;-1:-1:-1;;;;;;7436:489:1:o;7930:249::-;7999:6;8052:2;8040:9;8031:7;8027:23;8023:32;8020:52;;;8068:1;8065;8058:12;8020:52;8100:9;8094:16;8119:30;8143:5;8119:30;:::i
Swarm Source
ipfs://56597d50c67608222eadbc13860ac60349f5c958ad00ec0630111e7c97497d1c
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.