ERC-721
Overview
Max Total Supply
1,000 OKAPE
Holders
69
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 OKAPELoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
OkayApeTown
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-05-30 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * The caller cannot approve to the current owner. */ error ApprovalToCurrentOwner(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // IERC165 // ============================== /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================== // IERC721 // ============================== /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================== // IERC721Metadata // ============================== /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Mask of an entry in packed address data. uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225; // The tokenId of the next token to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See `_packedOwnershipOf` implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see `_totalMinted`. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to `_startTokenId()` unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes of the XOR of // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165 // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)` return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> BITPOS_AUX); } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; assembly { // Cast aux without masking. auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & BITMASK_BURNED == 0) { // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP); ownership.burned = packed & BITMASK_BURNED != 0; } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev Casts the address to uint256 without masking. */ function _addressToUint256(address value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev Casts the boolean to uint256 without branching. */ function _boolToUint256(bool value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = address(uint160(_packedOwnershipOf(tokenId))); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (to.code.length != 0) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex < end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_NEXT_INITIALIZED; // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); if (approvalCheck) { bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _addressToUint256(from) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_BURNED | BITMASK_NEXT_INITIALIZED; // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function _toString(uint256 value) internal pure returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } } // File: contracts/artifacts/OkayApeTownwtf.sol pragma solidity ^0.8.4; contract OkayApeTown is ERC721A, Ownable { uint256 MAX_MINTS = 20; uint256 MAX_SUPPLY = 1000; uint256 public mintRate = 0 ether; string public baseURI = "ipfs://QmXfUoRDMEJphFrtDeiGWFUxtSjdbGYBd5YDn1J4e93mNy/"; constructor() ERC721A("OkayApeTown.wtf", "OKAPE") {} function mint(uint256 quantity) external payable { // _safeMint's second argument now takes in a quantity, not a tokenId. require(quantity + _numberMinted(msg.sender) <= MAX_MINTS, "Exceeded the limit"); require(totalSupply() + quantity <= MAX_SUPPLY, "Not enough tokens left"); require(msg.value >= (mintRate * quantity), "Not enough ether sent"); _safeMint(msg.sender, quantity); } function withdraw() external payable onlyOwner { payable(owner()).transfer(address(this).balance); } function _baseURI() internal view override returns (string memory) { return baseURI; } function setMintRate(uint256 _mintRate) public onlyOwner { mintRate = _mintRate; } }
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":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintRate","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":"uint256","name":"_mintRate","type":"uint256"}],"name":"setMintRate","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
60146009556103e8600a556000600b5560e06040526036608081815290620016b260a03980516200003991600c916020909101906200011c565b503480156200004757600080fd5b50604080518082018252600f81526e27b5b0bca0b832aa37bbb7173bba3360891b6020808301918252835180850190945260058452644f4b41504560d81b9084015281519192916200009c916002916200011c565b508051620000b29060039060208401906200011c565b50506000805550620000c433620000ca565b620001ff565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200012a90620001c2565b90600052602060002090601f0160209004810192826200014e576000855562000199565b82601f106200016957805160ff191683800117855562000199565b8280016001018555821562000199579182015b82811115620001995782518255916020019190600101906200017c565b50620001a7929150620001ab565b5090565b5b80821115620001a75760008155600101620001ac565b600181811c90821680620001d757607f821691505b60208210811415620001f957634e487b7160e01b600052602260045260246000fd5b50919050565b6114a3806200020f6000396000f3fe6080604052600436106101355760003560e01c8063715018a6116100ab578063b88d4fde1161006f578063b88d4fde14610326578063c87b56dd14610346578063ca0dcf1614610366578063dbe2193f1461037c578063e985e9c51461039c578063f2fde38b146103e557600080fd5b8063715018a6146102ab5780638da5cb5b146102c057806395d89b41146102de578063a0712d68146102f3578063a22cb4651461030657600080fd5b806323b872dd116100fd57806323b872dd1461020e5780633ccfd60b1461022e57806342842e0e146102365780636352211e146102565780636c0360eb1461027657806370a082311461028b57600080fd5b806301ffc9a71461013a57806306fdde031461016f578063081812fc14610191578063095ea7b3146101c957806318160ddd146101eb575b600080fd5b34801561014657600080fd5b5061015a61015536600461125d565b610405565b60405190151581526020015b60405180910390f35b34801561017b57600080fd5b50610184610457565b6040516101669190611345565b34801561019d57600080fd5b506101b16101ac366004611295565b6104e9565b6040516001600160a01b039091168152602001610166565b3480156101d557600080fd5b506101e96101e4366004611234565b61052d565b005b3480156101f757600080fd5b50600154600054035b604051908152602001610166565b34801561021a57600080fd5b506101e96102293660046110ea565b610600565b6101e9610610565b34801561024257600080fd5b506101e96102513660046110ea565b61067f565b34801561026257600080fd5b506101b1610271366004611295565b61069a565b34801561028257600080fd5b506101846106a5565b34801561029757600080fd5b506102006102a636600461109e565b610733565b3480156102b757600080fd5b506101e9610782565b3480156102cc57600080fd5b506008546001600160a01b03166101b1565b3480156102ea57600080fd5b506101846107b8565b6101e9610301366004611295565b6107c7565b34801561031257600080fd5b506101e96103213660046111fa565b6108f5565b34801561033257600080fd5b506101e9610341366004611125565b61098b565b34801561035257600080fd5b50610184610361366004611295565b6109d5565b34801561037257600080fd5b50610200600b5481565b34801561038857600080fd5b506101e9610397366004611295565b610a5a565b3480156103a857600080fd5b5061015a6103b73660046110b8565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156103f157600080fd5b506101e961040036600461109e565b610a89565b60006301ffc9a760e01b6001600160e01b03198316148061043657506380ac58cd60e01b6001600160e01b03198316145b806104515750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610466906113f0565b80601f0160208091040260200160405190810160405280929190818152602001828054610492906113f0565b80156104df5780601f106104b4576101008083540402835291602001916104df565b820191906000526020600020905b8154815290600101906020018083116104c257829003601f168201915b5050505050905090565b60006104f482610b21565b610511576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061053882610b48565b9050806001600160a01b0316836001600160a01b0316141561056d5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146105a45761058781336103b7565b6105a4576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61060b838383610ba9565b505050565b6008546001600160a01b031633146106435760405162461bcd60e51b815260040161063a90611358565b60405180910390fd5b6008546040516001600160a01b03909116904780156108fc02916000818181858888f1935050505015801561067c573d6000803e3d6000fd5b50565b61060b8383836040518060200160405280600081525061098b565b600061045182610b48565b600c80546106b2906113f0565b80601f01602080910402602001604051908101604052809291908181526020018280546106de906113f0565b801561072b5780601f106107005761010080835404028352916020019161072b565b820191906000526020600020905b81548152906001019060200180831161070e57829003601f168201915b505050505081565b60006001600160a01b03821661075c576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146107ac5760405162461bcd60e51b815260040161063a90611358565b6107b66000610d4c565b565b606060038054610466906113f0565b6009543360009081526005602052604090819020546107f1911c67ffffffffffffffff168361138d565b11156108345760405162461bcd60e51b8152602060048201526012602482015271115e18d959591959081d1a19481b1a5b5a5d60721b604482015260640161063a565b600a54816108456001546000540390565b61084f919061138d565b11156108965760405162461bcd60e51b8152602060048201526016602482015275139bdd08195b9bdd59da081d1bdad95b9cc81b19599d60521b604482015260640161063a565b80600b546108a491906113a5565b3410156108eb5760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da08195d1a195c881cd95b9d605a1b604482015260640161063a565b61067c3382610d9e565b6001600160a01b03821633141561091f5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610996848484610ba9565b6001600160a01b0383163b156109cf576109b284848484610dbc565b6109cf576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606109e082610b21565b6109fd57604051630a14c4b560e41b815260040160405180910390fd5b6000610a07610eb3565b9050805160001415610a285760405180602001604052806000815250610a53565b80610a3284610ec2565b604051602001610a439291906112d9565b6040516020818303038152906040525b9392505050565b6008546001600160a01b03163314610a845760405162461bcd60e51b815260040161063a90611358565b600b55565b6008546001600160a01b03163314610ab35760405162461bcd60e51b815260040161063a90611358565b6001600160a01b038116610b185760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161063a565b61067c81610d4c565b6000805482108015610451575050600090815260046020526040902054600160e01b161590565b600081600054811015610b9057600081815260046020526040902054600160e01b8116610b8e575b80610a53575060001901600081815260046020526040902054610b70565b505b604051636f96cda160e11b815260040160405180910390fd5b6000610bb482610b48565b9050836001600160a01b0316816001600160a01b031614610be75760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480610c055750610c0585336103b7565b80610c20575033610c15846104e9565b6001600160a01b0316145b905080610c4057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610c6757604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091529020600160e11b4260a01b861781179091558216610d045760018301600081815260046020526040902054610d02576000548114610d025760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610db8828260405180602001604052806000815250610f11565b5050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610df1903390899088908890600401611308565b602060405180830381600087803b158015610e0b57600080fd5b505af1925050508015610e3b575060408051601f3d908101601f19168201909252610e3891810190611279565b60015b610e96573d808015610e69576040519150601f19603f3d011682016040523d82523d6000602084013e610e6e565b606091505b508051610e8e576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600c8054610466906113f0565b604080516080810191829052607f0190826030600a8206018353600a90045b8015610eff57600183039250600a81066030018353600a9004610ee1565b50819003601f19909101908152919050565b6000546001600160a01b038416610f3a57604051622e076360e81b815260040160405180910390fd5b82610f585760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b1561102d575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4610ff66000878480600101955087610dbc565b611013576040516368d2bf6b60e11b815260040160405180910390fd5b808210610fab57826000541461102857600080fd5b611072565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061102e575b5060009081556109cf9085838684565b80356001600160a01b038116811461109957600080fd5b919050565b6000602082840312156110af578081fd5b610a5382611082565b600080604083850312156110ca578081fd5b6110d383611082565b91506110e160208401611082565b90509250929050565b6000806000606084860312156110fe578081fd5b61110784611082565b925061111560208501611082565b9150604084013590509250925092565b6000806000806080858703121561113a578081fd5b61114385611082565b935061115160208601611082565b925060408501359150606085013567ffffffffffffffff80821115611174578283fd5b818701915087601f830112611187578283fd5b81358181111561119957611199611441565b604051601f8201601f19908116603f011681019083821181831017156111c1576111c1611441565b816040528281528a60208487010111156111d9578586fd5b82602086016020830137918201602001949094529598949750929550505050565b6000806040838503121561120c578182fd5b61121583611082565b915060208301358015158114611229578182fd5b809150509250929050565b60008060408385031215611246578182fd5b61124f83611082565b946020939093013593505050565b60006020828403121561126e578081fd5b8135610a5381611457565b60006020828403121561128a578081fd5b8151610a5381611457565b6000602082840312156112a6578081fd5b5035919050565b600081518084526112c58160208601602086016113c4565b601f01601f19169290920160200192915050565b600083516112eb8184602088016113c4565b8351908301906112ff8183602088016113c4565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061133b908301846112ad565b9695505050505050565b602081526000610a5360208301846112ad565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156113a0576113a061142b565b500190565b60008160001904831182151516156113bf576113bf61142b565b500290565b60005b838110156113df5781810151838201526020016113c7565b838111156109cf5750506000910152565b600181811c9082168061140457607f821691505b6020821081141561142557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461067c57600080fdfea264697066735822122020f92f9901ba099e8c56761056ff073cf88cbafcb79d11c6ed7307b1f329984a64736f6c63430008040033697066733a2f2f516d5866556f52444d454a7068467274446569475746557874536a6462475942643559446e314a346539336d4e792f
Deployed Bytecode
0x6080604052600436106101355760003560e01c8063715018a6116100ab578063b88d4fde1161006f578063b88d4fde14610326578063c87b56dd14610346578063ca0dcf1614610366578063dbe2193f1461037c578063e985e9c51461039c578063f2fde38b146103e557600080fd5b8063715018a6146102ab5780638da5cb5b146102c057806395d89b41146102de578063a0712d68146102f3578063a22cb4651461030657600080fd5b806323b872dd116100fd57806323b872dd1461020e5780633ccfd60b1461022e57806342842e0e146102365780636352211e146102565780636c0360eb1461027657806370a082311461028b57600080fd5b806301ffc9a71461013a57806306fdde031461016f578063081812fc14610191578063095ea7b3146101c957806318160ddd146101eb575b600080fd5b34801561014657600080fd5b5061015a61015536600461125d565b610405565b60405190151581526020015b60405180910390f35b34801561017b57600080fd5b50610184610457565b6040516101669190611345565b34801561019d57600080fd5b506101b16101ac366004611295565b6104e9565b6040516001600160a01b039091168152602001610166565b3480156101d557600080fd5b506101e96101e4366004611234565b61052d565b005b3480156101f757600080fd5b50600154600054035b604051908152602001610166565b34801561021a57600080fd5b506101e96102293660046110ea565b610600565b6101e9610610565b34801561024257600080fd5b506101e96102513660046110ea565b61067f565b34801561026257600080fd5b506101b1610271366004611295565b61069a565b34801561028257600080fd5b506101846106a5565b34801561029757600080fd5b506102006102a636600461109e565b610733565b3480156102b757600080fd5b506101e9610782565b3480156102cc57600080fd5b506008546001600160a01b03166101b1565b3480156102ea57600080fd5b506101846107b8565b6101e9610301366004611295565b6107c7565b34801561031257600080fd5b506101e96103213660046111fa565b6108f5565b34801561033257600080fd5b506101e9610341366004611125565b61098b565b34801561035257600080fd5b50610184610361366004611295565b6109d5565b34801561037257600080fd5b50610200600b5481565b34801561038857600080fd5b506101e9610397366004611295565b610a5a565b3480156103a857600080fd5b5061015a6103b73660046110b8565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156103f157600080fd5b506101e961040036600461109e565b610a89565b60006301ffc9a760e01b6001600160e01b03198316148061043657506380ac58cd60e01b6001600160e01b03198316145b806104515750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610466906113f0565b80601f0160208091040260200160405190810160405280929190818152602001828054610492906113f0565b80156104df5780601f106104b4576101008083540402835291602001916104df565b820191906000526020600020905b8154815290600101906020018083116104c257829003601f168201915b5050505050905090565b60006104f482610b21565b610511576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061053882610b48565b9050806001600160a01b0316836001600160a01b0316141561056d5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146105a45761058781336103b7565b6105a4576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61060b838383610ba9565b505050565b6008546001600160a01b031633146106435760405162461bcd60e51b815260040161063a90611358565b60405180910390fd5b6008546040516001600160a01b03909116904780156108fc02916000818181858888f1935050505015801561067c573d6000803e3d6000fd5b50565b61060b8383836040518060200160405280600081525061098b565b600061045182610b48565b600c80546106b2906113f0565b80601f01602080910402602001604051908101604052809291908181526020018280546106de906113f0565b801561072b5780601f106107005761010080835404028352916020019161072b565b820191906000526020600020905b81548152906001019060200180831161070e57829003601f168201915b505050505081565b60006001600160a01b03821661075c576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146107ac5760405162461bcd60e51b815260040161063a90611358565b6107b66000610d4c565b565b606060038054610466906113f0565b6009543360009081526005602052604090819020546107f1911c67ffffffffffffffff168361138d565b11156108345760405162461bcd60e51b8152602060048201526012602482015271115e18d959591959081d1a19481b1a5b5a5d60721b604482015260640161063a565b600a54816108456001546000540390565b61084f919061138d565b11156108965760405162461bcd60e51b8152602060048201526016602482015275139bdd08195b9bdd59da081d1bdad95b9cc81b19599d60521b604482015260640161063a565b80600b546108a491906113a5565b3410156108eb5760405162461bcd60e51b8152602060048201526015602482015274139bdd08195b9bdd59da08195d1a195c881cd95b9d605a1b604482015260640161063a565b61067c3382610d9e565b6001600160a01b03821633141561091f5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610996848484610ba9565b6001600160a01b0383163b156109cf576109b284848484610dbc565b6109cf576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606109e082610b21565b6109fd57604051630a14c4b560e41b815260040160405180910390fd5b6000610a07610eb3565b9050805160001415610a285760405180602001604052806000815250610a53565b80610a3284610ec2565b604051602001610a439291906112d9565b6040516020818303038152906040525b9392505050565b6008546001600160a01b03163314610a845760405162461bcd60e51b815260040161063a90611358565b600b55565b6008546001600160a01b03163314610ab35760405162461bcd60e51b815260040161063a90611358565b6001600160a01b038116610b185760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161063a565b61067c81610d4c565b6000805482108015610451575050600090815260046020526040902054600160e01b161590565b600081600054811015610b9057600081815260046020526040902054600160e01b8116610b8e575b80610a53575060001901600081815260046020526040902054610b70565b505b604051636f96cda160e11b815260040160405180910390fd5b6000610bb482610b48565b9050836001600160a01b0316816001600160a01b031614610be75760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480610c055750610c0585336103b7565b80610c20575033610c15846104e9565b6001600160a01b0316145b905080610c4057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610c6757604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091529020600160e11b4260a01b861781179091558216610d045760018301600081815260046020526040902054610d02576000548114610d025760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610db8828260405180602001604052806000815250610f11565b5050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610df1903390899088908890600401611308565b602060405180830381600087803b158015610e0b57600080fd5b505af1925050508015610e3b575060408051601f3d908101601f19168201909252610e3891810190611279565b60015b610e96573d808015610e69576040519150601f19603f3d011682016040523d82523d6000602084013e610e6e565b606091505b508051610e8e576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600c8054610466906113f0565b604080516080810191829052607f0190826030600a8206018353600a90045b8015610eff57600183039250600a81066030018353600a9004610ee1565b50819003601f19909101908152919050565b6000546001600160a01b038416610f3a57604051622e076360e81b815260040160405180910390fd5b82610f585760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b1561102d575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4610ff66000878480600101955087610dbc565b611013576040516368d2bf6b60e11b815260040160405180910390fd5b808210610fab57826000541461102857600080fd5b611072565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061102e575b5060009081556109cf9085838684565b80356001600160a01b038116811461109957600080fd5b919050565b6000602082840312156110af578081fd5b610a5382611082565b600080604083850312156110ca578081fd5b6110d383611082565b91506110e160208401611082565b90509250929050565b6000806000606084860312156110fe578081fd5b61110784611082565b925061111560208501611082565b9150604084013590509250925092565b6000806000806080858703121561113a578081fd5b61114385611082565b935061115160208601611082565b925060408501359150606085013567ffffffffffffffff80821115611174578283fd5b818701915087601f830112611187578283fd5b81358181111561119957611199611441565b604051601f8201601f19908116603f011681019083821181831017156111c1576111c1611441565b816040528281528a60208487010111156111d9578586fd5b82602086016020830137918201602001949094529598949750929550505050565b6000806040838503121561120c578182fd5b61121583611082565b915060208301358015158114611229578182fd5b809150509250929050565b60008060408385031215611246578182fd5b61124f83611082565b946020939093013593505050565b60006020828403121561126e578081fd5b8135610a5381611457565b60006020828403121561128a578081fd5b8151610a5381611457565b6000602082840312156112a6578081fd5b5035919050565b600081518084526112c58160208601602086016113c4565b601f01601f19169290920160200192915050565b600083516112eb8184602088016113c4565b8351908301906112ff8183602088016113c4565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061133b908301846112ad565b9695505050505050565b602081526000610a5360208301846112ad565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156113a0576113a061142b565b500190565b60008160001904831182151516156113bf576113bf61142b565b500290565b60005b838110156113df5781810151838201526020016113c7565b838111156109cf5750506000910152565b600181811c9082168061140457607f821691505b6020821081141561142557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461067c57600080fdfea264697066735822122020f92f9901ba099e8c56761056ff073cf88cbafcb79d11c6ed7307b1f329984a64736f6c63430008040033
Deployed Bytecode Sourcemap
41887:1070:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16529:615;;;;;;;;;;-1:-1:-1;16529:615:0;;;;;:::i;:::-;;:::i;:::-;;;5162:14:1;;5155:22;5137:41;;5125:2;5110:18;16529:615:0;;;;;;;;21542:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;23610:204::-;;;;;;;;;;-1:-1:-1;23610:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;4460:32:1;;;4442:51;;4430:2;4415:18;23610:204:0;4397:102:1;23070:474:0;;;;;;;;;;-1:-1:-1;23070:474:0;;;;;:::i;:::-;;:::i;:::-;;15583:315;;;;;;;;;;-1:-1:-1;15849:12:0;;15636:7;15833:13;:28;15583:315;;;7375:25:1;;;7363:2;7348:18;15583:315:0;7330:76:1;24496:170:0;;;;;;;;;;-1:-1:-1;24496:170:0;;;;;:::i;:::-;;:::i;42628:114::-;;;:::i;24737:185::-;;;;;;;;;;-1:-1:-1;24737:185:0;;;;;:::i;:::-;;:::i;21331:144::-;;;;;;;;;;-1:-1:-1;21331:144:0;;;;;:::i;:::-;;:::i;42038:80::-;;;;;;;;;;;;;:::i;17208:224::-;;;;;;;;;;-1:-1:-1;17208:224:0;;;;;:::i;:::-;;:::i;2639:103::-;;;;;;;;;;;;;:::i;1988:87::-;;;;;;;;;;-1:-1:-1;2061:6:0;;-1:-1:-1;;;;;2061:6:0;1988:87;;21711:104;;;;;;;;;;;;;:::i;42187:433::-;;;;;;:::i;:::-;;:::i;23886:308::-;;;;;;;;;;-1:-1:-1;23886:308:0;;;;;:::i;:::-;;:::i;24993:396::-;;;;;;;;;;-1:-1:-1;24993:396:0;;;;;:::i;:::-;;:::i;21886:318::-;;;;;;;;;;-1:-1:-1;21886:318:0;;;;;:::i;:::-;;:::i;41996:33::-;;;;;;;;;;;;;;;;42858:96;;;;;;;;;;-1:-1:-1;42858:96:0;;;;;:::i;:::-;;:::i;24265:164::-;;;;;;;;;;-1:-1:-1;24265:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;24386:25:0;;;24362:4;24386:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;24265:164;2897:201;;;;;;;;;;-1:-1:-1;2897:201:0;;;;;:::i;:::-;;:::i;16529:615::-;16614:4;-1:-1:-1;;;;;;;;;16914:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;16991:25:0;;;16914:102;:179;;;-1:-1:-1;;;;;;;;;;17068:25:0;;;16914:179;16894:199;16529:615;-1:-1:-1;;16529:615:0:o;21542:100::-;21596:13;21629:5;21622:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21542:100;:::o;23610:204::-;23678:7;23703:16;23711:7;23703;:16::i;:::-;23698:64;;23728:34;;-1:-1:-1;;;23728:34:0;;;;;;;;;;;23698:64;-1:-1:-1;23782:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;23782:24:0;;23610:204::o;23070:474::-;23143:13;23175:27;23194:7;23175:18;:27::i;:::-;23143:61;;23225:5;-1:-1:-1;;;;;23219:11:0;:2;-1:-1:-1;;;;;23219:11:0;;23215:48;;;23239:24;;-1:-1:-1;;;23239:24:0;;;;;;;;;;;23215:48;39713:10;-1:-1:-1;;;;;23280:28:0;;;23276:175;;23328:44;23345:5;39713:10;24265:164;:::i;23328:44::-;23323:128;;23400:35;;-1:-1:-1;;;23400:35:0;;;;;;;;;;;23323:128;23463:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;23463:29:0;-1:-1:-1;;;;;23463:29:0;;;;;;;;;23508:28;;23463:24;;23508:28;;;;;;;23070:474;;;:::o;24496:170::-;24630:28;24640:4;24646:2;24650:7;24630:9;:28::i;:::-;24496:170;;;:::o;42628:114::-;2061:6;;-1:-1:-1;;;;;2061:6:0;39713:10;2208:23;2200:68;;;;-1:-1:-1;;;2200:68:0;;;;;;;:::i;:::-;;;;;;;;;2061:6;;42686:48:::1;::::0;-1:-1:-1;;;;;2061:6:0;;;;42712:21:::1;42686:48:::0;::::1;;;::::0;::::1;::::0;;;42712:21;2061:6;42686:48;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;42628:114::o:0;24737:185::-;24875:39;24892:4;24898:2;24902:7;24875:39;;;;;;;;;;;;:16;:39::i;21331:144::-;21395:7;21438:27;21457:7;21438:18;:27::i;42038:80::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;17208:224::-;17272:7;-1:-1:-1;;;;;17296:19:0;;17292:60;;17324:28;;-1:-1:-1;;;17324:28:0;;;;;;;;;;;17292:60;-1:-1:-1;;;;;;17370:25:0;;;;;:18;:25;;;;;;12547:13;17370:54;;17208:224::o;2639:103::-;2061:6;;-1:-1:-1;;;;;2061:6:0;39713:10;2208:23;2200:68;;;;-1:-1:-1;;;2200:68:0;;;;;;;:::i;:::-;2704:30:::1;2731:1;2704:18;:30::i;:::-;2639:103::o:0;21711:104::-;21767:13;21800:7;21793:14;;;;;:::i;42187:433::-;42375:9;;42360:10;17575:7;17603:25;;;:18;:25;;12684:2;17603:25;;;;;42335:36;;17603:49;12547:13;17602:80;42335:8;:36;:::i;:::-;:49;;42327:80;;;;-1:-1:-1;;;42327:80:0;;6022:2:1;42327:80:0;;;6004:21:1;6061:2;6041:18;;;6034:30;-1:-1:-1;;;6080:18:1;;;6073:48;6138:18;;42327:80:0;5994:168:1;42327:80:0;42454:10;;42442:8;42426:13;15849:12;;15636:7;15833:13;:28;;15583:315;42426:13;:24;;;;:::i;:::-;:38;;42418:73;;;;-1:-1:-1;;;42418:73:0;;6369:2:1;42418:73:0;;;6351:21:1;6408:2;6388:18;;;6381:30;-1:-1:-1;;;6427:18:1;;;6420:52;6489:18;;42418:73:0;6341:172:1;42418:73:0;42535:8;42524;;:19;;;;:::i;:::-;42510:9;:34;;42502:68;;;;-1:-1:-1;;;42502:68:0;;7081:2:1;42502:68:0;;;7063:21:1;7120:2;7100:18;;;7093:30;-1:-1:-1;;;7139:18:1;;;7132:51;7200:18;;42502:68:0;7053:171:1;42502:68:0;42581:31;42591:10;42603:8;42581:9;:31::i;23886:308::-;-1:-1:-1;;;;;23985:31:0;;39713:10;23985:31;23981:61;;;24025:17;;-1:-1:-1;;;24025:17:0;;;;;;;;;;;23981:61;39713:10;24055:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;24055:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;24055:60:0;;;;;;;;;;24131:55;;5137:41:1;;;24055:49:0;;39713:10;24131:55;;5110:18:1;24131:55:0;;;;;;;23886:308;;:::o;24993:396::-;25160:28;25170:4;25176:2;25180:7;25160:9;:28::i;:::-;-1:-1:-1;;;;;25203:14:0;;;:19;25199:183;;25242:56;25273:4;25279:2;25283:7;25292:5;25242:30;:56::i;:::-;25237:145;;25326:40;;-1:-1:-1;;;25326:40:0;;;;;;;;;;;25237:145;24993:396;;;;:::o;21886:318::-;21959:13;21990:16;21998:7;21990;:16::i;:::-;21985:59;;22015:29;;-1:-1:-1;;;22015:29:0;;;;;;;;;;;21985:59;22057:21;22081:10;:8;:10::i;:::-;22057:34;;22115:7;22109:21;22134:1;22109:26;;:87;;;;;;;;;;;;;;;;;22162:7;22171:18;22181:7;22171:9;:18::i;:::-;22145:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;22109:87;22102:94;21886:318;-1:-1:-1;;;21886:318:0:o;42858:96::-;2061:6;;-1:-1:-1;;;;;2061:6:0;39713:10;2208:23;2200:68;;;;-1:-1:-1;;;2200:68:0;;;;;;;:::i;:::-;42926:8:::1;:20:::0;42858:96::o;2897:201::-;2061:6;;-1:-1:-1;;;;;2061:6:0;39713:10;2208:23;2200:68;;;;-1:-1:-1;;;2200:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;2986:22:0;::::1;2978:73;;;::::0;-1:-1:-1;;;2978:73:0;;5615:2:1;2978:73:0::1;::::0;::::1;5597:21:1::0;5654:2;5634:18;;;5627:30;5693:34;5673:18;;;5666:62;-1:-1:-1;;;5744:18:1;;;5737:36;5790:19;;2978:73:0::1;5587:228:1::0;2978:73:0::1;3062:28;3081:8;3062:18;:28::i;25644:273::-:0;25701:4;25791:13;;25781:7;:23;25738:152;;;;-1:-1:-1;;25842:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;25842:43:0;:48;;25644:273::o;18846:1129::-;18913:7;18948;19050:13;;19043:4;:20;19039:869;;;19088:14;19105:23;;;:17;:23;;;;;;-1:-1:-1;;;19194:23:0;;19190:699;;19713:113;19720:11;19713:113;;-1:-1:-1;;;19791:6:0;19773:25;;;;:17;:25;;;;;;19713:113;;19190:699;19039:869;;19936:31;;-1:-1:-1;;;19936:31:0;;;;;;;;;;;30883:2515;30998:27;31028;31047:7;31028:18;:27::i;:::-;30998:57;;31113:4;-1:-1:-1;;;;;31072:45:0;31088:19;-1:-1:-1;;;;;31072:45:0;;31068:86;;31126:28;;-1:-1:-1;;;31126:28:0;;;;;;;;;;;31068:86;31167:22;39713:10;-1:-1:-1;;;;;31193:27:0;;;;:87;;-1:-1:-1;31237:43:0;31254:4;39713:10;24265:164;:::i;31237:43::-;31193:147;;;-1:-1:-1;39713:10:0;31297:20;31309:7;31297:11;:20::i;:::-;-1:-1:-1;;;;;31297:43:0;;31193:147;31167:174;;31359:17;31354:66;;31385:35;;-1:-1:-1;;;31385:35:0;;;;;;;;;;;31354:66;-1:-1:-1;;;;;31435:16:0;;31431:52;;31460:23;;-1:-1:-1;;;31460:23:0;;;;;;;;;;;31431:52;31612:24;;;;:15;:24;;;;;;;;31605:31;;-1:-1:-1;;;;;;31605:31:0;;;-1:-1:-1;;;;;32004:24:0;;;;;:18;:24;;;;;32002:26;;-1:-1:-1;;32002:26:0;;;32073:22;;;;;;;32071:24;;-1:-1:-1;32071:24:0;;;32366:26;;;:17;:26;;;;;-1:-1:-1;;;32454:15:0;13201:3;32454:41;32412:84;;:128;;32366:174;;;32660:46;;32656:626;;32764:1;32754:11;;32732:19;32887:30;;;:17;:30;;;;;;32883:384;;33025:13;;33010:11;:28;33006:242;;33172:30;;;;:17;:30;;;;;:52;;;33006:242;32656:626;;33329:7;33325:2;-1:-1:-1;;;;;33310:27:0;33319:4;-1:-1:-1;;;;;33310:27:0;;;;;;;;;;;30883:2515;;;;;:::o;3258:191::-;3351:6;;;-1:-1:-1;;;;;3368:17:0;;;-1:-1:-1;;;;;;3368:17:0;;;;;;;3401:40;;3351:6;;;3368:17;3351:6;;3401:40;;3332:16;;3401:40;3258:191;;:::o;26001:104::-;26070:27;26080:2;26084:8;26070:27;;;;;;;;;;;;:9;:27::i;:::-;26001:104;;:::o;37095:716::-;37279:88;;-1:-1:-1;;;37279:88:0;;37258:4;;-1:-1:-1;;;;;37279:45:0;;;;;:88;;39713:10;;37346:4;;37352:7;;37361:5;;37279:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37279:88:0;;;;;;;;-1:-1:-1;;37279:88:0;;;;;;;;;;;;:::i;:::-;;;37275:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37562:13:0;;37558:235;;37608:40;;-1:-1:-1;;;37608:40:0;;;;;;;;;;;37558:235;37751:6;37745:13;37736:6;37732:2;37728:15;37721:38;37275:529;-1:-1:-1;;;;;;37438:64:0;-1:-1:-1;;;37438:64:0;;-1:-1:-1;37095:716:0;;;;;;:::o;42750:100::-;42802:13;42835:7;42828:14;;;;;:::i;39837:1959::-;40308:4;40302:11;;40315:3;40298:21;;40393:17;;;;41090:11;;;40969:5;41222:2;41236;41226:13;;41218:22;41090:11;41205:36;41277:2;41267:13;;40860:682;41296:4;40860:682;;;41471:1;41466:3;41462:11;41455:18;;41522:2;41516:4;41512:13;41508:2;41504:22;41499:3;41491:36;41392:2;41382:13;;40860:682;;;-1:-1:-1;41584:13:0;;;-1:-1:-1;;41699:12:0;;;41759:19;;;41699:12;39933:1856;-1:-1:-1;39933:1856:0:o;26478:2236::-;26601:20;26624:13;-1:-1:-1;;;;;26652:16:0;;26648:48;;26677:19;;-1:-1:-1;;;26677:19:0;;;;;;;;;;;26648:48;26711:13;26707:44;;26733:18;;-1:-1:-1;;;26733:18:0;;;;;;;;;;;26707:44;-1:-1:-1;;;;;27300:22:0;;;;;;:18;:22;;;;12684:2;27300:22;;;:70;;27338:31;27326:44;;27300:70;;;27613:31;;;:17;:31;;;;;27706:15;13201:3;27706:41;27664:84;;-1:-1:-1;27784:13:0;;13464:3;27769:56;27664:162;27613:213;;:31;;27907:23;;;;27951:14;:19;27947:635;;27991:313;28022:38;;28047:12;;-1:-1:-1;;;;;28022:38:0;;;28039:1;;28022:38;;28039:1;;28022:38;28088:69;28127:1;28131:2;28135:14;;;;;;28151:5;28088:30;:69::i;:::-;28083:174;;28193:40;;-1:-1:-1;;;28193:40:0;;;;;;;;;;;28083:174;28299:3;28284:12;:18;27991:313;;28385:12;28368:13;;:29;28364:43;;28399:8;;;28364:43;27947:635;;;28448:119;28479:40;;28504:14;;;;;-1:-1:-1;;;;;28479:40:0;;;28496:1;;28479:40;;28496:1;;28479:40;28562:3;28547:12;:18;28448:119;;27947:635;-1:-1:-1;28596:13:0;:28;;;28646:60;;28679:2;28683:12;28697:8;28646:60;:::i;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:2;;177:1;174;167:12;111:2;63:124;;;:::o;192:196::-;251:6;304:2;292:9;283:7;279:23;275:32;272:2;;;325:6;317;310:22;272:2;353:29;372:9;353:29;:::i;393:270::-;461:6;469;522:2;510:9;501:7;497:23;493:32;490:2;;;543:6;535;528:22;490:2;571:29;590:9;571:29;:::i;:::-;561:39;;619:38;653:2;642:9;638:18;619:38;:::i;:::-;609:48;;480:183;;;;;:::o;668:338::-;745:6;753;761;814:2;802:9;793:7;789:23;785:32;782:2;;;835:6;827;820:22;782:2;863:29;882:9;863:29;:::i;:::-;853:39;;911:38;945:2;934:9;930:18;911:38;:::i;:::-;901:48;;996:2;985:9;981:18;968:32;958:42;;772:234;;;;;:::o;1011:1183::-;1106:6;1114;1122;1130;1183:3;1171:9;1162:7;1158:23;1154:33;1151:2;;;1205:6;1197;1190:22;1151:2;1233:29;1252:9;1233:29;:::i;:::-;1223:39;;1281:38;1315:2;1304:9;1300:18;1281:38;:::i;:::-;1271:48;;1366:2;1355:9;1351:18;1338:32;1328:42;;1421:2;1410:9;1406:18;1393:32;1444:18;1485:2;1477:6;1474:14;1471:2;;;1506:6;1498;1491:22;1471:2;1549:6;1538:9;1534:22;1524:32;;1594:7;1587:4;1583:2;1579:13;1575:27;1565:2;;1621:6;1613;1606:22;1565:2;1662;1649:16;1684:2;1680;1677:10;1674:2;;;1690:18;;:::i;:::-;1765:2;1759:9;1733:2;1819:13;;-1:-1:-1;;1815:22:1;;;1839:2;1811:31;1807:40;1795:53;;;1863:18;;;1883:22;;;1860:46;1857:2;;;1909:18;;:::i;:::-;1949:10;1945:2;1938:22;1984:2;1976:6;1969:18;2024:7;2019:2;2014;2010;2006:11;2002:20;1999:33;1996:2;;;2050:6;2042;2035:22;1996:2;2111;2106;2102;2098:11;2093:2;2085:6;2081:15;2068:46;2134:15;;;2151:2;2130:24;2123:40;;;;1141:1053;;;;-1:-1:-1;1141:1053:1;;-1:-1:-1;;;;1141:1053:1:o;2199:367::-;2264:6;2272;2325:2;2313:9;2304:7;2300:23;2296:32;2293:2;;;2346:6;2338;2331:22;2293:2;2374:29;2393:9;2374:29;:::i;:::-;2364:39;;2453:2;2442:9;2438:18;2425:32;2500:5;2493:13;2486:21;2479:5;2476:32;2466:2;;2527:6;2519;2512:22;2466:2;2555:5;2545:15;;;2283:283;;;;;:::o;2571:264::-;2639:6;2647;2700:2;2688:9;2679:7;2675:23;2671:32;2668:2;;;2721:6;2713;2706:22;2668:2;2749:29;2768:9;2749:29;:::i;:::-;2739:39;2825:2;2810:18;;;;2797:32;;-1:-1:-1;;;2658:177:1:o;2840:255::-;2898:6;2951:2;2939:9;2930:7;2926:23;2922:32;2919:2;;;2972:6;2964;2957:22;2919:2;3016:9;3003:23;3035:30;3059:5;3035:30;:::i;3100:259::-;3169:6;3222:2;3210:9;3201:7;3197:23;3193:32;3190:2;;;3243:6;3235;3228:22;3190:2;3280:9;3274:16;3299:30;3323:5;3299:30;:::i;3364:190::-;3423:6;3476:2;3464:9;3455:7;3451:23;3447:32;3444:2;;;3497:6;3489;3482:22;3444:2;-1:-1:-1;3525:23:1;;3434:120;-1:-1:-1;3434:120:1:o;3559:257::-;3600:3;3638:5;3632:12;3665:6;3660:3;3653:19;3681:63;3737:6;3730:4;3725:3;3721:14;3714:4;3707:5;3703:16;3681:63;:::i;:::-;3798:2;3777:15;-1:-1:-1;;3773:29:1;3764:39;;;;3805:4;3760:50;;3608:208;-1:-1:-1;;3608:208:1:o;3821:470::-;4000:3;4038:6;4032:13;4054:53;4100:6;4095:3;4088:4;4080:6;4076:17;4054:53;:::i;:::-;4170:13;;4129:16;;;;4192:57;4170:13;4129:16;4226:4;4214:17;;4192:57;:::i;:::-;4265:20;;4008:283;-1:-1:-1;;;;4008:283:1:o;4504:488::-;-1:-1:-1;;;;;4773:15:1;;;4755:34;;4825:15;;4820:2;4805:18;;4798:43;4872:2;4857:18;;4850:34;;;4920:3;4915:2;4900:18;;4893:31;;;4698:4;;4941:45;;4966:19;;4958:6;4941:45;:::i;:::-;4933:53;4707:285;-1:-1:-1;;;;;;4707:285:1:o;5189:219::-;5338:2;5327:9;5320:21;5301:4;5358:44;5398:2;5387:9;5383:18;5375:6;5358:44;:::i;6518:356::-;6720:2;6702:21;;;6739:18;;;6732:30;6798:34;6793:2;6778:18;;6771:62;6865:2;6850:18;;6692:182::o;7411:128::-;7451:3;7482:1;7478:6;7475:1;7472:13;7469:2;;;7488:18;;:::i;:::-;-1:-1:-1;7524:9:1;;7459:80::o;7544:168::-;7584:7;7650:1;7646;7642:6;7638:14;7635:1;7632:21;7627:1;7620:9;7613:17;7609:45;7606:2;;;7657:18;;:::i;:::-;-1:-1:-1;7697:9:1;;7596:116::o;7717:258::-;7789:1;7799:113;7813:6;7810:1;7807:13;7799:113;;;7889:11;;;7883:18;7870:11;;;7863:39;7835:2;7828:10;7799:113;;;7930:6;7927:1;7924:13;7921:2;;;-1:-1:-1;;7965:1:1;7947:16;;7940:27;7770:205::o;7980:380::-;8059:1;8055:12;;;;8102;;;8123:2;;8177:4;8169:6;8165:17;8155:27;;8123:2;8230;8222:6;8219:14;8199:18;8196:38;8193:2;;;8276:10;8271:3;8267:20;8264:1;8257:31;8311:4;8308:1;8301:15;8339:4;8336:1;8329:15;8193:2;;8035:325;;;:::o;8365:127::-;8426:10;8421:3;8417:20;8414:1;8407:31;8457:4;8454:1;8447:15;8481:4;8478:1;8471:15;8497:127;8558:10;8553:3;8549:20;8546:1;8539:31;8589:4;8586:1;8579:15;8613:4;8610:1;8603:15;8629:131;-1:-1:-1;;;;;;8703:32:1;;8693:43;;8683:2;;8750:1;8747;8740:12
Swarm Source
ipfs://20f92f9901ba099e8c56761056ff073cf88cbafcb79d11c6ed7307b1f329984a
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.