ERC-721
Overview
Max Total Supply
3,333 KODAPUNKZ
Holders
1,424
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 KODAPUNKZLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
KodaPunkz
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; // ██╗░░██╗░█████╗░██████╗░░█████╗░██████╗░██╗░░░██╗███╗░░██╗██╗░░██╗███████╗ // ██║░██╔╝██╔══██╗██╔══██╗██╔══██╗██╔══██╗██║░░░██║████╗░██║██║░██╔╝╚════██║ // █████═╝░██║░░██║██║░░██║███████║██████╔╝██║░░░██║██╔██╗██║█████═╝░░░███╔═╝ // ██╔═██╗░██║░░██║██║░░██║██╔══██║██╔═══╝░██║░░░██║██║╚████║██╔═██╗░██╔══╝░░ // ██║░╚██╗╚█████╔╝██████╔╝██║░░██║██║░░░░░╚██████╔╝██║░╚███║██║░╚██╗███████╗ // ╚═╝░░╚═╝░╚════╝░╚═════╝░╚═╝░░╚═╝╚═╝░░░░░░╚═════╝░╚═╝░░╚══╝╚═╝░░╚═╝╚══════╝ contract KodaPunkz is ERC721A, Ownable, ReentrancyGuard { using Strings for uint256; string public _baseTokenURI; uint256 public cost = 0.019 ether; uint256 public apeCost = 4.49 ether; uint256 public maxSupply = 3333; uint256 public maxMintAmountPerTx = 5; bool public paused; bool public revealed; ERC20 apeToken = ERC20(0x4d224452801ACEd8B2F0aebE155379bb5D594381); constructor(string memory baseURI) ERC721A("KodaPunkz", "KODAPUNKZ") { _baseTokenURI = baseURI; _safeMint(msg.sender, 1); } modifier mintCompliance(uint256 _mintAmount) { require(_mintAmount > 0 && _mintAmount <= maxMintAmountPerTx, "Invalid mint amount!"); require(totalSupply() + _mintAmount <= maxSupply, "Max supply exceeded!"); require(!paused, "The contract is paused!"); _; } /// @notice Mint with APE Coin. Sender needs to have had approved the tokens from the ape contract in the first place. function mintWithApeCoin(uint256 _mintAmount) external nonReentrant mintCompliance(_mintAmount) { apeToken.transferFrom(msg.sender, address(this), _mintAmount * apeCost); _safeMint(msg.sender, _mintAmount); } /// @notice Mint with eth. function mint(uint256 _mintAmount) external payable nonReentrant mintCompliance(_mintAmount) { require(msg.value >= cost * _mintAmount, "Insufficient funds!"); _safeMint(msg.sender, _mintAmount); } /// @notice Airdrop for a single address. function mintForAddress(uint256 _mintAmount, address _receiver) external onlyOwner { _safeMint(_receiver, _mintAmount); } /// @notice Airdrops to multiple wallets. function batchMintForAddress(address[] calldata addresses, uint256[] calldata quantities) external onlyOwner { uint32 i; unchecked { for (i=0; i < addresses.length; ++i) { _safeMint(addresses[i], quantities[i]); } } } function _startTokenId() internal view virtual override returns (uint256) { return 1; } /// @notice Reveals the metadata. Cannot be undone! function setRevealed(bool _state) external onlyOwner { revealed = _state; } function setCost(uint256 _cost) external onlyOwner { cost = _cost; } function setMaxMintAmountPerTx(uint256 _maxMintAmountPerTx) external onlyOwner { maxMintAmountPerTx = _maxMintAmountPerTx; } function setPaused(bool _state) external onlyOwner { paused = _state; } /// @notice Withdraw APE Coins from contract. function withdrawApeTokens() external onlyOwner { apeToken.transfer(msg.sender, apeToken.balanceOf(address(this))); } /// @notice Withdraw eth from contract. function withdraw() external onlyOwner nonReentrant { payable(owner()).transfer(address(this).balance); } // METADATA HANDLING // function setBaseURI(string calldata baseURI) external onlyOwner { _baseTokenURI = baseURI; } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), "URI does not exist!"); if (revealed) { return string(abi.encodePacked(_baseURI(), _tokenId.toString(), ".json")); } else { return _baseURI(); } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v3.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721A { using Address for address; using Strings for uint256; // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner) if(!isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.isContract()) 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 && !_ownerships[tokenId].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 { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex < end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev 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 { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @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); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v3.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A is IERC721, IERC721Metadata { /** * 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(); // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // 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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"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":[],"name":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"apeCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"quantities","type":"uint256[]"}],"name":"batchMintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mintWithApeCoin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","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":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawApeTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052664380663abb8000600b55673e4faf3601810000600c55610d05600d556005600e55600f805462010000600160b01b031916754d224452801aced8b2f0aebe155379bb5d59438100001790553480156200005d57600080fd5b50604051620029003803806200290083398101604081905262000080916200055b565b6040518060400160405280600981526020016825b7b230a83ab735bd60b91b8152506040518060400160405280600981526020016825a7a220a82aa725ad60b91b8152508160029080519060200190620000dc92919062000482565b508051620000f290600390602084019062000482565b5050600160005550620001053362000134565b600160095580516200011f90600a90602084019062000482565b506200012d33600162000186565b50620006eb565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001a8828260405180602001604052806000815250620001ac60201b60201c565b5050565b6000546001600160a01b038416620001d657604051622e076360e81b815260040160405180910390fd5b82620001f55760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038416600081815260056020908152604080832080546001600160801b031981166001600160401b038083168b018116918217680100000000000000006001600160401b031990941690921783900481168b0181169092021790915585845260048352922080546001600160e01b0319168417600160a01b4290941693909302929092179091558291828601916200029e919062000372811b620012b817901c565b156200031d575b60405182906001600160a01b03881690600090600080516020620028e0833981519152908290a46001820191620002e29060009088908762000381565b62000300576040516368d2bf6b60e11b815260040160405180910390fd5b808210620002a55782600054146200031757600080fd5b62000352565b5b6040516001830192906001600160a01b03881690600090600080516020620028e0833981519152908290a48082106200031e575b5060009081556200036c908583866001600160e01b038516565b50505050565b6001600160a01b03163b151590565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290620003b890339089908890889060040162000613565b602060405180830381600087803b158015620003d357600080fd5b505af192505050801562000406575060408051601f3d908101601f19168201909252620004039181019062000528565b60015b62000465573d80801562000437576040519150601f19603f3d011682016040523d82523d6000602084013e6200043c565b606091505b5080516200045d576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b828054620004909062000698565b90600052602060002090601f016020900481019282620004b45760008555620004ff565b82601f10620004cf57805160ff1916838001178555620004ff565b82800160010185558215620004ff579182015b82811115620004ff578251825591602001919060010190620004e2565b506200050d92915062000511565b5090565b5b808211156200050d576000815560010162000512565b6000602082840312156200053b57600080fd5b81516001600160e01b0319811681146200055457600080fd5b9392505050565b6000602082840312156200056e57600080fd5b81516001600160401b03808211156200058657600080fd5b818401915084601f8301126200059b57600080fd5b815181811115620005b057620005b0620006d5565b604051601f8201601f19908116603f01168101908382118183101715620005db57620005db620006d5565b81604052828152876020848701011115620005f557600080fd5b6200060883602083016020880162000669565b979650505050505050565b600060018060a01b038087168352808616602084015250836040830152608060608301528251806080840152620006528160a085016020870162000669565b601f01601f19169190910160a00195945050505050565b60005b83811015620006865781810151838201526020016200066c565b838111156200036c5750506000910152565b600181811c90821680620006ad57607f821691505b60208210811415620006cf57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6121e580620006fb6000396000f3fe6080604052600436106102045760003560e01c8063715018a611610118578063b88d4fde116100a0578063de30dd341161006f578063de30dd3414610590578063e0a80853146105b0578063e985e9c5146105d0578063efbd73f414610619578063f2fde38b1461063957600080fd5b8063b88d4fde14610525578063c87b56dd14610545578063cfc86f7b14610565578063d5abeb011461057a57600080fd5b806395d89b41116100e757806395d89b41146104a7578063a0712d68146104bc578063a22cb465146104cf578063b071401b146104ef578063b86b28b01461050f57600080fd5b8063715018a61461043e57806380aec90c146104535780638da5cb5b1461047357806394354fd01461049157600080fd5b80633ccfd60b1161019b57806355f804b31161016a57806355f804b3146103af5780635c975abb146103cf5780636352211e146103e95780636367f8c11461040957806370a082311461041e57600080fd5b80633ccfd60b1461033b57806342842e0e1461035057806344a0d68a14610370578063518302271461039057600080fd5b806313faede6116101d757806313faede6146102ba57806316c38b3c146102de57806318160ddd146102fe57806323b872dd1461031b57600080fd5b806301ffc9a71461020957806306fdde031461023e578063081812fc14610260578063095ea7b314610298575b600080fd5b34801561021557600080fd5b50610229610224366004611e13565b610659565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b506102536106ab565b6040516102359190611fbc565b34801561026c57600080fd5b5061028061027b366004611ebf565b61073d565b6040516001600160a01b039091168152602001610235565b3480156102a457600080fd5b506102b86102b3366004611d43565b610781565b005b3480156102c657600080fd5b506102d0600b5481565b604051908152602001610235565b3480156102ea57600080fd5b506102b86102f9366004611dd9565b610808565b34801561030a57600080fd5b5060015460005403600019016102d0565b34801561032757600080fd5b506102b8610336366004611bf4565b61084e565b34801561034757600080fd5b506102b8610859565b34801561035c57600080fd5b506102b861036b366004611bf4565b6108ec565b34801561037c57600080fd5b506102b861038b366004611ebf565b610907565b34801561039c57600080fd5b50600f5461022990610100900460ff1681565b3480156103bb57600080fd5b506102b86103ca366004611e4d565b610936565b3480156103db57600080fd5b50600f546102299060ff1681565b3480156103f557600080fd5b50610280610404366004611ebf565b61096c565b34801561041557600080fd5b506102b861097e565b34801561042a57600080fd5b506102d0610439366004611b9f565b610ab3565b34801561044a57600080fd5b506102b8610b02565b34801561045f57600080fd5b506102b861046e366004611ebf565b610b38565b34801561047f57600080fd5b506008546001600160a01b0316610280565b34801561049d57600080fd5b506102d0600e5481565b3480156104b357600080fd5b50610253610d31565b6102b86104ca366004611ebf565b610d40565b3480156104db57600080fd5b506102b86104ea366004611d0c565b610ec7565b3480156104fb57600080fd5b506102b861050a366004611ebf565b610f5d565b34801561051b57600080fd5b506102d0600c5481565b34801561053157600080fd5b506102b8610540366004611c30565b610f8c565b34801561055157600080fd5b50610253610560366004611ebf565b610fd6565b34801561057157600080fd5b50610253611078565b34801561058657600080fd5b506102d0600d5481565b34801561059c57600080fd5b506102b86105ab366004611d6d565b611106565b3480156105bc57600080fd5b506102b86105cb366004611dd9565b6111a4565b3480156105dc57600080fd5b506102296105eb366004611bc1565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561062557600080fd5b506102b8610634366004611ef1565b6111e8565b34801561064557600080fd5b506102b8610654366004611b9f565b611220565b60006001600160e01b031982166380ac58cd60e01b148061068a57506001600160e01b03198216635b5e139f60e01b145b806106a557506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546106ba906120c9565b80601f01602080910402602001604051908101604052809291908181526020018280546106e6906120c9565b80156107335780601f1061070857610100808354040283529160200191610733565b820191906000526020600020905b81548152906001019060200180831161071657829003601f168201915b5050505050905090565b6000610748826112c7565b610765576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061078c8261096c565b9050806001600160a01b0316836001600160a01b031614156107c15760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146107f8576107db81336105eb565b6107f8576040516367d9dca160e11b815260040160405180910390fd5b610803838383611300565b505050565b6008546001600160a01b0316331461083b5760405162461bcd60e51b815260040161083290611fcf565b60405180910390fd5b600f805460ff1916911515919091179055565b61080383838361135c565b6008546001600160a01b031633146108835760405162461bcd60e51b815260040161083290611fcf565b600260095414156108a65760405162461bcd60e51b815260040161083290612004565b60026009556008546040516001600160a01b03909116904780156108fc02916000818181858888f193505050501580156108e4573d6000803e3d6000fd5b506001600955565b61080383838360405180602001604052806000815250610f8c565b6008546001600160a01b031633146109315760405162461bcd60e51b815260040161083290611fcf565b600b55565b6008546001600160a01b031633146109605760405162461bcd60e51b815260040161083290611fcf565b610803600a8383611aa3565b600061097782611549565b5192915050565b6008546001600160a01b031633146109a85760405162461bcd60e51b815260040161083290611fcf565b600f546040516370a0823160e01b8152306004820152620100009091046001600160a01b03169063a9059cbb90339083906370a082319060240160206040518083038186803b1580156109fa57600080fd5b505afa158015610a0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a329190611ed8565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b158015610a7857600080fd5b505af1158015610a8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab09190611df6565b50565b60006001600160a01b038216610adc576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610b2c5760405162461bcd60e51b815260040161083290611fcf565b610b36600061166d565b565b60026009541415610b5b5760405162461bcd60e51b815260040161083290612004565b6002600955808015801590610b725750600e548111155b610bb55760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610832565b600d546001546000548391900360001901610bd0919061203b565b1115610c155760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610832565b600f5460ff1615610c625760405162461bcd60e51b815260206004820152601760248201527654686520636f6e7472616374206973207061757365642160481b6044820152606401610832565b600f60029054906101000a90046001600160a01b03166001600160a01b03166323b872dd3330600c5486610c969190612067565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401602060405180830381600087803b158015610ce557600080fd5b505af1158015610cf9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1d9190611df6565b50610d2833836116bf565b50506001600955565b6060600380546106ba906120c9565b60026009541415610d635760405162461bcd60e51b815260040161083290612004565b6002600955808015801590610d7a5750600e548111155b610dbd5760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610832565b600d546001546000548391900360001901610dd8919061203b565b1115610e1d5760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610832565b600f5460ff1615610e6a5760405162461bcd60e51b815260206004820152601760248201527654686520636f6e7472616374206973207061757365642160481b6044820152606401610832565b81600b54610e789190612067565b341015610ebd5760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610832565b610d2833836116bf565b6001600160a01b038216331415610ef15760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b03163314610f875760405162461bcd60e51b815260040161083290611fcf565b600e55565b610f9784848461135c565b6001600160a01b0383163b15610fd057610fb3848484846116d9565b610fd0576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610fe1826112c7565b6110235760405162461bcd60e51b815260206004820152601360248201527255524920646f6573206e6f742065786973742160681b6044820152606401610832565b600f54610100900460ff161561106b5761103b6117d1565b611044836117e0565b604051602001611055929190611f40565b6040516020818303038152906040529050919050565b6106a56117d1565b919050565b600a8054611085906120c9565b80601f01602080910402602001604051908101604052809291908181526020018280546110b1906120c9565b80156110fe5780601f106110d3576101008083540402835291602001916110fe565b820191906000526020600020905b8154815290600101906020018083116110e157829003601f168201915b505050505081565b6008546001600160a01b031633146111305760405162461bcd60e51b815260040161083290611fcf565b60005b63ffffffff811684111561119d5761119585858363ffffffff1681811061115c5761115c61215f565b90506020020160208101906111719190611b9f565b84848463ffffffff168181106111895761118961215f565b905060200201356116bf565b600101611133565b5050505050565b6008546001600160a01b031633146111ce5760405162461bcd60e51b815260040161083290611fcf565b600f80549115156101000261ff0019909216919091179055565b6008546001600160a01b031633146112125760405162461bcd60e51b815260040161083290611fcf565b61121c81836116bf565b5050565b6008546001600160a01b0316331461124a5760405162461bcd60e51b815260040161083290611fcf565b6001600160a01b0381166112af5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610832565b610ab08161166d565b6001600160a01b03163b151590565b6000816001111580156112db575060005482105b80156106a5575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061136782611549565b9050836001600160a01b031681600001516001600160a01b03161461139e5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806113bc57506113bc85336105eb565b806113d75750336113cc8461073d565b6001600160a01b0316145b9050806113f757604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661141e57604051633a954ecd60e21b815260040160405180910390fd5b61142a60008487611300565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116611500576000548214611500578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461119d565b604080516060810182526000808252602082018190529181019190915281806001116116545760005481101561165457600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906116525780516001600160a01b0316156115e8579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff161515928101929092521561164d579392505050565b6115e8565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61121c8282604051806020016040528060008152506118de565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061170e903390899088908890600401611f7f565b602060405180830381600087803b15801561172857600080fd5b505af1925050508015611758575060408051601f3d908101601f1916820190925261175591810190611e30565b60015b6117b3573d808015611786576040519150601f19603f3d011682016040523d82523d6000602084013e61178b565b606091505b5080516117ab576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a80546106ba906120c9565b6060816118045750506040805180820190915260018152600360fc1b602082015290565b8160005b811561182e578061181881612104565b91506118279050600a83612053565b9150611808565b60008167ffffffffffffffff81111561184957611849612175565b6040519080825280601f01601f191660200182016040528015611873576020820181803683370190505b5090505b84156117c957611888600183612086565b9150611895600a8661211f565b6118a090603061203b565b60f81b8183815181106118b5576118b561215f565b60200101906001600160f81b031916908160001a9053506118d7600a86612053565b9450611877565b6000546001600160a01b03841661190757604051622e076360e81b815260040160405180910390fd5b826119255760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038416600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168b0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168b01811690920217909155858452600490925290912080546001600160e01b0319168317600160a01b42909316929092029190911790558190818501903b15611a4e575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611a1760008784806001019550876116d9565b611a34576040516368d2bf6b60e11b815260040160405180910390fd5b8082106119cc578260005414611a4957600080fd5b611a93565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611a4f575b506000908155610fd09085838684565b828054611aaf906120c9565b90600052602060002090601f016020900481019282611ad15760008555611b17565b82601f10611aea5782800160ff19823516178555611b17565b82800160010185558215611b17579182015b82811115611b17578235825591602001919060010190611afc565b50611b23929150611b27565b5090565b5b80821115611b235760008155600101611b28565b80356001600160a01b038116811461107357600080fd5b60008083601f840112611b6557600080fd5b50813567ffffffffffffffff811115611b7d57600080fd5b6020830191508360208260051b8501011115611b9857600080fd5b9250929050565b600060208284031215611bb157600080fd5b611bba82611b3c565b9392505050565b60008060408385031215611bd457600080fd5b611bdd83611b3c565b9150611beb60208401611b3c565b90509250929050565b600080600060608486031215611c0957600080fd5b611c1284611b3c565b9250611c2060208501611b3c565b9150604084013590509250925092565b60008060008060808587031215611c4657600080fd5b611c4f85611b3c565b9350611c5d60208601611b3c565b925060408501359150606085013567ffffffffffffffff80821115611c8157600080fd5b818701915087601f830112611c9557600080fd5b813581811115611ca757611ca7612175565b604051601f8201601f19908116603f01168101908382118183101715611ccf57611ccf612175565b816040528281528a6020848701011115611ce857600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611d1f57600080fd5b611d2883611b3c565b91506020830135611d388161218b565b809150509250929050565b60008060408385031215611d5657600080fd5b611d5f83611b3c565b946020939093013593505050565b60008060008060408587031215611d8357600080fd5b843567ffffffffffffffff80821115611d9b57600080fd5b611da788838901611b53565b90965094506020870135915080821115611dc057600080fd5b50611dcd87828801611b53565b95989497509550505050565b600060208284031215611deb57600080fd5b8135611bba8161218b565b600060208284031215611e0857600080fd5b8151611bba8161218b565b600060208284031215611e2557600080fd5b8135611bba81612199565b600060208284031215611e4257600080fd5b8151611bba81612199565b60008060208385031215611e6057600080fd5b823567ffffffffffffffff80821115611e7857600080fd5b818501915085601f830112611e8c57600080fd5b813581811115611e9b57600080fd5b866020828501011115611ead57600080fd5b60209290920196919550909350505050565b600060208284031215611ed157600080fd5b5035919050565b600060208284031215611eea57600080fd5b5051919050565b60008060408385031215611f0457600080fd5b82359150611beb60208401611b3c565b60008151808452611f2c81602086016020860161209d565b601f01601f19169290920160200192915050565b60008351611f5281846020880161209d565b835190830190611f6681836020880161209d565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611fb290830184611f14565b9695505050505050565b602081526000611bba6020830184611f14565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6000821982111561204e5761204e612133565b500190565b60008261206257612062612149565b500490565b600081600019048311821515161561208157612081612133565b500290565b60008282101561209857612098612133565b500390565b60005b838110156120b85781810151838201526020016120a0565b83811115610fd05750506000910152565b600181811c908216806120dd57607f821691505b602082108114156120fe57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561211857612118612133565b5060010190565b60008261212e5761212e612149565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114610ab057600080fd5b6001600160e01b031981168114610ab057600080fdfea2646970667358221220d966da8cb348a4a7a935e910e50edc5b1c877d62b7606d88c7133f64772306d264736f6c63430008070033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000045697066733a2f2f516d6273507977514854717344455170533734727050635374736832445432524165554a504575414863626f386a2f556e72657665616c65642e6a736f6e000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102045760003560e01c8063715018a611610118578063b88d4fde116100a0578063de30dd341161006f578063de30dd3414610590578063e0a80853146105b0578063e985e9c5146105d0578063efbd73f414610619578063f2fde38b1461063957600080fd5b8063b88d4fde14610525578063c87b56dd14610545578063cfc86f7b14610565578063d5abeb011461057a57600080fd5b806395d89b41116100e757806395d89b41146104a7578063a0712d68146104bc578063a22cb465146104cf578063b071401b146104ef578063b86b28b01461050f57600080fd5b8063715018a61461043e57806380aec90c146104535780638da5cb5b1461047357806394354fd01461049157600080fd5b80633ccfd60b1161019b57806355f804b31161016a57806355f804b3146103af5780635c975abb146103cf5780636352211e146103e95780636367f8c11461040957806370a082311461041e57600080fd5b80633ccfd60b1461033b57806342842e0e1461035057806344a0d68a14610370578063518302271461039057600080fd5b806313faede6116101d757806313faede6146102ba57806316c38b3c146102de57806318160ddd146102fe57806323b872dd1461031b57600080fd5b806301ffc9a71461020957806306fdde031461023e578063081812fc14610260578063095ea7b314610298575b600080fd5b34801561021557600080fd5b50610229610224366004611e13565b610659565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b506102536106ab565b6040516102359190611fbc565b34801561026c57600080fd5b5061028061027b366004611ebf565b61073d565b6040516001600160a01b039091168152602001610235565b3480156102a457600080fd5b506102b86102b3366004611d43565b610781565b005b3480156102c657600080fd5b506102d0600b5481565b604051908152602001610235565b3480156102ea57600080fd5b506102b86102f9366004611dd9565b610808565b34801561030a57600080fd5b5060015460005403600019016102d0565b34801561032757600080fd5b506102b8610336366004611bf4565b61084e565b34801561034757600080fd5b506102b8610859565b34801561035c57600080fd5b506102b861036b366004611bf4565b6108ec565b34801561037c57600080fd5b506102b861038b366004611ebf565b610907565b34801561039c57600080fd5b50600f5461022990610100900460ff1681565b3480156103bb57600080fd5b506102b86103ca366004611e4d565b610936565b3480156103db57600080fd5b50600f546102299060ff1681565b3480156103f557600080fd5b50610280610404366004611ebf565b61096c565b34801561041557600080fd5b506102b861097e565b34801561042a57600080fd5b506102d0610439366004611b9f565b610ab3565b34801561044a57600080fd5b506102b8610b02565b34801561045f57600080fd5b506102b861046e366004611ebf565b610b38565b34801561047f57600080fd5b506008546001600160a01b0316610280565b34801561049d57600080fd5b506102d0600e5481565b3480156104b357600080fd5b50610253610d31565b6102b86104ca366004611ebf565b610d40565b3480156104db57600080fd5b506102b86104ea366004611d0c565b610ec7565b3480156104fb57600080fd5b506102b861050a366004611ebf565b610f5d565b34801561051b57600080fd5b506102d0600c5481565b34801561053157600080fd5b506102b8610540366004611c30565b610f8c565b34801561055157600080fd5b50610253610560366004611ebf565b610fd6565b34801561057157600080fd5b50610253611078565b34801561058657600080fd5b506102d0600d5481565b34801561059c57600080fd5b506102b86105ab366004611d6d565b611106565b3480156105bc57600080fd5b506102b86105cb366004611dd9565b6111a4565b3480156105dc57600080fd5b506102296105eb366004611bc1565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561062557600080fd5b506102b8610634366004611ef1565b6111e8565b34801561064557600080fd5b506102b8610654366004611b9f565b611220565b60006001600160e01b031982166380ac58cd60e01b148061068a57506001600160e01b03198216635b5e139f60e01b145b806106a557506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546106ba906120c9565b80601f01602080910402602001604051908101604052809291908181526020018280546106e6906120c9565b80156107335780601f1061070857610100808354040283529160200191610733565b820191906000526020600020905b81548152906001019060200180831161071657829003601f168201915b5050505050905090565b6000610748826112c7565b610765576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061078c8261096c565b9050806001600160a01b0316836001600160a01b031614156107c15760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146107f8576107db81336105eb565b6107f8576040516367d9dca160e11b815260040160405180910390fd5b610803838383611300565b505050565b6008546001600160a01b0316331461083b5760405162461bcd60e51b815260040161083290611fcf565b60405180910390fd5b600f805460ff1916911515919091179055565b61080383838361135c565b6008546001600160a01b031633146108835760405162461bcd60e51b815260040161083290611fcf565b600260095414156108a65760405162461bcd60e51b815260040161083290612004565b60026009556008546040516001600160a01b03909116904780156108fc02916000818181858888f193505050501580156108e4573d6000803e3d6000fd5b506001600955565b61080383838360405180602001604052806000815250610f8c565b6008546001600160a01b031633146109315760405162461bcd60e51b815260040161083290611fcf565b600b55565b6008546001600160a01b031633146109605760405162461bcd60e51b815260040161083290611fcf565b610803600a8383611aa3565b600061097782611549565b5192915050565b6008546001600160a01b031633146109a85760405162461bcd60e51b815260040161083290611fcf565b600f546040516370a0823160e01b8152306004820152620100009091046001600160a01b03169063a9059cbb90339083906370a082319060240160206040518083038186803b1580156109fa57600080fd5b505afa158015610a0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a329190611ed8565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b158015610a7857600080fd5b505af1158015610a8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab09190611df6565b50565b60006001600160a01b038216610adc576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610b2c5760405162461bcd60e51b815260040161083290611fcf565b610b36600061166d565b565b60026009541415610b5b5760405162461bcd60e51b815260040161083290612004565b6002600955808015801590610b725750600e548111155b610bb55760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610832565b600d546001546000548391900360001901610bd0919061203b565b1115610c155760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610832565b600f5460ff1615610c625760405162461bcd60e51b815260206004820152601760248201527654686520636f6e7472616374206973207061757365642160481b6044820152606401610832565b600f60029054906101000a90046001600160a01b03166001600160a01b03166323b872dd3330600c5486610c969190612067565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401602060405180830381600087803b158015610ce557600080fd5b505af1158015610cf9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1d9190611df6565b50610d2833836116bf565b50506001600955565b6060600380546106ba906120c9565b60026009541415610d635760405162461bcd60e51b815260040161083290612004565b6002600955808015801590610d7a5750600e548111155b610dbd5760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610832565b600d546001546000548391900360001901610dd8919061203b565b1115610e1d5760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610832565b600f5460ff1615610e6a5760405162461bcd60e51b815260206004820152601760248201527654686520636f6e7472616374206973207061757365642160481b6044820152606401610832565b81600b54610e789190612067565b341015610ebd5760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610832565b610d2833836116bf565b6001600160a01b038216331415610ef15760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b03163314610f875760405162461bcd60e51b815260040161083290611fcf565b600e55565b610f9784848461135c565b6001600160a01b0383163b15610fd057610fb3848484846116d9565b610fd0576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610fe1826112c7565b6110235760405162461bcd60e51b815260206004820152601360248201527255524920646f6573206e6f742065786973742160681b6044820152606401610832565b600f54610100900460ff161561106b5761103b6117d1565b611044836117e0565b604051602001611055929190611f40565b6040516020818303038152906040529050919050565b6106a56117d1565b919050565b600a8054611085906120c9565b80601f01602080910402602001604051908101604052809291908181526020018280546110b1906120c9565b80156110fe5780601f106110d3576101008083540402835291602001916110fe565b820191906000526020600020905b8154815290600101906020018083116110e157829003601f168201915b505050505081565b6008546001600160a01b031633146111305760405162461bcd60e51b815260040161083290611fcf565b60005b63ffffffff811684111561119d5761119585858363ffffffff1681811061115c5761115c61215f565b90506020020160208101906111719190611b9f565b84848463ffffffff168181106111895761118961215f565b905060200201356116bf565b600101611133565b5050505050565b6008546001600160a01b031633146111ce5760405162461bcd60e51b815260040161083290611fcf565b600f80549115156101000261ff0019909216919091179055565b6008546001600160a01b031633146112125760405162461bcd60e51b815260040161083290611fcf565b61121c81836116bf565b5050565b6008546001600160a01b0316331461124a5760405162461bcd60e51b815260040161083290611fcf565b6001600160a01b0381166112af5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610832565b610ab08161166d565b6001600160a01b03163b151590565b6000816001111580156112db575060005482105b80156106a5575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061136782611549565b9050836001600160a01b031681600001516001600160a01b03161461139e5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806113bc57506113bc85336105eb565b806113d75750336113cc8461073d565b6001600160a01b0316145b9050806113f757604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661141e57604051633a954ecd60e21b815260040160405180910390fd5b61142a60008487611300565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116611500576000548214611500578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461119d565b604080516060810182526000808252602082018190529181019190915281806001116116545760005481101561165457600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906116525780516001600160a01b0316156115e8579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff161515928101929092521561164d579392505050565b6115e8565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61121c8282604051806020016040528060008152506118de565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061170e903390899088908890600401611f7f565b602060405180830381600087803b15801561172857600080fd5b505af1925050508015611758575060408051601f3d908101601f1916820190925261175591810190611e30565b60015b6117b3573d808015611786576040519150601f19603f3d011682016040523d82523d6000602084013e61178b565b606091505b5080516117ab576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a80546106ba906120c9565b6060816118045750506040805180820190915260018152600360fc1b602082015290565b8160005b811561182e578061181881612104565b91506118279050600a83612053565b9150611808565b60008167ffffffffffffffff81111561184957611849612175565b6040519080825280601f01601f191660200182016040528015611873576020820181803683370190505b5090505b84156117c957611888600183612086565b9150611895600a8661211f565b6118a090603061203b565b60f81b8183815181106118b5576118b561215f565b60200101906001600160f81b031916908160001a9053506118d7600a86612053565b9450611877565b6000546001600160a01b03841661190757604051622e076360e81b815260040160405180910390fd5b826119255760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038416600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168b0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168b01811690920217909155858452600490925290912080546001600160e01b0319168317600160a01b42909316929092029190911790558190818501903b15611a4e575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611a1760008784806001019550876116d9565b611a34576040516368d2bf6b60e11b815260040160405180910390fd5b8082106119cc578260005414611a4957600080fd5b611a93565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611a4f575b506000908155610fd09085838684565b828054611aaf906120c9565b90600052602060002090601f016020900481019282611ad15760008555611b17565b82601f10611aea5782800160ff19823516178555611b17565b82800160010185558215611b17579182015b82811115611b17578235825591602001919060010190611afc565b50611b23929150611b27565b5090565b5b80821115611b235760008155600101611b28565b80356001600160a01b038116811461107357600080fd5b60008083601f840112611b6557600080fd5b50813567ffffffffffffffff811115611b7d57600080fd5b6020830191508360208260051b8501011115611b9857600080fd5b9250929050565b600060208284031215611bb157600080fd5b611bba82611b3c565b9392505050565b60008060408385031215611bd457600080fd5b611bdd83611b3c565b9150611beb60208401611b3c565b90509250929050565b600080600060608486031215611c0957600080fd5b611c1284611b3c565b9250611c2060208501611b3c565b9150604084013590509250925092565b60008060008060808587031215611c4657600080fd5b611c4f85611b3c565b9350611c5d60208601611b3c565b925060408501359150606085013567ffffffffffffffff80821115611c8157600080fd5b818701915087601f830112611c9557600080fd5b813581811115611ca757611ca7612175565b604051601f8201601f19908116603f01168101908382118183101715611ccf57611ccf612175565b816040528281528a6020848701011115611ce857600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611d1f57600080fd5b611d2883611b3c565b91506020830135611d388161218b565b809150509250929050565b60008060408385031215611d5657600080fd5b611d5f83611b3c565b946020939093013593505050565b60008060008060408587031215611d8357600080fd5b843567ffffffffffffffff80821115611d9b57600080fd5b611da788838901611b53565b90965094506020870135915080821115611dc057600080fd5b50611dcd87828801611b53565b95989497509550505050565b600060208284031215611deb57600080fd5b8135611bba8161218b565b600060208284031215611e0857600080fd5b8151611bba8161218b565b600060208284031215611e2557600080fd5b8135611bba81612199565b600060208284031215611e4257600080fd5b8151611bba81612199565b60008060208385031215611e6057600080fd5b823567ffffffffffffffff80821115611e7857600080fd5b818501915085601f830112611e8c57600080fd5b813581811115611e9b57600080fd5b866020828501011115611ead57600080fd5b60209290920196919550909350505050565b600060208284031215611ed157600080fd5b5035919050565b600060208284031215611eea57600080fd5b5051919050565b60008060408385031215611f0457600080fd5b82359150611beb60208401611b3c565b60008151808452611f2c81602086016020860161209d565b601f01601f19169290920160200192915050565b60008351611f5281846020880161209d565b835190830190611f6681836020880161209d565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611fb290830184611f14565b9695505050505050565b602081526000611bba6020830184611f14565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6000821982111561204e5761204e612133565b500190565b60008261206257612062612149565b500490565b600081600019048311821515161561208157612081612133565b500290565b60008282101561209857612098612133565b500390565b60005b838110156120b85781810151838201526020016120a0565b83811115610fd05750506000910152565b600181811c908216806120dd57607f821691505b602082108114156120fe57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561211857612118612133565b5060010190565b60008261212e5761212e612149565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114610ab057600080fd5b6001600160e01b031981168114610ab057600080fdfea2646970667358221220d966da8cb348a4a7a935e910e50edc5b1c877d62b7606d88c7133f64772306d264736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000045697066733a2f2f516d6273507977514854717344455170533734727050635374736832445432524165554a504575414863626f386a2f556e72657665616c65642e6a736f6e000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : baseURI (string): ipfs://QmbsPywQHTqsDEQpS74rpPcStsh2DT2RAeUJPEuAHcbo8j/Unrevealed.json
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000045
Arg [2] : 697066733a2f2f516d6273507977514854717344455170533734727050635374
Arg [3] : 736832445432524165554a504575414863626f386a2f556e72657665616c6564
Arg [4] : 2e6a736f6e000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
1711:3409:13:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3057:300:14;;;;;;;;;;-1:-1:-1;3057:300:14;;;;;:::i;:::-;;:::i;:::-;;;8512:14:16;;8505:22;8487:41;;8475:2;8460:18;3057:300:14;;;;;;;;6087:98;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;7544:200::-;;;;;;;;;;-1:-1:-1;7544:200:14;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7151:32:16;;;7133:51;;7121:2;7106:18;7544:200:14;6987:203:16;7120:363:14;;;;;;;;;;-1:-1:-1;7120:363:14;;;;;:::i;:::-;;:::i;:::-;;1838:33:13;;;;;;;;;;;;;;;;;;;11783:25:16;;;11771:2;11756:18;1838:33:13;11637:177:16;4120:79:13;;;;;;;;;;-1:-1:-1;4120:79:13;;;;;:::i;:::-;;:::i;2319:306:14:-;;;;;;;;;;-1:-1:-1;3743:1:13;2578:12:14;2372:7;2562:13;:28;-1:-1:-1;;2562:46:14;2319:306;;8383:164;;;;;;;;;;-1:-1:-1;8383:164:14;;;;;:::i;:::-;;:::i;4428:113:13:-;;;;;;;;;;;;;:::i;8613:179:14:-;;;;;;;;;;-1:-1:-1;8613:179:14;;;;;:::i;:::-;;:::i;3900:76:13:-;;;;;;;;;;-1:-1:-1;3900:76:13;;;;;:::i;:::-;;:::i;2019:20::-;;;;;;;;;;-1:-1:-1;2019:20:13;;;;;;;;;;;4576:100;;;;;;;;;;-1:-1:-1;4576:100:13;;;;;:::i;:::-;;:::i;1996:18::-;;;;;;;;;;-1:-1:-1;1996:18:13;;;;;;;;5902:123:14;;;;;;;;;;-1:-1:-1;5902:123:14;;;;;:::i;:::-;;:::i;4254:125:13:-;;;;;;;;;;;;;:::i;3416:203:14:-;;;;;;;;;;-1:-1:-1;3416:203:14;;;;;:::i;:::-;;:::i;1668:101:0:-;;;;;;;;;;;;;:::i;2671:227:13:-;;;;;;;;;;-1:-1:-1;2671:227:13;;;;;:::i;:::-;;:::i;1036:85:0:-;;;;;;;;;;-1:-1:-1;1108:6:0;;-1:-1:-1;;;;;1108:6:0;1036:85;;1952:37:13;;;;;;;;;;;;;;;;6249:102:14;;;;;;;;;;;;;:::i;2934:212:13:-;;;;;;:::i;:::-;;:::i;7811:282:14:-;;;;;;;;;;-1:-1:-1;7811:282:14;;;;;:::i;:::-;;:::i;3982:132:13:-;;;;;;;;;;-1:-1:-1;3982:132:13;;;;;:::i;:::-;;:::i;1876:35::-;;;;;;;;;;;;;;;;8858:360:14;;;;;;;;;;-1:-1:-1;8858:360:14;;;;;:::i;:::-;;:::i;4798:319:13:-;;;;;;;;;;-1:-1:-1;4798:319:13;;;;;:::i;:::-;;:::i;1804:27::-;;;;;;;;;;;;;:::i;1916:31::-;;;;;;;;;;;;;;;;3379:270;;;;;;;;;;-1:-1:-1;3379:270:13;;;;;:::i;:::-;;:::i;3811:83::-;;;;;;;;;;-1:-1:-1;3811:83:13;;;;;:::i;:::-;;:::i;8159:162:14:-;;;;;;;;;;-1:-1:-1;8159:162:14;;;;;:::i;:::-;-1:-1:-1;;;;;8279:25:14;;;8256:4;8279:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;8159:162;3197:129:13;;;;;;;;;;-1:-1:-1;3197:129:13;;;;;:::i;:::-;;:::i;1918:198:0:-;;;;;;;;;;-1:-1:-1;1918:198:0;;;;;:::i;:::-;;:::i;3057:300:14:-;3159:4;-1:-1:-1;;;;;;3194:40:14;;-1:-1:-1;;;3194:40:14;;:104;;-1:-1:-1;;;;;;;3250:48:14;;-1:-1:-1;;;3250:48:14;3194:104;:156;;;-1:-1:-1;;;;;;;;;;937:40:11;;;3314:36:14;3175:175;3057:300;-1:-1:-1;;3057:300:14:o;6087:98::-;6141:13;6173:5;6166:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6087:98;:::o;7544:200::-;7612:7;7636:16;7644:7;7636;:16::i;:::-;7631:64;;7661:34;;-1:-1:-1;;;7661:34:14;;;;;;;;;;;7631:64;-1:-1:-1;7713:24:14;;;;:15;:24;;;;;;-1:-1:-1;;;;;7713:24:14;;7544:200::o;7120:363::-;7192:13;7208:24;7224:7;7208:15;:24::i;:::-;7192:40;;7252:5;-1:-1:-1;;;;;7246:11:14;:2;-1:-1:-1;;;;;7246:11:14;;7242:48;;;7266:24;;-1:-1:-1;;;7266:24:14;;;;;;;;;;;7242:48;719:10:9;-1:-1:-1;;;;;7305:21:14;;;7301:137;;7332:37;7349:5;719:10:9;8159:162:14;:::i;7332:37::-;7328:110;;7392:35;;-1:-1:-1;;;7392:35:14;;;;;;;;;;;7328:110;7448:28;7457:2;7461:7;7470:5;7448:8;:28::i;:::-;7182:301;7120:363;;:::o;4120:79:13:-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;719:10:9;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;;;;;;;;;4178:6:13::1;:15:::0;;-1:-1:-1;;4178:15:13::1;::::0;::::1;;::::0;;;::::1;::::0;;4120:79::o;8383:164:14:-;8512:28;8522:4;8528:2;8532:7;8512:9;:28::i;4428:113:13:-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;719:10:9;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;1744:1:1::1;2325:7;;:19;;2317:63;;;;-1:-1:-1::0;;;2317:63:1::1;;;;;;;:::i;:::-;1744:1;2455:7;:18:::0;1108:6:0;;4487:48:13::2;::::0;-1:-1:-1;;;;;1108:6:0;;;;4513:21:13::2;4487:48:::0;::::2;;;::::0;::::2;::::0;;;4513:21;1108:6:0;4487:48:13;::::2;;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;1701:1:1::1;2628:7;:22:::0;4428:113:13:o;8613:179:14:-;8746:39;8763:4;8769:2;8773:7;8746:39;;;;;;;;;;;;:16;:39::i;3900:76:13:-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;719:10:9;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;3958:4:13::1;:12:::0;3900:76::o;4576:100::-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;719:10:9;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;4647:23:13::1;:13;4663:7:::0;;4647:23:::1;:::i;5902:123:14:-:0;5966:7;5992:21;6005:7;5992:12;:21::i;:::-;:26;;5902:123;-1:-1:-1;;5902:123:14:o;4254:125:13:-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;719:10:9;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;4309:8:13::1;::::0;4339:33:::1;::::0;-1:-1:-1;;;4339:33:13;;4366:4:::1;4339:33;::::0;::::1;7133:51:16::0;4309:8:13;;;::::1;-1:-1:-1::0;;;;;4309:8:13::1;::::0;:17:::1;::::0;4327:10:::1;::::0;4309:8;;4339:18:::1;::::0;7106::16;;4339:33:13::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4309:64;::::0;-1:-1:-1;;;;;;4309:64:13::1;::::0;;;;;;-1:-1:-1;;;;;8260:32:16;;;4309:64:13::1;::::0;::::1;8242:51:16::0;8309:18;;;8302:34;8215:18;;4309:64:13::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;4254:125::o:0;3416:203:14:-;3480:7;-1:-1:-1;;;;;3503:19:14;;3499:60;;3531:28;;-1:-1:-1;;;3531:28:14;;;;;;;;;;;3499:60;-1:-1:-1;;;;;;3584:19:14;;;;;:12;:19;;;;;:27;;;;3416:203::o;1668:101:0:-;1108:6;;-1:-1:-1;;;;;1108:6:0;719:10:9;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;1732:30:::1;1759:1;1732:18;:30::i;:::-;1668:101::o:0;2671:227:13:-;1744:1:1;2325:7;;:19;;2317:63;;;;-1:-1:-1;;;2317:63:1;;;;;;;:::i;:::-;1744:1;2455:7;:18;2754:11:13;2322:15;;;;;:52:::1;;;2356:18;;2341:11;:33;;2322:52;2314:85;;;::::0;-1:-1:-1;;;2314:85:13;;9372:2:16;2314:85:13::1;::::0;::::1;9354:21:16::0;9411:2;9391:18;;;9384:30;-1:-1:-1;;;9430:18:16;;;9423:50;9490:18;;2314:85:13::1;9170:344:16::0;2314:85:13::1;2445:9;::::0;3743:1;2578:12:14;2372:7;2562:13;2430:11:13;;2562:28:14;;-1:-1:-1;;2562:46:14;2414:27:13::1;;;;:::i;:::-;:40;;2406:73;;;::::0;-1:-1:-1;;;2406:73:13;;10434:2:16;2406:73:13::1;::::0;::::1;10416:21:16::0;10473:2;10453:18;;;10446:30;-1:-1:-1;;;10492:18:16;;;10485:50;10552:18;;2406:73:13::1;10232:344:16::0;2406:73:13::1;2495:6;::::0;::::1;;2494:7;2486:43;;;::::0;-1:-1:-1;;;2486:43:13;;10082:2:16;2486:43:13::1;::::0;::::1;10064:21:16::0;10121:2;10101:18;;;10094:30;-1:-1:-1;;;10140:18:16;;;10133:53;10203:18;;2486:43:13::1;9880:347:16::0;2486:43:13::1;2776:8:::2;;;;;;;;;-1:-1:-1::0;;;;;2776:8:13::2;-1:-1:-1::0;;;;;2776:21:13::2;;2798:10;2818:4;2839:7;;2825:11;:21;;;;:::i;:::-;2776:71;::::0;-1:-1:-1;;;;;;2776:71:13::2;::::0;;;;;;-1:-1:-1;;;;;7453:15:16;;;2776:71:13::2;::::0;::::2;7435:34:16::0;7505:15;;;;7485:18;;;7478:43;7537:18;;;7530:34;7370:18;;2776:71:13::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;2858:34;2868:10;2880:11;2858:9;:34::i;:::-;-1:-1:-1::0;;1701:1:1;2628:7;:22;2671:227:13:o;6249:102:14:-;6305:13;6337:7;6330:14;;;;;:::i;2934:212:13:-;1744:1:1;2325:7;;:19;;2317:63;;;;-1:-1:-1;;;2317:63:1;;;;;;;:::i;:::-;1744:1;2455:7;:18;3014:11:13;2322:15;;;;;:52:::1;;;2356:18;;2341:11;:33;;2322:52;2314:85;;;::::0;-1:-1:-1;;;2314:85:13;;9372:2:16;2314:85:13::1;::::0;::::1;9354:21:16::0;9411:2;9391:18;;;9384:30;-1:-1:-1;;;9430:18:16;;;9423:50;9490:18;;2314:85:13::1;9170:344:16::0;2314:85:13::1;2445:9;::::0;3743:1;2578:12:14;2372:7;2562:13;2430:11:13;;2562:28:14;;-1:-1:-1;;2562:46:14;2414:27:13::1;;;;:::i;:::-;:40;;2406:73;;;::::0;-1:-1:-1;;;2406:73:13;;10434:2:16;2406:73:13::1;::::0;::::1;10416:21:16::0;10473:2;10453:18;;;10446:30;-1:-1:-1;;;10492:18:16;;;10485:50;10552:18;;2406:73:13::1;10232:344:16::0;2406:73:13::1;2495:6;::::0;::::1;;2494:7;2486:43;;;::::0;-1:-1:-1;;;2486:43:13;;10082:2:16;2486:43:13::1;::::0;::::1;10064:21:16::0;10121:2;10101:18;;;10094:30;-1:-1:-1;;;10140:18:16;;;10133:53;10203:18;;2486:43:13::1;9880:347:16::0;2486:43:13::1;3062:11:::2;3055:4;;:18;;;;:::i;:::-;3042:9;:31;;3034:63;;;::::0;-1:-1:-1;;;3034:63:13;;11491:2:16;3034:63:13::2;::::0;::::2;11473:21:16::0;11530:2;11510:18;;;11503:30;-1:-1:-1;;;11549:18:16;;;11542:49;11608:18;;3034:63:13::2;11289:343:16::0;3034:63:13::2;3106:34;3116:10;3128:11;3106:9;:34::i;7811:282:14:-:0;-1:-1:-1;;;;;7909:24:14;;719:10:9;7909:24:14;7905:54;;;7942:17;;-1:-1:-1;;;7942:17:14;;;;;;;;;;;7905:54;719:10:9;7970:32:14;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;7970:42:14;;;;;;;;;;;;:53;;-1:-1:-1;;7970:53:14;;;;;;;;;;8038:48;;8487:41:16;;;7970:42:14;;719:10:9;8038:48:14;;8460:18:16;8038:48:14;;;;;;;7811:282;;:::o;3982:132:13:-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;719:10:9;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;4068:18:13::1;:40:::0;3982:132::o;8858:360:14:-;9019:28;9029:4;9035:2;9039:7;9019:9;:28::i;:::-;-1:-1:-1;;;;;9061:13:14;;1465:19:8;:23;9057:155:14;;9082:56;9113:4;9119:2;9123:7;9132:5;9082:30;:56::i;:::-;9078:134;;9161:40;;-1:-1:-1;;;9161:40:14;;;;;;;;;;;9078:134;8858:360;;;;:::o;4798:319:13:-;4872:13;4904:17;4912:8;4904:7;:17::i;:::-;4896:49;;;;-1:-1:-1;;;4896:49:13;;11143:2:16;4896:49:13;;;11125:21:16;11182:2;11162:18;;;11155:30;-1:-1:-1;;;11201:18:16;;;11194:49;11260:18;;4896:49:13;10941:343:16;4896:49:13;4960:8;;;;;;;4956:156;;;5014:10;:8;:10::i;:::-;5026:19;:8;:17;:19::i;:::-;4997:58;;;;;;;;;:::i;:::-;;;;;;;;;;;;;4983:73;;4798:319;;;:::o;4956:156::-;5092:10;:8;:10::i;4956:156::-;4798:319;;;:::o;1804:27::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;3379:270::-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;719:10:9;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;3497:8:13::1;3535:100;3545:20;::::0;::::1;::::0;-1:-1:-1;3535:100:13::1;;;3585:38;3595:9;;3605:1;3595:12;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;3609:10;;3620:1;3609:13;;;;;;;;;:::i;:::-;;;;;;;3585:9;:38::i;:::-;3567:3;;3535:100;;;3488:161;3379:270:::0;;;;:::o;3811:83::-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;719:10:9;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;3871:8:13::1;:17:::0;;;::::1;;;;-1:-1:-1::0;;3871:17:13;;::::1;::::0;;;::::1;::::0;;3811:83::o;3197:129::-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;719:10:9;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;3287:33:13::1;3297:9;3308:11;3287:9;:33::i;:::-;3197:129:::0;;:::o;1918:198:0:-;1108:6;;-1:-1:-1;;;;;1108:6:0;719:10:9;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;2006:22:0;::::1;1998:73;;;::::0;-1:-1:-1;;;1998:73:0;;8965:2:16;1998:73:0::1;::::0;::::1;8947:21:16::0;9004:2;8984:18;;;8977:30;9043:34;9023:18;;;9016:62;-1:-1:-1;;;9094:18:16;;;9087:36;9140:19;;1998:73:0::1;8763:402:16::0;1998:73:0::1;2081:28;2100:8;2081:18;:28::i;1175:320:8:-:0;-1:-1:-1;;;;;1465:19:8;;:23;;;1175:320::o;9464:172:14:-;9521:4;9563:7;3743:1:13;9544:26:14;;:53;;;;;9584:13;;9574:7;:23;9544:53;:85;;;;-1:-1:-1;;9602:20:14;;;;:11;:20;;;;;:27;-1:-1:-1;;;9602:27:14;;;;9601:28;;9464:172::o;18445:189::-;18555:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;18555:29:14;-1:-1:-1;;;;;18555:29:14;;;;;;;;;18599:28;;18555:24;;18599:28;;;;;;;18445:189;;;:::o;13520:2082::-;13630:35;13668:21;13681:7;13668:12;:21::i;:::-;13630:59;;13726:4;-1:-1:-1;;;;;13704:26:14;:13;:18;;;-1:-1:-1;;;;;13704:26:14;;13700:67;;13739:28;;-1:-1:-1;;;13739:28:14;;;;;;;;;;;13700:67;13778:22;719:10:9;-1:-1:-1;;;;;13804:20:14;;;;:72;;-1:-1:-1;13840:36:14;13857:4;719:10:9;8159:162:14;:::i;13840:36::-;13804:124;;;-1:-1:-1;719:10:9;13892:20:14;13904:7;13892:11;:20::i;:::-;-1:-1:-1;;;;;13892:36:14;;13804:124;13778:151;;13945:17;13940:66;;13971:35;;-1:-1:-1;;;13971:35:14;;;;;;;;;;;13940:66;-1:-1:-1;;;;;14020:16:14;;14016:52;;14045:23;;-1:-1:-1;;;14045:23:14;;;;;;;;;;;14016:52;14184:35;14201:1;14205:7;14214:4;14184:8;:35::i;:::-;-1:-1:-1;;;;;14509:18:14;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;14509:31:14;;;;;;;-1:-1:-1;;14509:31:14;;;;;;;14554:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;14554:29:14;;;;;;;;;;;14632:20;;;:11;:20;;;;;;14666:18;;-1:-1:-1;;;;;;14698:49:14;;;;-1:-1:-1;;;14731:15:14;14698:49;;;;;;;;;;15017:11;;15076:24;;;;;15118:13;;14632:20;;15076:24;;15118:13;15114:377;;15325:13;;15310:11;:28;15306:171;;15362:20;;15430:28;;;;15404:54;;-1:-1:-1;;;15404:54:14;-1:-1:-1;;;;;;15404:54:14;;;-1:-1:-1;;;;;15362:20:14;;15404:54;;;;15306:171;14485:1016;;;15535:7;15531:2;-1:-1:-1;;;;;15516:27:14;15525:4;-1:-1:-1;;;;;15516:27:14;;;;;;;;;;;15553:42;8858:360;4759:1086;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;4869:7:14;;3743:1:13;4915:23:14;4911:870;;4951:13;;4944:4;:20;4940:841;;;4984:31;5018:17;;;:11;:17;;;;;;;;;4984:51;;;;;;;;;-1:-1:-1;;;;;4984:51:14;;;;-1:-1:-1;;;4984:51:14;;;;;;;;;;;-1:-1:-1;;;4984:51:14;;;;;;;;;;;;;;5053:714;;5102:14;;-1:-1:-1;;;;;5102:28:14;;5098:99;;5165:9;4759:1086;-1:-1:-1;;;4759:1086:14:o;5098:99::-;-1:-1:-1;;;5533:6:14;5577:17;;;;:11;:17;;;;;;;;;5565:29;;;;;;;;;-1:-1:-1;;;;;5565:29:14;;;;;-1:-1:-1;;;5565:29:14;;;;;;;;;;;-1:-1:-1;;;5565:29:14;;;;;;;;;;;;;5624:28;5620:107;;5691:9;4759:1086;-1:-1:-1;;;4759:1086:14:o;5620:107::-;5494:255;;;4966:815;4940:841;5807:31;;-1:-1:-1;;;5807:31:14;;;;;;;;;;;2270:187:0;2362:6;;;-1:-1:-1;;;;;2378:17:0;;;-1:-1:-1;;;;;;2378:17:0;;;;;;;2410:40;;2362:6;;;2378:17;2362:6;;2410:40;;2343:16;;2410:40;2333:124;2270:187;:::o;9715:102:14:-;9783:27;9793:2;9797:8;9783:27;;;;;;;;;;;;:9;:27::i;19115:650::-;19293:72;;-1:-1:-1;;;19293:72:14;;19273:4;;-1:-1:-1;;;;;19293:36:14;;;;;:72;;719:10:9;;19344:4:14;;19350:7;;19359:5;;19293:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19293:72:14;;;;;;;;-1:-1:-1;;19293:72:14;;;;;;;;;;;;:::i;:::-;;;19289:470;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19524:13:14;;19520:229;;19569:40;;-1:-1:-1;;;19569:40:14;;;;;;;;;;;19520:229;19709:6;19703:13;19694:6;19690:2;19686:15;19679:38;19289:470;-1:-1:-1;;;;;;19411:55:14;-1:-1:-1;;;19411:55:14;;-1:-1:-1;19289:470:14;19115:650;;;;;;:::o;4682:110:13:-;4742:13;4773;4766:20;;;;;:::i;328:703:10:-;384:13;601:10;597:51;;-1:-1:-1;;627:10:10;;;;;;;;;;;;-1:-1:-1;;;627:10:10;;;;;328:703::o;597:51::-;672:5;657:12;711:75;718:9;;711:75;;743:8;;;;:::i;:::-;;-1:-1:-1;765:10:10;;-1:-1:-1;773:2:10;765:10;;:::i;:::-;;;711:75;;;795:19;827:6;817:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;817:17:10;;795:39;;844:150;851:10;;844:150;;877:11;887:1;877:11;;:::i;:::-;;-1:-1:-1;945:10:10;953:2;945:5;:10;:::i;:::-;932:24;;:2;:24;:::i;:::-;919:39;;902:6;909;902:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;902:56:10;;;;;;;;-1:-1:-1;972:11:10;981:2;972:11;;:::i;:::-;;;844:150;;10177:1708:14;10295:20;10318:13;-1:-1:-1;;;;;10345:16:14;;10341:48;;10370:19;;-1:-1:-1;;;10370:19:14;;;;;;;;;;;10341:48;10403:13;10399:44;;10425:18;;-1:-1:-1;;;10425:18:14;;;;;;;;;;;10399:44;-1:-1:-1;;;;;10786:16:14;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;10844:49:14;;10786:44;;;;;;;;10844:49;;;;-1:-1:-1;;10786:44:14;;;;;;10844:49;;;;;;;;;;;;;;;;10908:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;10957:66:14;;;-1:-1:-1;;;11007:15:14;10957:66;;;;;;;;;;;;;10908:25;;11101:23;;;;1465:19:8;:23;11139:618:14;;11178:308;11208:38;;11233:12;;-1:-1:-1;;;;;11208:38:14;;;11225:1;;11208:38;;11225:1;;11208:38;11273:69;11312:1;11316:2;11320:14;;;;;;11336:5;11273:30;:69::i;:::-;11268:172;;11377:40;;-1:-1:-1;;;11377:40:14;;;;;;;;;;;11268:172;11481:3;11466:12;:18;11178:308;;11565:12;11548:13;;:29;11544:43;;11579:8;;;11544:43;11139:618;;;11626:117;11656:40;;11681:14;;;;;-1:-1:-1;;;;;11656:40:14;;;11673:1;;11656:40;;11673:1;;11656:40;11738:3;11723:12;:18;11626:117;;11139:618;-1:-1:-1;11770:13:14;:28;;;11818:60;;11851:2;11855:12;11869:8;11818:60;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:173:16;82:20;;-1:-1:-1;;;;;131:31:16;;121:42;;111:70;;177:1;174;167:12;192:367;255:8;265:6;319:3;312:4;304:6;300:17;296:27;286:55;;337:1;334;327:12;286:55;-1:-1:-1;360:20:16;;403:18;392:30;;389:50;;;435:1;432;425:12;389:50;472:4;464:6;460:17;448:29;;532:3;525:4;515:6;512:1;508:14;500:6;496:27;492:38;489:47;486:67;;;549:1;546;539:12;486:67;192:367;;;;;:::o;564:186::-;623:6;676:2;664:9;655:7;651:23;647:32;644:52;;;692:1;689;682:12;644:52;715:29;734:9;715:29;:::i;:::-;705:39;564:186;-1:-1:-1;;;564:186:16:o;755:260::-;823:6;831;884:2;872:9;863:7;859:23;855:32;852:52;;;900:1;897;890:12;852:52;923:29;942:9;923:29;:::i;:::-;913:39;;971:38;1005:2;994:9;990:18;971:38;:::i;:::-;961:48;;755:260;;;;;:::o;1020:328::-;1097:6;1105;1113;1166:2;1154:9;1145:7;1141:23;1137:32;1134:52;;;1182:1;1179;1172:12;1134:52;1205:29;1224:9;1205:29;:::i;:::-;1195:39;;1253:38;1287:2;1276:9;1272:18;1253:38;:::i;:::-;1243:48;;1338:2;1327:9;1323:18;1310:32;1300:42;;1020:328;;;;;:::o;1353:1138::-;1448:6;1456;1464;1472;1525:3;1513:9;1504:7;1500:23;1496:33;1493:53;;;1542:1;1539;1532:12;1493:53;1565:29;1584:9;1565:29;:::i;:::-;1555:39;;1613:38;1647:2;1636:9;1632:18;1613:38;:::i;:::-;1603:48;;1698:2;1687:9;1683:18;1670:32;1660:42;;1753:2;1742:9;1738:18;1725:32;1776:18;1817:2;1809:6;1806:14;1803:34;;;1833:1;1830;1823:12;1803:34;1871:6;1860:9;1856:22;1846:32;;1916:7;1909:4;1905:2;1901:13;1897:27;1887:55;;1938:1;1935;1928:12;1887:55;1974:2;1961:16;1996:2;1992;1989:10;1986:36;;;2002:18;;:::i;:::-;2077:2;2071:9;2045:2;2131:13;;-1:-1:-1;;2127:22:16;;;2151:2;2123:31;2119:40;2107:53;;;2175:18;;;2195:22;;;2172:46;2169:72;;;2221:18;;:::i;:::-;2261:10;2257:2;2250:22;2296:2;2288:6;2281:18;2336:7;2331:2;2326;2322;2318:11;2314:20;2311:33;2308:53;;;2357:1;2354;2347:12;2308:53;2413:2;2408;2404;2400:11;2395:2;2387:6;2383:15;2370:46;2458:1;2453:2;2448;2440:6;2436:15;2432:24;2425:35;2479:6;2469:16;;;;;;;1353:1138;;;;;;;:::o;2496:315::-;2561:6;2569;2622:2;2610:9;2601:7;2597:23;2593:32;2590:52;;;2638:1;2635;2628:12;2590:52;2661:29;2680:9;2661:29;:::i;:::-;2651:39;;2740:2;2729:9;2725:18;2712:32;2753:28;2775:5;2753:28;:::i;:::-;2800:5;2790:15;;;2496:315;;;;;:::o;2816:254::-;2884:6;2892;2945:2;2933:9;2924:7;2920:23;2916:32;2913:52;;;2961:1;2958;2951:12;2913:52;2984:29;3003:9;2984:29;:::i;:::-;2974:39;3060:2;3045:18;;;;3032:32;;-1:-1:-1;;;2816:254:16:o;3075:773::-;3197:6;3205;3213;3221;3274:2;3262:9;3253:7;3249:23;3245:32;3242:52;;;3290:1;3287;3280:12;3242:52;3330:9;3317:23;3359:18;3400:2;3392:6;3389:14;3386:34;;;3416:1;3413;3406:12;3386:34;3455:70;3517:7;3508:6;3497:9;3493:22;3455:70;:::i;:::-;3544:8;;-1:-1:-1;3429:96:16;-1:-1:-1;3632:2:16;3617:18;;3604:32;;-1:-1:-1;3648:16:16;;;3645:36;;;3677:1;3674;3667:12;3645:36;;3716:72;3780:7;3769:8;3758:9;3754:24;3716:72;:::i;:::-;3075:773;;;;-1:-1:-1;3807:8:16;-1:-1:-1;;;;3075:773:16:o;3853:241::-;3909:6;3962:2;3950:9;3941:7;3937:23;3933:32;3930:52;;;3978:1;3975;3968:12;3930:52;4017:9;4004:23;4036:28;4058:5;4036:28;:::i;4099:245::-;4166:6;4219:2;4207:9;4198:7;4194:23;4190:32;4187:52;;;4235:1;4232;4225:12;4187:52;4267:9;4261:16;4286:28;4308:5;4286:28;:::i;4349:245::-;4407:6;4460:2;4448:9;4439:7;4435:23;4431:32;4428:52;;;4476:1;4473;4466:12;4428:52;4515:9;4502:23;4534:30;4558:5;4534:30;:::i;4599:249::-;4668:6;4721:2;4709:9;4700:7;4696:23;4692:32;4689:52;;;4737:1;4734;4727:12;4689:52;4769:9;4763:16;4788:30;4812:5;4788:30;:::i;4853:592::-;4924:6;4932;4985:2;4973:9;4964:7;4960:23;4956:32;4953:52;;;5001:1;4998;4991:12;4953:52;5041:9;5028:23;5070:18;5111:2;5103:6;5100:14;5097:34;;;5127:1;5124;5117:12;5097:34;5165:6;5154:9;5150:22;5140:32;;5210:7;5203:4;5199:2;5195:13;5191:27;5181:55;;5232:1;5229;5222:12;5181:55;5272:2;5259:16;5298:2;5290:6;5287:14;5284:34;;;5314:1;5311;5304:12;5284:34;5359:7;5354:2;5345:6;5341:2;5337:15;5333:24;5330:37;5327:57;;;5380:1;5377;5370:12;5327:57;5411:2;5403:11;;;;;5433:6;;-1:-1:-1;4853:592:16;;-1:-1:-1;;;;4853:592:16:o;5450:180::-;5509:6;5562:2;5550:9;5541:7;5537:23;5533:32;5530:52;;;5578:1;5575;5568:12;5530:52;-1:-1:-1;5601:23:16;;5450:180;-1:-1:-1;5450:180:16:o;5635:184::-;5705:6;5758:2;5746:9;5737:7;5733:23;5729:32;5726:52;;;5774:1;5771;5764:12;5726:52;-1:-1:-1;5797:16:16;;5635:184;-1:-1:-1;5635:184:16:o;5824:254::-;5892:6;5900;5953:2;5941:9;5932:7;5928:23;5924:32;5921:52;;;5969:1;5966;5959:12;5921:52;6005:9;5992:23;5982:33;;6034:38;6068:2;6057:9;6053:18;6034:38;:::i;6083:257::-;6124:3;6162:5;6156:12;6189:6;6184:3;6177:19;6205:63;6261:6;6254:4;6249:3;6245:14;6238:4;6231:5;6227:16;6205:63;:::i;:::-;6322:2;6301:15;-1:-1:-1;;6297:29:16;6288:39;;;;6329:4;6284:50;;6083:257;-1:-1:-1;;6083:257:16:o;6345:637::-;6625:3;6663:6;6657:13;6679:53;6725:6;6720:3;6713:4;6705:6;6701:17;6679:53;:::i;:::-;6795:13;;6754:16;;;;6817:57;6795:13;6754:16;6851:4;6839:17;;6817:57;:::i;:::-;-1:-1:-1;;;6896:20:16;;6925:22;;;6974:1;6963:13;;6345:637;-1:-1:-1;;;;6345:637:16:o;7575:488::-;-1:-1:-1;;;;;7844:15:16;;;7826:34;;7896:15;;7891:2;7876:18;;7869:43;7943:2;7928:18;;7921:34;;;7991:3;7986:2;7971:18;;7964:31;;;7769:4;;8012:45;;8037:19;;8029:6;8012:45;:::i;:::-;8004:53;7575:488;-1:-1:-1;;;;;;7575:488:16:o;8539:219::-;8688:2;8677:9;8670:21;8651:4;8708:44;8748:2;8737:9;8733:18;8725:6;8708:44;:::i;9519:356::-;9721:2;9703:21;;;9740:18;;;9733:30;9799:34;9794:2;9779:18;;9772:62;9866:2;9851:18;;9519:356::o;10581:355::-;10783:2;10765:21;;;10822:2;10802:18;;;10795:30;10861:33;10856:2;10841:18;;10834:61;10927:2;10912:18;;10581:355::o;11819:128::-;11859:3;11890:1;11886:6;11883:1;11880:13;11877:39;;;11896:18;;:::i;:::-;-1:-1:-1;11932:9:16;;11819:128::o;11952:120::-;11992:1;12018;12008:35;;12023:18;;:::i;:::-;-1:-1:-1;12057:9:16;;11952:120::o;12077:168::-;12117:7;12183:1;12179;12175:6;12171:14;12168:1;12165:21;12160:1;12153:9;12146:17;12142:45;12139:71;;;12190:18;;:::i;:::-;-1:-1:-1;12230:9:16;;12077:168::o;12250:125::-;12290:4;12318:1;12315;12312:8;12309:34;;;12323:18;;:::i;:::-;-1:-1:-1;12360:9:16;;12250:125::o;12380:258::-;12452:1;12462:113;12476:6;12473:1;12470:13;12462:113;;;12552:11;;;12546:18;12533:11;;;12526:39;12498:2;12491:10;12462:113;;;12593:6;12590:1;12587:13;12584:48;;;-1:-1:-1;;12628:1:16;12610:16;;12603:27;12380:258::o;12643:380::-;12722:1;12718:12;;;;12765;;;12786:61;;12840:4;12832:6;12828:17;12818:27;;12786:61;12893:2;12885:6;12882:14;12862:18;12859:38;12856:161;;;12939:10;12934:3;12930:20;12927:1;12920:31;12974:4;12971:1;12964:15;13002:4;12999:1;12992:15;12856:161;;12643:380;;;:::o;13028:135::-;13067:3;-1:-1:-1;;13088:17:16;;13085:43;;;13108:18;;:::i;:::-;-1:-1:-1;13155:1:16;13144:13;;13028:135::o;13168:112::-;13200:1;13226;13216:35;;13231:18;;:::i;:::-;-1:-1:-1;13265:9:16;;13168:112::o;13285:127::-;13346:10;13341:3;13337:20;13334:1;13327:31;13377:4;13374:1;13367:15;13401:4;13398:1;13391:15;13417:127;13478:10;13473:3;13469:20;13466:1;13459:31;13509:4;13506:1;13499:15;13533:4;13530:1;13523:15;13549:127;13610:10;13605:3;13601:20;13598:1;13591:31;13641:4;13638:1;13631:15;13665:4;13662:1;13655:15;13681:127;13742:10;13737:3;13733:20;13730:1;13723:31;13773:4;13770:1;13763:15;13797:4;13794:1;13787:15;13813:118;13899:5;13892:13;13885:21;13878:5;13875:32;13865:60;;13921:1;13918;13911:12;13936:131;-1:-1:-1;;;;;;14010:32:16;;14000:43;;13990:71;;14057:1;14054;14047:12
Swarm Source
ipfs://d966da8cb348a4a7a935e910e50edc5b1c877d62b7606d88c7133f64772306d2
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.