Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
9,999 TOGT
Holders
313
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
20 TOGTLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TheOtherGoblinTown
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-05-29 */ //@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ //@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ //@@@@@@@@@@@@@@@@@@##@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@* %@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ //@@@@@@@@@@@@@@ @@@@ *@@@@@@@@@@@@@@ @@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@ .@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ //@@@@@@@@@@@# %@@@@@@@@@ @@ /@@@@@@@@@@ @@@@@@@@@@@@ @@@@@@@@@@@@@ /@ /@@ @@@@@ @@@@@ @@@@@@@@ @@@@@@@@@@@@@@@@@@@@./@* .@@@@@@@@@@@@@@ //@@@@@@@@@@* @@@@@@@@@@@@ @@ @@@@@@@@@@@@ (@% &@@@@@@ @@@,@@@@@@@ #@@@@% @@@@@@ #@@@@ @@ @@@@@@@@@@@@@@@@. @/ @@@@@@@@@@@@ @@@@@@@@@@@@ //@@@@@@@@@@ /@@@@@@@@@@@@@ @ @@@ # @@@@@@@@@. @@ (@@@ @@@@@ @@@@@@@ @@@@@@ @@ &@@@@@@@@@ @ @@@@@@@ @@@@@@@/ @ @@@@@@@@@@@@@ @@@@@@@@@@@ //@@@@@@@@@@ @@@@@@@@@@@@ @@@@@@@@@@@@@ @@@@@@@@@@ @/ @@@& @@@/ @@@@@@@@ @@@@@@@ .@@@@@@@@@@@@ & @@@@@@ (@@@@@@ @ &@@@@@@@@@@@@@( @@@@@@@@@@ //@@@@@@@@@@@ .@@@@@. ,@@@ @@@@@@@@@@@@ @@@@@@@@@ @@ .@@@ @@@ @@@@@@@@ @@@@@@@@ # @@@@@@@@@@@@@ @@@@@ @@@@@ @@@ @@@@@@@@@@@@@@ @@@@@@@@@ //@@@@@@@@@@@@@@@@@@@@@@@@@@% @@@@@@@@@@@@@ % ,@@ @@@ @@@@ @@@@ &@@@@@ (@@@@@@@@/ @@@@@@@@@@@* @ @@@* @ @@@@. @@@@# @@@@@@@@@@@@@@@ @@@@@@@@ //@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@ @ ,@@@@@@@@@@@@ *@@@@@ @@@@@@@@@@@@@@@@@@@@@@ @ %@@@@@@@ @@@@, @@ @@ @@ @@@@@@ @@@@@@@@@@@@@@@ @@@@@@@@ //@@@@@@@@@@ %@@@@@@@@@@@@@@ *@ @@@@@@@ &@@( @@@@@@@@@@@@ %@@@@@@@@@@@@@@@@@@@@@@@@@@@@* @@@@ @@@@@@@@@@@@@@@@# @ @@@@@@@ @@@@@@@@@@@@@@@ @@@@@@@@ //@@@@@@@@@@@@ .@@@@@@ @@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@ //@@@@@@@@@@@@@@@@@@@@@* %@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ //@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // 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: TheOtherGoblinTown.sol pragma solidity 0.8.7; contract TheOtherGoblinTown is ERC721A, Ownable { // Supply uint256 public maxGoblins = 9999; // URI string public baseURI = "ipfs://Qmf7xqK4yhZeTMJxq9rpTuEweSoZ27HgX2CJLffeUCAKPw/"; // Constructor constructor() ERC721A("The Other Goblin Town", "TOGT") {} // Mint - Functions function makeGoblin(uint256 _goblins) external payable { require(totalSupply() + _goblins <= maxGoblins, "Guardian: Fucker, no more goblins can be made."); _safeMint(msg.sender, _goblins); } function makeGoblinForKing(uint256 _goblins, address _receiver) external payable onlyOwner { require(totalSupply() + _goblins <= maxGoblins, "Guardian: Fucker, no more goblins can be made."); _safeMint(_receiver, _goblins); } // Other - Functions function setBaseURI(string memory _uri) public onlyOwner { baseURI = _uri; } function _baseURI() internal view override returns (string memory) { return baseURI; } function withdraw() external payable onlyOwner { payable(owner()).transfer(address(this).balance); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"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":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":[{"internalType":"uint256","name":"_goblins","type":"uint256"}],"name":"makeGoblin","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_goblins","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"makeGoblinForKing","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"maxGoblins","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
61270f60095560e06040526036608081815290620017b660a03980516200002f91600a916020909101906200011f565b503480156200003d57600080fd5b50604080518082018252601581527f546865204f7468657220476f626c696e20546f776e00000000000000000000006020808301918252835180850190945260048452631513d1d560e21b9084015281519192916200009f916002916200011f565b508051620000b59060039060208401906200011f565b50506000805550620000c733620000cd565b62000202565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200012d90620001c5565b90600052602060002090601f0160209004810192826200015157600085556200019c565b82601f106200016c57805160ff19168380011785556200019c565b828001600101855582156200019c579182015b828111156200019c5782518255916020019190600101906200017f565b50620001aa929150620001ae565b5090565b5b80821115620001aa5760008155600101620001af565b600181811c90821680620001da57607f821691505b60208210811415620001fc57634e487b7160e01b600052602260045260246000fd5b50919050565b6115a480620002126000396000f3fe6080604052600436106101405760003560e01c80636c0360eb116100b6578063a22cb4651161006f578063a22cb46514610347578063a2a670fd14610367578063b88d4fde1461037a578063c87b56dd1461039a578063e985e9c5146103ba578063f2fde38b1461040357600080fd5b80636c0360eb146102b457806370a08231146102c9578063715018a6146102e95780638da5cb5b146102fe57806395d89b411461031c5780639751dc541461033157600080fd5b80631c4116cd116101085780631c4116cd1461021957806323b872dd1461022c5780633ccfd60b1461024c57806342842e0e1461025457806355f804b3146102745780636352211e1461029457600080fd5b806301ffc9a71461014557806306fdde031461017a578063081812fc1461019c578063095ea7b3146101d457806318160ddd146101f6575b600080fd5b34801561015157600080fd5b506101656101603660046112c8565b610423565b60405190151581526020015b60405180910390f35b34801561018657600080fd5b5061018f610475565b604051610171919061141f565b3480156101a857600080fd5b506101bc6101b736600461134b565b610507565b6040516001600160a01b039091168152602001610171565b3480156101e057600080fd5b506101f46101ef36600461129e565b61054b565b005b34801561020257600080fd5b50600154600054035b604051908152602001610171565b6101f4610227366004611364565b61061e565b34801561023857600080fd5b506101f46102473660046111aa565b610698565b6101f46106a8565b34801561026057600080fd5b506101f461026f3660046111aa565b61070e565b34801561028057600080fd5b506101f461028f366004611302565b610729565b3480156102a057600080fd5b506101bc6102af36600461134b565b610766565b3480156102c057600080fd5b5061018f610771565b3480156102d557600080fd5b5061020b6102e436600461115c565b6107ff565b3480156102f557600080fd5b506101f461084e565b34801561030a57600080fd5b506008546001600160a01b03166101bc565b34801561032857600080fd5b5061018f610884565b34801561033d57600080fd5b5061020b60095481565b34801561035357600080fd5b506101f4610362366004611262565b610893565b6101f461037536600461134b565b610929565b34801561038657600080fd5b506101f46103953660046111e6565b61096c565b3480156103a657600080fd5b5061018f6103b536600461134b565b6109b6565b3480156103c657600080fd5b506101656103d5366004611177565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561040f57600080fd5b506101f461041e36600461115c565b610a3b565b60006301ffc9a760e01b6001600160e01b03198316148061045457506380ac58cd60e01b6001600160e01b03198316145b8061046f5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461048490611507565b80601f01602080910402602001604051908101604052809291908181526020018280546104b090611507565b80156104fd5780601f106104d2576101008083540402835291602001916104fd565b820191906000526020600020905b8154815290600101906020018083116104e057829003601f168201915b5050505050905090565b600061051282610ad3565b61052f576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061055682610afa565b9050806001600160a01b0316836001600160a01b0316141561058b5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146105c2576105a581336103d5565b6105c2576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b031633146106515760405162461bcd60e51b815260040161064890611480565b60405180910390fd5b600954826106626001546000540390565b61066c91906114b5565b111561068a5760405162461bcd60e51b815260040161064890611432565b6106948183610b5b565b5050565b6106a3838383610b75565b505050565b6008546001600160a01b031633146106d25760405162461bcd60e51b815260040161064890611480565b6008546040516001600160a01b03909116904780156108fc02916000818181858888f1935050505015801561070b573d6000803e3d6000fd5b50565b6106a38383836040518060200160405280600081525061096c565b6008546001600160a01b031633146107535760405162461bcd60e51b815260040161064890611480565b805161069490600a906020840190611031565b600061046f82610afa565b600a805461077e90611507565b80601f01602080910402602001604051908101604052809291908181526020018280546107aa90611507565b80156107f75780601f106107cc576101008083540402835291602001916107f7565b820191906000526020600020905b8154815290600101906020018083116107da57829003601f168201915b505050505081565b60006001600160a01b038216610828576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146108785760405162461bcd60e51b815260040161064890611480565b6108826000610d18565b565b60606003805461048490611507565b6001600160a01b0382163314156108bd5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6009548161093a6001546000540390565b61094491906114b5565b11156109625760405162461bcd60e51b815260040161064890611432565b61070b3382610b5b565b610977848484610b75565b6001600160a01b0383163b156109b05761099384848484610d6a565b6109b0576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606109c182610ad3565b6109de57604051630a14c4b560e41b815260040160405180910390fd5b60006109e8610e62565b9050805160001415610a095760405180602001604052806000815250610a34565b80610a1384610e71565b604051602001610a249291906113b3565b6040516020818303038152906040525b9392505050565b6008546001600160a01b03163314610a655760405162461bcd60e51b815260040161064890611480565b6001600160a01b038116610aca5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610648565b61070b81610d18565b600080548210801561046f575050600090815260046020526040902054600160e01b161590565b600081600054811015610b4257600081815260046020526040902054600160e01b8116610b40575b80610a34575060001901600081815260046020526040902054610b22565b505b604051636f96cda160e11b815260040160405180910390fd5b610694828260405180602001604052806000815250610ec0565b6000610b8082610afa565b9050836001600160a01b0316816001600160a01b031614610bb35760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480610bd15750610bd185336103d5565b80610bec575033610be184610507565b6001600160a01b0316145b905080610c0c57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610c3357604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091529020600160e11b4260a01b861781179091558216610cd05760018301600081815260046020526040902054610cce576000548114610cce5760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610d9f9033908990889088906004016113e2565b602060405180830381600087803b158015610db957600080fd5b505af1925050508015610de9575060408051601f3d908101601f19168201909252610de6918101906112e5565b60015b610e44573d808015610e17576040519150601f19603f3d011682016040523d82523d6000602084013e610e1c565b606091505b508051610e3c576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a805461048490611507565b604080516080810191829052607f0190826030600a8206018353600a90045b8015610eae57600183039250600a81066030018353600a9004610e90565b50819003601f19909101908152919050565b6000546001600160a01b038416610ee957604051622e076360e81b815260040160405180910390fd5b82610f075760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b15610fdc575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4610fa56000878480600101955087610d6a565b610fc2576040516368d2bf6b60e11b815260040160405180910390fd5b808210610f5a578260005414610fd757600080fd5b611021565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210610fdd575b5060009081556109b09085838684565b82805461103d90611507565b90600052602060002090601f01602090048101928261105f57600085556110a5565b82601f1061107857805160ff19168380011785556110a5565b828001600101855582156110a5579182015b828111156110a557825182559160200191906001019061108a565b506110b19291506110b5565b5090565b5b808211156110b157600081556001016110b6565b600067ffffffffffffffff808411156110e5576110e5611542565b604051601f8501601f19908116603f0116810190828211818310171561110d5761110d611542565b8160405280935085815286868601111561112657600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461115757600080fd5b919050565b60006020828403121561116e57600080fd5b610a3482611140565b6000806040838503121561118a57600080fd5b61119383611140565b91506111a160208401611140565b90509250929050565b6000806000606084860312156111bf57600080fd5b6111c884611140565b92506111d660208501611140565b9150604084013590509250925092565b600080600080608085870312156111fc57600080fd5b61120585611140565b935061121360208601611140565b925060408501359150606085013567ffffffffffffffff81111561123657600080fd5b8501601f8101871361124757600080fd5b611256878235602084016110ca565b91505092959194509250565b6000806040838503121561127557600080fd5b61127e83611140565b91506020830135801515811461129357600080fd5b809150509250929050565b600080604083850312156112b157600080fd5b6112ba83611140565b946020939093013593505050565b6000602082840312156112da57600080fd5b8135610a3481611558565b6000602082840312156112f757600080fd5b8151610a3481611558565b60006020828403121561131457600080fd5b813567ffffffffffffffff81111561132b57600080fd5b8201601f8101841361133c57600080fd5b610e5a848235602084016110ca565b60006020828403121561135d57600080fd5b5035919050565b6000806040838503121561137757600080fd5b823591506111a160208401611140565b6000815180845261139f8160208601602086016114db565b601f01601f19169290920160200192915050565b600083516113c58184602088016114db565b8351908301906113d98183602088016114db565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061141590830184611387565b9695505050505050565b602081526000610a346020830184611387565b6020808252602e908201527f477561726469616e3a204675636b65722c206e6f206d6f726520676f626c696e60408201526d399031b0b71031329036b0b2329760911b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156114d657634e487b7160e01b600052601160045260246000fd5b500190565b60005b838110156114f65781810151838201526020016114de565b838111156109b05750506000910152565b600181811c9082168061151b57607f821691505b6020821081141561153c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461070b57600080fdfea26469706673582212209b685af919ef905098c8ae31b8e2a24cac381eeb340ff6f2c167bc83dfa1e07d64736f6c63430008070033697066733a2f2f516d663778714b3479685a65544d4a78713972705475457765536f5a323748675832434a4c6666655543414b50772f
Deployed Bytecode
0x6080604052600436106101405760003560e01c80636c0360eb116100b6578063a22cb4651161006f578063a22cb46514610347578063a2a670fd14610367578063b88d4fde1461037a578063c87b56dd1461039a578063e985e9c5146103ba578063f2fde38b1461040357600080fd5b80636c0360eb146102b457806370a08231146102c9578063715018a6146102e95780638da5cb5b146102fe57806395d89b411461031c5780639751dc541461033157600080fd5b80631c4116cd116101085780631c4116cd1461021957806323b872dd1461022c5780633ccfd60b1461024c57806342842e0e1461025457806355f804b3146102745780636352211e1461029457600080fd5b806301ffc9a71461014557806306fdde031461017a578063081812fc1461019c578063095ea7b3146101d457806318160ddd146101f6575b600080fd5b34801561015157600080fd5b506101656101603660046112c8565b610423565b60405190151581526020015b60405180910390f35b34801561018657600080fd5b5061018f610475565b604051610171919061141f565b3480156101a857600080fd5b506101bc6101b736600461134b565b610507565b6040516001600160a01b039091168152602001610171565b3480156101e057600080fd5b506101f46101ef36600461129e565b61054b565b005b34801561020257600080fd5b50600154600054035b604051908152602001610171565b6101f4610227366004611364565b61061e565b34801561023857600080fd5b506101f46102473660046111aa565b610698565b6101f46106a8565b34801561026057600080fd5b506101f461026f3660046111aa565b61070e565b34801561028057600080fd5b506101f461028f366004611302565b610729565b3480156102a057600080fd5b506101bc6102af36600461134b565b610766565b3480156102c057600080fd5b5061018f610771565b3480156102d557600080fd5b5061020b6102e436600461115c565b6107ff565b3480156102f557600080fd5b506101f461084e565b34801561030a57600080fd5b506008546001600160a01b03166101bc565b34801561032857600080fd5b5061018f610884565b34801561033d57600080fd5b5061020b60095481565b34801561035357600080fd5b506101f4610362366004611262565b610893565b6101f461037536600461134b565b610929565b34801561038657600080fd5b506101f46103953660046111e6565b61096c565b3480156103a657600080fd5b5061018f6103b536600461134b565b6109b6565b3480156103c657600080fd5b506101656103d5366004611177565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561040f57600080fd5b506101f461041e36600461115c565b610a3b565b60006301ffc9a760e01b6001600160e01b03198316148061045457506380ac58cd60e01b6001600160e01b03198316145b8061046f5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461048490611507565b80601f01602080910402602001604051908101604052809291908181526020018280546104b090611507565b80156104fd5780601f106104d2576101008083540402835291602001916104fd565b820191906000526020600020905b8154815290600101906020018083116104e057829003601f168201915b5050505050905090565b600061051282610ad3565b61052f576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061055682610afa565b9050806001600160a01b0316836001600160a01b0316141561058b5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146105c2576105a581336103d5565b6105c2576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b031633146106515760405162461bcd60e51b815260040161064890611480565b60405180910390fd5b600954826106626001546000540390565b61066c91906114b5565b111561068a5760405162461bcd60e51b815260040161064890611432565b6106948183610b5b565b5050565b6106a3838383610b75565b505050565b6008546001600160a01b031633146106d25760405162461bcd60e51b815260040161064890611480565b6008546040516001600160a01b03909116904780156108fc02916000818181858888f1935050505015801561070b573d6000803e3d6000fd5b50565b6106a38383836040518060200160405280600081525061096c565b6008546001600160a01b031633146107535760405162461bcd60e51b815260040161064890611480565b805161069490600a906020840190611031565b600061046f82610afa565b600a805461077e90611507565b80601f01602080910402602001604051908101604052809291908181526020018280546107aa90611507565b80156107f75780601f106107cc576101008083540402835291602001916107f7565b820191906000526020600020905b8154815290600101906020018083116107da57829003601f168201915b505050505081565b60006001600160a01b038216610828576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146108785760405162461bcd60e51b815260040161064890611480565b6108826000610d18565b565b60606003805461048490611507565b6001600160a01b0382163314156108bd5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6009548161093a6001546000540390565b61094491906114b5565b11156109625760405162461bcd60e51b815260040161064890611432565b61070b3382610b5b565b610977848484610b75565b6001600160a01b0383163b156109b05761099384848484610d6a565b6109b0576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606109c182610ad3565b6109de57604051630a14c4b560e41b815260040160405180910390fd5b60006109e8610e62565b9050805160001415610a095760405180602001604052806000815250610a34565b80610a1384610e71565b604051602001610a249291906113b3565b6040516020818303038152906040525b9392505050565b6008546001600160a01b03163314610a655760405162461bcd60e51b815260040161064890611480565b6001600160a01b038116610aca5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610648565b61070b81610d18565b600080548210801561046f575050600090815260046020526040902054600160e01b161590565b600081600054811015610b4257600081815260046020526040902054600160e01b8116610b40575b80610a34575060001901600081815260046020526040902054610b22565b505b604051636f96cda160e11b815260040160405180910390fd5b610694828260405180602001604052806000815250610ec0565b6000610b8082610afa565b9050836001600160a01b0316816001600160a01b031614610bb35760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480610bd15750610bd185336103d5565b80610bec575033610be184610507565b6001600160a01b0316145b905080610c0c57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610c3357604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091529020600160e11b4260a01b861781179091558216610cd05760018301600081815260046020526040902054610cce576000548114610cce5760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610d9f9033908990889088906004016113e2565b602060405180830381600087803b158015610db957600080fd5b505af1925050508015610de9575060408051601f3d908101601f19168201909252610de6918101906112e5565b60015b610e44573d808015610e17576040519150601f19603f3d011682016040523d82523d6000602084013e610e1c565b606091505b508051610e3c576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a805461048490611507565b604080516080810191829052607f0190826030600a8206018353600a90045b8015610eae57600183039250600a81066030018353600a9004610e90565b50819003601f19909101908152919050565b6000546001600160a01b038416610ee957604051622e076360e81b815260040160405180910390fd5b82610f075760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b15610fdc575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4610fa56000878480600101955087610d6a565b610fc2576040516368d2bf6b60e11b815260040160405180910390fd5b808210610f5a578260005414610fd757600080fd5b611021565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210610fdd575b5060009081556109b09085838684565b82805461103d90611507565b90600052602060002090601f01602090048101928261105f57600085556110a5565b82601f1061107857805160ff19168380011785556110a5565b828001600101855582156110a5579182015b828111156110a557825182559160200191906001019061108a565b506110b19291506110b5565b5090565b5b808211156110b157600081556001016110b6565b600067ffffffffffffffff808411156110e5576110e5611542565b604051601f8501601f19908116603f0116810190828211818310171561110d5761110d611542565b8160405280935085815286868601111561112657600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461115757600080fd5b919050565b60006020828403121561116e57600080fd5b610a3482611140565b6000806040838503121561118a57600080fd5b61119383611140565b91506111a160208401611140565b90509250929050565b6000806000606084860312156111bf57600080fd5b6111c884611140565b92506111d660208501611140565b9150604084013590509250925092565b600080600080608085870312156111fc57600080fd5b61120585611140565b935061121360208601611140565b925060408501359150606085013567ffffffffffffffff81111561123657600080fd5b8501601f8101871361124757600080fd5b611256878235602084016110ca565b91505092959194509250565b6000806040838503121561127557600080fd5b61127e83611140565b91506020830135801515811461129357600080fd5b809150509250929050565b600080604083850312156112b157600080fd5b6112ba83611140565b946020939093013593505050565b6000602082840312156112da57600080fd5b8135610a3481611558565b6000602082840312156112f757600080fd5b8151610a3481611558565b60006020828403121561131457600080fd5b813567ffffffffffffffff81111561132b57600080fd5b8201601f8101841361133c57600080fd5b610e5a848235602084016110ca565b60006020828403121561135d57600080fd5b5035919050565b6000806040838503121561137757600080fd5b823591506111a160208401611140565b6000815180845261139f8160208601602086016114db565b601f01601f19169290920160200192915050565b600083516113c58184602088016114db565b8351908301906113d98183602088016114db565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061141590830184611387565b9695505050505050565b602081526000610a346020830184611387565b6020808252602e908201527f477561726469616e3a204675636b65722c206e6f206d6f726520676f626c696e60408201526d399031b0b71031329036b0b2329760911b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156114d657634e487b7160e01b600052601160045260246000fd5b500190565b60005b838110156114f65781810151838201526020016114de565b838111156109b05750506000910152565b600181811c9082168061151b57607f821691505b6020821081141561153c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461070b57600080fdfea26469706673582212209b685af919ef905098c8ae31b8e2a24cac381eeb340ff6f2c167bc83dfa1e07d64736f6c63430008070033
Deployed Bytecode Sourcemap
44147:1148:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18808:615;;;;;;;;;;-1:-1:-1;18808:615:0;;;;;:::i;:::-;;:::i;:::-;;;5905:14:1;;5898:22;5880:41;;5868:2;5853:18;18808:615:0;;;;;;;;23821:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;25889:204::-;;;;;;;;;;-1:-1:-1;25889:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5203:32:1;;;5185:51;;5173:2;5158:18;25889:204:0;5039:203:1;25349:474:0;;;;;;;;;;-1:-1:-1;25349:474:0;;;;;:::i;:::-;;:::i;:::-;;17862:315;;;;;;;;;;-1:-1:-1;18128:12:0;;17915:7;18112:13;:28;17862:315;;;7485:25:1;;;7473:2;7458:18;17862:315:0;7339:177:1;44690:248:0;;;;;;:::i;:::-;;:::i;26775:170::-;;;;;;;;;;-1:-1:-1;26775:170:0;;;;;:::i;:::-;;:::i;45178:114::-;;;:::i;27016:185::-;;;;;;;;;;-1:-1:-1;27016:185:0;;;;;:::i;:::-;;:::i;44972:90::-;;;;;;;;;;-1:-1:-1;44972:90:0;;;;;:::i;:::-;;:::i;23610:144::-;;;;;;;;;;-1:-1:-1;23610:144:0;;;;;:::i;:::-;;:::i;44270:80::-;;;;;;;;;;;;;:::i;19487:224::-;;;;;;;;;;-1:-1:-1;19487:224:0;;;;;:::i;:::-;;:::i;4918:103::-;;;;;;;;;;;;;:::i;4267:87::-;;;;;;;;;;-1:-1:-1;4340:6:0;;-1:-1:-1;;;;;4340:6:0;4267:87;;23990:104;;;;;;;;;;;;;:::i;44217:32::-;;;;;;;;;;;;;;;;26165:308;;;;;;;;;;-1:-1:-1;26165:308:0;;;;;:::i;:::-;;:::i;44469:213::-;;;;;;:::i;:::-;;:::i;27272:396::-;;;;;;;;;;-1:-1:-1;27272:396:0;;;;;:::i;:::-;;:::i;24165:318::-;;;;;;;;;;-1:-1:-1;24165:318:0;;;;;:::i;:::-;;:::i;26544:164::-;;;;;;;;;;-1:-1:-1;26544:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;26665:25:0;;;26641:4;26665:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;26544:164;5176:201;;;;;;;;;;-1:-1:-1;5176:201:0;;;;;:::i;:::-;;:::i;18808:615::-;18893:4;-1:-1:-1;;;;;;;;;19193:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;19270:25:0;;;19193:102;:179;;;-1:-1:-1;;;;;;;;;;19347:25:0;;;19193:179;19173:199;18808:615;-1:-1:-1;;18808:615:0:o;23821:100::-;23875:13;23908:5;23901:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23821:100;:::o;25889:204::-;25957:7;25982:16;25990:7;25982;:16::i;:::-;25977:64;;26007:34;;-1:-1:-1;;;26007:34:0;;;;;;;;;;;25977:64;-1:-1:-1;26061:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;26061:24:0;;25889:204::o;25349:474::-;25422:13;25454:27;25473:7;25454:18;:27::i;:::-;25422:61;;25504:5;-1:-1:-1;;;;;25498:11:0;:2;-1:-1:-1;;;;;25498:11:0;;25494:48;;;25518:24;;-1:-1:-1;;;25518:24:0;;;;;;;;;;;25494:48;41992:10;-1:-1:-1;;;;;25559:28:0;;;25555:175;;25607:44;25624:5;41992:10;26544:164;:::i;25607:44::-;25602:128;;25679:35;;-1:-1:-1;;;25679:35:0;;;;;;;;;;;25602:128;25742:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;25742:29:0;-1:-1:-1;;;;;25742:29:0;;;;;;;;;25787:28;;25742:24;;25787:28;;;;;;;25411:412;25349:474;;:::o;44690:248::-;4340:6;;-1:-1:-1;;;;;4340:6:0;41992:10;4487:23;4479:68;;;;-1:-1:-1;;;4479:68:0;;;;;;;:::i;:::-;;;;;;;;;44828:10:::1;;44816:8;44800:13;18128:12:::0;;17915:7;18112:13;:28;;17862:315;44800:13:::1;:24;;;;:::i;:::-;:38;;44792:97;;;;-1:-1:-1::0;;;44792:97:0::1;;;;;;;:::i;:::-;44900:30;44910:9;44921:8;44900:9;:30::i;:::-;44690:248:::0;;:::o;26775:170::-;26909:28;26919:4;26925:2;26929:7;26909:9;:28::i;:::-;26775:170;;;:::o;45178:114::-;4340:6;;-1:-1:-1;;;;;4340:6:0;41992:10;4487:23;4479:68;;;;-1:-1:-1;;;4479:68:0;;;;;;;:::i;:::-;4340:6;;45236:48:::1;::::0;-1:-1:-1;;;;;4340:6:0;;;;45262:21:::1;45236:48:::0;::::1;;;::::0;::::1;::::0;;;45262:21;4340:6;45236:48;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;45178:114::o:0;27016:185::-;27154:39;27171:4;27177:2;27181:7;27154:39;;;;;;;;;;;;:16;:39::i;44972:90::-;4340:6;;-1:-1:-1;;;;;4340:6:0;41992:10;4487:23;4479:68;;;;-1:-1:-1;;;4479:68:0;;;;;;;:::i;:::-;45040:14;;::::1;::::0;:7:::1;::::0;:14:::1;::::0;::::1;::::0;::::1;:::i;23610:144::-:0;23674:7;23717:27;23736:7;23717:18;:27::i;44270:80::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;19487:224::-;19551:7;-1:-1:-1;;;;;19575:19:0;;19571:60;;19603:28;;-1:-1:-1;;;19603:28:0;;;;;;;;;;;19571:60;-1:-1:-1;;;;;;19649:25:0;;;;;:18;:25;;;;;;14826:13;19649:54;;19487:224::o;4918:103::-;4340:6;;-1:-1:-1;;;;;4340:6:0;41992:10;4487:23;4479:68;;;;-1:-1:-1;;;4479:68:0;;;;;;;:::i;:::-;4983:30:::1;5010:1;4983:18;:30::i;:::-;4918:103::o:0;23990:104::-;24046:13;24079:7;24072:14;;;;;:::i;26165:308::-;-1:-1:-1;;;;;26264:31:0;;41992:10;26264:31;26260:61;;;26304:17;;-1:-1:-1;;;26304:17:0;;;;;;;;;;;26260:61;41992:10;26334:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;26334:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;26334:60:0;;;;;;;;;;26410:55;;5880:41:1;;;26334:49:0;;41992:10;26410:55;;5853:18:1;26410:55:0;;;;;;;26165:308;;:::o;44469:213::-;44571:10;;44559:8;44543:13;18128:12;;17915:7;18112:13;:28;;17862:315;44543:13;:24;;;;:::i;:::-;:38;;44535:97;;;;-1:-1:-1;;;44535:97:0;;;;;;;:::i;:::-;44643:31;44653:10;44665:8;44643:9;:31::i;27272:396::-;27439:28;27449:4;27455:2;27459:7;27439:9;:28::i;:::-;-1:-1:-1;;;;;27482:14:0;;;:19;27478:183;;27521:56;27552:4;27558:2;27562:7;27571:5;27521:30;:56::i;:::-;27516:145;;27605:40;;-1:-1:-1;;;27605:40:0;;;;;;;;;;;27516:145;27272:396;;;;:::o;24165:318::-;24238:13;24269:16;24277:7;24269;:16::i;:::-;24264:59;;24294:29;;-1:-1:-1;;;24294:29:0;;;;;;;;;;;24264:59;24336:21;24360:10;:8;:10::i;:::-;24336:34;;24394:7;24388:21;24413:1;24388:26;;:87;;;;;;;;;;;;;;;;;24441:7;24450:18;24460:7;24450:9;:18::i;:::-;24424:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;24388:87;24381:94;24165:318;-1:-1:-1;;;24165:318:0:o;5176:201::-;4340:6;;-1:-1:-1;;;;;4340:6:0;41992:10;4487:23;4479:68;;;;-1:-1:-1;;;4479:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;5265:22:0;::::1;5257:73;;;::::0;-1:-1:-1;;;5257:73:0;;6358:2:1;5257:73:0::1;::::0;::::1;6340:21:1::0;6397:2;6377:18;;;6370:30;6436:34;6416:18;;;6409:62;-1:-1:-1;;;6487:18:1;;;6480:36;6533:19;;5257:73:0::1;6156:402:1::0;5257:73:0::1;5341:28;5360:8;5341:18;:28::i;27923:273::-:0;27980:4;28070:13;;28060:7;:23;28017:152;;;;-1:-1:-1;;28121:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;28121:43:0;:48;;27923:273::o;21125:1129::-;21192:7;21227;21329:13;;21322:4;:20;21318:869;;;21367:14;21384:23;;;:17;:23;;;;;;-1:-1:-1;;;21473:23:0;;21469:699;;21992:113;21999:11;21992:113;;-1:-1:-1;;;22070:6:0;22052:25;;;;:17;:25;;;;;;21992:113;;21469:699;21344:843;21318:869;22215:31;;-1:-1:-1;;;22215:31:0;;;;;;;;;;;28280:104;28349:27;28359:2;28363:8;28349:27;;;;;;;;;;;;:9;:27::i;33162:2515::-;33277:27;33307;33326:7;33307:18;:27::i;:::-;33277:57;;33392:4;-1:-1:-1;;;;;33351:45:0;33367:19;-1:-1:-1;;;;;33351:45:0;;33347:86;;33405:28;;-1:-1:-1;;;33405:28:0;;;;;;;;;;;33347:86;33446:22;41992:10;-1:-1:-1;;;;;33472:27:0;;;;:87;;-1:-1:-1;33516:43:0;33533:4;41992:10;26544:164;:::i;33516:43::-;33472:147;;;-1:-1:-1;41992:10:0;33576:20;33588:7;33576:11;:20::i;:::-;-1:-1:-1;;;;;33576:43:0;;33472:147;33446:174;;33638:17;33633:66;;33664:35;;-1:-1:-1;;;33664:35:0;;;;;;;;;;;33633:66;-1:-1:-1;;;;;33714:16:0;;33710:52;;33739:23;;-1:-1:-1;;;33739:23:0;;;;;;;;;;;33710:52;33891:24;;;;:15;:24;;;;;;;;33884:31;;-1:-1:-1;;;;;;33884:31:0;;;-1:-1:-1;;;;;34283:24:0;;;;;:18;:24;;;;;34281:26;;-1:-1:-1;;34281:26:0;;;34352:22;;;;;;;34350:24;;-1:-1:-1;34350:24:0;;;34645:26;;;:17;:26;;;;;-1:-1:-1;;;34733:15:0;15480:3;34733:41;34691:84;;:128;;34645:174;;;34939:46;;34935:626;;35043:1;35033:11;;35011:19;35166:30;;;:17;:30;;;;;;35162:384;;35304:13;;35289:11;:28;35285:242;;35451:30;;;;:17;:30;;;;;:52;;;35285:242;34992:569;34935:626;35608:7;35604:2;-1:-1:-1;;;;;35589:27:0;35598:4;-1:-1:-1;;;;;35589:27:0;;;;;;;;;;;33266:2411;;33162:2515;;;:::o;5537:191::-;5630:6;;;-1:-1:-1;;;;;5647:17:0;;;-1:-1:-1;;;;;;5647:17:0;;;;;;;5680:40;;5630:6;;;5647:17;5630:6;;5680:40;;5611:16;;5680:40;5600:128;5537:191;:::o;39374:716::-;39558:88;;-1:-1:-1;;;39558:88:0;;39537:4;;-1:-1:-1;;;;;39558:45:0;;;;;:88;;41992:10;;39625:4;;39631:7;;39640:5;;39558:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39558:88:0;;;;;;;;-1:-1:-1;;39558:88:0;;;;;;;;;;;;:::i;:::-;;;39554:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39841:13:0;;39837:235;;39887:40;;-1:-1:-1;;;39887:40:0;;;;;;;;;;;39837:235;40030:6;40024:13;40015:6;40011:2;40007:15;40000:38;39554:529;-1:-1:-1;;;;;;39717:64:0;-1:-1:-1;;;39717:64:0;;-1:-1:-1;39554:529:0;39374:716;;;;;;:::o;45070:100::-;45122:13;45155:7;45148:14;;;;;:::i;42116:1959::-;42587:4;42581:11;;42594:3;42577:21;;42672:17;;;;43369:11;;;43248:5;43501:2;43515;43505:13;;43497:22;43369:11;43484:36;43556:2;43546:13;;43139:682;43575:4;43139:682;;;43750:1;43745:3;43741:11;43734:18;;43801:2;43795:4;43791:13;43787:2;43783:22;43778:3;43770:36;43671:2;43661:13;;43139:682;;;-1:-1:-1;43863:13:0;;;-1:-1:-1;;43978:12:0;;;44038:19;;;43978:12;42116:1959;-1:-1:-1;42116:1959:0:o;28757:2236::-;28880:20;28903:13;-1:-1:-1;;;;;28931:16:0;;28927:48;;28956:19;;-1:-1:-1;;;28956:19:0;;;;;;;;;;;28927:48;28990:13;28986:44;;29012:18;;-1:-1:-1;;;29012:18:0;;;;;;;;;;;28986:44;-1:-1:-1;;;;;29579:22:0;;;;;;:18;:22;;;;14963:2;29579:22;;;:70;;29617:31;29605:44;;29579:70;;;29892:31;;;:17;:31;;;;;29985:15;15480:3;29985:41;29943:84;;-1:-1:-1;30063:13:0;;15743:3;30048:56;29943:162;29892:213;;:31;;30186:23;;;;30230:14;:19;30226:635;;30270:313;30301:38;;30326:12;;-1:-1:-1;;;;;30301:38:0;;;30318:1;;30301:38;;30318:1;;30301:38;30367:69;30406:1;30410:2;30414:14;;;;;;30430:5;30367:30;:69::i;:::-;30362:174;;30472:40;;-1:-1:-1;;;30472:40:0;;;;;;;;;;;30362:174;30578:3;30563:12;:18;30270:313;;30664:12;30647:13;;:29;30643:43;;30678:8;;;30643:43;30226:635;;;30727:119;30758:40;;30783:14;;;;;-1:-1:-1;;;;;30758:40:0;;;30775:1;;30758:40;;30775:1;;30758:40;30841:3;30826:12;:18;30727:119;;30226:635;-1:-1:-1;30875:13:0;:28;;;30925:60;;30958:2;30962:12;30976:8;30925:60;:::i;-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:186::-;887:6;940:2;928:9;919:7;915:23;911:32;908:52;;;956:1;953;946:12;908:52;979:29;998:9;979:29;:::i;1019:260::-;1087:6;1095;1148:2;1136:9;1127:7;1123:23;1119:32;1116:52;;;1164:1;1161;1154:12;1116:52;1187:29;1206:9;1187:29;:::i;:::-;1177:39;;1235:38;1269:2;1258:9;1254:18;1235:38;:::i;:::-;1225:48;;1019:260;;;;;:::o;1284:328::-;1361:6;1369;1377;1430:2;1418:9;1409:7;1405:23;1401:32;1398:52;;;1446:1;1443;1436:12;1398:52;1469:29;1488:9;1469:29;:::i;:::-;1459:39;;1517:38;1551:2;1540:9;1536:18;1517:38;:::i;:::-;1507:48;;1602:2;1591:9;1587:18;1574:32;1564:42;;1284:328;;;;;:::o;1617:666::-;1712:6;1720;1728;1736;1789:3;1777:9;1768:7;1764:23;1760:33;1757:53;;;1806:1;1803;1796:12;1757:53;1829:29;1848:9;1829:29;:::i;:::-;1819:39;;1877:38;1911:2;1900:9;1896:18;1877:38;:::i;:::-;1867:48;;1962:2;1951:9;1947:18;1934:32;1924:42;;2017:2;2006:9;2002:18;1989:32;2044:18;2036:6;2033:30;2030:50;;;2076:1;2073;2066:12;2030:50;2099:22;;2152:4;2144:13;;2140:27;-1:-1:-1;2130:55:1;;2181:1;2178;2171:12;2130:55;2204:73;2269:7;2264:2;2251:16;2246:2;2242;2238:11;2204:73;:::i;:::-;2194:83;;;1617:666;;;;;;;:::o;2288:347::-;2353:6;2361;2414:2;2402:9;2393:7;2389:23;2385:32;2382:52;;;2430:1;2427;2420:12;2382:52;2453:29;2472:9;2453:29;:::i;:::-;2443:39;;2532:2;2521:9;2517:18;2504:32;2579:5;2572:13;2565:21;2558:5;2555:32;2545:60;;2601:1;2598;2591:12;2545:60;2624:5;2614:15;;;2288:347;;;;;:::o;2640:254::-;2708:6;2716;2769:2;2757:9;2748:7;2744:23;2740:32;2737:52;;;2785:1;2782;2775:12;2737:52;2808:29;2827:9;2808:29;:::i;:::-;2798:39;2884:2;2869:18;;;;2856:32;;-1:-1:-1;;;2640:254:1:o;2899:245::-;2957:6;3010:2;2998:9;2989:7;2985:23;2981:32;2978:52;;;3026:1;3023;3016:12;2978:52;3065:9;3052:23;3084:30;3108:5;3084:30;:::i;3149:249::-;3218:6;3271:2;3259:9;3250:7;3246:23;3242:32;3239:52;;;3287:1;3284;3277:12;3239:52;3319:9;3313:16;3338:30;3362:5;3338:30;:::i;3403:450::-;3472:6;3525:2;3513:9;3504:7;3500:23;3496:32;3493:52;;;3541:1;3538;3531:12;3493:52;3581:9;3568:23;3614:18;3606:6;3603:30;3600:50;;;3646:1;3643;3636:12;3600:50;3669:22;;3722:4;3714:13;;3710:27;-1:-1:-1;3700:55:1;;3751:1;3748;3741:12;3700:55;3774:73;3839:7;3834:2;3821:16;3816:2;3812;3808:11;3774:73;:::i;3858:180::-;3917:6;3970:2;3958:9;3949:7;3945:23;3941:32;3938:52;;;3986:1;3983;3976:12;3938:52;-1:-1:-1;4009:23:1;;3858:180;-1:-1:-1;3858:180:1:o;4043:254::-;4111:6;4119;4172:2;4160:9;4151:7;4147:23;4143:32;4140:52;;;4188:1;4185;4178:12;4140:52;4224:9;4211:23;4201:33;;4253:38;4287:2;4276:9;4272:18;4253:38;:::i;4302:257::-;4343:3;4381:5;4375:12;4408:6;4403:3;4396:19;4424:63;4480:6;4473:4;4468:3;4464:14;4457:4;4450:5;4446:16;4424:63;:::i;:::-;4541:2;4520:15;-1:-1:-1;;4516:29:1;4507:39;;;;4548:4;4503:50;;4302:257;-1:-1:-1;;4302:257:1:o;4564:470::-;4743:3;4781:6;4775:13;4797:53;4843:6;4838:3;4831:4;4823:6;4819:17;4797:53;:::i;:::-;4913:13;;4872:16;;;;4935:57;4913:13;4872:16;4969:4;4957:17;;4935:57;:::i;:::-;5008:20;;4564:470;-1:-1:-1;;;;4564:470:1:o;5247:488::-;-1:-1:-1;;;;;5516:15:1;;;5498:34;;5568:15;;5563:2;5548:18;;5541:43;5615:2;5600:18;;5593:34;;;5663:3;5658:2;5643:18;;5636:31;;;5441:4;;5684:45;;5709:19;;5701:6;5684:45;:::i;:::-;5676:53;5247:488;-1:-1:-1;;;;;;5247:488:1:o;5932:219::-;6081:2;6070:9;6063:21;6044:4;6101:44;6141:2;6130:9;6126:18;6118:6;6101:44;:::i;6563:410::-;6765:2;6747:21;;;6804:2;6784:18;;;6777:30;6843:34;6838:2;6823:18;;6816:62;-1:-1:-1;;;6909:2:1;6894:18;;6887:44;6963:3;6948:19;;6563:410::o;6978:356::-;7180:2;7162:21;;;7199:18;;;7192:30;7258:34;7253:2;7238:18;;7231:62;7325:2;7310:18;;6978:356::o;7521:225::-;7561:3;7592:1;7588:6;7585:1;7582:13;7579:136;;;7637:10;7632:3;7628:20;7625:1;7618:31;7672:4;7669:1;7662:15;7700:4;7697:1;7690:15;7579:136;-1:-1:-1;7731:9:1;;7521:225::o;7751:258::-;7823:1;7833:113;7847:6;7844:1;7841:13;7833:113;;;7923:11;;;7917:18;7904:11;;;7897:39;7869:2;7862:10;7833:113;;;7964:6;7961:1;7958:13;7955:48;;;-1:-1:-1;;7999:1:1;7981:16;;7974:27;7751:258::o;8014:380::-;8093:1;8089:12;;;;8136;;;8157:61;;8211:4;8203:6;8199:17;8189:27;;8157:61;8264:2;8256:6;8253:14;8233:18;8230:38;8227:161;;;8310:10;8305:3;8301:20;8298:1;8291:31;8345:4;8342:1;8335:15;8373:4;8370:1;8363:15;8227:161;;8014:380;;;:::o;8399:127::-;8460:10;8455:3;8451:20;8448:1;8441:31;8491:4;8488:1;8481:15;8515:4;8512:1;8505:15;8531:131;-1:-1:-1;;;;;;8605:32:1;;8595:43;;8585:71;;8652:1;8649;8642:12
Swarm Source
ipfs://9b685af919ef905098c8ae31b8e2a24cac381eeb340ff6f2c167bc83dfa1e07d
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.