ERC-721
Overview
Max Total Supply
666 WAGHELL
Holders
645
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 WAGHELLLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
WAGHELL
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-06-26 */ // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.1.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(); /** * 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(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); 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; // Arbitrary data similar to `startTimestamp` that can be set through `_extraData`. uint24 extraData; } /** * @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); // ============================== // IERC2309 // ============================== /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`, * as defined in the ERC2309 standard. See `_mintERC2309` for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.1.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 bit position of `extraData` in packed ownership. uint256 private constant BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with `_mintERC2309`. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to `_mintERC2309` // is required to cause an overflow, which is unrealistic. uint256 private constant MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // 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` // - [232..255] `extraData` 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 auxiliary 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 auxiliary 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; // Cast `aux` with assembly to avoid redundant masking. assembly { 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; ownership.extraData = uint24(packed >> BITPOS_EXTRA_DATA); } /** * 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 Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, BITMASK_ADDRESS) // `owner | (block.timestamp << BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @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, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << BITPOS_NEXT_INITIALIZED`. result := shl(BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ownerOf(tokenId); 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-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 { transferFrom(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. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @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 for each mint. */ 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` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _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] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 tokenId = startTokenId; uint256 end = startTokenId + quantity; do { emit Transfer(address(0), to, tokenId++); } while (tokenId < end); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _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] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { // Compute the slot. mstore(0x00, tokenId) mstore(0x20, tokenApprovalsPtr.slot) approvedAddressSlot := keccak256(0x00, 0x40) // Load the slot's value from storage. approvedAddress := sload(approvedAddressSlot) } } /** * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`. */ function _isOwnerOrApproved( address approvedAddress, address from, address msgSender ) private pure returns (bool result) { assembly { // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from := and(from, BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, BITMASK_ADDRESS) // `msgSender == from || msgSender == approvedAddress`. result := or(eq(msgSender, from), eq(msgSender, approvedAddress)) } } /** * @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 transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // 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] = _packOwnershipData( to, BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // 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)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // 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] = _packOwnershipData( from, (BITMASK_BURNED | BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // 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 Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << BITPOS_EXTRA_DATA; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * 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 _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @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: @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: WAGHELL.sol // .'( )\.---. /`-. /`-. )\.---. /`-. .') .') // ,') \ ) ( ,-._( ,' _ \ ,' _ \ ( ,-._( ,' _ \ ( / ( / // ( /(/ / \ '-, ( '-' ( ( '-' ( \ '-, ( '-' ( )) )) // ) ( ) ,-` ) _ ) ) ,_ .' ) ,-` ) _ ) )'._.-. )'._.-. // ( .'\ \ ( ``-. ( ,' ) \ ( ' ) \ ( ``-. ( ,' ) \ ( ) ( ) // )/ )/ )..-.( )/ )/ )/ )/ )..-.( )/ )/ )/,__.' )/,__.' // )\.-. .-./( .'( )\ )\ )\.-. .-,.-.,-. .-./( .'( )'. )\.---. .') .') // ,' ,-,_) ,' ) \ ) ( \, / ,' ,-,_) ) ,, ,. ( ,' ) \ ) ( / ( ,-._( ( / ( / // ( . __ ( .-, ( ) ( ) \ ( ( . __ \( |( )/ ( .-, ( ) (___) ( \ '-, )) )) // ) '._\ _) ) '._\ ) \ ) ( ( \ \ ) '._\ _) ) \ ) '._\ ) \ ,---, / ) ,-` )'._.-. )'._.-. // ( , ( ( , ( ) \ `.)/ ) ( , ( \ ( ( , ( / ) ( \ ( ``-. ( ) ( ) // )/'._.' )/ ._.' )/ '.( )/'._.' )/ )/ ._.' \.' './ )..-.( )/,__.' )/,__.' // pragma solidity 0.8.7; contract WAGHELL is ERC721A, Ownable { string private baseURI; bool public started = false; bool public claimed = false; uint256 public constant MAX_SUPPLY = 666; uint256 public constant MAX_MINT = 1; mapping(address => uint) public addressClaimed; constructor() ERC721A("We Are All Going to HELL", "WAGHELL") {} // Start tokenid at 1 instead of 0 function _startTokenId() internal view virtual override returns (uint256) { return 1; } function mint() external { require(started, "The pilgrimage to this land has not yet started"); require(addressClaimed[_msgSender()] < MAX_MINT, "You have already received your Token of Worship"); require(totalSupply() < MAX_SUPPLY, "All lost souls have been accounted for"); // mint addressClaimed[_msgSender()] += 1; _safeMint(msg.sender, 1); } function setBaseURI(string memory baseURI_) external onlyOwner { baseURI = baseURI_; } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function enableMint(bool mintStarted) external onlyOwner { started = mintStarted; } }
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":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"mintStarted","type":"bool"}],"name":"enableMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"nonpayable","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":"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":[],"name":"started","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052600a805461ffff191690553480156200001c57600080fd5b50604080518082018252601881527f57652041726520416c6c20476f696e6720746f2048454c4c000000000000000060208083019182528351808501909452600784526615d051d211531360ca1b908401528151919291620000819160029162000102565b5080516200009790600390602084019062000102565b5050600160005550620000aa33620000b0565b620001e5565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200011090620001a8565b90600052602060002090601f0160209004810192826200013457600085556200017f565b82601f106200014f57805160ff19168380011785556200017f565b828001600101855582156200017f579182015b828111156200017f57825182559160200191906001019062000162565b506200018d92915062000191565b5090565b5b808211156200018d576000815560010162000192565b600181811c90821680620001bd57607f821691505b60208210811415620001df57634e487b7160e01b600052602260045260246000fd5b50919050565b61146080620001f56000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c806370a08231116100de578063b88d4fde11610097578063e834a83411610071578063e834a83414610319578063e985e9c51461032b578063f0292a0314610367578063f2fde38b1461036f57600080fd5b8063b88d4fde146102e0578063c68b3305146102f3578063c87b56dd1461030657600080fd5b806370a0823114610279578063715018a61461028c578063772dc32f146102945780638da5cb5b146102b457806395d89b41146102c5578063a22cb465146102cd57600080fd5b80631f2698ab116101305780631f2698ab1461021757806323b872dd1461022457806332cb6b0c1461023757806342842e0e1461024057806355f804b3146102535780636352211e1461026657600080fd5b806301ffc9a71461017857806306fdde03146101a0578063081812fc146101b5578063095ea7b3146101e05780631249c58b146101f557806318160ddd146101fd575b600080fd5b61018b6101863660046111f5565b610382565b60405190151581526020015b60405180910390f35b6101a86103d4565b6040516101979190611329565b6101c86101c3366004611278565b610466565b6040516001600160a01b039091168152602001610197565b6101f36101ee3660046111b0565b6104aa565b005b6101f361054a565b60015460005403600019015b604051908152602001610197565b600a5461018b9060ff1681565b6101f36102323660046110ce565b6106cf565b61020961029a81565b6101f361024e3660046110ce565b610860565b6101f361026136600461122f565b610880565b6101c8610274366004611278565b6108c1565b610209610287366004611080565b6108cc565b6101f361091b565b6102096102a2366004611080565b600b6020526000908152604090205481565b6008546001600160a01b03166101c8565b6101a861094f565b6101f36102db366004611186565b61095e565b6101f36102ee36600461110a565b6109f4565b6101f36103013660046111da565b610a3e565b6101a8610314366004611278565b610a7b565b600a5461018b90610100900460ff1681565b61018b61033936600461109b565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610209600181565b6101f361037d366004611080565b610b00565b60006301ffc9a760e01b6001600160e01b0319831614806103b357506380ac58cd60e01b6001600160e01b03198316145b806103ce5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546103e3906113c3565b80601f016020809104026020016040519081016040528092919081815260200182805461040f906113c3565b801561045c5780601f106104315761010080835404028352916020019161045c565b820191906000526020600020905b81548152906001019060200180831161043f57829003601f168201915b5050505050905090565b600061047182610b9b565b61048e576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006104b5826108c1565b9050336001600160a01b038216146104ee576104d18133610339565b6104ee576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600a5460ff166105b95760405162461bcd60e51b815260206004820152602f60248201527f5468652070696c6772696d61676520746f2074686973206c616e64206861732060448201526e1b9bdd081e595d081cdd185c9d1959608a1b60648201526084015b60405180910390fd5b336000908152600b60205260409020546001116106305760405162461bcd60e51b815260206004820152602f60248201527f596f75206861766520616c726561647920726563656976656420796f7572205460448201526e06f6b656e206f6620576f727368697608c1b60648201526084016105b0565b60015460005461029a919003600019011061069c5760405162461bcd60e51b815260206004820152602660248201527f416c6c206c6f737420736f756c732068617665206265656e206163636f756e7460448201526532b2103337b960d11b60648201526084016105b0565b336000908152600b602052604081208054600192906106bc908490611371565b909155506106cd9050336001610bd0565b565b60006106da82610bea565b9050836001600160a01b0316816001600160a01b03161461070d5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761075a5761073d8633610339565b61075a57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661078157604051633a954ecd60e21b815260040160405180910390fd5b801561078c57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661081757600184016000818152600460205260409020546108155760005481146108155760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b61087b838383604051806020016040528060008152506109f4565b505050565b6008546001600160a01b031633146108aa5760405162461bcd60e51b81526004016105b09061133c565b80516108bd906009906020840190610f45565b5050565b60006103ce82610bea565b60006001600160a01b0382166108f5576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146109455760405162461bcd60e51b81526004016105b09061133c565b6106cd6000610c53565b6060600380546103e3906113c3565b6001600160a01b0382163314156109885760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6109ff8484846106cf565b6001600160a01b0383163b15610a3857610a1b84848484610ca5565b610a38576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b03163314610a685760405162461bcd60e51b81526004016105b09061133c565b600a805460ff1916911515919091179055565b6060610a8682610b9b565b610aa357604051630a14c4b560e41b815260040160405180910390fd5b6000610aad610d9d565b9050805160001415610ace5760405180602001604052806000815250610af9565b80610ad884610dac565b604051602001610ae99291906112bd565b6040516020818303038152906040525b9392505050565b6008546001600160a01b03163314610b2a5760405162461bcd60e51b81526004016105b09061133c565b6001600160a01b038116610b8f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105b0565b610b9881610c53565b50565b600081600111158015610baf575060005482105b80156103ce575050600090815260046020526040902054600160e01b161590565b6108bd828260405180602001604052806000815250610dfb565b60008180600111610c3a57600054811015610c3a57600081815260046020526040902054600160e01b8116610c38575b80610af9575060001901600081815260046020526040902054610c1a565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610cda9033908990889088906004016112ec565b602060405180830381600087803b158015610cf457600080fd5b505af1925050508015610d24575060408051601f3d908101601f19168201909252610d2191810190611212565b60015b610d7f573d808015610d52576040519150601f19603f3d011682016040523d82523d6000602084013e610d57565b606091505b508051610d77576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600980546103e3906113c3565b604080516080810191829052607f0190826030600a8206018353600a90045b8015610de957600183039250600a81066030018353600a9004610dcb565b50819003601f19909101908152919050565b610e058383610e68565b6001600160a01b0383163b1561087b576000548281035b610e2f6000868380600101945086610ca5565b610e4c576040516368d2bf6b60e11b815260040160405180910390fd5b818110610e1c578160005414610e6157600080fd5b5050505050565b6000546001600160a01b038316610e9157604051622e076360e81b815260040160405180910390fd5b81610eaf5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210610ef95760005550505050565b828054610f51906113c3565b90600052602060002090601f016020900481019282610f735760008555610fb9565b82601f10610f8c57805160ff1916838001178555610fb9565b82800160010185558215610fb9579182015b82811115610fb9578251825591602001919060010190610f9e565b50610fc5929150610fc9565b5090565b5b80821115610fc55760008155600101610fca565b600067ffffffffffffffff80841115610ff957610ff96113fe565b604051601f8501601f19908116603f01168101908282118183101715611021576110216113fe565b8160405280935085815286868601111561103a57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461106b57600080fd5b919050565b8035801515811461106b57600080fd5b60006020828403121561109257600080fd5b610af982611054565b600080604083850312156110ae57600080fd5b6110b783611054565b91506110c560208401611054565b90509250929050565b6000806000606084860312156110e357600080fd5b6110ec84611054565b92506110fa60208501611054565b9150604084013590509250925092565b6000806000806080858703121561112057600080fd5b61112985611054565b935061113760208601611054565b925060408501359150606085013567ffffffffffffffff81111561115a57600080fd5b8501601f8101871361116b57600080fd5b61117a87823560208401610fde565b91505092959194509250565b6000806040838503121561119957600080fd5b6111a283611054565b91506110c560208401611070565b600080604083850312156111c357600080fd5b6111cc83611054565b946020939093013593505050565b6000602082840312156111ec57600080fd5b610af982611070565b60006020828403121561120757600080fd5b8135610af981611414565b60006020828403121561122457600080fd5b8151610af981611414565b60006020828403121561124157600080fd5b813567ffffffffffffffff81111561125857600080fd5b8201601f8101841361126957600080fd5b610d9584823560208401610fde565b60006020828403121561128a57600080fd5b5035919050565b600081518084526112a9816020860160208601611397565b601f01601f19169290920160200192915050565b600083516112cf818460208801611397565b8351908301906112e3818360208801611397565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061131f90830184611291565b9695505050505050565b602081526000610af96020830184611291565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111561139257634e487b7160e01b600052601160045260246000fd5b500190565b60005b838110156113b257818101518382015260200161139a565b83811115610a385750506000910152565b600181811c908216806113d757607f821691505b602082108114156113f857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610b9857600080fdfea26469706673582212207c41dfd3d11fb5dcdb980ac84ce32052ee790271ec2ab4b38b6aa046fa33dcdb64736f6c63430008070033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101735760003560e01c806370a08231116100de578063b88d4fde11610097578063e834a83411610071578063e834a83414610319578063e985e9c51461032b578063f0292a0314610367578063f2fde38b1461036f57600080fd5b8063b88d4fde146102e0578063c68b3305146102f3578063c87b56dd1461030657600080fd5b806370a0823114610279578063715018a61461028c578063772dc32f146102945780638da5cb5b146102b457806395d89b41146102c5578063a22cb465146102cd57600080fd5b80631f2698ab116101305780631f2698ab1461021757806323b872dd1461022457806332cb6b0c1461023757806342842e0e1461024057806355f804b3146102535780636352211e1461026657600080fd5b806301ffc9a71461017857806306fdde03146101a0578063081812fc146101b5578063095ea7b3146101e05780631249c58b146101f557806318160ddd146101fd575b600080fd5b61018b6101863660046111f5565b610382565b60405190151581526020015b60405180910390f35b6101a86103d4565b6040516101979190611329565b6101c86101c3366004611278565b610466565b6040516001600160a01b039091168152602001610197565b6101f36101ee3660046111b0565b6104aa565b005b6101f361054a565b60015460005403600019015b604051908152602001610197565b600a5461018b9060ff1681565b6101f36102323660046110ce565b6106cf565b61020961029a81565b6101f361024e3660046110ce565b610860565b6101f361026136600461122f565b610880565b6101c8610274366004611278565b6108c1565b610209610287366004611080565b6108cc565b6101f361091b565b6102096102a2366004611080565b600b6020526000908152604090205481565b6008546001600160a01b03166101c8565b6101a861094f565b6101f36102db366004611186565b61095e565b6101f36102ee36600461110a565b6109f4565b6101f36103013660046111da565b610a3e565b6101a8610314366004611278565b610a7b565b600a5461018b90610100900460ff1681565b61018b61033936600461109b565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610209600181565b6101f361037d366004611080565b610b00565b60006301ffc9a760e01b6001600160e01b0319831614806103b357506380ac58cd60e01b6001600160e01b03198316145b806103ce5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546103e3906113c3565b80601f016020809104026020016040519081016040528092919081815260200182805461040f906113c3565b801561045c5780601f106104315761010080835404028352916020019161045c565b820191906000526020600020905b81548152906001019060200180831161043f57829003601f168201915b5050505050905090565b600061047182610b9b565b61048e576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006104b5826108c1565b9050336001600160a01b038216146104ee576104d18133610339565b6104ee576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600a5460ff166105b95760405162461bcd60e51b815260206004820152602f60248201527f5468652070696c6772696d61676520746f2074686973206c616e64206861732060448201526e1b9bdd081e595d081cdd185c9d1959608a1b60648201526084015b60405180910390fd5b336000908152600b60205260409020546001116106305760405162461bcd60e51b815260206004820152602f60248201527f596f75206861766520616c726561647920726563656976656420796f7572205460448201526e06f6b656e206f6620576f727368697608c1b60648201526084016105b0565b60015460005461029a919003600019011061069c5760405162461bcd60e51b815260206004820152602660248201527f416c6c206c6f737420736f756c732068617665206265656e206163636f756e7460448201526532b2103337b960d11b60648201526084016105b0565b336000908152600b602052604081208054600192906106bc908490611371565b909155506106cd9050336001610bd0565b565b60006106da82610bea565b9050836001600160a01b0316816001600160a01b03161461070d5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761075a5761073d8633610339565b61075a57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661078157604051633a954ecd60e21b815260040160405180910390fd5b801561078c57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661081757600184016000818152600460205260409020546108155760005481146108155760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b61087b838383604051806020016040528060008152506109f4565b505050565b6008546001600160a01b031633146108aa5760405162461bcd60e51b81526004016105b09061133c565b80516108bd906009906020840190610f45565b5050565b60006103ce82610bea565b60006001600160a01b0382166108f5576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146109455760405162461bcd60e51b81526004016105b09061133c565b6106cd6000610c53565b6060600380546103e3906113c3565b6001600160a01b0382163314156109885760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6109ff8484846106cf565b6001600160a01b0383163b15610a3857610a1b84848484610ca5565b610a38576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b03163314610a685760405162461bcd60e51b81526004016105b09061133c565b600a805460ff1916911515919091179055565b6060610a8682610b9b565b610aa357604051630a14c4b560e41b815260040160405180910390fd5b6000610aad610d9d565b9050805160001415610ace5760405180602001604052806000815250610af9565b80610ad884610dac565b604051602001610ae99291906112bd565b6040516020818303038152906040525b9392505050565b6008546001600160a01b03163314610b2a5760405162461bcd60e51b81526004016105b09061133c565b6001600160a01b038116610b8f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105b0565b610b9881610c53565b50565b600081600111158015610baf575060005482105b80156103ce575050600090815260046020526040902054600160e01b161590565b6108bd828260405180602001604052806000815250610dfb565b60008180600111610c3a57600054811015610c3a57600081815260046020526040902054600160e01b8116610c38575b80610af9575060001901600081815260046020526040902054610c1a565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610cda9033908990889088906004016112ec565b602060405180830381600087803b158015610cf457600080fd5b505af1925050508015610d24575060408051601f3d908101601f19168201909252610d2191810190611212565b60015b610d7f573d808015610d52576040519150601f19603f3d011682016040523d82523d6000602084013e610d57565b606091505b508051610d77576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600980546103e3906113c3565b604080516080810191829052607f0190826030600a8206018353600a90045b8015610de957600183039250600a81066030018353600a9004610dcb565b50819003601f19909101908152919050565b610e058383610e68565b6001600160a01b0383163b1561087b576000548281035b610e2f6000868380600101945086610ca5565b610e4c576040516368d2bf6b60e11b815260040160405180910390fd5b818110610e1c578160005414610e6157600080fd5b5050505050565b6000546001600160a01b038316610e9157604051622e076360e81b815260040160405180910390fd5b81610eaf5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210610ef95760005550505050565b828054610f51906113c3565b90600052602060002090601f016020900481019282610f735760008555610fb9565b82601f10610f8c57805160ff1916838001178555610fb9565b82800160010185558215610fb9579182015b82811115610fb9578251825591602001919060010190610f9e565b50610fc5929150610fc9565b5090565b5b80821115610fc55760008155600101610fca565b600067ffffffffffffffff80841115610ff957610ff96113fe565b604051601f8501601f19908116603f01168101908282118183101715611021576110216113fe565b8160405280935085815286868601111561103a57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461106b57600080fd5b919050565b8035801515811461106b57600080fd5b60006020828403121561109257600080fd5b610af982611054565b600080604083850312156110ae57600080fd5b6110b783611054565b91506110c560208401611054565b90509250929050565b6000806000606084860312156110e357600080fd5b6110ec84611054565b92506110fa60208501611054565b9150604084013590509250925092565b6000806000806080858703121561112057600080fd5b61112985611054565b935061113760208601611054565b925060408501359150606085013567ffffffffffffffff81111561115a57600080fd5b8501601f8101871361116b57600080fd5b61117a87823560208401610fde565b91505092959194509250565b6000806040838503121561119957600080fd5b6111a283611054565b91506110c560208401611070565b600080604083850312156111c357600080fd5b6111cc83611054565b946020939093013593505050565b6000602082840312156111ec57600080fd5b610af982611070565b60006020828403121561120757600080fd5b8135610af981611414565b60006020828403121561122457600080fd5b8151610af981611414565b60006020828403121561124157600080fd5b813567ffffffffffffffff81111561125857600080fd5b8201601f8101841361126957600080fd5b610d9584823560208401610fde565b60006020828403121561128a57600080fd5b5035919050565b600081518084526112a9816020860160208601611397565b601f01601f19169290920160200192915050565b600083516112cf818460208801611397565b8351908301906112e3818360208801611397565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061131f90830184611291565b9695505050505050565b602081526000610af96020830184611291565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111561139257634e487b7160e01b600052601160045260246000fd5b500190565b60005b838110156113b257818101518382015260200161139a565b83811115610a385750506000910152565b600181811c908216806113d757607f821691505b602082108114156113f857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610b9857600080fdfea26469706673582212207c41dfd3d11fb5dcdb980ac84ce32052ee790271ec2ab4b38b6aa046fa33dcdb64736f6c63430008070033
Deployed Bytecode Sourcemap
49686:1249:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14592:615;;;;;;:::i;:::-;;:::i;:::-;;;5903:14:1;;5896:22;5878:41;;5866:2;5851:18;14592:615:0;;;;;;;;20239:100;;;:::i;:::-;;;;;;;:::i;22185:204::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5201:32:1;;;5183:51;;5171:2;5156:18;22185:204:0;5037:203:1;21733:386:0;;;;;;:::i;:::-;;:::i;:::-;;50202:393;;;:::i;13646:315::-;50183:1;13912:12;13699:7;13896:13;:28;-1:-1:-1;;13896:46:0;13646:315;;;8307:25:1;;;8295:2;8280:18;13646:315:0;8161:177:1;49759:27:0;;;;;;;;;31450:2800;;;;;;:::i;:::-;;:::i;49827:40::-;;49864:3;49827:40;;23075:185;;;;;;:::i;:::-;;:::i;50605:100::-;;;;;;:::i;:::-;;:::i;20028:144::-;;;;;;:::i;:::-;;:::i;15271:224::-;;;;;;:::i;:::-;;:::i;47330:103::-;;;:::i;49921:46::-;;;;;;:::i;:::-;;;;;;;;;;;;;;46679:87;46752:6;;-1:-1:-1;;;;;46752:6:0;46679:87;;20408:104;;;:::i;22461:308::-;;;;;;:::i;:::-;;:::i;23331:399::-;;;;;;:::i;:::-;;:::i;50833:97::-;;;;;;:::i;:::-;;:::i;20583:318::-;;;;;;:::i;:::-;;:::i;49793:27::-;;;;;;;;;;;;22840:164;;;;;;:::i;:::-;-1:-1:-1;;;;;22961:25:0;;;22937:4;22961:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;22840:164;49874:36;;49909:1;49874:36;;47588:201;;;;;;:::i;:::-;;:::i;14592:615::-;14677:4;-1:-1:-1;;;;;;;;;14977:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;15054:25:0;;;14977:102;:179;;;-1:-1:-1;;;;;;;;;;15131:25:0;;;14977:179;14957:199;14592:615;-1:-1:-1;;14592:615:0:o;20239:100::-;20293:13;20326:5;20319:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20239:100;:::o;22185:204::-;22253:7;22278:16;22286:7;22278;:16::i;:::-;22273:64;;22303:34;;-1:-1:-1;;;22303:34:0;;;;;;;;;;;22273:64;-1:-1:-1;22357:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;22357:24:0;;22185:204::o;21733:386::-;21806:13;21822:16;21830:7;21822;:16::i;:::-;21806:32;-1:-1:-1;42633:10:0;-1:-1:-1;;;;;21855:28:0;;;21851:175;;21903:44;21920:5;42633:10;22840:164;:::i;21903:44::-;21898:128;;21975:35;;-1:-1:-1;;;21975:35:0;;;;;;;;;;;21898:128;22038:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;22038:29:0;-1:-1:-1;;;;;22038:29:0;;;;;;;;;22083:28;;22038:24;;22083:28;;;;;;;21795:324;21733:386;;:::o;50202:393::-;50244:7;;;;50236:67;;;;-1:-1:-1;;;50236:67:0;;7947:2:1;50236:67:0;;;7929:21:1;7986:2;7966:18;;;7959:30;8025:34;8005:18;;;7998:62;-1:-1:-1;;;8076:18:1;;;8069:45;8131:19;;50236:67:0;;;;;;;;;42633:10;50320:28;;;;:14;:28;;;;;;49909:1;-1:-1:-1;50312:99:0;;;;-1:-1:-1;;;50312:99:0;;6763:2:1;50312:99:0;;;6745:21:1;6802:2;6782:18;;;6775:30;6841:34;6821:18;;;6814:62;-1:-1:-1;;;6892:18:1;;;6885:45;6947:19;;50312:99:0;6561:411:1;50312:99:0;50183:1;13912:12;13699:7;13896:13;49864:3;;13896:28;;-1:-1:-1;;13896:46:0;50428:26;50420:77;;;;-1:-1:-1;;;50420:77:0;;7540:2:1;50420:77:0;;;7522:21:1;7579:2;7559:18;;;7552:30;7618:34;7598:18;;;7591:62;-1:-1:-1;;;7669:18:1;;;7662:36;7715:19;;50420:77:0;7338:402:1;50420:77:0;42633:10;50521:28;;;;:14;:28;;;;;:33;;50553:1;;50521:28;:33;;50553:1;;50521:33;:::i;:::-;;;;-1:-1:-1;50563:24:0;;-1:-1:-1;50573:10:0;50585:1;50563:9;:24::i;:::-;50202:393::o;31450:2800::-;31584:27;31614;31633:7;31614:18;:27::i;:::-;31584:57;;31699:4;-1:-1:-1;;;;;31658:45:0;31674:19;-1:-1:-1;;;;;31658:45:0;;31654:86;;31712:28;;-1:-1:-1;;;31712:28:0;;;;;;;;;;;31654:86;31754:27;30180:21;;;30007:15;30222:4;30215:36;30304:4;30288:21;;30394:26;;42633:10;31147:30;;;-1:-1:-1;;;;;30845:26:0;;31126:19;;;31123:55;31933:174;;32020:43;32037:4;42633:10;22840:164;:::i;32020:43::-;32015:92;;32072:35;;-1:-1:-1;;;32072:35:0;;;;;;;;;;;32015:92;-1:-1:-1;;;;;32124:16:0;;32120:52;;32149:23;;-1:-1:-1;;;32149:23:0;;;;;;;;;;;32120:52;32321:15;32318:160;;;32461:1;32440:19;32433:30;32318:160;-1:-1:-1;;;;;32856:24:0;;;;;;;:18;:24;;;;;;32854:26;;-1:-1:-1;;32854:26:0;;;32925:22;;;;;;;;;32923:24;;-1:-1:-1;32923:24:0;;;19927:11;19903:22;19899:40;19886:62;-1:-1:-1;;;19886:62:0;33218:26;;;;:17;:26;;;;;:174;-1:-1:-1;;;33512:46:0;;33508:626;;33616:1;33606:11;;33584:19;33739:30;;;:17;:30;;;;;;33735:384;;33877:13;;33862:11;:28;33858:242;;34024:30;;;;:17;:30;;;;;:52;;;33858:242;33565:569;33508:626;34181:7;34177:2;-1:-1:-1;;;;;34162:27:0;34171:4;-1:-1:-1;;;;;34162:27:0;;;;;;;;;;;31573:2677;;;31450:2800;;;:::o;23075:185::-;23213:39;23230:4;23236:2;23240:7;23213:39;;;;;;;;;;;;:16;:39::i;:::-;23075:185;;;:::o;50605:100::-;46752:6;;-1:-1:-1;;;;;46752:6:0;42633:10;46899:23;46891:68;;;;-1:-1:-1;;;46891:68:0;;;;;;;:::i;:::-;50679:18;;::::1;::::0;:7:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;:::-;;50605:100:::0;:::o;20028:144::-;20092:7;20135:27;20154:7;20135:18;:27::i;15271:224::-;15335:7;-1:-1:-1;;;;;15359:19:0;;15355:60;;15387:28;;-1:-1:-1;;;15387:28:0;;;;;;;;;;;15355:60;-1:-1:-1;;;;;;15433:25:0;;;;;:18;:25;;;;;;9826:13;15433:54;;15271:224::o;47330:103::-;46752:6;;-1:-1:-1;;;;;46752:6:0;42633:10;46899:23;46891:68;;;;-1:-1:-1;;;46891:68:0;;;;;;;:::i;:::-;47395:30:::1;47422:1;47395:18;:30::i;20408:104::-:0;20464:13;20497:7;20490:14;;;;;:::i;22461:308::-;-1:-1:-1;;;;;22560:31:0;;42633:10;22560:31;22556:61;;;22600:17;;-1:-1:-1;;;22600:17:0;;;;;;;;;;;22556:61;42633:10;22630:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;22630:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;22630:60:0;;;;;;;;;;22706:55;;5878:41:1;;;22630:49:0;;42633:10;22706:55;;5851:18:1;22706:55:0;;;;;;;22461:308;;:::o;23331:399::-;23498:31;23511:4;23517:2;23521:7;23498:12;:31::i;:::-;-1:-1:-1;;;;;23544:14:0;;;:19;23540:183;;23583:56;23614:4;23620:2;23624:7;23633:5;23583:30;:56::i;:::-;23578:145;;23667:40;;-1:-1:-1;;;23667:40:0;;;;;;;;;;;23578:145;23331:399;;;;:::o;50833:97::-;46752:6;;-1:-1:-1;;;;;46752:6:0;42633:10;46899:23;46891:68;;;;-1:-1:-1;;;46891:68:0;;;;;;;:::i;:::-;50901:7:::1;:21:::0;;-1:-1:-1;;50901:21:0::1;::::0;::::1;;::::0;;;::::1;::::0;;50833:97::o;20583:318::-;20656:13;20687:16;20695:7;20687;:16::i;:::-;20682:59;;20712:29;;-1:-1:-1;;;20712:29:0;;;;;;;;;;;20682:59;20754:21;20778:10;:8;:10::i;:::-;20754:34;;20812:7;20806:21;20831:1;20806:26;;:87;;;;;;;;;;;;;;;;;20859:7;20868:18;20878:7;20868:9;:18::i;:::-;20842:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;20806:87;20799:94;20583:318;-1:-1:-1;;;20583:318:0:o;47588:201::-;46752:6;;-1:-1:-1;;;;;46752:6:0;42633:10;46899:23;46891:68;;;;-1:-1:-1;;;46891:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;47677:22:0;::::1;47669:73;;;::::0;-1:-1:-1;;;47669:73:0;;6356:2:1;47669:73:0::1;::::0;::::1;6338:21:1::0;6395:2;6375:18;;;6368:30;6434:34;6414:18;;;6407:62;-1:-1:-1;;;6485:18:1;;;6478:36;6531:19;;47669:73:0::1;6154:402:1::0;47669:73:0::1;47753:28;47772:8;47753:18;:28::i;:::-;47588:201:::0;:::o;23985:273::-;24042:4;24098:7;50183:1;24079:26;;:66;;;;;24132:13;;24122:7;:23;24079:66;:152;;;;-1:-1:-1;;24183:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;24183:43:0;:48;;23985:273::o;24342:104::-;24411:27;24421:2;24425:8;24411:27;;;;;;;;;;;;:9;:27::i;16945:1129::-;17012:7;17047;;50183:1;17096:23;17092:915;;17149:13;;17142:4;:20;17138:869;;;17187:14;17204:23;;;:17;:23;;;;;;-1:-1:-1;;;17293:23:0;;17289:699;;17812:113;17819:11;17812:113;;-1:-1:-1;;;17890:6:0;17872:25;;;;:17;:25;;;;;;17812:113;;17289:699;17164:843;17138:869;18035:31;;-1:-1:-1;;;18035:31:0;;;;;;;;;;;47949:191;48042:6;;;-1:-1:-1;;;;;48059:17:0;;;-1:-1:-1;;;;;;48059:17:0;;;;;;;48092:40;;48042:6;;;48059:17;48042:6;;48092:40;;48023:16;;48092:40;48012:128;47949:191;:::o;38201:716::-;38385:88;;-1:-1:-1;;;38385:88:0;;38364:4;;-1:-1:-1;;;;;38385:45:0;;;;;:88;;42633:10;;38452:4;;38458:7;;38467:5;;38385:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38385:88:0;;;;;;;;-1:-1:-1;;38385:88:0;;;;;;;;;;;;:::i;:::-;;;38381:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38668:13:0;;38664:235;;38714:40;;-1:-1:-1;;;38714:40:0;;;;;;;;;;;38664:235;38857:6;38851:13;38842:6;38838:2;38834:15;38827:38;38381:529;-1:-1:-1;;;;;;38544:64:0;-1:-1:-1;;;38544:64:0;;-1:-1:-1;38381:529:0;38201:716;;;;;;:::o;50715:108::-;50775:13;50808:7;50801:14;;;;;:::i;42757:1960::-;43226:4;43220:11;;43233:3;43216:21;;43311:17;;;;44007:11;;;43886:5;44139:2;44153;44143:13;;44135:22;44007:11;44122:36;44194:2;44184:13;;43778:697;44213:4;43778:697;;;44404:1;44399:3;44395:11;44388:18;;44455:2;44449:4;44445:13;44441:2;44437:22;44432:3;44424:36;44308:2;44298:13;;43778:697;;;-1:-1:-1;44505:13:0;;;-1:-1:-1;;44620:12:0;;;44680:19;;;44620:12;42757:1960;-1:-1:-1;42757:1960:0:o;24862:681::-;24985:19;24991:2;24995:8;24985:5;:19::i;:::-;-1:-1:-1;;;;;25046:14:0;;;:19;25042:483;;25086:11;25100:13;25148:14;;;25181:233;25212:62;25251:1;25255:2;25259:7;;;;;;25268:5;25212:30;:62::i;:::-;25207:167;;25310:40;;-1:-1:-1;;;25310:40:0;;;;;;;;;;;25207:167;25409:3;25401:5;:11;25181:233;;25496:3;25479:13;;:20;25475:34;;25501:8;;;25475:34;25067:458;;24862:681;;;:::o;25816:1529::-;25881:20;25904:13;-1:-1:-1;;;;;25932:16:0;;25928:48;;25957:19;;-1:-1:-1;;;25957:19:0;;;;;;;;;;;25928:48;25991:13;25987:44;;26013:18;;-1:-1:-1;;;26013:18:0;;;;;;;;;;;25987:44;-1:-1:-1;;;;;26519:22:0;;;;;;:18;:22;;9963:2;26519:22;;:70;;26557:31;26545:44;;26519:70;;;19927:11;19903:22;19899:40;-1:-1:-1;21637:15:0;;21612:23;21608:45;19896:51;19886:62;26832:31;;;;:17;:31;;;;;:173;26850:12;27081:23;;;27119:101;27146:35;;27171:9;;;;;-1:-1:-1;;;;;27146:35:0;;;27163:1;;27146:35;;27163:1;;27146:35;27215:3;27205:7;:13;27119:101;;27236:13;:19;-1:-1:-1;23075:185:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:160::-;893:20;;949:13;;942:21;932:32;;922:60;;978:1;975;968:12;993:186;1052:6;1105:2;1093:9;1084:7;1080:23;1076:32;1073:52;;;1121:1;1118;1111:12;1073:52;1144:29;1163:9;1144:29;:::i;1184:260::-;1252:6;1260;1313:2;1301:9;1292:7;1288:23;1284:32;1281:52;;;1329:1;1326;1319:12;1281:52;1352:29;1371:9;1352:29;:::i;:::-;1342:39;;1400:38;1434:2;1423:9;1419:18;1400:38;:::i;:::-;1390:48;;1184:260;;;;;:::o;1449:328::-;1526:6;1534;1542;1595:2;1583:9;1574:7;1570:23;1566:32;1563:52;;;1611:1;1608;1601:12;1563:52;1634:29;1653:9;1634:29;:::i;:::-;1624:39;;1682:38;1716:2;1705:9;1701:18;1682:38;:::i;:::-;1672:48;;1767:2;1756:9;1752:18;1739:32;1729:42;;1449:328;;;;;:::o;1782:666::-;1877:6;1885;1893;1901;1954:3;1942:9;1933:7;1929:23;1925:33;1922:53;;;1971:1;1968;1961:12;1922:53;1994:29;2013:9;1994:29;:::i;:::-;1984:39;;2042:38;2076:2;2065:9;2061:18;2042:38;:::i;:::-;2032:48;;2127:2;2116:9;2112:18;2099:32;2089:42;;2182:2;2171:9;2167:18;2154:32;2209:18;2201:6;2198:30;2195:50;;;2241:1;2238;2231:12;2195:50;2264:22;;2317:4;2309:13;;2305:27;-1:-1:-1;2295:55:1;;2346:1;2343;2336:12;2295:55;2369:73;2434:7;2429:2;2416:16;2411:2;2407;2403:11;2369:73;:::i;:::-;2359:83;;;1782:666;;;;;;;:::o;2453:254::-;2518:6;2526;2579:2;2567:9;2558:7;2554:23;2550:32;2547:52;;;2595:1;2592;2585:12;2547:52;2618:29;2637:9;2618:29;:::i;:::-;2608:39;;2666:35;2697:2;2686:9;2682:18;2666:35;:::i;2712:254::-;2780:6;2788;2841:2;2829:9;2820:7;2816:23;2812:32;2809:52;;;2857:1;2854;2847:12;2809:52;2880:29;2899:9;2880:29;:::i;:::-;2870:39;2956:2;2941:18;;;;2928:32;;-1:-1:-1;;;2712:254:1:o;2971:180::-;3027:6;3080:2;3068:9;3059:7;3055:23;3051:32;3048:52;;;3096:1;3093;3086:12;3048:52;3119:26;3135:9;3119:26;:::i;3156:245::-;3214:6;3267:2;3255:9;3246:7;3242:23;3238:32;3235:52;;;3283:1;3280;3273:12;3235:52;3322:9;3309:23;3341:30;3365:5;3341:30;:::i;3406:249::-;3475:6;3528:2;3516:9;3507:7;3503:23;3499:32;3496:52;;;3544:1;3541;3534:12;3496:52;3576:9;3570:16;3595:30;3619:5;3595:30;:::i;3660:450::-;3729:6;3782:2;3770:9;3761:7;3757:23;3753:32;3750:52;;;3798:1;3795;3788:12;3750:52;3838:9;3825:23;3871:18;3863:6;3860:30;3857:50;;;3903:1;3900;3893:12;3857:50;3926:22;;3979:4;3971:13;;3967:27;-1:-1:-1;3957:55:1;;4008:1;4005;3998:12;3957:55;4031:73;4096:7;4091:2;4078:16;4073:2;4069;4065:11;4031:73;:::i;4115:180::-;4174:6;4227:2;4215:9;4206:7;4202:23;4198:32;4195:52;;;4243:1;4240;4233:12;4195:52;-1:-1:-1;4266:23:1;;4115:180;-1:-1:-1;4115:180:1:o;4300:257::-;4341:3;4379:5;4373:12;4406:6;4401:3;4394:19;4422:63;4478:6;4471:4;4466:3;4462:14;4455:4;4448:5;4444:16;4422:63;:::i;:::-;4539:2;4518:15;-1:-1:-1;;4514:29:1;4505:39;;;;4546:4;4501:50;;4300:257;-1:-1:-1;;4300:257:1:o;4562:470::-;4741:3;4779:6;4773:13;4795:53;4841:6;4836:3;4829:4;4821:6;4817:17;4795:53;:::i;:::-;4911:13;;4870:16;;;;4933:57;4911:13;4870:16;4967:4;4955:17;;4933:57;:::i;:::-;5006:20;;4562:470;-1:-1:-1;;;;4562:470:1:o;5245:488::-;-1:-1:-1;;;;;5514:15:1;;;5496:34;;5566:15;;5561:2;5546:18;;5539:43;5613:2;5598:18;;5591:34;;;5661:3;5656:2;5641:18;;5634:31;;;5439:4;;5682:45;;5707:19;;5699:6;5682:45;:::i;:::-;5674:53;5245:488;-1:-1:-1;;;;;;5245:488:1:o;5930:219::-;6079:2;6068:9;6061:21;6042:4;6099:44;6139:2;6128:9;6124:18;6116:6;6099:44;:::i;6977:356::-;7179:2;7161:21;;;7198:18;;;7191:30;7257:34;7252:2;7237:18;;7230:62;7324:2;7309:18;;6977:356::o;8343:225::-;8383:3;8414:1;8410:6;8407:1;8404:13;8401:136;;;8459:10;8454:3;8450:20;8447:1;8440:31;8494:4;8491:1;8484:15;8522:4;8519:1;8512:15;8401:136;-1:-1:-1;8553:9:1;;8343:225::o;8573:258::-;8645:1;8655:113;8669:6;8666:1;8663:13;8655:113;;;8745:11;;;8739:18;8726:11;;;8719:39;8691:2;8684:10;8655:113;;;8786:6;8783:1;8780:13;8777:48;;;-1:-1:-1;;8821:1:1;8803:16;;8796:27;8573:258::o;8836:380::-;8915:1;8911:12;;;;8958;;;8979:61;;9033:4;9025:6;9021:17;9011:27;;8979:61;9086:2;9078:6;9075:14;9055:18;9052:38;9049:161;;;9132:10;9127:3;9123:20;9120:1;9113:31;9167:4;9164:1;9157:15;9195:4;9192:1;9185:15;9049:161;;8836:380;;;:::o;9221:127::-;9282:10;9277:3;9273:20;9270:1;9263:31;9313:4;9310:1;9303:15;9337:4;9334:1;9327:15;9353:131;-1:-1:-1;;;;;;9427:32:1;;9417:43;;9407:71;;9474:1;9471;9464:12
Swarm Source
ipfs://7c41dfd3d11fb5dcdb980ac84ce32052ee790271ec2ab4b38b6aa046fa33dcdb
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.